[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [microblaze-uclinux] Ctrl-C does not work in shell



Hi John, Jim
I had the same problem, but with an embedded Linux system. I found the solution on BusyBox, the write under FAQ

Why do I keep getting "sh: can't access tty; job control turned off" errors? Why doesn't Control-C work within my shell? Job control will be turned off since your shell can not obtain a controlling terminal. This typically happens when you run your shell on /dev/console. The kernel will not provide a controlling terminal on the /dev/console device. Your should run your shell on a normal tty such as tty1 or ttyS0 and everything will work perfectly. If you REALLY want your shell to run on /dev/console, then you can hack your kernel (if you are into that sortof thing) by changing drivers/char/tty_io.c to change the lines where it sets "noctty = 1;" to instead set it to "0". I recommend you instead run your shell on a real console...

There is also a lot of information about "job control turned off " in their mailing list.

I hope this helps.

Alfred

----- Original Message ----- From: "John Williams" <jwilliams@xxxxxxxxxxxxxx>
To: <microblaze-uclinux@xxxxxxxxxxxxxx>
Sent: Friday, March 31, 2006 12:59 AM
Subject: Re: [microblaze-uclinux] Ctrl-C does not work in shell


Hi Jim,

jim bo wrote:
I have the same problem not being able to stop apps using CRL-C and such
key combinations.

I've seen this too - will look into the cause.

I'm having a problem right now mounting an NFS share on
uClinux-2.4.32-uc0 on Microblaze. (followed Jason Wu tutorial for
setting up on an ML401)

When I try to mount the share (which can be NFS mounted by other
machines on the network), it fails saying the server is not responding,
still trying.  The problem is it doesn't ever return to the shell
prompt.  I suppose it's possible the system has simply crashed and is
not accepting input.  But I've also had the problem when I first tried
using ping from the uClinux shell... and there was no escaping it  It's
quite a bit of time to have to redownload the kernel image again.

Are you running the "portmap" daemon on the uClinux board?

Select it in the userspace menuconfig, under network apps.

Regards,

John


___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/


___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/