On 01-Dec-00 Kevin D. Kissell wrote:
>
>> > When the init process fires up, it opens /dev/console as the
>> > console output device. A default SGI workstation installation
>> > file system will have /dev/console bound to the major/minor device
>> > node of the graphics display console. If you want to run with a serial
>> > console, you must therefore change this to bind /dev/console
>> > to the serial port. You can do this by doing an explicit mknod,
>> > or by linking to the appropriate serial port device node,
>> > which is usually /dev/ttyS0.
>>
>> Which both are wrong. /dev/console should be a char device major 5, minor
> 1.
>> There is no need to change this ever except for very old kernels. With
> 2.2
>> or 2.4 whenever people change /dev/console's major/minor it's usually
> painting
>> over some bug.
>
> Having been through the exercise a dozen or more times with
> the SGI 2.2 kernel distributions for the Indy, I would be fascinated
> to know what bug I was painting over, and where the correct
> procedure was documented.
linux/Documentation/serial-console.txt
--
Regards,
Harald
|