[BusyBox] Problems with getty not spawning correctly (more)

olivier.delouya at takimaging.com olivier.delouya at takimaging.com
Mon Feb 14 15:57:24 UTC 2005


Only CTRL-C (hopefully..)

Bye

Olivier



jpswensen at comcast.net 
14/02/2005 16:37

To
olivier.delouya at takimaging.com
cc
busybox at mail.codepoet.org
Subject
Re: [BusyBox] Problems with getty not spawning correctly (more)






Just to be clear, does this patch make it so 
1) CTRL-C works from /dev/console
    or 
2) fix it so we can respawn on ttySx?

Thanks for everyone's help.

John Swensen





----- Message from olivier.delouya at takimaging.com on Mon, 14 Feb 2005 
08:54:05 +0000 -----
To:
Rob Landley <rob at landley.net>
cc:
busybox at mail.codepoet.org, jpswensen at comcast.net, Vijay Padiyar 
<vijay_padiyar at hotmail.com>
Subject:
Re: [BusyBox] Problems with getty not spawning correctly (more)

Find attached tty_io.c, to put in <your kernel tree>/drivers/char. 
WARNING: this is a 2.6.4 source, so if, as I guess, you have another 
version, 
you should import the patch in your own version with some merge tool.. 
I made the patch conditional to CONFIG_ARCH_CHAMELOT and 
CONFIG_ARCH_BAGHEERA 
which are the two arch I support. 
Go to lines 1383-1390 and add your own platform - My ego just ask you to 
let my tag.. 

Olivier 



Rob Landley <rob at landley.net> 
12/02/2005 17:11 


To
busybox at mail.codepoet.org 
cc
olivier.delouya at takimaging.com, jpswensen at comcast.net, Vijay Padiyar 
<vijay_padiyar at hotmail.com> 
Subject
Re: [BusyBox] Problems with getty not spawning correctly (more)








On Saturday 12 February 2005 06:47 am, olivier.delouya at takimaging.com 
wrote:
> Hi John
>
> Do you really need getty?
> I personally use to have direct login in my initab:
>
> 0:12345:respawn:login olivier
>
> The system continues to use /dev/console and that works fine,
> with the benefit of not having to specify the precise device to that.
> The only drawback is that I had to patch a kernel file to get back the
> <control c> task interrupt action.. I can give you it if needed..

I'm interested in that patch.  I'm using User Mode Linux with /dev/console 

going to the stdin and stdout of the UML process, and it works fine except 

for no ctrl-c.    (I have to kill it from another terminal when 
necessary.)


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.busybox.net/pipermail/busybox/attachments/20050214/476b1d06/attachment-0001.htm 


More information about the busybox mailing list