Subrahmanian, Raj
2006-Mar-24 22:30 UTC
[Xen-devel] Problem bringing up 32-bit Sles 9 on a Dom-VT
All, We are facing some issues bringing up a DomVT on Xen x86_64(changeset 9267). We created a disk image with dd 8 G in size. We then booted an associated Dom-VT with a CD-ROM and did net-install of the sles-9 OS. This completes successfully. Then, when the system is brought around for a reboot (having changed the boot option from cdrom to disk), the system hangs after the line ''NET:Registered protocol family 2 I have attached the serial output, the screen-capture of the boot and the domain configuration file. Are we making some obvious error? Thanks Raj HVM file import os, re arch = os.uname()[4] if re.search(''64'', arch): arch_libdir = ''lib64'' else: arch_libdir = ''lib'' #----------------------------------------------------------------------- ----- # Kernel image file. kernel = "/usr/lib/xen/boot/hvmloader" # The domain build function. HVM domain uses ''hvm''. builder=''hvm'' # Initial memory allocation (in megabytes) for the new domain. memory = 512 # A name for your domain. All domains must have different names. name = "sles9" #----------------------------------------------------------------------- ------ # the number of cpus guest platform has, default=1 vcpus=1 # enable/disable HVM guest PAE, default=0 (disabled) #pae=0 # enable/disable HVM guest ACPI, default=0 (disabled) #acpi=1 # enable/disable HVM guest APIC, default=0 (disabled) #apic=1 # List of which CPUS this domain is allowed to use, default Xen picks cpus = "" # leave to Xen to pick vif = [ ''type=ioemu, bridge=xenbr0'' ] disk = [ ''file:/home/unisys/images/sles9.img,ioemu:hda,w'' ] # New stuff device_model = ''/usr/'' + arch_libdir + ''/xen/bin/qemu-dm'' #----------------------------------------------------------------------- ------ # Disk image for #cdrom=''/dev/hda'' #----------------------------------------------------------------------- ------ # boot on floppy (a), hard disk (c) or CD-ROM (d) boot=''c'' #----------------------------------------------------------------------- ------ # write to temporary files instead of disk image files #snapshot=1 #----------------------------------------------------------------------- ----- # enable SDL library for graphics, default = 0 sdl=0 #----------------------------------------------------------------------- ----- # enable VNC library for graphics, default = 1 vnc=1 #----------------------------------------------------------------------- ----- # enable spawning vncviewer(only valid when vnc=1), default = 1 vncviewer=0 #----------------------------------------------------------------------- ----- # enable ne2000, default = 0(use pcnet) ne2000=0 #----------------------------------------------------------------------- ------ # enable audio support #audio=1 #----------------------------------------------------------------------- ------ # set the real time clock to local time [default=0 i.e. set to utc] #localtime=1 #----------------------------------------------------------------------- ------ # start in full screen #fullscreen=1 Serial O/P (XEN) (GUEST: 24) HVM Loader (XEN) (GUEST: 24) Loading ROMBIOS ... (XEN) (GUEST: 24) Loading Cirrus VGABIOS ... (XEN) (GUEST: 24) Loading VMXAssist ... (XEN) (GUEST: 24) VMX go ... (XEN) (GUEST: 24) VMXAssist (Mar 20 2006) (XEN) (GUEST: 24) Memory size 512 MB (XEN) (GUEST: 24) E820 map: (XEN) (GUEST: 24) 0000000000000000 - 000000000009F800 (RAM) (XEN) (GUEST: 24) 000000000009F800 - 00000000000A0000 (Reserved) (XEN) (GUEST: 24) 00000000000A0000 - 00000000000C0000 (Type 16) (XEN) (GUEST: 24) 00000000000F0000 - 0000000000100000 (Reserved) (XEN) (GUEST: 24) 0000000000100000 - 000000001FFFE000 (RAM) (XEN) (GUEST: 24) 000000001FFFF000 - 0000000020000000 (Type 17) (XEN) (GUEST: 24) 000000001FFFE000 - 000000001FFFF000 (Type 18) (XEN) (GUEST: 24) 0000000020000000 - 0000000020003000 (ACPI NVS) (XEN) (GUEST: 24) 0000000020003000 - 000000002000D000 (ACPI Data) (XEN) (GUEST: 24) 00000000FEC00000 - 0000000100000000 (Type 16) (XEN) (GUEST: 24) (XEN) (GUEST: 24) Start BIOS ... (XEN) (GUEST: 24) Starting emulated 16-bit real-mode: ip=F000:FFF0 (XEN) (GUEST: 24) rombios.c,v 1.138 2005/05/07 15:55:26 vruppert Exp $ (XEN) HVM_PIT: guest freq in cycles=150008023 (XEN) (GUEST: 24) Remapping master: ICW2 0x8 -> 0x20 (XEN) (GUEST: 24) Remapping slave: ICW2 0x70 -> 0x28 (XEN) (GUEST: 24) VGABios $Id: vgabios.c,v 1.61 2005/05/24 16:50:50 vruppert Exp $ (XEN) (GUEST: 24) HVMAssist BIOS, 1 cpu, $Revision: 1.138 $ $Date: 2005/05/07 15:55:26 $ (XEN) (GUEST: 24) (XEN) (GUEST: 24) ata0-0: PCHS=16646/16/63 translation=lba LCHS=1024/255/63 (XEN) (GUEST: 24) ata0 master: QEMU HARDDISK ATA-2 Hard-Disk (8193 MBytes) (XEN) (GUEST: 24) ata0 slave: Unknown device (XEN) (GUEST: 24) ata1 master: QEMU CD-ROM ATAPI-4 CD-Rom/DVD-Rom (XEN) (GUEST: 24) ata1 slave: Unknown device (XEN) (GUEST: 24) (XEN) (GUEST: 24) Booting from Hard Disk... (XEN) (GUEST: 24) int13_harddisk: function 41, unmapped device for ELDL=81 (XEN) (GUEST: 24) int13_harddisk: function 08, unmapped device for ELDL=81 (XEN) (GUEST: 24) *** int 15h function AX=00C0, BX=0000 not yet supported! (XEN) (GUEST: 24) *** int 15h function AX=5300, BX=0000 not yet supported! (XEN) (GUEST: 24) *** int 15h function AX=5304, BX=0000 not yet supported! (XEN) (GUEST: 24) int13_harddisk: function 15, unmapped device for ELDL=81 (XEN) (GUEST: 24) KBD: unsupported int 16h function 03 (XEN) (GUEST: 24) int13_harddisk: function 15, unmapped device for ELDL=81 (XEN) (GUEST: 24) *** int 15h function AX=E980, BX=E6F5 not yet supported! (XEN) (GUEST: 24) *** int 15h function AX=5300, BX=0000 not yet supported! (XEN) (GUEST: 24) int13_harddisk: function 41, unmapped device for ELDL=81 (XEN) HVM_PIT: guest freq in cycles=2999706 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Zhao, Yunfeng
2006-Mar-25 00:49 UTC
RE: [Xen-devel] Problem bringing up 32-bit Sles 9 on a Dom-VT
Hi,Raj There should be no problem to install and boot sles9 ia32 guest on xen x86_64.I had tried this against 9251 and didn''t meet any problem. Can you check if the guest uses up kernel? If it''s smp kernel, it''s possible that you cannot boot it up. Please also try to switch the console of guest with Ctrl+Alt+Fx and see if have any error messages printed? And a SLES9 IA32 guest image also could be downloaded from the link blow. http://free.oszoo.org/download.html thanks Yunfeng -----Original Message----- From: xen-devel-bounces@lists.xensource.com [mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of Subrahmanian, Raj Sent: Friday, March 24, 2006 2:30 PM To: xen-devel@lists.xensource.com Subject: [Xen-devel] Problem bringing up 32-bit Sles 9 on a Dom-VT All, We are facing some issues bringing up a DomVT on Xen x86_64(changeset 9267). We created a disk image with dd 8 G in size. We then booted an associated Dom-VT with a CD-ROM and did net-install of the sles-9 OS. This completes successfully. Then, when the system is brought around for a reboot (having changed the boot option from cdrom to disk), the system hangs after the line ''NET:Registered protocol family 2 I have attached the serial output, the screen-capture of the boot and the domain configuration file. Are we making some obvious error? Thanks Raj HVM file import os, re arch = os.uname()[4] if re.search(''64'', arch): arch_libdir = ''lib64'' else: arch_libdir = ''lib'' #----------------------------------------------------------------------- ----- # Kernel image file. kernel = "/usr/lib/xen/boot/hvmloader" # The domain build function. HVM domain uses ''hvm''. builder=''hvm'' # Initial memory allocation (in megabytes) for the new domain. memory = 512 # A name for your domain. All domains must have different names. name = "sles9" #----------------------------------------------------------------------- ------ # the number of cpus guest platform has, default=1 vcpus=1 # enable/disable HVM guest PAE, default=0 (disabled) #pae=0 # enable/disable HVM guest ACPI, default=0 (disabled) #acpi=1 # enable/disable HVM guest APIC, default=0 (disabled) #apic=1 # List of which CPUS this domain is allowed to use, default Xen picks cpus = "" # leave to Xen to pick vif = [ ''type=ioemu, bridge=xenbr0'' ] disk = [ ''file:/home/unisys/images/sles9.img,ioemu:hda,w'' ] # New stuff device_model = ''/usr/'' + arch_libdir + ''/xen/bin/qemu-dm'' #----------------------------------------------------------------------- ------ # Disk image for #cdrom=''/dev/hda'' #----------------------------------------------------------------------- ------ # boot on floppy (a), hard disk (c) or CD-ROM (d) boot=''c'' #----------------------------------------------------------------------- ------ # write to temporary files instead of disk image files #snapshot=1 #----------------------------------------------------------------------- ----- # enable SDL library for graphics, default = 0 sdl=0 #----------------------------------------------------------------------- ----- # enable VNC library for graphics, default = 1 vnc=1 #----------------------------------------------------------------------- ----- # enable spawning vncviewer(only valid when vnc=1), default = 1 vncviewer=0 #----------------------------------------------------------------------- ----- # enable ne2000, default = 0(use pcnet) ne2000=0 #----------------------------------------------------------------------- ------ # enable audio support #audio=1 #----------------------------------------------------------------------- ------ # set the real time clock to local time [default=0 i.e. set to utc] #localtime=1 #----------------------------------------------------------------------- ------ # start in full screen #fullscreen=1 Serial O/P (XEN) (GUEST: 24) HVM Loader (XEN) (GUEST: 24) Loading ROMBIOS ... (XEN) (GUEST: 24) Loading Cirrus VGABIOS ... (XEN) (GUEST: 24) Loading VMXAssist ... (XEN) (GUEST: 24) VMX go ... (XEN) (GUEST: 24) VMXAssist (Mar 20 2006) (XEN) (GUEST: 24) Memory size 512 MB (XEN) (GUEST: 24) E820 map: (XEN) (GUEST: 24) 0000000000000000 - 000000000009F800 (RAM) (XEN) (GUEST: 24) 000000000009F800 - 00000000000A0000 (Reserved) (XEN) (GUEST: 24) 00000000000A0000 - 00000000000C0000 (Type 16) (XEN) (GUEST: 24) 00000000000F0000 - 0000000000100000 (Reserved) (XEN) (GUEST: 24) 0000000000100000 - 000000001FFFE000 (RAM) (XEN) (GUEST: 24) 000000001FFFF000 - 0000000020000000 (Type 17) (XEN) (GUEST: 24) 000000001FFFE000 - 000000001FFFF000 (Type 18) (XEN) (GUEST: 24) 0000000020000000 - 0000000020003000 (ACPI NVS) (XEN) (GUEST: 24) 0000000020003000 - 000000002000D000 (ACPI Data) (XEN) (GUEST: 24) 00000000FEC00000 - 0000000100000000 (Type 16) (XEN) (GUEST: 24) (XEN) (GUEST: 24) Start BIOS ... (XEN) (GUEST: 24) Starting emulated 16-bit real-mode: ip=F000:FFF0 (XEN) (GUEST: 24) rombios.c,v 1.138 2005/05/07 15:55:26 vruppert Exp $ (XEN) HVM_PIT: guest freq in cycles=150008023 (XEN) (GUEST: 24) Remapping master: ICW2 0x8 -> 0x20 (XEN) (GUEST: 24) Remapping slave: ICW2 0x70 -> 0x28 (XEN) (GUEST: 24) VGABios $Id: vgabios.c,v 1.61 2005/05/24 16:50:50 vruppert Exp $ (XEN) (GUEST: 24) HVMAssist BIOS, 1 cpu, $Revision: 1.138 $ $Date: 2005/05/07 15:55:26 $ (XEN) (GUEST: 24) (XEN) (GUEST: 24) ata0-0: PCHS=16646/16/63 translation=lba LCHS=1024/255/63 (XEN) (GUEST: 24) ata0 master: QEMU HARDDISK ATA-2 Hard-Disk (8193 MBytes) (XEN) (GUEST: 24) ata0 slave: Unknown device (XEN) (GUEST: 24) ata1 master: QEMU CD-ROM ATAPI-4 CD-Rom/DVD-Rom (XEN) (GUEST: 24) ata1 slave: Unknown device (XEN) (GUEST: 24) (XEN) (GUEST: 24) Booting from Hard Disk... (XEN) (GUEST: 24) int13_harddisk: function 41, unmapped device for ELDL=81 (XEN) (GUEST: 24) int13_harddisk: function 08, unmapped device for ELDL=81 (XEN) (GUEST: 24) *** int 15h function AX=00C0, BX=0000 not yet supported! (XEN) (GUEST: 24) *** int 15h function AX=5300, BX=0000 not yet supported! (XEN) (GUEST: 24) *** int 15h function AX=5304, BX=0000 not yet supported! (XEN) (GUEST: 24) int13_harddisk: function 15, unmapped device for ELDL=81 (XEN) (GUEST: 24) KBD: unsupported int 16h function 03 (XEN) (GUEST: 24) int13_harddisk: function 15, unmapped device for ELDL=81 (XEN) (GUEST: 24) *** int 15h function AX=E980, BX=E6F5 not yet supported! (XEN) (GUEST: 24) *** int 15h function AX=5300, BX=0000 not yet supported! (XEN) (GUEST: 24) int13_harddisk: function 41, unmapped device for ELDL=81 (XEN) HVM_PIT: guest freq in cycles=2999706 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Subrahmanian, Raj
2006-Mar-25 01:57 UTC
RE: [Xen-devel] Problem bringing up 32-bit Sles 9 on a Dom-VT
Yunfeng, Thanks. It was indeed a multi-proc kernel issue. We did not realise that the SUSE install program was installing a smp kernel by default. How do you guys normally create your installs? Do you perform a standard install off a cdrom (basically treating the DOM-VT as a standard uniproc machine?) or do you use a downloaded disk image? Thanks Raj -----Original Message----- From: Zhao, Yunfeng [mailto:yunfeng.zhao@intel.com] Sent: Friday, March 24, 2006 7:50 PM To: Zhao, Yunfeng; xen-devel@lists.xensource.com; Subrahmanian, Raj Subject: RE: [Xen-devel] Problem bringing up 32-bit Sles 9 on a Dom-VT Hi,Raj There should be no problem to install and boot sles9 ia32 guest on xen x86_64.I had tried this against 9251 and didn''t meet any problem. Can you check if the guest uses up kernel? If it''s smp kernel, it''s possible that you cannot boot it up. Please also try to switch the console of guest with Ctrl+Alt+Fx and see if have any error messages printed? And a SLES9 IA32 guest image also could be downloaded from the link blow. http://free.oszoo.org/download.html thanks Yunfeng _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Zhao, Yunfeng
2006-Mar-25 02:18 UTC
RE: [Xen-devel] Problem bringing up 32-bit Sles 9 on a Dom-VT
Raj Most vmx guests of us,like SLES9 IA32/IA32e, SLES10 IA32, Windows XP SP1/SP2 IA32,windows 2003 IA32,RHEL4U1/2 IA32/IA32e and FC3/4 IA32/IA32e, were installed from cdrom/iso by ourself. But there are some other linux OSes still could not be installed in VMX, like sles10 ia32e and FC2 ia32/ia32e guests. To create these guests, you may need to install these native linuxs on a physical machine ,and copy all files under / into a guest image, and then install grub on the image. You also can try to use qemu to install it. BTW: To install IA32e linux guests you need to add "noacpi nolapic" to the kernel. Thanks Yunfeng -----Original Message----- From: Subrahmanian, Raj [mailto:raj.subrahmanian@unisys.com] Sent: 2006年3月25日 9:57 To: Zhao, Yunfeng; xen-devel@lists.xensource.com Subject: RE: [Xen-devel] Problem bringing up 32-bit Sles 9 on a Dom-VT Yunfeng, Thanks. It was indeed a multi-proc kernel issue. We did not realise that the SUSE install program was installing a smp kernel by default. How do you guys normally create your installs? Do you perform a standard install off a cdrom (basically treating the DOM-VT as a standard uniproc machine?) or do you use a downloaded disk image? Thanks Raj -----Original Message----- From: Zhao, Yunfeng [mailto:yunfeng.zhao@intel.com] Sent: Friday, March 24, 2006 7:50 PM To: Zhao, Yunfeng; xen-devel@lists.xensource.com; Subrahmanian, Raj Subject: RE: [Xen-devel] Problem bringing up 32-bit Sles 9 on a Dom-VT Hi,Raj There should be no problem to install and boot sles9 ia32 guest on xen x86_64.I had tried this against 9251 and didn''t meet any problem. Can you check if the guest uses up kernel? If it''s smp kernel, it''s possible that you cannot boot it up. Please also try to switch the console of guest with Ctrl+Alt+Fx and see if have any error messages printed? And a SLES9 IA32 guest image also could be downloaded from the link blow. http://free.oszoo.org/download.html thanks Yunfeng _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Li, Xin B
2006-Mar-25 02:27 UTC
RE: [Xen-devel] Problem bringing up 32-bit Sles 9 on a Dom-VT
>Raj > >Most vmx guests of us,like SLES9 IA32/IA32e, SLES10 IA32, >Windows XP SP1/SP2 IA32,windows 2003 IA32,RHEL4U1/2 IA32/IA32e >and FC3/4 IA32/IA32e, were installed from cdrom/iso by ourself. >But there are some other linux OSes still could not be >installed in VMX, like sles10 ia32e and FC2 ia32/ia32e guests. >To create these guests, you may need to install these native >linuxs on a physical machine ,and copy all files under / into >a guest image, and then install grub on the image. >You also can try to use qemu to install it. > >BTW: To install IA32e linux guests you need to add "noacpi >nolapic" to the kernel.I think this is not necessary any more :-), but you need enable acpi and apic option in your config file. BTW, we VMX do support SMP guest on xen now, but changeset 9366 breaks ap bringing up from real mode, and I''m fixing it. If you have any other issue when using SMP kernel, pls tell me. thanks -Xin> >Thanks >Yunfeng > >-----Original Message----- >From: Subrahmanian, Raj [mailto:raj.subrahmanian@unisys.com] >Sent: 2006年3月25日 9:57 >To: Zhao, Yunfeng; xen-devel@lists.xensource.com >Subject: RE: [Xen-devel] Problem bringing up 32-bit Sles 9 on a Dom-VT > >Yunfeng, > >Thanks. It was indeed a multi-proc kernel issue. We did not >realise that >the SUSE install program was installing a smp kernel by default. >How do you guys normally create your installs? Do you perform >a standard >install off a cdrom (basically treating the DOM-VT as a >standard uniproc >machine?) or do you use a downloaded disk image? > >Thanks >Raj > >-----Original Message----- >From: Zhao, Yunfeng [mailto:yunfeng.zhao@intel.com] >Sent: Friday, March 24, 2006 7:50 PM >To: Zhao, Yunfeng; xen-devel@lists.xensource.com; Subrahmanian, Raj >Subject: RE: [Xen-devel] Problem bringing up 32-bit Sles 9 on a Dom-VT > >Hi,Raj >There should be no problem to install and boot sles9 ia32 guest on xen >x86_64.I had tried this against 9251 and didn''t meet any problem. >Can you check if the guest uses up kernel? If it''s smp kernel, it''s >possible that you cannot boot it up. >Please also try to switch the console of guest with Ctrl+Alt+Fx and see >if have any error messages printed? > >And a SLES9 IA32 guest image also could be downloaded from the link >blow. >http://free.oszoo.org/download.html > >thanks >Yunfeng > >_______________________________________________ >Xen-devel mailing list >Xen-devel@lists.xensource.com >http://lists.xensource.com/xen-devel >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Ian Pratt
2006-Mar-25 11:40 UTC
RE: [Xen-devel] Problem bringing up 32-bit Sles 9 on a Dom-VT
> # New stuff > device_model = ''/usr/'' + arch_libdir + ''/xen/bin/qemu-dm''It''s grotesque that we have to set the path to qemu-dm in the config file like this, Please can someone knock up a patch to hardwire a sensible default into xend so most config files can ommit it. Thanks, Ian _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel