Skip to contentSkip to conversation

sleep() calls blocks forever after settimeofday()

uml-devel Stephen Su 2 participants 2 messages Feb 20, 2008 User-mode Linux (UML)

lore
Share & tools
lore

Stephen Su

author
#0 lore raw

Hi Jeff,

I am still on Linux kernel 2.6.17.4, I ran into sleep() calls blocks forever after change date of time. Please help!

Thanks,
-steve

---------------------------------
Looking for last minute shopping deals? Find them fast with Yahoo! Search.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

_______________________________________________
User-mode-linux-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

#1 lore raw
Quoted 2 lines · Stephen Su

I am still on Linux kernel 2.6.17.4, I ran into sleep() calls blocks forever after change date of time. Please help!

You mean like this?

	[root@uml-test ~]# date -s tomorrow
	Thu Feb 21 11:16:40 EST 2008
	[root@uml-test ~]# time sleep 1

	real    0m1.020s
	user    0m0.000s
	sys     0m0.000s

Works here, so maybe you could use a more modern UML.

Jeff

Signature · 10 lines
Work email - jdike at linux dot intel dot com

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
User-mode-linux-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel