From: Brendan Cully <brendan@cs.ubc.ca>
To: Lily Huang <ushuanglily@gmail.com>
Cc: xen-devel@lists.xensource.com
Subject: Re: help on debugging kernel module in Xen
Date: Fri, 12 Jan 2007 15:21:16 -0800 [thread overview]
Message-ID: <20070112232116.GH4982@ventoux.cs.ubc.ca> (raw)
In-Reply-To: <4d616cca0701121504l6f3ca0fayd1b4e48f0531dc40@mail.gmail.com>
On Friday, 12 January 2007 at 18:04, Lily Huang wrote:
> That's a great point. I just disabled the "Detect Soft Lockup" option in the
> "kernel hacking" group. Now the soft lockup disappeared and I can debug
> kernel now.
>
> Next, I tried to debug kernel module in domU. New problem occurs.
>
> After I set "br xxx(function in a loaded kernel module" and then "cont", I
> worked in the domu to activate the breakpoint.
>
> Unfortunately, I found domU immediately print error messages:
>
> /**********************************************************/
> Message from syslogd@normal at Fri Jan 12 17:54:41 2007 ...
> normal kernel: int3: 0000 [#1]
> <----------------------------------------------------- seems to be a problem
>
> Message from syslogd@normal at Fri Jan 12 17:54:41 2007 ...
> normal kernel: SMP
>
> Message from syslogd@normal at Fri Jan 12 17:54:41 2007 ...
> normal kernel: CPU: 0
>
> Message from syslogd@normal at Fri Jan 12 17:54:41 2007 ...
> normal kernel: EIP is at nfs3_proc_readdir+0xd/0x100 [nfs]
>
> Message from syslogd@normal at Fri Jan 12 17:54:41 2007 ...
> normal kernel: eax: daa0c740 ebx: 00001000 ecx: c1353aa0 edx: db25cd14
>
> Message from syslogd@normal at Fri Jan 12 17:54:41 2007 ...
> normal kernel: esi: df02ced0 edi: daa0885c ebp: da9c7d34 esp: da9c7c4c
>
> Message from syslogd@normal at Fri Jan 12 17:54:41 2007 ...
> normal kernel: ds: 007b es: 007b ss: 0069
>
> Message from syslogd@normal at Fri Jan 12 17:54:41 2007 ...
> normal kernel: Process ls (pid: 1670, threadinfo=da9c6000 task=c05d7070)
> /**********************************************************/
>
> Looks like "int 3" triggered kernel error. Why just for kernel module
> debugging?
I'm afraid you're beyond my knowledge at this point.
next prev parent reply other threads:[~2007-01-12 23:21 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-12 18:41 help on debugging kernel module in Xen Lily Huang
2007-01-12 19:20 ` Brendan Cully
2007-01-12 20:25 ` Lily Huang
2007-01-12 20:35 ` Lily Huang
2007-01-12 20:53 ` Brendan Cully
2007-01-12 21:07 ` Lily Huang
2007-01-12 21:10 ` Lily Huang
2007-01-12 21:26 ` Brendan Cully
2007-01-12 21:32 ` Lily Huang
2007-01-12 21:41 ` Brendan Cully
2007-01-12 23:04 ` Lily Huang
2007-01-12 23:20 ` Lily Huang
2007-01-12 23:21 ` Brendan Cully [this message]
2007-01-12 21:14 ` Brendan Cully
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=20070112232116.GH4982@ventoux.cs.ubc.ca \
--to=brendan@cs.ubc.ca \
--cc=ushuanglily@gmail.com \
--cc=xen-devel@lists.xensource.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.