devfs
[Top] [All Lists]

Re: serial console under devfs

To: tduffy@xxxxxxxxxxxxxxxxxx (Thomas Duffy)
Subject: Re: serial console under devfs
From: Mike Travis <travis@xxxxxxxxxxxxxxxxxxxx>
Date: Mon, 7 Aug 2000 10:17:06 -0700 (PDT)
Cc: devfs@xxxxxxxxxxx
In-reply-to: <Pine.LNX.4.21.0008061659250.12718-100000@dbear.engr.sgi.com> from "Thomas Duffy" at Aug 06, 2000 05:06:51 PM
Sender: owner-devfs@xxxxxxxxxxx
Thomas Duffy writes:
> 
> 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
> 

I have this in my lilo.conf file:

    append="console=tty1 console=ttyS1,38400"


And it appears that printk's go to both while anything directed
to /dev/console (like initscripts) go only to the serial port.
I believe reversing the two would change the output to be only
the graphics console.

I also have kdb config'd in, and it too uses the serial port.

Mike

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