2006-12-07 12:21:16

by Jaswinder Singh Rajput

[permalink] [raw]
Subject: What happen when hangs !!

Hi,

Sometimes my machine hangs in userspace area like this :-

VFS: Mounted root (ext3 filesystem).
Freeing init memory: 124K
INIT:
<<HANGS>>

OR

VFS: Mounted root (ext3 filesystem).
Freeing init memory: 124K
INIT: version 2.85 booting
<<RUNNING SMOOTHLY>>

How can I debug this hang, what are the cases.

Is this a deadlock.

Thank you,

Jaswinder Singh.


2006-12-07 13:01:17

by Michal Schmidt

[permalink] [raw]
Subject: Re: What happen when hangs !!

Jaswinder Singh wrote:
> Sometimes my machine hangs in userspace area like this :-
>
> VFS: Mounted root (ext3 filesystem).
> Freeing init memory: 124K
> INIT:
> <<HANGS>>
>
> OR
>
> VFS: Mounted root (ext3 filesystem).
> Freeing init memory: 124K
> INIT: version 2.85 booting
> <<RUNNING SMOOTHLY>>
>
> How can I debug this hang, what are the cases.

When it hangs, try to capture the list of processes using Alt+SysRq+T.
You need to have CONFIG_MAGIC_SYSRQ enabled in the kernel.

Michal