Linux - KernelThis forum is for all discussion relating to the Linux kernel.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I ahve a Linux PPC box with WindRiver kernel 2.6.10. The problem is if I am doing vi a file, when I am in command mode (not insert mode) I suppose to be able to suspend to the shell with Ctrl-z like any other Linux boxes(command :suspend also does not work). But I cannot on this box. Could somebody please tell me why and how to fix it or where to look at. This is for my work, embedded application. I have searched this forum for hours, went through all posts (search words: "job control" and Ctrl-z) one by one but did not found it. The issue is not just with vi, the issue is some how the process just ignore SIGSTOP or something like that but it is easiest to show with vi, it could be the same with cat command or any other commands. Thank you very much in advance. Please help me.
Hi i_grok,
Thank for reply. My system has only BASH shell. It does not has chsh command either. Because it is embedded system I guess they strip everything out. If I enter bash -version, it show:
GNU bash, version 3.00.0(1)-release (powerpc-wrs-linux-gnu)
Could it has bug in "powerpc-wrs-linux-gnu" version? How can I prove that?
Please let me know if you have any other ideas. Thanks.
Yes, the problem of ctrl-z is the same with cat. Ctrl-c and Ctrl-/ are OK.
However, I found out that if I replace the /bin/bash with "bash" from FC4 then Ctrl-z is OK. My guess is this "bash" was compiled with a cross compliler and therefore the option --enable-job-control (and may be other options as well) was disable since they can not tell if the system (can be either ppc or x86)would support job control. But I still can find that in the Makefile or configure, I am still searching if indeed that is the reason (The tool chain come pre-build).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.