[PATCH] add klogconsole applet

Jan Kiszka jan.kiszka at web.de
Wed Feb 22 11:11:04 PST 2006


Rob Landley wrote:
> On Wednesday 22 February 2006 8:15 am, Jan Kiszka wrote:
>> Hi,
>>
>> cannot say if this tool is commonly known, but we use it here to
>> redirect the kernel output messages to a dedicated virtual console (e.g.
>> tty10). This tiny patch adds the core functionality of klogconsole to
>> busybox (it just does not yet set the log level).
>>
>> Jan
> 
> I've got one of these on my ubuntu system called "setlogcons", which is 
> apparently part of the kbd package.

I see. Does setlogcons also use TIOCLINUX? klogconsole is SuSE-specific
AFAIK.

> 
> Is there any way to redirect console output to the serial port?  (I tried 
> TIOCCONS, but it didn't seem to have any effect...)

Don't know if this can be changed after booting. There must be some way
inside the kernel as netconsole does this when being insmod'ed. But for
ttySx, I only know the boot parameter line.

Jan

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
Url : http://busybox.net/lists/busybox/attachments/20060222/39dfc2a2/signature.pgp


More information about the busybox mailing list