|
Re: kgdb 2.3 hangs: msg#00152linux.kernel.debugging.kgdb.bugs
Hi Amit I wonder how can I save all the log/printout from gdb? Thanks! Ming On Mon, 2006-01-30 at 12:26 +0530, Amit Kale wrote: > Tom, Ming, > > module debugging patch uses read memory packets, so it won't have any smp > issues. > > Have you passed "nmi_watchdog=1" to kernel through grub.conf file? Please > also > check the output of dmesg, to confirm that NMI watchdog in deed works. If it > doesn't you'll see a message in dmesg output. If nmi_watchdog=1 doesn't work > try nmi_watchdog=2. (Yeah, seems like a joke, but that's exactly what it > is :-) > > I see two different issues here. > > 1. You could go ahead after turning off console messages over kgdb. This > should be required. I would like to see a dump of packets with this option > turned on. We'll get some idea about why this option is causing a problem. > > I have seen a bug report earlier where console message packets got mixed up > with regular gdb packets, don't know how. Couldn't reproduce it later. I > think we should print a message from kgdb indicating that smp isn't working. > Perhaps halt kernel at that point. > > 2. The output you have sent is rather limited. Could you send the _whole_ > output. That is right from the point where gdb prints it's initial version > no. etc. to the point where debugging fails. > > -Amit > > On Friday 27 Jan 2006 9:12 pm, Ming Zhang wrote: > > On Fri, 2006-01-27 at 08:31 -0700, Tom Rini wrote: > > > On Fri, Jan 27, 2006 at 10:12:46AM -0500, Ming Zhang wrote: > > > > thanks for the hint. > > > > > > > > now i deselect the "console message over kgdb" and use this 'set debug > > > > remote 1', the boot process is good. > > > > > > > > > > > > now is another problem. > > > > > > > > it hangs when loading module. > > > > > > You need to have a custom compiled GDB with the patches found in CVS, > > > if you've also got the 'module.patch' patch applied. > > > > i run the gdb_mod 2.3 from download page. i assumed that is the one you > > mentioned. > > > > > But I'll admit I haven't tested module autoloading stuff on SMP, but it > > > should work. > > > > though i am using a dual opteron, i already disabled SMP and choose P4 > > for a 32bit compilation. > > > > ming > > > > > > > > > > > > > > ------------------------------------------------------- > > 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://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > > _______________________________________________ > > Kgdb-bugreport mailing list > > Kgdb-bugreport@xxxxxxxxxxxxxxxxxxxxx > > https://lists.sourceforge.net/lists/listinfo/kgdb-bugreport ------------------------------------------------------- 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://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: kgdb 2.3 hangs: 00152, Amit Kale |
|---|---|
| Next by Date: | Re: kgdb 2.3 hangs: 00152, Ming Zhang |
| Previous by Thread: | Re: kgdb 2.3 hangsi: 00152, Amit Kale |
| Next by Thread: | Re: kgdb 2.3 hangs: 00152, Ming Zhang |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |