I have an xen-3.2.1 source under amd64 arch:
# uname -a
Linux xenserver 2.6.18.8-xen #1 SMP Thu Jul 31 23:51:53 CEST 2008 x86_64
GNU/Linux
I would like to compile a 32bit kernel for my domU, so I did the
following:
# cd xen-3.2.1
# make XEN_TARGET_ARCH=x86_32 linux-2.6-xenU-prep
# cd build-linux-2.6.18-xenU_x86_32
# make ARCH=i386 menuconfig
# make ARCH=i386
# make ARCH=i386 install modules_install
# mkinitramfs -o /boot/initrd.img-2.6.18.8-xenU 2.6.18.8-xenU
Then here is my domU.conf:
kernel="/boot/vmlinuz-2.6.18.8-xenU"
ramdisk = "/boot/initrd.img-2.6.18.8-xenU"
memory = 6144
name = "linserver"
cpus = "0-3"
vcpus = 4
vif = [ 'mac=00:40:f6:54:79:0f, bridge=xenbr0','mac=00:16:3e:00:01:01,
bridge=xenbr1' ]
disk = [ 'phy:/dev/system/linserv_root,sda1,w',
'phy:/dev/system/linserv_usr,sda2,w',
'phy:/dev/system/linserv_var,sda3,w',
'phy:/dev/system/linserv_opt,sda4,w',
'phy:/dev/system/linserv_home,sdb1,w',
'phy:/dev/swap/linserv_swap,sdb2,w' ]
dhcp="dhcp"
root = "/dev/sda1 ro"
on_poweroff = 'destroy'
on_reboot = 'restart'
on_crash = 'restart'
(this domU is working with another 2.6.18 32bit xen kernel)
However when creating the domU in the xm console I see:
[...]
pnp: PnP ACPI: disabled
suspend: event channel 15
xen_mem: Initialising balloon driver.
PCI: System does not support PCI
PCI: System does not support PCI
NET: Registered protocol family 2
IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
IA-32 Microcode Update Driver: v1.14a-xen <tigran@xxxxxxxxxxx>
audit: initializing netlink socket (disabled)
audit(1234630146.450:1): initialized
highmem bounce pool size: 64 pages
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
Floppy drive(s): fd0 is unknown type 15 (usb?), fd1 is unknown type 15
(usb?)
Failed to obtain physical IRQ 6
floppy0: Unable to grab DMA2 for the floppy driver
floppy0: no floppy controllers found
RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
loop: loaded (max 8 devices)
Xen virtual console successfully installed as xvc0
Event-channel device installed.
netfront: Initialising virtual ethernet driver.
xen-vbd: registered block device major 8
blkfront: sda1: barriers enabled
blkfront: sda2: barriers enabled
blkfront: sda3: barriers enabled
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 50MHz system bus speed for PIO modes; override with
idebus=xx
PNP: No PS/2 controller found. Probing ports directly.
i8042.c: No controller found.
mice: PS/2 mouse device common for all mice
md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: bitmap version 4.39
NET: Registered protocol family 1
NET: Registered protocol family 17
Using IPI No-Shortcut mode
blkfront: sda4: barriers enabled
blkfront: sdb1: barriers enabled
blkfront: sdb2: barriers enabled
XENBUS: Device with no driver: device/console/0
Freeing unused kernel memory: 196k freed
request_module: runaway loop modprobe binfmt-464c
request_module: runaway loop modprobe binfmt-464c
request_module: runaway loop modprobe binfmt-464c
request_module: runaway loop modprobe binfmt-464c
request_module: runaway loop modprobe binfmt-464c
[and it hangs here]
What did I wrong?
--
Zsolt
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|