logo       

Re: kgdb on kernel 2.6.14: msg#00123

linux.kernel.debugging.kgdb.bugs

Subject: Re: kgdb on kernel 2.6.14

On Mon, Jan 16, 2006 at 07:22:42PM +0530, Amit Kale wrote:
> On Monday 16 Jan 2006 1:57 pm, elise guedin wrote:
> > Hi,
> >
> > I am trying to use kgdb to debug one of our custom kernel module.
> >
> > I am using standard kernel 2.6.14 and kgdb-2-2.6.14. Development and
> > target machines are dual processors machines (DELL 2450). I attach the
> > config file of the target machine.
> > (I am not using kgdbwait in grub because in this case, I get an error E22)
> >
> > I can sometimes connect remotely to the target machine via gdb (using
> > target remote /dev/ttyS0) and debug but sometimes it does not work
> > I think it is related to the messages I get :
> >
> > - NMI received for unknown reason 21 on CPU 0
> > Dazed and confused, but trying to continue
> > Do you have a strange power saving mode enabled?
>
> Interesting. Could you send the kernel messages (dmesg output)
> and /proc/interrupts? This machine is most probably routing NMIs in an
> unusual way.
>
> KGDB is dependent on NMIs working correctly. Try appending "nmi_watchdog=1"
> on
> kernel command line.

This is the exact problem that I reported earlier. George's patches make
it better, but I'm not convinced (but don't have time to verify right now)
that SMP i386 KGDB isn't really functional in 2.6.14 nor current CVS.

--
Tom Rini
http://gate.crashing.org/~trini/


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise