Re: [Xen-users] Serial console input problem

Travis Betak
Thu, 24 Aug 2006 08:05:06 -0000

On Wed, 23 Aug 2006, Simon Gao wrote:

> Just wonder if anyone has seen the similar problem with serial
> console. The display on the serial console works fine, but no input
> can be sent across the serial console.

Hi, Simon,

Yes, I''ve had serial console working for a while.  Could you be more
specific when you say that no input can be sent across?  Two things that
jump to mind --- first, are you spawning a TTY for the serial line in
/etc/inittab like the following:

     T0:23:respawn:/sbin/getty -L ttyS0 115200 vt100

second, do you have a ttyS0 entry in /etc/securetty?

You''ll need these two things if you actually want to login via serial
console.

> =======================================> default 0
> timeout 10
>
> serial --unit=0 --speed=115200
> terminal --timeout=10 serial console
>
> title  Xen 3.0.2 / Linux 2.6.16.26-gentoo-xen0
> root   (hd0,0)
> kernel /xen.gz dom0_mem=256M com1=115200,8n1
> module /vmlinuz-2.6.16.26-xen0 root=/dev/sda2 console=tty0
> console=ttyS0,115200 pnpacpi=off
> =======================================
Here''s my grub entry for xen/dom0 serial console:

title XEN (Serial Console)
root (hd1,0)
kernel /boot/xen.gz dom0_mem=262144 com1=115200,8n1 console=com1 \
         cdb=com1 sync_console hvm_debug=0x1c0
module /boot/vmlinuz-2.6-xen ro root=/dev/hda1 nosmp \
         console=ttyS0,115200,8n1


...but like I said, most likely, it''s the /etc/inittab and
/etc/securetty entries that are missing.

Hope this helps.

   --travis



_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com