Carb, Brian A
2007-Oct-18 17:19 UTC
[Xen-users] dom0 no longer showing serial console output
Running Xen unstable on SLES10 x64. Serial output was working correctly in changeset 15837 (the xen boot output was directed to both the standard vga console and the serial console). I have recently upgraded to changeset 16112 and now I do not get any output on the serial console. In my menu.lst I have: root (hd0,1) kernel /boot/xen.gz com1=115200,8n1 apic_verbosity=debug module /boot/vmlinuz-xen root=/dev/sda2 vga=0x314 resume=/dev/sda1 splash=verbose showopts debug=y module /boot/initrd-xen I have tried adding "console=ttyS0" but this doesn''t seem to produce any output either. The command echo "test" >/dev/ttyS0 errors with -bash: /dev/ttyS0: No such device or address but /dev/ttyS0 does exist. btw, serial output does show up when I boot the SLES kernel. Its entry is: root (hd0,1) kernel /boot/vmlinuz root=/dev/sda2 vga=0x314 resume=/dev/sda1 splash=verbose showopts console=ttyS0,115200n8 console=tty0 debug initrd /boot/initrd I suspect the xen serial console code has changed recently. Can anyone point me to some settings that will work. Thanks brian carb unisys corporation - malvern, pa _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Mark Williamson
2007-Oct-18 17:27 UTC
Re: [Xen-users] dom0 no longer showing serial console output
> Running Xen unstable on SLES10 x64. Serial output was working correctly > in changeset 15837 (the xen boot output was directed to both the > standard vga console and the serial console). I have recently upgraded > to changeset 16112 and now I do not get any output on the serial > console. > > In my menu.lst I have: > > root (hd0,1) > kernel /boot/xen.gz com1=115200,8n1 apic_verbosity=debug > module /boot/vmlinuz-xen root=/dev/sda2 vga=0x314 resume=/dev/sda1 > splash=verbose showopts debug=y > module /boot/initrd-xen > > I have tried adding "console=ttyS0" but this doesn''t seem to produce any > output either. The command > echo "test" >/dev/ttyS0 > errors with > -bash: /dev/ttyS0: No such device or address > but /dev/ttyS0 does exist.Try adding "xencons=ttyS" as well. This''ll tell the Xen console to appear as ttyS. It''s probably now appearing as /dev/xvc0 at the moment which may be why your setup wasn''t working anymore. Alternatively you could do console=/dev/xvc0 directly. Let me know if this works or if we need to do some further fault finding! Cheers, Mark> btw, serial output does show up when I boot the SLES kernel. Its entry > is: > > root (hd0,1) > kernel /boot/vmlinuz root=/dev/sda2 vga=0x314 resume=/dev/sda1 > splash=verbose showopts console=ttyS0,115200n8 console=tty0 debug > initrd /boot/initrd > > I suspect the xen serial console code has changed recently. Can anyone > point me to some settings that will work. Thanks > > brian carb > unisys corporation - malvern, pa-- Dave: Just a question. What use is a unicyle with no seat? And no pedals! Mark: To answer a question with a question: What use is a skateboard? Dave: Skateboards have wheels. Mark: My wheel has a wheel! _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Carb, Brian A
2007-Oct-18 19:44 UTC
RE: [Xen-users] dom0 no longer showing serial console output
>>Try adding "xencons=ttyS" as well. This''ll tell the Xen console toappear as ttyS. >>It''s probably now appearing as /dev/xvc0 at the moment which may be why your setup wasn''t working anymore. >>Alternatively you could do console=/dev/xvc0 directly. I tried adding "console=ttyS0 xencons=ttyS" and this makes the "echo" command not fail but I still see no output from it or from xen on the serial console. Also tried the console=/dev/xvc0 but that doesn''t seem to change anything. In this case, what binds "console" to the serial port? Should I be concerned about what''s on or off in inittab, or is the echoing of the xen boot messages occurring before we''re looking at inittab? Any other suggestions? brian carb unisys corporation - malvern, pa -----Original Message----- From: M.A. Williamson [mailto:maw48@hermes.cam.ac.uk] On Behalf Of Mark Williamson Sent: Thursday, October 18, 2007 1:27 PM To: xen-users@lists.xensource.com Cc: Carb, Brian A Subject: Re: [Xen-users] dom0 no longer showing serial console output> Running Xen unstable on SLES10 x64. Serial output was working > correctly in changeset 15837 (the xen boot output was directed to both> the standard vga console and the serial console). I have recently > upgraded to changeset 16112 and now I do not get any output on the > serial console. > > In my menu.lst I have: > > root (hd0,1) > kernel /boot/xen.gz com1=115200,8n1 apic_verbosity=debug > module /boot/vmlinuz-xen root=/dev/sda2 vga=0x314 resume=/dev/sda1> splash=verbose showopts debug=y > module /boot/initrd-xen > > I have tried adding "console=ttyS0" but this doesn''t seem to produce > any output either. The command > echo "test" >/dev/ttyS0 > errors with > -bash: /dev/ttyS0: No such device or address but /dev/ttyS0 does > exist.Try adding "xencons=ttyS" as well. This''ll tell the Xen console to appear as ttyS. It''s probably now appearing as /dev/xvc0 at the moment which may be why your setup wasn''t working anymore. Alternatively you could do console=/dev/xvc0 directly. Let me know if this works or if we need to do some further fault finding! Cheers, Mark> btw, serial output does show up when I boot the SLES kernel. Its entry > is: > > root (hd0,1) > kernel /boot/vmlinuz root=/dev/sda2 vga=0x314 resume=/dev/sda1 > splash=verbose showopts console=ttyS0,115200n8 console=tty0 debug > initrd /boot/initrd > > I suspect the xen serial console code has changed recently. Can anyone> point me to some settings that will work. Thanks > > brian carb > unisys corporation - malvern, pa-- Dave: Just a question. What use is a unicyle with no seat? And no pedals! Mark: To answer a question with a question: What use is a skateboard? Dave: Skateboards have wheels. Mark: My wheel has a wheel! _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users