Hi,

I'm trying to get serial console to work on gentoo.  So far, I've got:

BIOS/POST/ACPI/Boot ROMs
Grub
Kernel debug messages (as the kernel loads)
agetty (for logins)

all going to ttyS1 (the RJ45 serial port), but not the output of the runscripts!

Does anybody have some pointers on how to get the runscripts to output to ttyS1 
instead of the video card?  (I looked at /sbin/rc, /etc/inittab and the boot 
runscripts but didn't see anything about serial consoles)

Relevant info:

grub.conf:
title=linux-2.4.20-wolk4.6s.grsec serial console
root (hd0,1)
kernel /boot/linux-2.4.20-wolk4.6s.grsec root=/dev/md1 devfs=mount,nodall console=tty0 
console=ttyS1,38400

title=linux-2.4.20-wolk4.6s.nogrsec serial console
root (hd0,1)
kernel /boot/linux-2.4.20-wolk4.6s.nogrsec root=/dev/md1 devfs=mount,nodall 
console=tty0 console=ttyS1,38400

/etc/inittab:
c0:12345:respawn:/sbin/agetty 38400 ttyS1 vt100

/etc/securetty:
ttyS1
tts/1
     
Those are just the relevant snippets.  The only part of the bootup process I currently 
don't see is the part where:

* Starting <whatever>                           [OK]
* starting <something else>                     [OK]

The only relevant post on google I saw was saying I needed sysvinit to redirect, but 
that seemed wacky.  Oh, I did delete the /etc/ioctl.save as the directions in the 
serial-console.txt docs in the kernel Documentation tree say.

Am I just supposed to create a custom initscript that redirects all commands to 
/dev/tts/1?  Or do I just need to redirect /sbin/rc while its running sysinit?

Any pointers or BTDT would be appreciated.

thanks!

-- 
adam

--
[EMAIL PROTECTED] mailing list

Reply via email to