From: Blaisorblade <blaisorblade@yahoo.it>
To: user-mode-linux-devel@lists.sourceforge.net
Cc: James McMechan <james_mcmechan@hotmail.com>
Subject: Re: [uml-devel] [ link to patch] resurrecting the uml-hcd
Date: Sun, 13 Aug 2006 18:00:37 +0200 [thread overview]
Message-ID: <200608131800.37555.blaisorblade@yahoo.it> (raw)
In-Reply-To: <BAY101-F3556FC13777163E2ABDF69E2490@phx.gbl>
On Sunday 13 August 2006 17:41, James McMechan wrote:
> >From: Blaisorblade <blaisorblade@yahoo.it>
> >To: user-mode-linux-devel@lists.sourceforge.net
> >CC: "James McMechan" <james_mcmechan@hotmail.com>,
> >linux-usb-devel@lists.sourceforge.net
> >Subject: Re: [uml-devel] [ link to patch] resurrecting the uml-hcd
> >Date: Sun, 13 Aug 2006 13:24:28 +0200
> It is a maze of calls and I have not been able to use breakpoints with gdb
> much less the module symbols
For module debugging a very recent mail explained the solution in detail.
For break panic, it never worked for me - the suggestion is to add a pause()
call in a loop checking a variable, and to change the var only in gdb; since
such a var would be optimized out, add a global function called nowhere which
sets that var too (on the list a more involved solution was proposed to stop
the optimization but this should work).
> I set the usual
>
> b sys_init_module
> b panic
>
> and on modprobe I just get
>
> [42949532.180000] Kernel panic - not syncing: Segfault with no mm
> [42949532.180000] [42949532.180000]
> Program exited with code 01.
> (gdb)
--
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
Paolo Giarrusso, aka Blaisorblade
http://www.user-mode-linux.org/~blaisorblade
Chiacchiera con i tuoi amici in tempo reale!
http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
next prev parent reply other threads:[~2006-08-13 16:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-13 4:10 [uml-devel] [ link to patch] resurrecting the uml-hcd James McMechan
2006-08-13 11:24 ` Blaisorblade
2006-08-13 15:41 ` James McMechan
2006-08-13 15:56 ` Blaisorblade
2006-08-13 16:00 ` Blaisorblade [this message]
2006-08-13 19:00 ` [uml-devel] [linux-usb-devel] " Alan Stern
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200608131800.37555.blaisorblade@yahoo.it \
--to=blaisorblade@yahoo.it \
--cc=james_mcmechan@hotmail.com \
--cc=user-mode-linux-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox