devfs
[Top] [All Lists]

Re: serial console under devfs

To: Khimenko Victor <devfs@xxxxxxxxxxxxxxxxx>
Subject: Re: serial console under devfs
From: Thomas Duffy <tduffy@xxxxxxxxxxxxxxxxxx>
Date: Sun, 6 Aug 2000 17:06:51 -0700 (PDT)
Cc: devfs@xxxxxxxxxxx
In-reply-to: <ABWVUZvGgE@khim.sch57.msk.ru>
Sender: owner-devfs@xxxxxxxxxxx
I have read this document before and I went over it just a minute ago as a
refresher.  Still, I cannot find an answer to my problem.

I can get lilo and the kernel to print to the serial port.  And I can get
"getty" to start on the serial lin.  But, I cannot get stuff written out
to console (like the initscritps messages or the logon in single user
mode) to come out.  That is my problem.  I want /everything/ to come out
on the serial line.

The only way I have found to fix this problem is to remove /dev/console
and re-mknod it as the serial line.  I agree this is an ugly hack and if
you know of a better way, then I would love to hear it.  But this hack
which I normally do does not work under devfs.

-tduffy

On Mon, 7 Aug 2000, Khimenko Victor wrote:

> 4-Aug-00 12:59 you wrote:
> > So, I have been having a problem getting devfs to allow me to make
> > /dev/console redirected to the serial port.
> 
> Really ? How so ?
> 
> > On an non devfs system, I simply removed /dev/console and then re-mknod it
> > to be c 4 64 which corresponds to ttyS0.
> 
> Aah. Yeah, if you usually come to the house through the window it looks like
> reasonable solution. Still most peoples prefer door. Why not RTFM at last
> (/usr/src/linux/Documentation/serial-console.txt) ?
> 
> 
> 


<Prev in Thread] Current Thread [Next in Thread>