Re: [uml-devel] actually useful backtrace from a CPU-chewing hang

2008-05-09 Thread Nix
On 9 May 2008, [EMAIL PROTECTED] verbalised: > The download is long, the untar too, but the freeze is garanteed! If this doesn't work I can give you an account on, hm, the box which freezes uses a UML for its network link so if you flip the time on it you'd get cut off... and on the other machine

Re: [uml-devel] actually useful backtrace from a CPU-chewing hang

2008-05-09 Thread vincent-perrier
For the "date --set" back 5 sec on the host that freezes an uml indefinitely (in kernel/time/timekeeping.c, update_wall_time,) then download plug_and_play_clownix_network_03 at http://clownix.net On my host, it does get stuck, but it may depend also on host and host kernel, I have: uml_clow

[uml-devel] [PATCH 2/3] UML - Style fixes in the random driver

2008-05-09 Thread Jeff Dike
Give random.c a style workover while I'm changing it. Signed-off-by: Jeff Dike <[EMAIL PROTECTED]> --- arch/um/drivers/random.c | 77 --- 1 file changed, 40 insertions(+), 37 deletions(-) Index: linux-2.6-git/arch/um/drivers/random.c

[uml-devel] [PATCH 1/3] UML - Random driver fixes

2008-05-09 Thread Jeff Dike
The random driver would essentially hang if the host's /dev/random returned -EAGAIN. There was a test of need_resched followed by a schedule inside the loop, but that didn't help and it's the wrong way to work anyway. The right way is to ask for an interrupt when there is input available from the

[uml-devel] [PATCH 3/3] UML - Track and make up lost ticks

2008-05-09 Thread Jeff Dike
Alarm delivery could be noticably late in the !CONFIG_NOHZ case because lost ticks weren't being taken into account. This is now treated more carefully, with the time between ticks being calculated and the appropriate number of ticks delivered to the timekeeping system. Cc: Nix <[EMAIL PROTECTED]

[uml-devel] [PATCH 0/3] UML - Resend of three earlier patches

2008-05-09 Thread Jeff Dike
These are the patches that I sent earlier this week which flunked bisection. They are for 2.6.26 as before. Jeff -- Work email - jdike at linux dot intel dot com - This SF.net email is sponsored by

Re: [uml-devel] umls unresponsive & consuming 100% cpu time

2008-05-09 Thread Jeff Dike
On Wed, May 07, 2008 at 04:00:28PM +0200, Bram Matthys (Syzop) wrote: > I'm experiencing the following problem: > I upgraded from 2.6.20.1 to 2.6.25 on both the host and the uml's. > Now, after some time (unsure how soon), the uml's appear to hang. > It seems though, that they are not completely fr

Re: [uml-devel] [PATCH] make quiet suppress parse_chan_pair boot messages

2008-05-09 Thread Jeff Dike
On Sat, May 03, 2008 at 03:18:10PM -0500, Rob Landley wrote: > I usually use UML as a better fakeroot, meaning I run it with a command line > like "rootfstype=hostfs rw quiet init=/path/to/some_shell_script.sh". In this > context, filling the screen with parse_chan_pair error messages which don't

Re: [uml-devel] actually useful backtrace from a CPU-chewing hang

2008-05-09 Thread Jeff Dike
On Sat, May 03, 2008 at 11:08:24AM +0100, Nix wrote: > >>From a quick look, this seems right. And this would be the gold > > standard of preventing UML from seeing time going backwards. > > Oh. And it still doesn't work. Damn. Is it possible for me to get my hands on a UML which is doing this?

Re: [uml-devel] remove duplicated include

2008-05-09 Thread Jeff Dike
On Thu, May 08, 2008 at 09:42:33PM +0800, Huang Weiyi wrote: > Removed duplicated include file "kern_util.h" in > arch/um/drivers/ubd_kern.c. Looks good, thanks. Jeff -- Work email - jdike at linux dot intel dot com -