Hi all, Smb. get freebsd on guest OS? How arch your use? I try get freebsd i386 on solaris x86_64 and has this error Kernel ELF architecture ''3'' does not match Xen architecture ''62'' (x86_64) With HVM gues OS does not boot from CD-image. Maybe anyone already use this? This message posted from opensolaris.org
> Smb. get freebsd on guest OS? How arch your use? I > try get freebsd i386 on solaris x86_64 and has this error > Kernel ELF architecture ''3'' does not match Xen > architecture ''62'' (x86_64) > > With HVM gues OS does not boot from CD-image. > > Maybe anyone already use this?Which opensolaris release are you running? I think the problem is that you''re trying to boot a 32-bit PV domU on the 64-bit 3.0.4 hypervisor, and that isn''t supported. You can either: - force booting the hypervisor and dom0 in 32-bit mode; this should allow booting a 32-bit PV domU. or - use a 64-bit PV domU on a 64-bit hypervisor / dom0 (but I don''t know if freebsd is available with 64-bit PV domU support) or - use a 32-bit HVM domU on a 64-bit hypervisor / dom0 no idea why it didn''t work for you..., IIRC I was able to boot a HVM domU with freebsd 6.2 using disk = [ ''phy:/dev/zvol/dsk/files2/xen-freebsd,hda,w'', ''file:/files/tiger2/tmp/freebsd-6.2/6.2-RELEASE-i386-disc1.iso,hdc:cdrom,r'' ] or - upgrade to opensolaris build 85 (or newer), which includes xVM / xen 3.1.2. Under 3.1.2 it should be possible to use 32-bit PV domUs under a 64 bit hypervisor / dom0. This message posted from opensolaris.org
I wrote:> > With HVM gues OS does not boot from CD-image. > > > > Maybe anyone already use this? >> - use a 32-bit HVM domU on a 64-bit hypervisor / dom0 > > no idea why it didn''t work for you..., IIRC I was able to boot > a HVM domU with freebsd 6.2 using > > disk = [ ''phy:/dev/zvol/dsk/files2/xen-freebsd,hda,w'', > file:/files/tiger2/tmp/freebsd-6.2/6.2-RELEASE-i386-disc1.iso,hdc:cdrom,r'' ]Hmm, I don''t remember that there were problems the last time I tried to boot a HVM FreeBSD 6.2 domU under a 32-bit OpenSolaris dom0 - that must have been ~ October 2007 with xVM 3.0.4. Today, using the new xVM 3.1.2 bits and booted under 64-bit hypervisor / opensolaris dom0, a 32-bit HVM domU FreeBSD 6.2 kernel does panic early during boot: Fatal trap 12: page fault while in kernel mode fault virtual address = 0x5a fault code = supervisor read, page not present instruction pointer = 0x20:0xc07de70b stack pointer = 0x28:0xc0c20bc8 frame pointer = 0x28:0xc0c20c94 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor efalgs = interrupt enabled, resume, IOPL = 0 current process = 0 () trap number = 12 panic: page fault Uptime: 1s Looks like a NULL pointer dereference panic.... I found FreeBSD bug kern/118734: http://www.freebsd.org/cgi/query-pr.cgi?pr=118734&cat=kern I also found the same workaround: FreeBSD 6.2 does boot fine when selecting the boot option to disable ACPI. This message posted from opensolaris.org
My version solaris 5.11 snv_75\ freebsd 7.0 release. Do you has kernel freebsd success booting? This message posted from opensolaris.org
Sergei wrote:> My version solaris 5.11 snv_75\ freebsd 7.0 release. Do you has kernel freebsd success booting?if you mean to ask "can I boot freebsd 7.0 in a domU, with Nevada build 75 as dom0", the answer is "no, xVM was integrated in build 75a, sorry". HTH Michael -- Michael Schuster http://blogs.sun.com/recursion Recursion, n.: see ''Recursion''
Fine. I''ll take of responce anybody take it on newer openloraris version than my a75 build. I''ll hope anybody use it, please help. A new release many difficult to get through its my provider. This message posted from opensolaris.org
Sergei wrote:> Fine. > I''ll take of responce anybody take it on newer openloraris version than my a75 build. I''ll hope anybody use it, please help. A new release many difficult to get through its my provider. > > > This message posted from opensolaris.org > _______________________________________________ > xen-discuss mailing list > xen-discuss@opensolaris.org >Do you mean you want someone to try out FreeBSD domU on a newer build than B75? I suppose I could try on B79 (SXDE 01/08), B83 (SXCE) and B85 (SXCE) if you needed me to. James
Hmmm, I''m take equal error to try start netbsd i386 on my solaris # uname -mvp snv_75 i86pc i386 # isainfo amd64 i386 #xm create netbsd Error: (2, ''Invalid kernel'', "Kernel ELF architecture ''3'' does not match Xen architecture ''62'' (x86_64)") My config memory = 192 name = "netbsd" kernel = "/kernel/INSTALL_XEN3_DOMU.gz" vif = [ ''type=ioemu, bridge=e1000g0'' ] disk = [ ''file:/img/netbsd.img,ioemu:hda,w'', ''file:/iso/i386cd_netbsd-3.0.iso,hdc:cdrom,r'' ] on_poweroff = ''destroy'' on_reboot = ''restart'' on_crash = ''preserve'' boot=''d'' serial=''console'' device_model = ''/usr/lib/xen/bin/qemu-dm'' I think problem on compatibility HVM. Possible exist any options improve it? This message posted from opensolaris.org
It''s more proper to call it OpenSolaris, it''s not regular Solaris. Also, this build is extremely out of date, the first with Xen bits, you need to upgrade to somewhere around B88-B89 to get *BSD fixes. Around B85 they made it possible to run guests that are different architecture than host. If host is x86-64 (AMD64/EM64T) it can only run 64-bit guests until around B85 whereas you can now do both, but there''s still kludge until around B89 or so. James On May 11, 2008, at 5:03 AM, Sergei wrote:> Hmmm, I''m take equal error to try start netbsd i386 on my solaris > # uname -mvp > snv_75 i86pc i386 > # isainfo > amd64 i386 > #xm create netbsd > Error: (2, ''Invalid kernel'', "Kernel ELF architecture ''3'' does not > match Xen architecture ''62'' (x86_64)") > > My config > > memory = 192 > name = "netbsd" > kernel = "/kernel/INSTALL_XEN3_DOMU.gz" > vif = [ ''type=ioemu, bridge=e1000g0'' ] > disk = [ ''file:/img/netbsd.img,ioemu:hda,w'', ''file:/iso/ > i386cd_netbsd-3.0.iso,hdc:cdrom,r'' ] > on_poweroff = ''destroy'' > on_reboot = ''restart'' > on_crash = ''preserve'' > boot=''d'' > serial=''console'' > device_model = ''/usr/lib/xen/bin/qemu-dm'' > > I think problem on compatibility HVM. Possible exist any options > improve it? > > > This message posted from opensolaris.org > _______________________________________________ > xen-discuss mailing list > xen-discuss@opensolaris.org
Also my build solaris does''t support invert compatibility? This message posted from opensolaris.org
2008/5/11 James Cornell <sparcdr@sparcdr.com>:> It''s more proper to call it OpenSolaris, it''s not regular Solaris. Also, > this build is extremely out of date, the first with Xen bits, you need to > upgrade to somewhere around B88-B89 to get *BSD fixes.BTW. Did anyone managed to run FreeBSD in domU on SXCE/OpenSolaris? gausus -- [ -----< Maciej Jan Broniarz || gausus@gausus.net >------ ] | Siamo qui \ sotto la stessa luce \ sotto la sua croce \ | | cantando ad una voce \ E l''Emmanuel Emmanuel, Emmanuel, | [ ---------------< E l''Emmanuel, Emmanuel >-------------- ]
->Did anyone managed to run FreeBSD in domU on SXCE/OpenSolaris? FreeBSD current-8 only with support. I could not take it on EM64T 75 build soalris(read begin topic). This is realy use with netbsd-current up to 37 build. This message posted from opensolaris.org
The problem isn''t OpenSolaris, Xen 3.0 is now 3.1.x which breaks compatibility. Only -CURRENT of 8 is supported under 3.1, but not 3.0. This is HVM not PVM afaik, as I have yet to see any real progress with Xen on FreeBSD. NetBSD has done a lot more Xen work, though specific usage depends on Xen version, host, and hardware. James On May 11, 2008, at 5:24 AM, Sergei wrote:> Also my build solaris does''t support invert compatibility? > > > This message posted from opensolaris.org > _______________________________________________ > xen-discuss mailing list > xen-discuss@opensolaris.org
Hi, I am trying to install freebsd in hvm domU on Centos using xen 3.2.1. My config file looks like that: [root@niemiec pub]# cat /etc/xen/freebsd.snv name = "freebsd" builder = "hvm" memory = "256" disk = [''phy:/dev/vol1/freebsd,ioemu:hda,w'',''file:/pub/8.0-CURRENT-200804-amd64-disc1.iso,hdc:cdrom,r''] vif = [ ''type=ioemu,bridge=eth0'' ] device_model = "/usr/lib64/xen/bin/qemu-dm" kernel = "/usr/lib/xen/boot/hvmloader" vnc=1 boot="d" vcpus=1 #serial = "pty" # enable serial console on_reboot = ''restart'' on_crash = ''restart'' The boot process hangs on: Trying to mount root from ufs:/dev/md0 Did anyone solved that problem? mjb -- [ -----< Maciej Jan Broniarz || gausus@gausus.net >------ ] | Siamo qui \ sotto la stessa luce \ sotto la sua croce \ | | cantando ad una voce \ E l''Emmanuel Emmanuel, Emmanuel, | [ ---------------< E l''Emmanuel, Emmanuel >-------------- ]