-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Mrunal Gawade wrote: > Hi, > > 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 > You say your problem is not in the init but then you say that when you load it it hangs? Anyway, there are some kinds of errors that are too critical, for instance bugs concerning interrupts. Have you enabled extensive debuging information in your .config? Have you considered using kdb? > On Mon, May 5, 2008 at 11:30 PM, Thanos Makatos <mcatos@xxxxxxxxxxxx> wrote: > > 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 >>>> > When you insert your module, are you working in a graphical environment? > If > so, try to load your module from a console. >> -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFIIBW13LCeUQetfe4RAt73AJ900gBfs5jOdRdvovSsyehZAU94pwCgibzA nw+3WPsrx1RCymMivY7iL6c= =OYQv -----END PGP SIGNATURE----- -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ