From: Nir P. <ni...@em...> - 2004-02-22 12:46:08
|
Hello, I too saw nanosleep() hangs - trying to run "top" (according to "strace" and "gdb", the kernel function call never returns). /bin/sleep hangs too. /usr/bin/date keeps reporting the SAME frozen time... Guess the time just froze... It doesn't always freeze. Usually, everything work just fine. However, sometimes, some event causes the time to stop running (I think), and from that moment on - nothing time related works. Note that the scheduler keeps scheduling, and the kernel works fine - all but the time. I guess next stop is to debug the kernel... Nir -----Original Message----- From: Jason A. Pattie [mailto:pat...@pc...] Sent: Saturday, February 21, 2004 06:25 To: John Milton Cc: coLinux-devel Subject: Re: [coLinux-devel] Applications hanging in nanosleep John Milton wrote: >I did an strace of dselect and dselect just stopped in a >one second call to nanosleep, which was easy to break out of. > > I noticed this happened when attempting to upgrade libc6. It did made a call to 'init u' and then a 'sleep 1', and just hung there. So I ended up mangling the script to comment that line out, finish the "upgrade", and then rebooted with the newer version of libc6 and init. >The same sort of thing happened in "/usr/bin/tset -s -m 'network:?xterm'" > >Perhaps there's some sort of race condition when sleeping for short intervals. Maybe there should be some logic in there to just >return if the requested interval happens to have already passed. > >I am running coLinux on W2K pro, on a PIII/600 laptop. > > Hmm. Me too. :) -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ coLinux-devel mailing list coL...@li... https://lists.sourceforge.net/lists/listinfo/colinux-devel |