Clarification & more info (was Re: Running 2.3.99-pre3 headless doesn't create tty<n> devices???

From: Ralf G. R. Bergs (rabe@RWTH-Aachen.DE)
Date: Thu Mar 30 2000 - 13:45:32 EST


[Cc: linux-kernel]

Andreas,

On Thu, 30 Mar 2000 11:27:17 -0700 (MST), Andreas Dilger wrote:

>Ralf writes:
>> I've just gone from 2.2.13 to 2.3.99-pre3 with only a few problems. One
>> thing that I noticed AFTER I had re-assembled the box (don't ask whether
I
>> had to take it apart) and put it back into the closet is that if you run
it
>> headless (i.e. without a keyboard and VGA card and without even a serial
>> console) it doesn't create tty1, tty2, etc. devices, such that my console
>> gettys run amok.
>>
>> I now have temporarily disabled them in inittab, but I'd like to change
the
>> kernel's behavior like it was in 2.2.13. This latter kernel would create
the
>> tty? devices even when there wasn't any (VGA or serial) console
available.
>
>The /dev/ttyX devices will either be on the disk (in which case you
shouldn't
>have any problems), or they may be missing because you are using devfs. If

Sheesh, I guess my description was a little bit misunderstandable.

I'm NOT using devfs. The device nodes ARE there where they belong (under the
/dev directory), BUT they aren't supported by the kernel, i.e. there's no
kernel code that listens if you attach a process to the 'tty?' file.

Therefore the kernel daemon thread tries to load a suitable module which
fails (syslog excerpt follows):

    modprobe: can't locate module char-major-4
    /sbin/agetty[544]: /dev/tty3: cannot open as standard input: No such
        device

Any other ideas?

Thanks,

Ralf

-- 
Sign the EU petition against SPAM:          L I N U X       .~.
http://www.politik-digital.de/spam/        The  Choice      /V\
                                            of a  GNU      /( )\
                                           Generation      ^^-^^

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Mar 31 2000 - 21:00:27 EST