[PATCH] add klogconsole applet
Rob Landley
rob at landley.net
Wed Feb 22 11:31:28 PST 2006
On Wednesday 22 February 2006 2:11 pm, Jan Kiszka wrote:
> 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.
Yup, it's tioclinux too. Takes a number as its argument. Seems to basically
be the same app...
> > 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
Lemme hold off on this until after 1.1.1 pending further investigation...
(I.E. please remind me about this next week.)
Rob
--
Never bet against the cheap plastic solution.
More information about the busybox
mailing list