weird problem - terminal not refreshing; sleep not terminating
Solaris / OpenSolarisThis forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.
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.
You seem to have a suspended "sleep 2" process. Are you sure it is the one you just launched ?
What says "jobs" ?
No, I did not suspended the "sleep 2" proccess. It is that the prompt was not coming back after 2 seconds, so I have no other option than to forcefully break it.
And jobs has no output.
Code:
root@ussd # sleep 1
^Croot@ussd # jobs
root@ussd #
No answers but maybe thinking out loud will help ...
The sleep you killed turned into a zombie. Normally (?) that means it had some output and nowhere to send it but sleep does no output. Does that mean it had something to communicate back to the process of the shell and was unable to do so?
What sort of terminal are you using? What is its device? What happens if you echo foo > <device>?
Are you able to try similar from some other terminal? The console itself?
I have tried setting xterm and editor too. Here are some logs, that might help you out.
Code:
root@ussd-gw # stty -a
Looks OK according to my limited knowledge of tty terminals. You could try
Code:
stty sane
Quote:
Originally Posted by vikas027
root@ussd-gw # env[/CODE]
You're using ssh and were assigned virtual tty /dev/pts/1.
So -- OK on other terminals (what sort of other terminals -- how do they differ from the problem one?) and OK for the shell but not for sleep, prstat, tail -f "some log file", sar -u 1 10 and crontab -e. That's quite a range of programs as regards terninal I/O: sleep does none, prstat I don't know, sar is line-orientated and crontab -e is full-screen!
Maybe we can get a bit more handle on the problem by trying a few more programs, looking for a pattern.
For example
Code:
echo foo >/dev/pts/1 <== assuming sshd assigns that device
echo foo /dev/tty
man sh <== full screen
df <== lines
Last edited by catkin; 07-14-2009 at 07:31 AM.
Reason: Corrected /dev/pts1 to /dev/pts/1
Seems like I found the culprit in /var/adm/messages.
We have some unusual errors there like.
Code:
kern.warning] WARNING: [AFT0] 3 soft errors in less than 24:00 (hh:mm) detected from Me
mory Module J0406
Transaction was a block operation.
Jun 25 12:06:07 ussd pcisch: [ID 956438 kern.info] dvma access, Memory safari command, address 00000000.7e2ee2d0, owned_
in not asserted.
secondary error from DVMA read transaction
I googled for these errors, seems like the PCI slot where the memory card is inserted is faulty. An engineer from SUN Microsystems is also working on it.
I will post if there is some other problem rather than memory card slot.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.