Thanks Tim. This was exactly the problem. I am now console connected to 150 Linux boxes via PortMaster PM-25s. - Herman Tim Duggan wrote:
Hi Herman,
I'm not using my subscribed account to send this so it will only go to you. Feel free to forward it to the list. If you can't wait, my fix is in the last 10 lines or so.
I've managed to exactly (I think) duplicate what you have been getting and may have the solution. To recap: 1) SuSE supplied kernel will not send boot messages to serial console but custom kernel will. 2) SuSE kernel will allow login via agetty (any runlevel) to serial console, custom kernel will not. 3) Custom kernel will only partially allow login in single (S) runlevel. It acted very flakey and jittery for me but it was possible. NOTE: no standard console is available in this runlevel be VERY careful. My palm pilot didn't like the connection and I was lucky (after many failed tries) to get it to accept telinit 2.
Once the kernel compile is complete and installed there are a couple of things to do. In /etc/lilo.conf I added the lines (this we had done) serial=0.9600n8 append = "console = ttyS0,9600"
In /etc/inittab I changed the appropriate line to read (also known) S0:S12:respawn:/sbin/getty -L 9600 ttyS0
did rm -f /etc/ioctl.save (I don't know this was necessary but it was in /usr/src/linux/Documentation/serial-console.txt, so I did it).
ran lilo
Reboot with kernel output on palm pilot but no login :-(
logged in on regular console and double checked everything I could think of including going back and checking /usr/src/linux/.config and .config.old and there it was. Serial is now compiled into the kernel not as a module. A check with lsmod revealed that the serial module was loaded, I thought "this can't be good".
The solution is to edit modules.conf, the lines are alias char-major-4 serial <--- this is /dev/ttyS* alias char-major-5 serial <--- this is /dev/console
change both lines from serial to off and run # depmod -a
reboot and it worked as advertised with boot control, kernel messages and login available on the serial port.
I hope this works for you. Good luck.
Tim
<HR> <UL> <LI>application/x-pkcs7-signature attachment: smime.p7s </UL> N§²æìržzǧué[h²ë)îÅ맲æìržzˬyÊ&ÚuØÚÊ&©Ý²Ç§ué[h²ë)îÅè^.±ç([(rØ^¶m§ÿðÃ.±ç(ô®Š+·ðèïÅ