logo       

Re: kgdb on kernel 2.6.14: msg#00121

linux.kernel.debugging.kgdb.bugs

Subject: Re: kgdb on kernel 2.6.14

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.
-Amit

>
> - Not all CPUs have been synced for KGDB
>
> I would be grateful for any advice
> Thanks
> Regards
>
> Elise


-------------------------------------------------------
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