On Tue, Jul 28, 2009 at 01:39:26AM +0300, Pasi K?rkk?inen wrote:
On Tue, Jul 28, 2009 at 01:11:11AM +0300, Pasi Kärkkäinen wrote:
On Mon, Jul 27, 2009 at 10:45:06PM +0100, Daniel P. Berrange wrote:
On Tue, Jul 28, 2009 at 12:39:17AM +0300, Pasi K?rkk?inen wrote:
x86_64 domU installation on x86_64 dom0 seems to work though. Are you sure i386 on x86_64 worked for you?
Yep, just checked my RHEL-5 box and it has this config
name = "f11i686xen" uuid = "1417ac4b-bd9a-61cc-6faf-8e842cd72cb9" maxmem = 900 memory = 500 vcpus = 1 bootloader = "/usr/bin/pygrub" on_poweroff = "destroy" on_reboot = "restart" on_crash = "restart" vfb = [ "type=vnc,vncunused=1" ] disk = [ "tap:aio:/var/lib/xen/images/f11i686.img,xvda,w" ] vif = [ "mac=00:16:3e:71:38:63,bridge=xenbr0" ]
Nothing weird here.. My guest has 1 vcpu aswell, and I'm using vnc.
And the guest disk is fully instlaled
# ls -lhs /var/lib/xen/images/f11i686.img 3.4G -rwxr-xr-x 1 root root 5.1G Jun 4 06:33 /var/lib/xen/images/f11i686.img
FWIW, the guest kernel here is 2.6.29-0.258.rc8.git2.fc11.i686.PAE
So its possible things have changed since I did my install ....
Default kernel in Fedora 11 is: kernel-PAE-2.6.29.4-167.fc11.i686.rpm
Also my x86_64 host only has 2 GB of RAM, so if there's any bugs with i686 guests at the >4GB phys RAM mark I wouldn't have seen them
My guests were using 512 MB and 1024 MB of RAM..
I tried again now, and yes, F10 and F11 i386 guests fail on CentOS 5.3 x86_64 dom0 with domU kernel crashes like this:
http://pasik.reaktio.net/fedora/fedora10-32b-xen-domu-on-centos53-64b-dom0-i... http://pasik.reaktio.net/fedora/fedora11-32b-xen-domu-on-centos53-64b-dom0-c...
Checking if this processor honours the WP bit even in supervisor mode...Ok. 1 multicall(s) failed: cpu 0 Pid: 0, comm: swapper Not tainted 2.6.29.4-167.fc11.i686.PAE #1 Call Trace: [<c0714be7>] ? printk+0x14/0x1d [<c0405020>] xen_mc_flush+0x12d/0x1f9 [<c0405880>] xen_mc_issue+0x19/0x4d [<c0406293>] xen_set_pud_hyper+0x79/0x81 [<c040632a>] xen_set_pud+0x8f/0x95 [<c04220e0>] zap_low_mappings+0x2d/0x42 [<c091c917>] mem_init+0x2a0/0x2a8 [<c0906828>] start_kernel+0x264/0x313 [<c090609d>] i386_start_kernel+0x8c/0x97 [<c090c351>] xen_start_kernel+0x7f9/0x802 ------------[ cut here ]------------ kernel BUG at arch/x86/xen/multicalls.c:180! invalid opcode: 0000 [#1] SMP
Hmm.. I wonder what's causing this.
Can you test if it works for you?
I used virt-install like this: virt-install --debug -n testvm -r 512 --vcpus=1 -f /dev/VolGroup00/testvm_disk --vnc -p -l "ftp://ftp.funet.fi/pub/mirrors/fedora.redhat.com/pub/fedora/linux/releases/11/Fedora/i386/os"
The graphical VNC console newer shows up, and when I run "xm console testvm" I see that kernel crash.
Actually I think I just figured it out..
It's this RHEL5 bug: https://bugzilla.redhat.com/show_bug.cgi?id=467698
Ah yes, I probably had a internal 5.3 snapshot kernel installed which would have that fix
Daniel