Skip to contentSkip to conversation

cant't stop program

DISCUSSION sun-zj 4 participants 4 messages Jan 5, 2004 – Jan 6, 2004

lore
Share & tools
lore

sun-zj

author
#0 lore raw

Hi,All:
After the denk's instruction, I can run the
linuxppc-2.4.23 on PPC8xx without too much difficulty. But when running some programming , I want to terminate it like I do on PC by press Ctrl+C. It doesn't work at all :(. It can work under the U-boot environment. I wonder whether this is the
problem of Linux os Or Kermit?

Thanks your instructions and help

Best Regards.

Zonjun Sun.

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#1 lore raw
Quoted 6 lines · sun-zj

After the denk's instruction, I can run the
linuxppc-2.4.23 on PPC8xx without too much difficulty. But when running some programming , I want to terminate it like I do on PC by press Ctrl+C. It doesn't work at all :(. It can work under the U-boot environment. I wonder whether this is the
problem of Linux os Or Kermit?

I have seem problems like that when running from serial console under Busybox. I think busybox's init is buggy. Does the problem happen when you telnet in from another computer, or only on a serial console?
- Dan

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#2 lore raw

Hi,

I sometimes (!) see the same problem when running from serial console. Telnet works ok. I did change in my kernel driver/char/tty_io.c to set noctty = 0;

It seems that in shell/ash.c from busybox the call (pgrp = tcgetpgrp(fd)) returns an error code.

Jaap-Jan

Quoted 8 lines · Dan Kegel
Quoted 6 lines · sun-zj

After the denk's instruction, I can run the
linuxppc-2.4.23 on PPC8xx without too much difficulty. But when running some programming , I want to terminate it like I do on PC by press Ctrl+C. It doesn't work at all :(. It can work under the U-boot environment. I wonder whether this is the
problem of Linux os Or Kermit?

Quoted 6 lines

I have seem problems like that when running from serial console under Busybox. I think busybox's init is buggy. Does the problem happen when you telnet in from another computer, or only on a serial console?
- Dan

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#3 lore raw
In reply to Dan Kegel

Dan Kegel wrote:

| I have seem problems like that when running from serial
| console under Busybox.  I think busybox's init is buggy.
| Does the problem happen when you telnet in from another computer,
| or only on a serial console?

Seconded on the busybox front Dan. Did I say again that crosstool rocks? PTX-dist also rocks too.

I know there are some problems in the busybox init but they are not causing me enough grief right now to spend time fixing ;-).

Cheers,

Jon.

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/