Thanks all for your quick response. I am working on a open source code with good amount of code, so the problem is not in the init, I know the function which is giving problem, but I want to know why I am not able to generate the stack trace.
Yes, I am working in the console mode only.
Thank you,
Mrunal
On Mon, May 5, 2008 at 11:30 PM, Thanos Makatos <mcatos@xxxxxxxxxxxx> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
When you insert your module, are you working in a graphical environment? If
Mrunal Gawade wrote:
> Hi,
>
> I am facing a strange scenario. My kernel module contains bugs and every
> time I am inserting it my system hangs. I was hoping to get a stack trace on
> screen in single user mode, but it is not providing one. Contents are not
> written to /var/log/messages also as I think flushing of the data to disk is
> not happening.
>
> Is this problem a common one? Do I need to compile my kernel to provide a
> stack trace on console or is it configured by default? I am using a Open
> SUSE 10.1 kernel 2.6.18.
>
> Your quick help would be greatly appreciated.
>
> Thank you,
> Mrunal
>
so, try to load your module from a console.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFIH/sb3LCeUQetfe4RAtz9AKCbYz3s2v4wB2lHUNspbY4TfuOCCwCfUaY8
WCg/TuSEXrj/3cDtUPg7CaQ=
=UhHP
-----END PGP SIGNATURE-----