- Thread Starter
- #26
If/when it hangs, check if the hardware still handles the characters.
iostat; echo foo > /dev/ttyu0; iostat.vmstat -ishould show an increase in interrupts as well.ps laxmight show what the hung processes are waiting for.
I see a 3wire.115200 entry in /etc/gettytab, commented "Entries for 3-wire serial terminals".
Juha
Well, thanks for your new ideas.
When the serial console hangs with std.115200 it does not handle any characters anymore. And if I interpret the output of
iostat correctly there is no increase of interrupts.When using 3wire.115200 I do not get a login prompt at all. More precise even console output stopped at some point which is probably when init should start getty processes. This first looked very promising to me because the comment of the 3wire terminals seemed to match my serial cable. And a check with
stty revealed the required serial parameters:
Code:
# stty -a -f /dev/ttyu0 |grep -E "xon|off|crtscts|clocal"
iflags: -istrip icrnl inlcr -igncr ixon -ixoff ixany imaxbel -ignbrk
cflags: cread cs8 -parenb -parodd -hupcl clocal -cstopb -crtscts -dsrflow