On Thu, Jan 31, 2002 at 02:25:58PM -0600, Cam Mayor wrote:
> On Thursday 31 January 2002 13:54, Russell King - ARM Linux wrote:
> > On Thu, Jan 31, 2002 at 01:46:34PM -0600, Cam Mayor wrote:
> > > Dave solved it by modifying inittab so that the tty prefix precedes the
> > > rest.
> > >
> > > ::respawn:tinylogin getty -L 115200 ttyS1 vt100
> >
> > Umm, the 'id' is required by init - its used to locate and maintain the
> > entries in the utmp file. From the inittab man page:
> [snip]
> > Note the limit of 4 characters however.
actually, the busybox init process tacks the id directly onto "/dev/" and uses
that as the console for the process.
however, it does NOT do this if it detects a serial console in use. putting
"ttyS1" (or anything except "/dev/null") into the id field should cause the
entry to be skipped.
> The past hour i've been combing through the Config.h file in Busybox and
> Tinylogin, looking for anything i may have missed. Haven't found anything
> obvious, yet.
look at busybox/init/init.c, functions parse_inittab(), new_initAction()
> #ttyS1::respawn:/sbin/getty -L ttyS1 115200 vt100 #this does not spawn
because new_initAction() ignores it. dave must not be running a serial
console?
there is definitely something falling through the cracks here wrt. signals and
consoles, but i'm pretty sure the problem lies on the busybox side, not the
kernel side.
--
---------------------------------------------------------------------------
Ray Lehtiniemi <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
Please visit the above address for information on this list.