Where to get FreeBSD port for Xen
It looks like apache had gone out to lunch. I just restarted it and it is accessible again. If you wait a day I'll have 5.3 up. 5.2.1 is what is there right now.
-Kip
Quoted 9 lines · Mikhail V.Paremski
Dear Kip,
Recently I've tried to access to www.fsmware.com/xenofreebsd and www.bsdclusters.com/xenofreebsd pages. Noone is responding. Is there any way to get FreeBSD for Xen?
Best regards,
Mikahil.
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl
Thanks Kip,
I'll wait.
BTW. Do Ypu hane any plans to run FreeBAD on dom0?
Cheers,
Mikhail.
Quoted 17 lines · Kip Macy
It looks like apache had gone out to lunch. I just restarted it and it is accessible again. If you wait a day I'll have 5.3 up. 5.2.1 is what is there right now.
-Kip
Quoted 8 lines · Mikhail V.Paremski
Dear Kip,
Recently I've tried to access to www.fsmware.com/xenofreebsd and www.bsdclusters.com/xenofreebsd pages. Noone is responding. Is there any way to get FreeBSD for Xen?
Best regards,
Mikahil.
Quoted 9 lines
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xen-devel
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl
Long term, yes. But unless someone else decides to help out, it probably won't be this year.
-Kip
Quoted 36 lines · Mikhail V.Paremski
Thanks Kip,
I'll wait.
BTW. Do Ypu hane any plans to run FreeBAD on dom0?Cheers,
Mikhail.Quoted 26 lines · Kip Macy
It looks like apache had gone out to lunch. I just restarted it and it is accessible again. If you wait a day I'll have 5.3 up. 5.2.1 is what is there right now.
-Kip
Quoted 8 lines · Mikhail V.Paremski
Dear Kip,
Recently I've tried to access to www.fsmware.com/xenofreebsd and www.bsdclusters.com/xenofreebsd pages. Noone is responding. Is there any way to get FreeBSD for Xen?
Best regards,
Mikahil.-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xen-devel
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl
Quoted 15 lines · Kip Macy
Long term, yes. But unless someone else decides to help out, it probably won't be this year.
-Kip
Quoted 8 lines · Mikhail V.Paremski
Thanks Kip,
I'll wait.
BTW. Do Ypu hane any plans to run FreeBAD on dom0?Cheers,
Mikhail.
So right now your running FreeBSD in a virtual machine like state on a Linux machine ?
Signature · 10 lines
-David
Steven David Rhodus
<[email protected]>
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nlCorrect.
-Kip
Quoted 26 lines · David Rhodus
Quoted 15 lines · Kip Macy
Long term, yes. But unless someone else decides to help out, it probably won't be this year.
-Kip
Quoted 8 lines · Mikhail V.Paremski
Thanks Kip,
I'll wait.
BTW. Do Ypu hane any plans to run FreeBAD on dom0?Cheers,
Mikhail.So right now your running FreeBSD in a virtual machine like state on a Linux machine ?
--
-David Steven David Rhodus <[email protected]>
Quoted 10 lines
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xen-devel
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl
Quoted 3 lines · Kip Macy
It looks like apache had gone out to lunch. I just restarted it and it is accessible again. If you wait a day I'll have 5.3 up. 5.2.1 is what is there right now.
Kip:
Any luck with that FreeBSD 5.3 kernel? Our network engineer wants to set up a Xen box for internal use with Debian and FreeBSD on it, and I'm hoping to get FreeBSD 5.3 on there. Also, were you able to figure out the blocking stuff in the scheduling code?
Signature · 9 lines
Derrik Pates [email protected] ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl
Quoted 4 lines
Kip:
Any luck with that FreeBSD 5.3 kernel?
It is up and working I just wanted to create a smaller loopback root and do some more xen work before posting. I guess I can post it in an hour or so.
Quoted 4 lines
Our network engineer wants to set
up a Xen box for internal use with Debian and FreeBSD on it, and I'm hoping to get FreeBSD 5.3 on there. Also, were you able to figure out the blocking stuff in the scheduling code?
Yeah, I was just hoping for a more attractive interface to managing that.
-Kip
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl
Okie Dokie. Check out:
http://www.fsmware.com/xenofreebsd/5.3/
It only has the kernel, a compressed mdroot, and the config scripts that I use. The blocking issue discussed previously has not been fixed. I intend to fix it, but there are some infrastructure bits that take priority for me.
Let me know how this works for you as soon as you try it out.
-Kip
Quoted 11 lines
Kip:
Any luck with that FreeBSD 5.3 kernel? Our network engineer wants to set up a Xen box for internal use with Debian and FreeBSD on it, and I'm hoping to get FreeBSD 5.3 on there. Also, were you able to figure out the blocking stuff in the scheduling code?
--
Derrik Pates
[email protected]
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl
For those interested I've uploaded a source tarball and copied in updated directions.
-Kip
Quoted 7 lines · Derrik Pates
Quoted 3 lines · Kip Macy
It looks like apache had gone out to lunch. I just restarted it and it is accessible again. If you wait a day I'll have 5.3 up. 5.2.1 is what is there right now.
Kip:
Quoted 9 lines
Any luck with that FreeBSD 5.3 kernel? Our network engineer wants to set up a Xen box for internal use with Debian and FreeBSD on it, and I'm hoping to get FreeBSD 5.3 on there. Also, were you able to figure out the blocking stuff in the scheduling code?
--
Derrik Pates
[email protected]
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl
Kip:
Quoted 6 lines
It only has the kernel, a compressed mdroot, and the config scripts that I use. The blocking issue discussed previously has not been fixed. I intend to fix it, but there are some infrastructure bits that take priority for me.
Let me know how this works for you as soon as you try it out.
Bad news, I'm afraid; the 5.3 kernel and mdroot doesn't successfully boot for me. I'm using the same args that happily boot the 5.2.1 kernel, but it simply stops once it reaches a certain point. The boot messages are as follows:
--- start boot messages ---
WARNING: loader(8) metadata is missing!start_info 0xc0295000start_info->nr_pages 32768
Copyright (c) 1992-2004 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 5.3-RELEASE #31: Thu Jan 20 11:37:43 PST 2005
[email protected]:/t/niners/users/xen/bsd/sys-5.3/i386-xeno.tot/compile/XENCONF
WARNING: DIAGNOSTIC option enabled, expect reduced performance. Timecounter "ixen" frequency 1593088000 Hz quality 0
CPU: AMD Opteron(tm) Processor 242 (1593.09-MHz 686-class CPU)
Origin = "AuthenticAMD" Id = 0xf58 Stepping = 8
Features=0x78bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2>
AMD Features=0xe0500000<NX,AMIE,LM,DSP,3DNow!>
Data TLB: 32 entries, fully associative
Instruction TLB: 32 entries, fully associative
L1 data cache: 64 kbytes, 64 bytes/line, 1 lines/tag, 2-way associative
L1 instruction cache: 64 kbytes, 64 bytes/line, 1 lines/tag, 2-way associative
L2 internal cache: 1024 kbytes, 64 bytes/line, 1 lines/tag, 8-way associative
real memory = 131354624 (125 MB)
Physical memory chunk(s):0x00000000002bb000 - 0x0000000007aecfff, 126033920 bytes (30770 pages)
avail memory = 125120512 (119 MB)
WARNING: driver "evtchn" used unreserved major device number 140
null: <null device, zero device>
random: <entropy source, Software, Yarrow>
cpu0 on motherboard
Device configuration finished.
procfs registered
Timecounters tick every 10.000 msec
xc0: <Xen Console> on motherboard
WARNING: driver "xc" used unreserved major device number 12
xn0: bpf attached
xn0: Ethernet address: aa:00:00:00:00:28
--- end boot messages ---
At that point, it just doesn't go any further; 'xm list' shows it as in run state, not crashed, but it just never goes any further. Any thoughts?
Signature · 9 lines
Derrik Pates [email protected] ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl
Please send me your config file so I can try and reproduce. Are you using your own root?
-Kip
Quoted 63 lines · Derrik Pates
Kip:
Quoted 6 lines
It only has the kernel, a compressed mdroot, and the config scripts that I use. The blocking issue discussed previously has not been fixed. I intend to fix it, but there are some infrastructure bits that take priority for me.
Let me know how this works for you as soon as you try it out.
Bad news, I'm afraid; the 5.3 kernel and mdroot doesn't successfully boot for me. I'm using the same args that happily boot the 5.2.1 kernel, but it simply stops once it reaches a certain point. The boot messages are as follows:
--- start boot messages ---
WARNING: loader(8) metadata is missing!start_info0xc0295000start_info->nr_pages32768
Copyright (c) 1992-2004 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 5.3-RELEASE #31: Thu Jan 20 11:37:43 PST 2005[email protected]:/t/niners/users/xen/bsd/sys-5.3/i386-xeno.tot/compile/XENCONF
WARNING: DIAGNOSTIC option enabled, expect reduced performance. Timecounter "ixen" frequency 1593088000 Hz quality 0
CPU: AMD Opteron(tm) Processor 242 (1593.09-MHz 686-class CPU)
Origin = "AuthenticAMD" Id =0xf58Stepping = 8Features=0x78bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2>
AMD Features=0xe0500000<NX,AMIE,LM,DSP,3DNow!>
Data TLB: 32 entries, fully associative
Instruction TLB: 32 entries, fully associative
L1 data cache: 64 kbytes, 64 bytes/line, 1 lines/tag, 2-way associative
L1 instruction cache: 64 kbytes, 64 bytes/line, 1 lines/tag, 2-way
associative
L2 internal cache: 1024 kbytes, 64 bytes/line, 1 lines/tag, 8-way
associative
real memory = 131354624 (125 MB)
Physical memory chunk(s):0x00000000002bb000-0x0000000007aecfff, 126033920 bytes (30770 pages)
avail memory = 125120512 (119 MB)
WARNING: driver "evtchn" used unreserved major device number 140
null: <null device, zero device>
random: <entropy source, Software, Yarrow>
cpu0 on motherboard
Device configuration finished.
procfs registered
Timecounters tick every 10.000 msec
xc0: <Xen Console> on motherboard
WARNING: driver "xc" used unreserved major device number 12
xn0: bpf attached
xn0: Ethernet address: aa:00:00:00:00:28
--- end boot messages ---At that point, it just doesn't go any further; 'xm list' shows it as in run state, not crashed, but it just never goes any further. Any thoughts?
--
Derrik Pates
[email protected]
Quoted 10 lines
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xen-devel
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl
Quoted 2 lines · Kip Macy
Please send me your config file so I can try and reproduce. Are you using your own root?
I'm using the following config:
kernel = "/boot/freebsd-5.3-xenU"
memory = 128
cpu = -1
name = "freebsd"
nics = 1
vif = [ 'mac=aa:00:00:00:00:28,bridge=xen-br0' ] disk = [ 'file:/var/local/freebsd.image,loop0,w' ] extra = "boot.netif.ip=192.168.0.33"
extra += ",boot.netif.netmask=255.255.255.0" extra += ",boot.netif.gateway=192.168.0.1" extra += ",vfs.root.mountfrom=ufs:/dev/xbd0a" extra += ",boot_verbose=yes"
And I am using the 'mdroot' that you posted with the kernel; however, based on the boot messages, it doesn't even look like it's getting far enough for that to be an issue. I was also able to build a FreeBSD/Xen 5.3 kernel, but I'm encountering the same issue, at the same point in the boot process.
Signature · 9 lines
Derrik Pates [email protected] ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl
It is getting late and the 2.0-testing snapshot I'm running just locked up on me. I'll look at it further tomorrow.
Could you try looking at my freebsd config file? I didn't partition this mdroot the same way as I did the previous one. That may somehow be giving you grief.
-Kip
Quoted 30 lines · Derrik Pates
Quoted 2 lines · Kip Macy
Please send me your config file so I can try and reproduce. Are you using your own root?
I'm using the following config:
kernel = "
/boot/freebsd-5.3-xenU"
memory = 128
cpu = -1
name = "freebsd"
nics = 1
vif = [ 'mac=aa:00:00:00:00:28,bridge=xen-br0' ] disk = [ 'file:/var/local/freebsd.image,loop0,w' ] extra = "boot.netif.ip=192.168.0.33"
extra += ",boot.netif.netmask=255.255.255.0" extra += ",boot.netif.gateway=192.168.0.1" extra += ",vfs.root.mountfrom=ufs:/dev/xbd0a" extra += ",boot_verbose=yes"And I am using the 'mdroot' that you posted with the kernel; however, based on the boot messages, it doesn't even look like it's getting far enough for that to be an issue. I was also able to build a FreeBSD/Xen 5.3 kernel, but I'm encountering the same issue, at the same point in the boot process.
--
Derrik Pates
[email protected]
Quoted 10 lines
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xen-devel
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl
Thank you very much for your work, Kip.
I successfully booted xenofreebsd from your source. The following patch(obtained from NetBSD) seems to fix the scheduling problem.
/\ Hidetoshi Shimokawa
\/ [email protected]
i386-xeno/clock.c renamed from home/simokawa/xen/i386-xeno/i386-xeno/clock.c +7 -0
@@ -502,3 +502,10 @@/* our adjusted time offset in microseconds */ return edx; } + +void +idle_block (void ) +{ +if (HYPERVISOR_set_timer_op (processed_system_time +NS_PER_TICK ) ==0 ) +HYPERVISOR_block (); +}
i386-xeno/machdep.c renamed from home/simokawa/xen/i386-xeno/i386-xeno/machdep.c +6 -0
@@ -140,6 +140,7 @@#include <machine/hypervisor.h> #include <machine/xenfunc.h> #include <machine/xenvar.h> +#include <machine/xen_intr.h> void Xhypervisor_callback (void );void failsafe_callback (void );
@@ -903,8 +904,13 @@*/ __asm __volatile("sti; hlt");#endif +#if 0 enable_intr ();HYPERVISOR_yield (); +#else +idle_block (); +enable_intr (); +#endif }/*
include/xen_intr.h renamed from home/simokawa/xen/i386-xeno/include/xen_intr.h +1 -0
@@ -44,6 +44,7 @@extern void irq_suspend (void );extern void irq_resume (void ); +extern void idle_block (void );#endif /* _XEN_INTR_H_ */
At Sun, 23 Jan 2005 18:25:25 -0800 (PST),
Quoted 29 lines · Kip Macy
For those interested I've uploaded a source tarball and copied in updated directions.
-Kip
Quoted 7 lines · Derrik Pates
Quoted 3 lines · Kip Macy
It looks like apache had gone out to lunch. I just restarted it and it is accessible again. If you wait a day I'll have 5.3 up. 5.2.1 is what is there right now.
Kip:
Quoted 9 lines
Any luck with that FreeBSD 5.3 kernel? Our network engineer wants to set up a Xen box for internal use with Debian and FreeBSD on it, and I'm hoping to get FreeBSD 5.3 on there. Also, were you able to figure out the blocking stuff in the scheduling code?
--
Derrik Pates
[email protected]
Quoted 9 lines
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xen-devel
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl
Thanks for patch and the heads up on the successful boot.
I'll apply the patch and update the posted tarball and kernel tonight.
-Kip
Quoted 61 lines · Hidetoshi Shimokawa
Thank you very much for your work, Kip.
I successfully booted xenofreebsd from your source. The following patch(obtained from NetBSD) seems to fix the scheduling problem.
/\ Hidetoshi Shimokawa
\/ [email protected]diff -u -r
/home/simokawa/xen/i386-xeno/i386-xeno/clock.ci386-xeno/i386-xeno/clock.ci386-xeno/clock.c renamed from home/simokawa/xen/i386-xeno/i386-xeno/clock.c +7
-0@@ -502,3 +502,10 @@/* our adjusted time offset in microseconds */ return edx; } + +void +idle_block (void ) +{ +if (HYPERVISOR_set_timer_op (processed_system_time +NS_PER_TICK ) ==0 ) +HYPERVISOR_block (); +}diff -u -r
/home/simokawa/xen/i386-xeno/i386-xeno/machdep.ci386-xeno/i386-xeno/machdep.ci386-xeno/machdep.c renamed from home/simokawa/xen/i386-xeno/i386-xeno/machdep.c +6
-0@@ -140,6 +140,7 @@#include <machine/hypervisor.h> #include <machine/xenfunc.h> #include <machine/xenvar.h> +#include <machine/xen_intr.h> void Xhypervisor_callback (void );void failsafe_callback (void );@@ -903,8 +904,13 @@*/ __asm __volatile("sti; hlt");#endif +#if 0 enable_intr ();HYPERVISOR_yield (); +#else +idle_block (); +enable_intr (); +#endif }/* diff -u -r
/home/simokawa/xen/i386-xeno/include/xen_intr.hi386-xeno/include/xen_intr.hinclude/xen_intr.h renamed from home/simokawa/xen/i386-xeno/include/xen_intr.h +1
-0@@ -44,6 +44,7 @@extern void irq_suspend (void );extern void irq_resume (void ); +extern void idle_block (void );#endif /* _XEN_INTR_H_ */
Quoted 41 lines
At Sun, 23 Jan 2005 18:25:25 -0800 (PST),
Quoted 38 lines · Kip Macy
For those interested I've uploaded a source tarball and copied in updated directions.
-Kip
Quoted 7 lines · Derrik Pates
Quoted 3 lines · Kip Macy
It looks like apache had gone out to lunch. I just restarted it and it is accessible again. If you wait a day I'll have 5.3 up. 5.2.1 is what is there right now.
Kip:
Quoted 9 lines
Any luck with that FreeBSD 5.3 kernel? Our network engineer wants to set up a Xen box for internal use with Debian and FreeBSD on it, and I'm hoping to get FreeBSD 5.3 on there. Also, were you able to figure out the blocking stuff in the scheduling code?
--
Derrik Pates
[email protected]-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xen-devel
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl
Quoted 6 lines · Kip Macy
It is getting late and the 2.0-testing snapshot I'm running just locked up on me. I'll look at it further tomorrow.
Could you try looking at my freebsd config file? I didn't partition this mdroot the same way as I did the previous one. That may somehow be giving you grief.
It seems to be related to the host system. I tried booting your FreeBSD 5.3 kernel and mdroot on a P4 Celeron system here in my office running Xen (2.0.1, fyi); the kernel fired right up, mounted root, and came to a login: prompt. The system that was having problems is a dual Opteron 242 with 1 GB of RAM (it's an HP DL145, specifically).
If you'd like to log into the machine directly and see if you can figure anything out, please contact me off-list, and we'll make arrangements; I'd like to see this work, but obviously the not-booting thing is kind of a downer. :)
Signature · 9 lines
Derrik Pates [email protected] ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl
Quoted 6 lines
It seems to be related to the host system. I tried booting your FreeBSD 5.3 kernel and mdroot on a P4 Celeron system here in my office running Xen (2.0.1, fyi); the kernel fired right up, mounted root, and came to a
login: prompt. The system that was having problems is a dual Opteron 242 with 1 GB of RAM (it's an HP DL145, specifically).
Interesting. My test machines are all, with the exception of an old dual PIII from Dell, dual Opteron 242s from Penguin Computing.
Will follow up.
-Kip
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl
Well dandy. I've modified my config to mirror yours _exactly_ and it boots just fine. So make sure you're running the latest 2.0-testing snapshot follow up with me when you the chance.
-Kip
Quoted 6 lines
It seems to be related to the host system. I tried booting your FreeBSD 5.3 kernel and mdroot on a P4 Celeron system here in my office running Xen (2.0.1, fyi); the kernel fired right up, mounted root, and came to a
login: prompt. The system that was having problems is a dual Opteron 242 with 1 GB of RAM (it's an HP DL145, specifically).
Quoted 9 lines
If you'd like to log into the machine directly and see if you can figure anything out, please contact me off-list, and we'll make arrangements; I'd like to see this work, but obviously the not-booting thing is kind of a downer. :)
--
Derrik Pates
[email protected]
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl
OpenBSD port for Xen
Is there any chance of this or should I just wait for Intel's Vanderpool or AMD's equivalent?
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl
Re: OpenBSD port for Xen
It is a chunk of work. You have to heavily modify pmap.c, replace all privileged operations with the corresponding xen operations, and port over the clock, block, and network device drivers.
-Kip
Quoted 3 lines · Dave Feustel
Is there any chance of this or should I just wait for Intel's Vanderpool or AMD's equivalent?
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl
Quoted 3 lines · Kip Macy
Well dandy. I've modified my config to mirror yours _exactly_ and it boots just fine. So make sure you're running the latest 2.0-testing snapshot follow up with me when you the chance.
I just went ahead and got the xen-2.0-testing tarball, and build the hypervisor and userspace utilities. After restarting, I tried starting the FreeBSD kernel inside a Xen domain; the result is currently the same. I'll check the BIOS settings and see if, perhaps, there's something relevant, but at this point, I'm still guessing it's something about this machine. I'm not sure what though.
Signature · 9 lines
Derrik Pates [email protected] ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl
Re: OpenBSD port for Xen
In reply to Kip MacyQuoted 4 lines · Kip Macy
It is a chunk of work. You have to heavily modify
pmap.c, replace all privileged operations with the corresponding xen operations, and port over the clock, block, and network device drivers.
In other words, I should wait for full virtualization.
Quoted 10 lines
-Kip
Quoted 3 lines · Dave Feustel
Is there any chance of this or should I just wait for Intel's Vanderpool or AMD's equivalent?
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl
Re: OpenBSD port for Xen
It would be an educational experience.
-Kip
Quoted 13 lines
In other words, I should wait for full virtualization.
Quoted 10 lines
-Kip
Quoted 3 lines · Dave Feustel
Is there any chance of this or should I just wait for Intel's Vanderpool or AMD's equivalent?
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl
I have experianced strange lockups sometimes. In that case, 'xm list' shows no state for freebsd. (usually it is blocked)
Name Id Mem(MB) CPU State Time(s) Console Domain-0 0 59 0 r---- 990.1 freebsd.sample 2 64 0 ----- 547.6 9602
I'd like to analyze this problem using debugger.
I found gdbserver binary in your web site but it seems old and to require old libraries. Can I get the gdbserver source?
Thanks,
/\ Hidetoshi Shimokawa
\/ [email protected]
At Mon, 24 Jan 2005 13:29:38 -0800 (PST),
Quoted 113 lines · Kip Macy
Thanks for patch and the heads up on the successful boot.
I'll apply the patch and update the posted tarball and kernel tonight.
-Kip
Quoted 102 lines · Hidetoshi Shimokawa
Thank you very much for your work, Kip.
I successfully booted xenofreebsd from your source. The following patch(obtained from NetBSD) seems to fix the scheduling problem.
/\ Hidetoshi Shimokawa
\/ [email protected]diff -u -r
/home/simokawa/xen/i386-xeno/i386-xeno/clock.ci386-xeno/i386-xeno/clock.ci386-xeno/clock.c renamed from home/simokawa/xen/i386-xeno/i386-xeno/clock.c +7
-0@@ -502,3 +502,10 @@/* our adjusted time offset in microseconds */ return edx; } + +void +idle_block (void ) +{ +if (HYPERVISOR_set_timer_op (processed_system_time +NS_PER_TICK ) ==0 ) +HYPERVISOR_block (); +}diff -u -r
/home/simokawa/xen/i386-xeno/i386-xeno/machdep.ci386-xeno/i386-xeno/machdep.ci386-xeno/machdep.c renamed from home/simokawa/xen/i386-xeno/i386-xeno/machdep.c +6
-0@@ -140,6 +140,7 @@#include <machine/hypervisor.h> #include <machine/xenfunc.h> #include <machine/xenvar.h> +#include <machine/xen_intr.h> void Xhypervisor_callback (void );void failsafe_callback (void );@@ -903,8 +904,13 @@*/ __asm __volatile("sti; hlt");#endif +#if 0 enable_intr ();HYPERVISOR_yield (); +#else +idle_block (); +enable_intr (); +#endif }/* diff -u -r
/home/simokawa/xen/i386-xeno/include/xen_intr.hi386-xeno/include/xen_intr.hinclude/xen_intr.h renamed from home/simokawa/xen/i386-xeno/include/xen_intr.h +1
-0@@ -44,6 +44,7 @@extern void irq_suspend (void );extern void irq_resume (void ); +extern void idle_block (void );#endif /* _XEN_INTR_H_ */ At Sun, 23 Jan 2005 18:25:25 -0800 (PST),
Quoted 38 lines · Kip Macy
For those interested I've uploaded a source tarball and copied in updated directions.
-Kip
Quoted 7 lines · Derrik Pates
Quoted 3 lines · Kip Macy
It looks like apache had gone out to lunch. I just restarted it and it is accessible again. If you wait a day I'll have 5.3 up. 5.2.1 is what is there right now.
Kip:
Quoted 9 lines
Any luck with that FreeBSD 5.3 kernel? Our network engineer wants to set up a Xen box for internal use with Debian and FreeBSD on it, and I'm hoping to get FreeBSD 5.3 on there. Also, were you able to figure out the blocking stuff in the scheduling code?
--
Derrik Pates
[email protected]-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xen-devel
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl
Funny you should ask. I just updated libxc to work with xen's current context representation (previously I could just copy cpu_ctxt out and everything worked, but just prior to the change most of the register contents were wrong). I'll try to get everything posted within the hour.
One observation - I can't comment on 64MB, but FreeBSD 5.x doesn't do an adequate job of managing its memory to stay up with 32MB or less.
-Kip
Quoted 12 lines · Hidetoshi Shimokawa
I have experianced strange lockups sometimes. In that case, 'xm list' shows no state for freebsd. (usually it is blocked)
Name Id Mem(MB) CPU State Time(s) Console Domain-0 0 59 0 r---- 990.1 freebsd.sample 2 64 0 ----- 547.6 9602I'd like to analyze this problem using debugger.
I found gdbserver binary in your web site but it seems old and to require old libraries. Can I get the gdbserver source?
Quoted 122 lines
Thanks,
/\ Hidetoshi Shimokawa
\/ [email protected]At Mon, 24 Jan 2005 13:29:38 -0800 (PST),
Quoted 113 lines · Kip Macy
Thanks for patch and the heads up on the successful boot.
I'll apply the patch and update the posted tarball and kernel tonight.
-Kip
Quoted 102 lines · Hidetoshi Shimokawa
Thank you very much for your work, Kip.
I successfully booted xenofreebsd from your source. The following patch(obtained from NetBSD) seems to fix the scheduling problem.
/\ Hidetoshi Shimokawa
\/ [email protected]diff -u -r
/home/simokawa/xen/i386-xeno/i386-xeno/clock.ci386-xeno/i386-xeno/clock.ci386-xeno/clock.c renamed from home/simokawa/xen/i386-xeno/i386-xeno/clock.c +7
-0@@ -502,3 +502,10 @@/* our adjusted time offset in microseconds */ return edx; } + +void +idle_block (void ) +{ +if (HYPERVISOR_set_timer_op (processed_system_time +NS_PER_TICK ) ==0 ) +HYPERVISOR_block (); +}diff -u -r
/home/simokawa/xen/i386-xeno/i386-xeno/machdep.ci386-xeno/i386-xeno/machdep.ci386-xeno/machdep.c renamed from home/simokawa/xen/i386-xeno/i386-xeno/machdep.c +6
-0@@ -140,6 +140,7 @@#include <machine/hypervisor.h> #include <machine/xenfunc.h> #include <machine/xenvar.h> +#include <machine/xen_intr.h> void Xhypervisor_callback (void );void failsafe_callback (void );@@ -903,8 +904,13 @@*/ __asm __volatile("sti; hlt");#endif +#if 0 enable_intr ();HYPERVISOR_yield (); +#else +idle_block (); +enable_intr (); +#endif }/* diff -u -r
/home/simokawa/xen/i386-xeno/include/xen_intr.hi386-xeno/include/xen_intr.hinclude/xen_intr.h renamed from home/simokawa/xen/i386-xeno/include/xen_intr.h +1
-0@@ -44,6 +44,7 @@extern void irq_suspend (void );extern void irq_resume (void ); +extern void idle_block (void );#endif /* _XEN_INTR_H_ */ At Sun, 23 Jan 2005 18:25:25 -0800 (PST),
Quoted 38 lines · Kip Macy
For those interested I've uploaded a source tarball and copied in updated directions.
-Kip
Quoted 7 lines · Derrik Pates
Quoted 3 lines · Kip Macy
It looks like apache had gone out to lunch. I just restarted it and it is accessible again. If you wait a day I'll have 5.3 up. 5.2.1 is what is there right now.
Kip:
Quoted 9 lines
Any luck with that FreeBSD 5.3 kernel? Our network engineer wants to set up a Xen box for internal use with Debian and FreeBSD on it, and I'm hoping to get FreeBSD 5.3 on there. Also, were you able to figure out the blocking stuff in the scheduling code?
--
Derrik Pates
[email protected]-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xen-devel
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl
take a look at:
http://www.fsmware.com/xenofreebsd/gdb/
The gdbserver was built on FC2. If that doesn't work I'll post the source.
-Kip
Quoted 12 lines · Hidetoshi Shimokawa
I have experianced strange lockups sometimes. In that case, 'xm list' shows no state for freebsd. (usually it is blocked)
Name Id Mem(MB) CPU State Time(s) Console Domain-0 0 59 0 r---- 990.1 freebsd.sample 2 64 0 ----- 547.6 9602I'd like to analyze this problem using debugger.
I found gdbserver binary in your web site but it seems old and to require old libraries. Can I get the gdbserver source?
Quoted 122 lines
Thanks,
/\ Hidetoshi Shimokawa
\/ [email protected]At Mon, 24 Jan 2005 13:29:38 -0800 (PST),
Quoted 113 lines · Kip Macy
Thanks for patch and the heads up on the successful boot.
I'll apply the patch and update the posted tarball and kernel tonight.
-Kip
Quoted 102 lines · Hidetoshi Shimokawa
Thank you very much for your work, Kip.
I successfully booted xenofreebsd from your source. The following patch(obtained from NetBSD) seems to fix the scheduling problem.
/\ Hidetoshi Shimokawa
\/ [email protected]diff -u -r
/home/simokawa/xen/i386-xeno/i386-xeno/clock.ci386-xeno/i386-xeno/clock.ci386-xeno/clock.c renamed from home/simokawa/xen/i386-xeno/i386-xeno/clock.c +7
-0@@ -502,3 +502,10 @@/* our adjusted time offset in microseconds */ return edx; } + +void +idle_block (void ) +{ +if (HYPERVISOR_set_timer_op (processed_system_time +NS_PER_TICK ) ==0 ) +HYPERVISOR_block (); +}diff -u -r
/home/simokawa/xen/i386-xeno/i386-xeno/machdep.ci386-xeno/i386-xeno/machdep.ci386-xeno/machdep.c renamed from home/simokawa/xen/i386-xeno/i386-xeno/machdep.c +6
-0@@ -140,6 +140,7 @@#include <machine/hypervisor.h> #include <machine/xenfunc.h> #include <machine/xenvar.h> +#include <machine/xen_intr.h> void Xhypervisor_callback (void );void failsafe_callback (void );@@ -903,8 +904,13 @@*/ __asm __volatile("sti; hlt");#endif +#if 0 enable_intr ();HYPERVISOR_yield (); +#else +idle_block (); +enable_intr (); +#endif }/* diff -u -r
/home/simokawa/xen/i386-xeno/include/xen_intr.hi386-xeno/include/xen_intr.hinclude/xen_intr.h renamed from home/simokawa/xen/i386-xeno/include/xen_intr.h +1
-0@@ -44,6 +44,7 @@extern void irq_suspend (void );extern void irq_resume (void ); +extern void idle_block (void );#endif /* _XEN_INTR_H_ */ At Sun, 23 Jan 2005 18:25:25 -0800 (PST),
Quoted 38 lines · Kip Macy
For those interested I've uploaded a source tarball and copied in updated directions.
-Kip
Quoted 7 lines · Derrik Pates
Quoted 3 lines · Kip Macy
It looks like apache had gone out to lunch. I just restarted it and it is accessible again. If you wait a day I'll have 5.3 up. 5.2.1 is what is there right now.
Kip:
Quoted 9 lines
Any luck with that FreeBSD 5.3 kernel? Our network engineer wants to set up a Xen box for internal use with Debian and FreeBSD on it, and I'm hoping to get FreeBSD 5.3 on there. Also, were you able to figure out the blocking stuff in the scheduling code?
--
Derrik Pates
[email protected]-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xen-devel
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl
Re: Re: OpenBSD port for Xen
In reply to Kip MacyLooked briefly: openbsd and netbsd have already diverged enough that applying patches from netbsd xen wasn't going to be quite trivial.
sRp
Quoted 10 lines · Kip Macy
It is a chunk of work. You have to heavily modify
pmap.c, replace all privileged operations with the corresponding xen operations, and port over the clock, block, and network device drivers.Quoted 3 lines · Dave Feustel
Is there any chance of this or should I just wait for Intel's Vanderpool or AMD's equivalent?
Signature · 9 lines
Scott Parish ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl