PoWah Wong
2006-Jul-10 15:46 UTC
[Xen-users] Newbie question: FC5 boot problem with a blue screen
I followed the instructions at http://fedoraproject.org/wiki/FedoraXenQuickstartFC5 to install XEN. After installing FC5, I do # yum install kernel-xen0 Now /boot/grub/grub.conf is modified to have the FC5 XEN kernel boot option: title Fedora Core (2.6.17-1.2145_FC5xen0) root (hd0,4) kernel /xen.gz-2.6.17-1.2145_FC5 module /vmlinuz-2.6.17-1.2145_FC5xen0 ro root=LABEL=/ rhgb quiet module /initrd-2.6.17-1.2145_FC5xen0.img I reboot the computer to the FC5 XEN kernel, the computer is hung with a blue screen. No message appear on the screen. How do I debug this problem? (e.g. which log file to look at). _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Jerry Amundson
2006-Jul-10 18:11 UTC
Re: [Xen-users] Newbie question: FC5 boot problem with a blue screen
On Mon July 10 2006 10:46, PoWah Wong wrote:> I followed the instructions at > http://fedoraproject.org/wiki/FedoraXenQuickstartFC5 to install XEN. > > After installing FC5, I do > # yum install kernel-xen0 > > Now /boot/grub/grub.conf is modified to have the FC5 XEN kernel boot > option: title Fedora Core (2.6.17-1.2145_FC5xen0) > root (hd0,4) > kernel /xen.gz-2.6.17-1.2145_FC5 > module /vmlinuz-2.6.17-1.2145_FC5xen0 ro root=LABEL=/ rhgb quiet > module /initrd-2.6.17-1.2145_FC5xen0.imgTry removing "rhgb quiet" first. Also, I think I''ve read where "LABEL=/" is iffy - better to replace it with the full path "/dev/VolGroup00/LogVol00", or whatever yours might be... jerry _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
PoWah Wong
2006-Jul-10 19:28 UTC
Re: [Xen-users] Newbie question: FC5 boot problem with a blue screen
grub.conf is modified as follows: default=0 #default=5 timeout=5 splashimage=(hd0,4)/grub/splash.xpm.gz #hiddenmenu title Fedora Core (2.6.17-1.2145_FC5xen0) root (hd0,4) kernel /xen.gz-2.6.17-1.2145_FC5 #module /vmlinuz-2.6.17-1.2145_FC5xen0 ro root=LABEL=/ module /vmlinuz-2.6.17-1.2145_FC5xen0 ro root=/dev/VolGroup00/LogVol00 3 module /initrd-2.6.17-1.2145_FC5xen0.img title Fedora Core (2.6.15-1.2054_FC5) original root (hd0,4) kernel /vmlinuz-2.6.15-1.2054_FC5 ro root=LABEL=/ rhgb quiet initrd /initrd-2.6.15-1.2054_FC5.img title Windows XP rootnoverify (hd0,1) chainloader +1 During boot, the computer has a kernel panic, so it will reboot again and stuck in an infinite loop of rebooting. If the grub.conf has this line: module /vmlinuz-2.6.17-1.2145_FC5xen0 ro root=LABEL=/ During reboot to the FC5 XEN kernel, the computer is hung with a lot of the "avc: denied" messages: ... audit(1152294237.706:383): avc: denied { read write } for pid=2678 commnfig" name="[7424]" dev=sockfs ino=7424 scontext=system_u:system_r:ifconfig tcontext=user_u:object_r:xend_t:s0 tclass=unix_stream_socket audit(1152294237.754:384): avc: denied { create } for pid=2687 comm="pyt name="xend" scontext=system_u:system_r:xend_t:s0 tcontext=user_u:object_r run_t:s0 tclass=dir ----- Original Message ---- From: Jerry Amundson <jerry@pbs.com> To: xen-users@lists.xensource.com Sent: Monday, July 10, 2006 2:11:51 PM Subject: Re: [Xen-users] Newbie question: FC5 boot problem with a blue screen On Mon July 10 2006 10:46, PoWah Wong wrote:> I followed the instructions at > http://fedoraproject.org/wiki/FedoraXenQuickstartFC5 to install XEN. > > After installing FC5, I do > # yum install kernel-xen0 > > Now /boot/grub/grub.conf is modified to have the FC5 XEN kernel boot > option: title Fedora Core (2.6.17-1.2145_FC5xen0) > root (hd0,4) > kernel /xen.gz-2.6.17-1.2145_FC5 > module /vmlinuz-2.6.17-1.2145_FC5xen0 ro root=LABEL=/ rhgb quiet > module /initrd-2.6.17-1.2145_FC5xen0.imgTry removing "rhgb quiet" first. Also, I think I''ve read where "LABEL=/" is iffy - better to replace it with the full path "/dev/VolGroup00/LogVol00", or whatever yours might be... jerry _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Jerry Amundson
2006-Jul-10 20:36 UTC
Re: [Xen-users] Newbie question: FC5 boot problem with a blue screen
On Mon July 10 2006 14:28, PoWah Wong wrote:> grub.conf is modified as follows: > default=0 > #default=5 > timeout=5 > splashimage=(hd0,4)/grub/splash.xpm.gz > #hiddenmenu > title Fedora Core (2.6.17-1.2145_FC5xen0) > root (hd0,4) > kernel /xen.gz-2.6.17-1.2145_FC5 > #module /vmlinuz-2.6.17-1.2145_FC5xen0 ro root=LABEL=/ > module /vmlinuz-2.6.17-1.2145_FC5xen0 ro root=/dev/VolGroup00/LogVol00 3 > module /initrd-2.6.17-1.2145_FC5xen0.img > title Fedora Core (2.6.15-1.2054_FC5) original > root (hd0,4) > kernel /vmlinuz-2.6.15-1.2054_FC5 ro root=LABEL=/ rhgb quiet > initrd /initrd-2.6.15-1.2054_FC5.img > title Windows XP > rootnoverify (hd0,1) > chainloader +1I dunno - works for me. How did you install? You should have both xen and non-xen grub options for both the current and previous kernel releases, plus XP. In other words, five (5) choices. Maybe it''s particular to your HW - does the non-xen 2145 kernel work? (assuming you have it...) jerry _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
PoWah Wong
2006-Jul-11 13:05 UTC
Re: [Xen-users] Newbie question: FC5 boot problem with a blue screen
Windows XP and the original and updated FC5 run successfully but FC5 with XEN does not boot. FC3 does not install because it does not recognize the hard disk (Seagate ATA ST380110AS). ----- Original Message ---- From: Jerry Amundson <jerry@pbs.com> To: xen-users@lists.xensource.com Sent: Monday, July 10, 2006 4:36:52 PM Subject: Re: [Xen-users] Newbie question: FC5 boot problem with a blue screen On Mon July 10 2006 14:28, PoWah Wong wrote:> grub.conf is modified as follows: > default=0 > #default=5 > timeout=5 > splashimage=(hd0,4)/grub/splash.xpm.gz > #hiddenmenu > title Fedora Core (2.6.17-1.2145_FC5xen0) > root (hd0,4) > kernel /xen.gz-2.6.17-1.2145_FC5 > #module /vmlinuz-2.6.17-1.2145_FC5xen0 ro root=LABEL=/ > module /vmlinuz-2.6.17-1.2145_FC5xen0 ro root=/dev/VolGroup00/LogVol00 3 > module /initrd-2.6.17-1.2145_FC5xen0.img > title Fedora Core (2.6.15-1.2054_FC5) original > root (hd0,4) > kernel /vmlinuz-2.6.15-1.2054_FC5 ro root=LABEL=/ rhgb quiet > initrd /initrd-2.6.15-1.2054_FC5.img > title Windows XP > rootnoverify (hd0,1) > chainloader +1I dunno - works for me. How did you install? You should have both xen and non-xen grub options for both the current and previous kernel releases, plus XP. In other words, five (5) choices. Maybe it''s particular to your HW - does the non-xen 2145 kernel work? (assuming you have it...) jerry _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Jerry Amundson
2006-Jul-11 14:30 UTC
Re: [Xen-users] Newbie question: FC5 boot problem with a blue screen
On Tue July 11 2006 08:05, PoWah Wong wrote:> Windows XP and the original and updated FC5 run successfully but FC5 > with XEN does not boot. FC3 does not install because it does not > recognize the hard disk (Seagate ATA ST380110AS).Might be the hardware. This thread mentions ATA, but seems to not have a resolution... http://lists.xensource.com/archives/html/xen-users/2005-12/msg00333.html Is it fully "yum update" current (not just the kernel!)? I''ve seen a couple "audit" related threads (mentioned in your orig. post), though certainly are fixed now. selinux=0 setenforce=0 acpi=0 are some boot params to the kernel you might experiment with... jerry _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
PoWah Wong
2006-Jul-13 18:37 UTC
Re: [Xen-users] Newbie question: FC5 boot problem with a blue screen
Tried several combinations of "selinux=0 setenforce=0 acpi=0" in the grub.conf file for the boot params to the kernel. However, still has the same boot problem. One combination of "selinux=0 setenforce=0 acpi=0" in the grub.conf file is as follows: default=0 timeout=5 splashimage=(hd0,4)/grub/splash.xpm.gz #hiddenmenu title Fedora Core (2.6.17-1.2145_FC5xen0) root (hd0,4) kernel /xen.gz-2.6.17-1.2145_FC5 selinux=0 setenforce=0 acpi=0 #module /vmlinuz-2.6.17-1.2145_FC5xen0 ro root=LABEL=/ module /vmlinuz-2.6.17-1.2145_FC5xen0 ro root=/dev/VolGroup00/LogVol00 3 module /initrd-2.6.17-1.2145_FC5xen0.img ----- Original Message ---- From: Jerry Amundson <jerry@pbs.com> To: xen-users@lists.xensource.com Sent: Tuesday, July 11, 2006 10:30:13 AM Subject: Re: [Xen-users] Newbie question: FC5 boot problem with a blue screen On Tue July 11 2006 08:05, PoWah Wong wrote:> Windows XP and the original and updated FC5 run successfully but FC5 > with XEN does not boot. FC3 does not install because it does not > recognize the hard disk (Seagate ATA ST380110AS).Might be the hardware. This thread mentions ATA, but seems to not have a resolution... http://lists.xensource.com/archives/html/xen-users/2005-12/msg00333.html Is it fully "yum update" current (not just the kernel!)? I''ve seen a couple "audit" related threads (mentioned in your orig. post), though certainly are fixed now. selinux=0 setenforce=0 acpi=0 are some boot params to the kernel you might experiment with... jerry _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Jerry Amundson
2006-Jul-13 19:03 UTC
Re: [Xen-users] Newbie question: FC5 boot problem with a blue screen
Please don''t top-post. Information up here is not very useful. On Thu July 13 2006 13:37, PoWah Wong wrote:> Tried several combinations of "selinux=0 setenforce=0 acpi=0" in the > grub.conf file for the boot params to the kernel. However, still > has the same boot problem. > One combination of "selinux=0 setenforce=0 acpi=0" in the grub.conf > file is as follows: default=0 > timeout=5 > splashimage=(hd0,4)/grub/splash.xpm.gz > #hiddenmenu > title Fedora Core (2.6.17-1.2145_FC5xen0) > root (hd0,4) > kernel /xen.gz-2.6.17-1.2145_FC5 selinux=0 setenforce=0 acpi=0 > #module /vmlinuz-2.6.17-1.2145_FC5xen0 ro root=LABEL=/ > module /vmlinuz-2.6.17-1.2145_FC5xen0 ro > root=/dev/VolGroup00/LogVol00 3 module > /initrd-2.6.17-1.2145_FC5xen0.imgAlthough they are kernel params, I think in the xen context they should be on the module line, e.g. module /vmlinuz-2.6.17-1.2145_FC5xen0 ro root=/dev/VolGroup00/LogVol00 selinux=0 3 [someone can confirm/deny that, and "someone" else can chime in here anytime now... :-)]> ----- Original Message ---- > From: Jerry Amundson <jerry@pbs.com> > To: xen-users@lists.xensource.com > Sent: Tuesday, July 11, 2006 10:30:13 AM > Subject: Re: [Xen-users] Newbie question: FC5 boot problem with a > blue screen > > On Tue July 11 2006 08:05, PoWah Wong wrote: > > Windows XP and the original and updated FC5 run successfully but > > FC5 with XEN does not boot. FC3 does not install because it does > > not recognize the hard disk (Seagate ATA ST380110AS). > > Might be the hardware. This thread mentions ATA, but seems to not > have a resolution... > http://lists.xensource.com/archives/html/xen-users/2005-12/msg00333.htmlDid you check the above thread? Does it apply to you?> Is it fully "yum update" current (not just the kernel!)? I''ve seen a > couple "audit" related threads (mentioned in your orig. post), though > certainly are fixed now.And, again, has the machine been updated? jerry _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
PoWah Wong
2006-Jul-14 19:42 UTC
Re: [Xen-users] Newbie question: FC5 boot problem with a blue screen
I followed your suggestion to make grub.conf file as follows: default=0 timeout=5 splashimage=(hd0,4)/grub/splash.xpm.gz #hiddenmenu title Fedora Core (2.6.17-1.2145_FC5xen0) root (hd0,4) kernel /xen.gz-2.6.17-1.2145_FC5 #module /vmlinuz-2.6.17-1.2145_FC5xen0 ro root=LABEL=/ module /vmlinuz-2.6.17-1.2145_FC5xen0 ro root=/dev/VolGroup00/LogVol00 3 selinux=0 setenforce=0 acpi=0 module /initrd-2.6.17-1.2145_FC5xen0.img but still has the same problem: ... unmounting old /dev unmounting old /proc unmounting old /sys switchroot: mount failed: No such file or directory kernel panic - not syncing : attempt to kill init ... ----- Original Message ---- From: Skyler.Bingham@londen-insurance.com To: PoWah Wong <wong_powah@yahoo.ca> Sent: Thursday, July 13, 2006 3:02:18 PM Subject: Re: [Xen-users] Newbie question: FC5 boot problem with a blue screen Have you tried putting the boot parameters on this line? module /vmlinuz-2.6.17-1.2145_FC5xen0 ro root=/dev/VolGroup00/LogVol00 3 I have discovered this is where Xen expects the kernel boot parameters, although it doesn''t appear to be well documented. Hope this helps. Skyler Bingham skyler.bingham@londen-insurance.com (602) 957-1650 x1139 This e-mail and files transmitted with it are confidential, and are intended solely for the use of the individual or entity to whom this e-mail is addressed. If you are not the intended recipient, or the employee or agent responsible to deliver it to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you are not one of the named recipient(s) or otherwise have reason to believe that you received this message in error, please immediately notify security@londen-insurance.com by e-mail, and destroy the original message. Thank You. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users