Skip to contentSkip to conversation

console on serial

DISCUSSION Richard Hartensveld 2 participants 3 messages Dec 17, 1998 – Dec 18, 1998 MIPS

lore
Share & tools
lore
#0 lore raw

Hi,

Is it possible to get a console on the serial port with the hardhat package ?.

I'm trying to get linux installed on a challenge S, which has no video board, all goes pretty
well until i get into userland and the kernel wants to open /dev/console, which i would
like to be a terminal on the serial port, is this possible?

Regards,

Richard Hartensveld

#1 lore raw
Quoted 5 lines · Richard Hartensveld

I'm trying to get linux installed on a challenge S, which has no video board, all goes pretty
well until i get into userland and the kernel wants to open /dev/console, which i would
like to be a terminal on the serial port, is this possible?

Yeah, that's how I boot my Indy when I need to capture early-on kernel dumps.
Make sure that /dev/console is a symlink to /dev/ttyS0.

I assume the prom is set correctly, because you're getting this far.

Mike

Signature · 1 line
24926.91 21925.54
#2 lore raw
Quoted 10 lines · Mike Shaver
Quoted 5 lines · Richard Hartensveld

I'm trying to get linux installed on a challenge S, which has no video board, all goes pretty
well until i get into userland and the kernel wants to open /dev/console, which i would
like to be a terminal on the serial port, is this possible?

Yeah, that's how I boot my Indy when I need to capture early-on kernel dumps.
Make sure that /dev/console is a symlink to /dev/ttyS0.

I made a ttyS0 on the nfs-root filesystem and linked /dev/console to it, i no longer get the
message 'can't open console' but no message at all :). i made the ttyS0 device using mknod ttyS0 c 4 64.

I seem to be forgetting something, anyone who can fill me in here ?

Richard