Davide D''Amico
2008-Mar-11 15:49 UTC
[Xen-users] ubuntu64, xen-unstable (hg cloned today) and freebsd 7.0 i386
Hi, I am using the configuration as in the subject and I''m unable to start a FreeBSD 7 i386 iso image. I have to use FreeBSD because of its jail construct (yes, I could use OpenVZ, but this is another story). Here the details. Server: DELL Poweredge 2900 2 Quad Core Intel Xeon root@dom-mgmt:/etc/xen# cat /proc/cpuinfo | grep flag | head -1 flags : fpu de tsc msr pae mce cx8 apic sep mtrr mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx lm constant_tsc pni monitor ds_cpl vmx tm2 cx16 xtpr lahf_lm Distribution: Ubuntu-server amd64 updated (I installed also gawk, bcc, libc-i386- dev and build-essential). Software: Xen 3.2 unstable (cloned from repository this morning) Installation: make world make install domU template: root@dom-mgmt:/etc/xen# more dom0.televas.it kernel = ''/usr/lib/xen/boot/hvmloader'' device_model = ''/usr/lib/xen/bin/qemu-dm'' builder = ''hvm'' # VM/domain name name = ''fbsd'' # Memory and CPU settings vcpus = ''2'' memory = ''1024'' serial = ''pty'' # Disk settings disk = [ ''file:/home/dave/disk.img,hda,w'',''file:/home/dave/ 7.0-RELEAS E-i386-disc1.iso,hdc:cdrom,r'' ] boot = ''d'' # Graphics settings sdl = ''0'' vnc = ''1'' vncviewer = ''1'' nographics = ''1'' # Other settings apic = ''1'' acpi = ''1'' localtime = ''1'' # Start/stop settings on_poweroff = ''destroy'' on_reboot = ''destroy'' on_crash = ''destroy'' Xen config file is the default, with vnc listening on all interfaces. FreeBSD 7 RELEASE halts on "Relocating the loader and the BTX" I tried everything I can, including: - Debian Lenny and Xen 3.2.0 from repository; - Ubuntu 64 and Xen 3.1.0 from repository; - Fedora 8 amd64 and Xen 3.2.0 from xen website And I had always the same behaviour. Any news/ideas? Thanks in advance, dave _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Zakk
2008-Mar-11 15:54 UTC
Re: [Xen-users] ubuntu64, xen-unstable (hg cloned today) and freebsd 7.0 i386
You need to compile xen with ''vmxassist=n'' On Mar 11, 2008, at 11:49 AM, Davide D''Amico wrote:> Hi, > I am using the configuration as in the subject and I''m unable to start > a FreeBSD 7 i386 iso image. > I have to use FreeBSD because of its jail construct (yes, I could > use OpenVZ, but this is another story). > > Here the details. > Server: > DELL Poweredge 2900 2 Quad Core Intel Xeon > root@dom-mgmt:/etc/xen# cat /proc/cpuinfo | grep flag | head -1 > flags : fpu de tsc msr pae mce cx8 apic sep mtrr mca cmov pat pse36 > clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx lm > constant_tsc pni monitor ds_cpl vmx tm2 cx16 xtpr lahf_lm > > Distribution: > Ubuntu-server amd64 updated (I installed also gawk, bcc, libc-i386- > dev and build-essential). > > Software: > Xen 3.2 unstable (cloned from repository this morning) > > Installation: > make world > make install > > domU template: > root@dom-mgmt:/etc/xen# more dom0.televas.it > kernel = ''/usr/lib/xen/boot/hvmloader'' > device_model = ''/usr/lib/xen/bin/qemu-dm'' > builder = ''hvm'' > > # VM/domain name > name = ''fbsd'' > > # Memory and CPU settings > vcpus = ''2'' > memory = ''1024'' > serial = ''pty'' > > # Disk settings > disk = [ ''file:/home/dave/disk.img,hda,w'',''file:/home/ > dave/7.0-RELEAS > E-i386-disc1.iso,hdc:cdrom,r'' ] > boot = ''d'' > > # Graphics settings > sdl = ''0'' > vnc = ''1'' > vncviewer = ''1'' > nographics = ''1'' > > # Other settings > apic = ''1'' > acpi = ''1'' > localtime = ''1'' > > # Start/stop settings > on_poweroff = ''destroy'' > on_reboot = ''destroy'' > on_crash = ''destroy'' > > Xen config file is the default, with vnc listening on all interfaces. > > FreeBSD 7 RELEASE halts on "Relocating the loader and the BTX" > > I tried everything I can, including: > - Debian Lenny and Xen 3.2.0 from repository; > - Ubuntu 64 and Xen 3.1.0 from repository; > - Fedora 8 amd64 and Xen 3.2.0 from xen website > And I had always the same behaviour. > > > Any news/ideas? > > Thanks in advance, > dave > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Zakk
2008-Mar-11 15:58 UTC
Re: [Xen-users] ubuntu64, xen-unstable (hg cloned today) and freebsd 7.0 i386
Also, after you get that working, disable apic, the FreeBSD-7 install iso +xen wouldn''t boot with APIC when I tried this a few days ago (kernel panics) On Mar 11, 2008, at 11:49 AM, Davide D''Amico wrote:> Hi, > I am using the configuration as in the subject and I''m unable to start > a FreeBSD 7 i386 iso image. > I have to use FreeBSD because of its jail construct (yes, I could > use OpenVZ, but this is another story). > > Here the details. > Server: > DELL Poweredge 2900 2 Quad Core Intel Xeon > root@dom-mgmt:/etc/xen# cat /proc/cpuinfo | grep flag | head -1 > flags : fpu de tsc msr pae mce cx8 apic sep mtrr mca cmov pat pse36 > clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx lm > constant_tsc pni monitor ds_cpl vmx tm2 cx16 xtpr lahf_lm > > Distribution: > Ubuntu-server amd64 updated (I installed also gawk, bcc, libc-i386- > dev and build-essential). > > Software: > Xen 3.2 unstable (cloned from repository this morning) > > Installation: > make world > make install > > domU template: > root@dom-mgmt:/etc/xen# more dom0.televas.it > kernel = ''/usr/lib/xen/boot/hvmloader'' > device_model = ''/usr/lib/xen/bin/qemu-dm'' > builder = ''hvm'' > > # VM/domain name > name = ''fbsd'' > > # Memory and CPU settings > vcpus = ''2'' > memory = ''1024'' > serial = ''pty'' > > # Disk settings > disk = [ ''file:/home/dave/disk.img,hda,w'',''file:/home/ > dave/7.0-RELEAS > E-i386-disc1.iso,hdc:cdrom,r'' ] > boot = ''d'' > > # Graphics settings > sdl = ''0'' > vnc = ''1'' > vncviewer = ''1'' > nographics = ''1'' > > # Other settings > apic = ''1'' > acpi = ''1'' > localtime = ''1'' > > # Start/stop settings > on_poweroff = ''destroy'' > on_reboot = ''destroy'' > on_crash = ''destroy'' > > Xen config file is the default, with vnc listening on all interfaces. > > FreeBSD 7 RELEASE halts on "Relocating the loader and the BTX" > > I tried everything I can, including: > - Debian Lenny and Xen 3.2.0 from repository; > - Ubuntu 64 and Xen 3.1.0 from repository; > - Fedora 8 amd64 and Xen 3.2.0 from xen website > And I had always the same behaviour. > > > Any news/ideas? > > Thanks in advance, > dave > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Todd Deshane
2008-Mar-11 16:02 UTC
Re: [Xen-users] ubuntu64, xen-unstable (hg cloned today) and freebsd 7.0 i386
On Tue, Mar 11, 2008 at 11:49 AM, Davide D''Amico <davide.damico@televas.it> wrote:> Hi, > I am using the configuration as in the subject and I''m unable to start > a FreeBSD 7 i386 iso image. > I have to use FreeBSD because of its jail construct (yes, I could use > OpenVZ, but this is another story). > > Here the details. > Server: > DELL Poweredge 2900 2 Quad Core Intel Xeon > root@dom-mgmt:/etc/xen# cat /proc/cpuinfo | grep flag | head -1 > flags : fpu de tsc msr pae mce cx8 apic sep mtrr mca cmov pat > pse36 > clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx lm constant_tsc > pni monitor ds_cpl vmx tm2 cx16 xtpr lahf_lm > > Distribution: > Ubuntu-server amd64 updated (I installed also gawk, bcc, libc-i386- > dev and build-essential). > > Software: > Xen 3.2 unstable (cloned from repository this morning) > > Installation: > make world > make install > > domU template: > root@dom-mgmt:/etc/xen# more dom0.televas.it > kernel = ''/usr/lib/xen/boot/hvmloader'' > device_model = ''/usr/lib/xen/bin/qemu-dm'' > builder = ''hvm'' > > # VM/domain name > name = ''fbsd'' > > # Memory and CPU settings > vcpus = ''2'' > memory = ''1024'' > serial = ''pty'' > > # Disk settings > disk = [ ''file:/home/dave/disk.img,hda,w'',''file:/home/dave/ > 7.0-RELEAS > E-i386-disc1.iso,hdc:cdrom,r'' ] > boot = ''d'' > > # Graphics settings > sdl = ''0'' > vnc = ''1'' > vncviewer = ''1'' > nographics = ''1'' > > # Other settings > apic = ''1'' > acpi = ''1'' > localtime = ''1'' > > # Start/stop settings > on_poweroff = ''destroy'' > on_reboot = ''destroy'' > on_crash = ''destroy'' > > Xen config file is the default, with vnc listening on all interfaces. > > FreeBSD 7 RELEASE halts on "Relocating the loader and the BTX" > > I tried everything I can, including: > - Debian Lenny and Xen 3.2.0 from repository; > - Ubuntu 64 and Xen 3.1.0 from repository; > - Fedora 8 amd64 and Xen 3.2.0 from xen website > And I had always the same behaviour. > > > Any news/ideas? >On Ubuntu hardy I have ran into these two bugs. Not sure if your problem is related or not. Maybe it will give you some ideas. https://bugs.launchpad.net/ubuntu/+source/xen-3.2/+bug/192294 https://bugs.launchpad.net/ubuntu/+source/xen-3.2/+bug/199533 Regards, Todd> > Thanks in advance, > dave > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Davide D''Amico
2008-Mar-11 16:15 UTC
Re: [Xen-users] ubuntu64, xen-unstable (hg cloned today) and freebsd 7.0 i386
Il giorno 11/mar/08, alle ore 17:02, Todd Deshane ha scritto:> > > On Tue, Mar 11, 2008 at 11:49 AM, Davide D''Amico <davide.damico@televas.it > > wrote: > Hi, > I am using the configuration as in the subject and I''m unable to start > a FreeBSD 7 i386 iso image. > I have to use FreeBSD because of its jail construct (yes, I could use > OpenVZ, but this is another story). > > Here the details. > Server: > DELL Poweredge 2900 2 Quad Core Intel Xeon > root@dom-mgmt:/etc/xen# cat /proc/cpuinfo | grep flag | head -1 > flags : fpu de tsc msr pae mce cx8 apic sep mtrr mca cmov > pat pse36 > clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx lm constant_tsc > pni monitor ds_cpl vmx tm2 cx16 xtpr lahf_lm > > Distribution: > Ubuntu-server amd64 updated (I installed also gawk, bcc, libc-i386- > dev and build-essential). > > Software: > Xen 3.2 unstable (cloned from repository this morning) > > Installation: > make world > make install > > domU template: > root@dom-mgmt:/etc/xen# more dom0.televas.it > kernel = ''/usr/lib/xen/boot/hvmloader'' > device_model = ''/usr/lib/xen/bin/qemu-dm'' > builder = ''hvm'' > > # VM/domain name > name = ''fbsd'' > > # Memory and CPU settings > vcpus = ''2'' > memory = ''1024'' > serial = ''pty'' > > # Disk settings > disk = [ ''file:/home/dave/disk.img,hda,w'',''file:/home/dave/ > 7.0-RELEAS > E-i386-disc1.iso,hdc:cdrom,r'' ] > boot = ''d'' > > # Graphics settings > sdl = ''0'' > vnc = ''1'' > vncviewer = ''1'' > nographics = ''1'' > > # Other settings > apic = ''1'' > acpi = ''1'' > localtime = ''1'' > > # Start/stop settings > on_poweroff = ''destroy'' > on_reboot = ''destroy'' > on_crash = ''destroy'' > > Xen config file is the default, with vnc listening on all interfaces. > > FreeBSD 7 RELEASE halts on "Relocating the loader and the BTX" > > I tried everything I can, including: > - Debian Lenny and Xen 3.2.0 from repository; > - Ubuntu 64 and Xen 3.1.0 from repository; > - Fedora 8 amd64 and Xen 3.2.0 from xen website > And I had always the same behaviour. > > > Any news/ideas? > > > On Ubuntu hardy I have ran into these two bugs. Not sure if your > problem is related or not. Maybe it will give you some ideas. > > https://bugs.launchpad.net/ubuntu/+source/xen-3.2/+bug/192294 > https://bugs.launchpad.net/ubuntu/+source/xen-3.2/+bug/199533 >Thanks for your quick answer, but the problem is related to vt-x, infact a lot of users are able to run FreeBSD as domU using AMD processors, but DELL doesn''t sell them :-( dave _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Zakk
2008-Mar-11 16:32 UTC
Re: [Xen-users] ubuntu64, xen-unstable (hg cloned today) and freebsd 7.0 i386
(Just realized I sent this to the list with the wrong From: so it got eaten) To get the FreeBSD installer to boot under xen 3.2, I had to do two things: 1) recompile xen with ''vmxassist=n'' 2) disable apic in that domU (or boot the kernel with apic disabled) -=Zakk On Mar 11, 2008, at 12:15 PM, Davide D''Amico wrote:> > Il giorno 11/mar/08, alle ore 17:02, Todd Deshane ha scritto: > >> >> >> On Tue, Mar 11, 2008 at 11:49 AM, Davide D''Amico <davide.damico@televas.it >> > wrote: >> Hi, >> I am using the configuration as in the subject and I''m unable to >> start >> a FreeBSD 7 i386 iso image. >> I have to use FreeBSD because of its jail construct (yes, I could use >> OpenVZ, but this is another story). >> >> Here the details. >> Server: >> DELL Poweredge 2900 2 Quad Core Intel Xeon >> root@dom-mgmt:/etc/xen# cat /proc/cpuinfo | grep flag | head -1 >> flags : fpu de tsc msr pae mce cx8 apic sep mtrr mca cmov >> pat pse36 >> clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx lm >> constant_tsc >> pni monitor ds_cpl vmx tm2 cx16 xtpr lahf_lm >> >> Distribution: >> Ubuntu-server amd64 updated (I installed also gawk, bcc, libc-i386- >> dev and build-essential). >> >> Software: >> Xen 3.2 unstable (cloned from repository this morning) >> >> Installation: >> make world >> make install >> >> domU template: >> root@dom-mgmt:/etc/xen# more dom0.televas.it >> kernel = ''/usr/lib/xen/boot/hvmloader'' >> device_model = ''/usr/lib/xen/bin/qemu-dm'' >> builder = ''hvm'' >> >> # VM/domain name >> name = ''fbsd'' >> >> # Memory and CPU settings >> vcpus = ''2'' >> memory = ''1024'' >> serial = ''pty'' >> >> # Disk settings >> disk = [ ''file:/home/dave/disk.img,hda,w'',''file:/home/ >> dave/ >> 7.0-RELEAS >> E-i386-disc1.iso,hdc:cdrom,r'' ] >> boot = ''d'' >> >> # Graphics settings >> sdl = ''0'' >> vnc = ''1'' >> vncviewer = ''1'' >> nographics = ''1'' >> >> # Other settings >> apic = ''1'' >> acpi = ''1'' >> localtime = ''1'' >> >> # Start/stop settings >> on_poweroff = ''destroy'' >> on_reboot = ''destroy'' >> on_crash = ''destroy'' >> >> Xen config file is the default, with vnc listening on all interfaces. >> >> FreeBSD 7 RELEASE halts on "Relocating the loader and the BTX" >> >> I tried everything I can, including: >> - Debian Lenny and Xen 3.2.0 from repository; >> - Ubuntu 64 and Xen 3.1.0 from repository; >> - Fedora 8 amd64 and Xen 3.2.0 from xen website >> And I had always the same behaviour. >> >> >> Any news/ideas? >> >> >> On Ubuntu hardy I have ran into these two bugs. Not sure if your >> problem is related or not. Maybe it will give you some ideas. >> >> https://bugs.launchpad.net/ubuntu/+source/xen-3.2/+bug/192294 >> https://bugs.launchpad.net/ubuntu/+source/xen-3.2/+bug/199533 >> > Thanks for your quick answer, but the problem is related to vt-x, > infact a lot of users are able to run FreeBSD as domU using > AMD processors, but DELL doesn''t sell them :-( > > > dave > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Davide D''Amico
2008-Mar-11 16:39 UTC
Re: [Xen-users] ubuntu64, xen-unstable (hg cloned today) and freebsd 7.0 i386
Il giorno 11/mar/08, alle ore 17:32, Zakk ha scritto:> (Just realized I sent this to the list with the wrong From: so it > got eaten) > > To get the FreeBSD installer to boot under xen 3.2, I had to do two > things: > > 1) recompile xen with ''vmxassist=n'' > 2) disable apic in that domU (or boot the kernel with apic disabled)Ok, I''ll give it a try :-) Thanks, dave _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Davide D''Amico
2008-Mar-11 16:41 UTC
Re: [Xen-users] ubuntu64, xen-unstable (hg cloned today) and freebsd 7.0 i386
Il giorno 11/mar/08, alle ore 17:32, Zakk ha scritto:> (Just realized I sent this to the list with the wrong From: so it > got eaten) > > To get the FreeBSD installer to boot under xen 3.2, I had to do two > things: > > 1) recompile xen with ''vmxassist=n'' > 2) disable apic in that domU (or boot the kernel with apic disabled)I cannot find "vmxassist" in xen-unstable.hg/ tree. Where could I find documentation about recompile xen with this option set? Thanks, dave _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Davide D''Amico
2008-Mar-11 16:59 UTC
Re: [Xen-users] ubuntu64, xen-unstable (hg cloned today) and freebsd 7.0 i386
Il giorno 11/mar/08, alle ore 16:54, Zakk ha scritto:> You need to compile xen with ''vmxassist=n''I''m using Xen unstable and I read that vmxassist is disabled by default. If I start a domU, I see: dave@dom-mgmt:~$ sudo xm dmesg | grep VMX (XEN) HVM: VMX enabled Is it related to vmxassist? dave _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Davide D''Amico
2008-Mar-11 17:44 UTC
Re: [Xen-users] ubuntu64, xen-unstable (hg cloned today) and freebsd 7.0 i386
Il giorno 11/mar/08, alle ore 17:59, Davide D''Amico ha scritto:> > Il giorno 11/mar/08, alle ore 16:54, Zakk ha scritto: > >> You need to compile xen with ''vmxassist=n'' > I''m using Xen unstable and I read that vmxassist is disabled by > default. > If I start a domU, I see: > dave@dom-mgmt:~$ sudo xm dmesg | grep VMX > (XEN) HVM: VMX enabled > > Is it related to vmxassist?I tried to recompile xen-3.0.2 (tools/firmware) but when I start vncviewer I see "HVMAssist Bios" and it stops in "Relocating..." What''s the right procedure to compile xen 3.2.0 with vmxassist=n ? In xen-unstable they removed vmxassist, so which option could I use? Thanks, dave _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users