WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

RE: [Xen-devel] Problem bringing up 32-bit Sles 9 on a Dom-VT

To: "Zhao, Yunfeng" <yunfeng.zhao@xxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>, <raj.subrahmanian@xxxxxxxxxx>
Subject: RE: [Xen-devel] Problem bringing up 32-bit Sles 9 on a Dom-VT
From: "Zhao, Yunfeng" <yunfeng.zhao@xxxxxxxxx>
Date: Sat, 25 Mar 2006 08:49:48 +0800
Delivery-date: Sat, 25 Mar 2006 00:51:21 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcZPh2Wn82cxzg/8ScmMgpW/xOdStAACB6DAAAGmI2AAAwvIAAAA5HZw
Thread-topic: [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@xxxxxxxxxxxxxxxxxxx
[mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of
Subrahmanian, Raj
Sent: Friday, March 24, 2006 2:30 PM
To: xen-devel@xxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel