grub2 can't boot Xen anymore
Hi there,
I'm trying to boot Xen from grub2, and it's failing badly. This is the latest grub2 tree (r2070). I'm using qemu to test. Here's the Xen boot log:
__ __ _____ _____ _
\ \/ /___ _ __ |___ / |___ / / | \ // _ \ '_ \ |_ \ |_ \ | | / \ __/ | | | ___) | ___) || | /_/\_\___|_| |_| |____(_)____(_)_|
(XEN) Xen version 3.3.1 (root@) (gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7)) Wed Mar 4 19:14:31 UTC 2009
(XEN) Latest ChangeSet: unavailable
(XEN) Command line: com1=115200,8n1 console=com1,vga
(XEN) Video information:
(XEN) VGA is text mode 80x25, font 8x16
(XEN) Disc information:
(XEN) Found 1 MBR signatures
(XEN) Found 1 EDD information structures
(XEN) Xen-e820 RAM map:
(XEN) 0000000000000000 - 000000000009fc00 (usable) (XEN) 000000000009fc00 - 00000000000a0000 (reserved) (XEN) 00000000000e8000 - 0000000000100000 (reserved) (XEN) 0000000000100000 - 000000003fff0000 (usable) (XEN) 000000003fff0000 - 0000000040000000 (ACPI data) (XEN) 00000000fffc0000 - 0000000100000000 (reserved)
(XEN) Early fatal page fault at e008:ffff828c801f246b (cr2=ffff83003fa11c94, ec=0000)
(XEN) Stack dump: ffff828c801e40c1 0000000000000006 0000000000000000 ffff828c801e34e0 ffff83000029500f ffff828c80240000 ffff828c801228c0 0000000000000001 0000000000000000 000000000003fff0 0000000000000010 0000000000000000 ffff83003fa11c80 ffff83000029503c ffff83003fa11c80 0000000000000000 ffff828c801f246b 000000000000e008 0000000000000082 ffff828c80247e48 0000000000000000 ffff828c801f2450 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 3fa11c8000000000 0000000000000000 ffff83000029503c ffff83003fa11c80 0000000800000000 000000010000006e 0000000000000003 00000000000002f8 0000000000000000 0000000000000000 000000003ff4c0dc 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ffff828c801000b5 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00000000fffff000
My grub2 stanza is
menuentry "Xen 3.3.1" {
set root=(hd0,1)
multiboot /boot/xen-3.gz com1=115200,8n1 console=com1,vga module /boot/vmlinuz-2.6.18.8-xen root=/dev/hda1 ro xencons=ttyS0
console=tty0 console=ttyS0,115200n8
module /boot/initrd.img-2.6.18.8-xen
}
I built my grub with
./grub-mkrescue --pkglibdir=pwd --grub-mkimage=pwd/grub-mkimage --image-type=cdrom --overlay=../grub2-memdisk/ ../qemu-image/grub-rescue.img
I start qemu like this:
qemu -m 1024 -serial stdio -L qemu-cbv2-grub2/ -hda qemu-image/disk-i386-pristine.raw
And this is all i386, 32 bit.
Suggestions?
Thanks,
Ward.
Quoted 2 lines · Ward Vandewege
I'm trying to boot Xen from grub2, and it's failing badly. This is the latest grub2 tree (r2070). I'm using qemu to test. Here's the Xen boot log:
I just re-built xen 3.3.1 from scratch to make sure I'm not doing something silly. Same result:
__ __ _____ _____ _
\ \/ /___ _ __ |___ / |___ / / | \ // _ \ '_ \ |_ \ |_ \ | | / \ __/ | | | ___) | ___) || | /_/\_\___|_| |_| |____(_)____(_)_|
(XEN) Xen version 3.3.1 (root@) (gcc version 4.2.4 (Ubuntu 4.2.4-1ubuntu3)) Wed Apr 8 02:11:49 UTC 2009
(XEN) Latest ChangeSet: unavailable
(XEN) Command line: com1=115200,8n1 console=com1,vga
(XEN) Video information:
(XEN) VGA is text mode 80x25, font 8x16
(XEN) Disc information:
(XEN) Found 1 MBR signatures
(XEN) Found 1 EDD information structures
(XEN) Xen-e820 RAM map:
(XEN) 0000000000000000 - 000000000009fc00 (usable) (XEN) 000000000009fc00 - 00000000000a0000 (reserved) (XEN) 00000000000e8000 - 0000000000100000 (reserved) (XEN) 0000000000100000 - 000000003fff0000 (usable) (XEN) 000000003fff0000 - 0000000040000000 (ACPI data) (XEN) 00000000fffc0000 - 0000000100000000 (reserved)
(XEN) Early fatal page fault at e008:ffff828c801f246b (cr2=ffff83003faa0744, ec=0000)
(XEN) Stack dump: ffff828c801e40c1 0000000000000006 0000000000000000 ffff828c801e34e0 ffff83000029500f ffff828c80240000 ffff828c801228c0 0000000000000001 0000000000000000 000000000003fff0 0000000000000010 0000000000000000 ffff83003faa0730 ffff83000029503c ffff83003faa0730 0000000000000000 ffff828c801f246b 000000000000e008 0000000000000082 ffff828c80247e48 0000000000000000 ffff828c801f2450 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 3faa073000000000 0000000000000000 ffff83000029503c ffff83003faa0730 0000000800000000 000000010000006e 0000000000000003 00000000000002f8 0000000000000000 0000000000000000 000000003ff481fc 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ffff828c801000b5 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00000000fffff000
Thanks,
Ward.
Quoting Ward Vandewege <[email protected]>:
Quoted 3 lines · Ward Vandewege
Quoted 2 lines
I'm trying to boot Xen from grub2, and it's failing badly. This is the latest grub2 tree (r2070).
Please tell us which revision was working.
Quoted 2 lines
(XEN) Early fatal page fault at e008:ffff828c801f246b (cr2=ffff83003faa0744, ec=0000)
Are you using the i386-pc target? In other words, did you run configure without arguments?
If so, please replace "linux" with "linux16" and "initrd" with "initrd16" in grub.cfg or in the grub commands you are using to load the kernel and the initrd image (if any).
Signature · 2 lines
Regards, Pavel Roskin
Quoting Pavel Roskin <[email protected]>:
Quoted 3 lines
If so, please replace "linux" with "linux16" and "initrd" with "initrd16" in grub.cfg or in the grub commands you are using to load the kernel and the initrd image (if any).
Never mind, sorry. I should have read the whole thread before replying. I don't know anything about multiboot.
Still, it would be great if you find (perhaps using bisection) which revision introduced the problem.
Signature · 2 lines
Regards, Pavel Roskin