Scott Garron
2010-Apr-06 21:41 UTC
[Xen-users] Selecting Xen in Grub causes machine to reboot back to POST
I''m attempting to use an older machine to do some Xen testing, and I haven''t been making a whole lot of progress. If I select the Xen entry from my Grub menu, the screen goes black for a few seconds, then the machine reboots back to the power on self test (POST) and repeats the process. It doesn''t seem to show any error messages or any indication as to what is wrong. It just reboots. Does anyone have any insight as to what would be causing this to happen? I''m successfully using Xen on a fair number of other machines, but this one has me stumped. A Linux pv_ops kernel, without Xen, boots fine. I''ve tried with both my own compile of Xen 4.0.0rc9 and a recent Debian (testing; xen-hypervisor-3.4-i386_3.4.3~rc3-1_i386.deb) version of Xen in /boot and get the same results for both. Here''s the CPU info: processor : 0 vendor_id : GenuineIntel cpu family : 15 model : 1 model name : Intel(R) Celeron(R) CPU 1.70 stepping : 3 cpu MHz : 1694.572 cache size : 128 KB fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 2 wp : yes flags : fpu vme de pse tsc msr pae mpat pse36 clflush dts acpi mmx fxsr sse sse2 s bogomips : 3389.14 clflush size : 64 cache_alignment : 128 address sizes : 36 bits physical, 32 bits vi power management: lspci output: 00:00.0 Host bridge: Intel Corporation 82845 845 [Brookdale] Chipset Host Bridge (rev 11) 00:01.0 PCI bridge: Intel Corporation 82845 845 [Brookdale] Chipset AGP Bridge (rev 11) 00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 05) 00:1f.0 ISA bridge: Intel Corporation 82801BA ISA Bridge (LPC) (rev 05) 00:1f.1 IDE interface: Intel Corporation 82801BA IDE U100 Controller (rev 05) 00:1f.2 USB Controller: Intel Corporation 82801BA/BAM USB Controller #1 (rev 05) 00:1f.3 SMBus: Intel Corporation 82801BA/BAM SMBus Controller (rev 05) 00:1f.4 USB Controller: Intel Corporation 82801BA/BAM USB Controller #1 (rev 05) 02:0c.0 Ethernet controller: Intel Corporation 82557/8/9/0/1 Ethernet Pro 100 (rev 0d) 02:0d.0 Ethernet controller: Intel Corporation 82557/8/9/0/1 Ethernet Pro 100 (rev 0d) 02:0f.0 VGA compatible controller: ATI Technologies Inc Rage XL (rev 27) The machine has 768MB RAM Here''s my grub2 menu entry for Xen (in /boot/grub/grub.cfg): menuentry "Xen 4.0.0rc9 / Debian kernel 2.6.32.11" { insmod ext2 set root=(hd0,2) multiboot /xen-4.0.0-rc9.gz dummy=dummy dom0_mem=384M module /vmlinuz-2.6.32.11 dummy=dummy root=UUID="6c2a3133-5d8d-4555-8237-8b0db9036ef9" ro console=tty0 module /initrd.img-2.6.32.11 } Output of sfdisk -uS -l /dev/hda: Disk /dev/hda: 7476 cylinders, 255 heads, 63 sectors/track Units = sectors of 512 bytes, counting from 0 Device Boot Start End #sectors Id System /dev/hda1 * 63 3903794 3903732 b W95 FAT32 /dev/hda2 3903795 4192964 289170 83 Linux /dev/hda3 4192965 120101939 115908975 8e Linux LVM /dev/hda4 0 - 0 0 Empty hda1 [hd0,1] is a test partition for DOS/Windows stuff, hda2 [hd0,2] is /boot (where vmlinuz and xen reside) and hda3 [hd0,3] is broken down by LVM into several volumes: root, swap, usr, var, tmp Any suggestions or ideas would be appreciated. Thanks! -- Scott Garron _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Scott Garron
2010-Apr-10 14:56 UTC
Re: [Xen-users] Selecting Xen in Grub causes machine to reboot back to POST
Scott Garron wrote: [from: http://lists.xensource.com/archives/html/xen-users/2010-04/msg00105.html ]> If I select the Xen entry from my Grub menu, the screen goes black > for a few seconds, then the machine reboots back to the power on self > test (POST) and repeats the process.After poking around with this for quite some time on my own, trying different serial console and debug level settings as well as putting the hard drive in a completely different machine, I found that Grub legacy starts Xen whereas Grub-pc (Grub2) causes the reset problem in my original post (on both machines). I''m still not entirely sure what the actual problem is, but at least I found a work-around. When it does boot Xen and the Linux kernel, it seems like Linux doesn''t actually have access to *any* I/O, though; including the keyboard. I''m still trying to figure out what''s going on there. It does load the drivers, but the one for the PATA controller displays three timeout errors and it never finds the root volume. When it finally finishes waiting for it and drops to a busybox shell, the keyboard doesn''t produce any interaction with it. -- Scott Garron _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Scott Garron
2010-Apr-11 14:48 UTC
Re: [Xen-users] Selecting Xen in Grub causes machine to reboot back to POST
Scott Garron wrote: [from: http://lists.xensource.com/archives/html/xen-users/2010-04/msg00105.html ]> If I select the Xen entry from my Grub menu, the screen goes black > for a few seconds, then the machine reboots back to the power on self > test (POST) and repeats the process.After poking around with this for some time on my own, trying different serial console and debug level settings as well as putting the hard drive in a completely different machine, I found that Grub legacy starts Xen whereas Grub-pc (Grub2) causes the reset problem in my original post (on both machines). I''m still not entirely sure what the actual problem is, but at least I found a work-around. When it does boot Xen and the Linux kernel, it seems like Linux doesn''t actually have access to *any* I/O, though; including the keyboard. I''m still trying to figure out what''s going on there. I see it loading drivers for my hardware, but the one for the PATA controller displays three timeout errors and it never finds the root volume. When it finally finishes waiting for it and drops to a busybox shell, the keyboard doesn''t produce any interaction with it. If I reboot and select the same kernel without Xen, it boots just fine. -- Scott Garron _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users