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

Re: 2.2 kernel & serial consoles troubles



On Sun, 14 Feb 1999 18:49:00 +0100 (CET), Eric Delaunay <delaunay@lix.polytechnique.fr> said:
>   I'm running in troubles with interaction between serial console
> support in 2.2 kernels and boot floppies.  The problem is that
> /dev/tty is not initialized anymore when booting from serial
> console.  Therefore: 1. modconf fails to run because it redirects
> its i/o to/from /dev/tty 2. and modprobe is flooding the screen with
> the following message every time after the drivers are configured:

>   modprobe: can't locate module char-major-4 modprobe: can't locate
> module char-major-4 ...

> I fixed the latter problem by disabling connections to other than
> the first terminal in init when booting on serial console.  In fact,
> I found that these messages were indirectly sent by init because it
> tries to log to /dev/tty3 & run a shell in /dev/tty2.

> As a workaround for modconf, I've added a --tty option.  It defaults
> to /dev/tty but dbootstrap is passing "--tty /dev/console" if
> installing from 2.2 kernel.  BTW, I'm wondering why modconf is
> redirecting its i/o to /dev/tty ?

> Below is the patch against modconf.  Enrique, could it be applied to
> the modconf package ASAP ?  Thanks in advance.

Eric, could you NMU it?  Enrique is out until Thursday and said NMUs
while he was gone were ok.

--
.....Adam Di Carlo....adam@onShore.com.....<URL:http://www.onShore.com/>


Reply to: