Yoav Felberbaum
2006-Oct-24 13:14 UTC
[Xen-users] Kernel panics and blank /var/log/messages?
Hello, My Xen-ified kernel (3.0.3) on a dedicated host seems to be kernel- panicing upon boot. Since IPMI/SOL seems to be nonfunctional in the Xen kernel, I cannot tell what is causing the kernel to panic. So I thought I''d check /var/log/messages. But to my surprise, that also seems to have no output for any messages generated by the Xen kernel. Why? (The default RHEL4.4 kernels seems to log to this file just fine, and I''ve checked syslog.conf which looks fine). --- # Log anything (except mail) of level info or higher. # Don''t log private authentication messages! *.info;mail.none;authpriv.none;cron.none /var/log/ messages --- # Save boot messages also to boot.log local7.* /var/log/ boot.log --- Thoughts? Y. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Muli Ben-Yehuda
2006-Oct-24 15:19 UTC
Re: [Xen-users] Kernel panics and blank /var/log/messages?
On Tue, Oct 24, 2006 at 02:14:54PM +0100, Yoav Felberbaum wrote:> Hello, > > My Xen-ified kernel (3.0.3) on a dedicated host seems to be kernel- > panicing upon boot. Since IPMI/SOL seems to be nonfunctional in the > Xen kernel, I cannot tell what is causing the kernel to panic.SOL works (for SOL definitions of works...) fine for me on an IBM x366. What are your Xen and Linux command line options? do you have SOL working with a stock Linux kernel?> So I thought I''d check /var/log/messages. But to my surprise, that > also seems to have no output for any messages generated by the Xen > kernel. Why? (The default RHEL4.4 kernels seems to log to this file > just fine, and I''ve checked syslog.conf which looks fine).If you panic before mounting the root file system, there''s no file system to write the log output to. Cheers, Muli _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Yoav Felberbaum
2006-Oct-24 15:28 UTC
Re: [Xen-users] Kernel panics and blank /var/log/messages?
On 24 Oct 2006, at 16:19, Muli Ben-Yehuda wrote:> On Tue, Oct 24, 2006 at 02:14:54PM +0100, Yoav Felberbaum wrote: >> Hello, >> >> My Xen-ified kernel (3.0.3) on a dedicated host seems to be kernel- >> panicing upon boot. Since IPMI/SOL seems to be nonfunctional in the >> Xen kernel, I cannot tell what is causing the kernel to panic. > > SOL works (for SOL definitions of works...) fine for me on an IBM > x366. What are your Xen and Linux command line options? do you have > SOL working with a stock Linux kernel?Yes - it works on a default RHEL kernel. I''ve tried several times to fix it to no luck... --- default 4 timeout=10 #splashimage=(hd0,0)/grub/splash.xpm.gz #hiddenmenu serial --unit=1 --speed=19200 --word=8 --parity=no --stop=1 terminal --timeout=10 console serial <SNIP> title Red Hat Enterprise Linux ES (2.6.9-42.0.3.ELsmp) root (hd0,0) kernel /vmlinuz-2.6.9-42.0.3.ELsmp ro root=LABEL=/ console=tty0 console=ttyS1,19200n8 initrd /initrd-2.6.9-42.0.3.ELsmp.img <SNIP> title Xen 3.0 / XenLinux 2.6 root (hd0,0) kernel /xen-3.0.gz dom0_mem=192M module /vmlinuz-2.6.16-xen ro root=LABEL=/ console=tty0 console=ttyS1,19200n8 module /initrd-2.6.16.29-xen.img ---->> So I thought I''d check /var/log/messages. But to my surprise, that >> also seems to have no output for any messages generated by the Xen >> kernel. Why? (The default RHEL4.4 kernels seems to log to this file >> just fine, and I''ve checked syslog.conf which looks fine). > > If you panic before mounting the root file system, there''s no file > system to write the log output to.D''oh, good point. *Sighs* Guess I''m up a creek without a paddle. Y. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Muli Ben-Yehuda
2006-Oct-24 15:37 UTC
Re: [Xen-users] Kernel panics and blank /var/log/messages?
On Tue, Oct 24, 2006 at 04:28:26PM +0100, Yoav Felberbaum wrote:> title Xen 3.0 / XenLinux 2.6 > root (hd0,0) > kernel /xen-3.0.gz dom0_mem=192M > module /vmlinuz-2.6.16-xen ro root=LABEL=/ console=tty0 console=ttyS1,19200n8 > module /initrd-2.6.16.29-xen.imgHere''s what I''m using: title xen kernel (hd0,1)/boot/xen/xen.gz dom0_mem=4G com2=19200,8n1 console=com2,vga sync_console module (hd0,1)/boot/xen/vmlinuz root=/dev/sda2 console=tty0 console=ttyS1,19200 xencons=ttyS1 savedefault In particular, the ''console=com2,vga'' for Xen was really important - the default Xen console is com1,vga.> D''oh, good point. *Sighs* Guess I''m up a creek without a paddle.If you have a monitor connected and a digital camera, that''s a pretty effective paddle :-) Cheers, Muli _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users