[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Serial console and init



According to Eray Ozkural:
> > You must be doing something wrong, but I don't know what. Check again:
> >
> > - you have the right options in /etc/lilo.conf for the kernel
> >   (append="console=tty0 console=ttyS0,9600")
> 
> this is different append="console=ttyS0,9600 console=tty0", but order
> shouldn't differ.

Order does matter - that is your problem right there.

>From the serial-console.txt document:

You can specify multiple console= options on the kernel command line.
Output will appear on all of them. The last device will be used when
                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
you open /dev/console. So, for example:
^^^^^^^^^^^^^^^^^^^^^^
        console=ttyS1,9600 console=tty0

defines that opening /dev/console will get you the current foreground
virtual console, and kernel messages will appear on both the VGA
console and the 2nd serial port (ttyS1 or COM2) at 9600 baud.

Mike.



Reply to: