[BusyBox] CTRL-C problem on BusyBox 0.60.5

Agostino Sette ICN-CNX-RD-SW3 Agostino.Sette at siemens.com
Mon Feb 23 18:21:27 UTC 2004


Hello David,

I solved my problem modifying the /etc/inittab in this way:

old /etc/inittab
::sysinit:/etc/rc.sysinit
::respawn:/bin/login 
#ttyS2::respawn:/sbin/getty ttyS2 9600
::ctrlaltdel:/sbin/reboot

new /etc/inittab
::sysinit:/etc/rc.sysinit
#::respawn:/bin/login 
ttyS0::respawn:/bin/getty ttyS0 9600
#ttyS2::respawn:/sbin/getty ttyS2 9600
::ctrlaltdel:/sbin/reboot

Now, when type a ps -ef command I have:

root       317     1  0 18:11 ttyS0    00:00:00 -bash
root       318   301  0 18:11 ttyS1    00:00:00 chat -t 0 -v CLIENT
CLIENTSERVER
root       325   317  0 18:12 ttyS0    00:00:00 ps -ef

So, this e-mail also for tracing, because as you said this is an old
problem.
Anyway, I would like to understand a couple of things:
1. why do I had the problem only on a board with a ppc_7xx
microprocessor and not on a board with 
   a ppc_8xx?
2. why does the CTRL-C command work with 0.60.2 and doesn't work anymore
since 0.60.3?

Thank you very much for your support.

Agostino

David Meggy wrote:
> 
> A quick google search will show that this has been discussed many times
> in the archives.
> 
> in your /etc/inittab file make sure that your getty's are attached to
> real ttys and not the console.
> 
> David
> 
> On Fri, 2004-02-20 at 11:19, Agostino Sette ICN-CNX-RD-SW3 wrote:
> > Hello,
> >
> > I have a problem with my serial console on a ppc_7xx board with the
> > BusyBox 0.60.5.
> > The CTRL-C commands doesn't work!!!
> > Erlier, I used the BusyBox 0.60.1 and it worked fine.
> > A difference that I see, is that if I type a ps -j command with the
> > 0.60.1 I have the following
> > output on the console
> >
> >   577 ttyS0   root       2324   S   -sh
> > 19866 ttyS0   root       1868   R   ps -ef
> >
> > and the CTRL-C works.
> >
> > If I make the same command, changing only the BusyBox (0.60.5) into my
> > application, I have:
> >
> >   577 ?       root       2324   S   -sh
> > 19866 ?       root       1868   R   ps -ef
> >
> > and the CTRL-C doesn't work anymore.
> > Another information: if I make a telnet on my board, the CTRL-C works
> > correctly with both BusyBox.
> > Does anyone know how to solve this problem? Today I downloaded the
> > 0.60.5 from the WEB but it has
> > the same problem.
> > I have also another system with ppc_8xx and there the CTRL-C command
> > works with both BusyBox.
> >
> > Thanks in advance
> >
> > Ciao
> > Agostino
> > --
> > Agostino Sette                        SIEMENS
> > Tel.  +39 0862 335.557                CNX-RD-SW3
> > Fax.  +39 0862 335.623                Loc. Boschetto - 67100
> > E-mail:Agostino.Sette at siemens.com     L'Aquila (Italy)
> >
> > "L'esperienza è il nome che noi diamo ai nostri errori"
> > "Experience is simply the name we give our mistakes."
> > "Erfahrung ist der Name, den man seinen Fehlern gibt."    Oscar Wilde
> > _______________________________________________
> > busybox mailing list
> > busybox at mail.busybox.net
> > http://busybox.net/mailman/listinfo/busybox
> --
> ~~~~~~~~~~~~~~~~~~~~~~~~
>      David Meggy
>      Engineering
> 
> Technical Solutions Inc.
> Unit #1 7157 Honeyman St
> Delta BC Canada, V4G 1E2
>      www.techsol.ca
> 
> eMail: dmeggy at techsol.ca
> Tel: 604 946 TECH (8324)
> Fax: 604 946 6445
> ~~~~~~~~~~~~~~~~~~~~~~~~

-- 
Agostino Sette                        SIEMENS
Tel.  +39 0862 335.557                CNX-RD-SW3
Fax.  +39 0862 335.623                Loc. Boschetto - 67100
E-mail:Agostino.Sette at siemens.com     L'Aquila (Italy)

"L'esperienza è il nome che noi diamo ai nostri errori"
"Experience is simply the name we give our mistakes."
"Erfahrung ist der Name, den man seinen Fehlern gibt."    Oscar Wilde



More information about the busybox mailing list