[Kgdb-bugreport] [PATCH 2/2] prevent Slave CPUs hang on exit

2008-03-17 Thread Konstantin Baydarov
The MIPS part. Signed-off-by: Konstantin Baydarov <[EMAIL PROTECTED]> arch/mips/kernel/kgdb.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: ko_2_6_24_3_kgdb/arch/mips/kernel/kgdb.c === --- ko_2_6_24_3_kgdb.orig/

[Kgdb-bugreport] [PATCH 1/2] prevent Slave CPUs hang on exit

2008-03-17 Thread Konstantin Baydarov
Problem: Sometimes(after remote gdb was connected) x86 SMP kernel(with KGDB and NMI watchdog enabled) hangs when kernel modules are automatically loaded. Root Cause: Slave CPU hangs in kgdb_wait() when master CPU leaves KGDB, causing the whole system to hang. If watchdog NMI occurs when Slav

Re: [Kgdb-bugreport] Trouble with using kgdb over ethernet.

2008-03-17 Thread Milind Dumbare
Here in this discussion as you can see Ramagudi Naziir is trying to connect at wrong port(6433) the right one is 6443. So its gdb configuration problem. Check the firewalls too. Check SELinux (may be you want to disable it). -Miline On 3/17/08, Himanshu Chauhan <[EMAIL PROTECTED]> wrote: > > Mili

Re: [Kgdb-bugreport] Trouble with using kgdb over ethernet.

2008-03-17 Thread Himanshu Chauhan
Milind Dumbare wrote: > Look at these lines in dmesg > eth0: Setting MAC address to 00:04:9f:22:22:22 > I guess this is causing problem. > > -Miline I removed that configuration from rc.sysinit The following is the ouput. eth0: Link now 100-FullDuplex eth0: AT91 ethernet at 0xfefbc000 int=24 100-F

Re: [Kgdb-bugreport] Trouble with using kgdb over ethernet.

2008-03-17 Thread Milind Dumbare
Look at these lines in dmesg eth0: Setting MAC address to 00:04:9f:22:22:22 I guess this is causing problem. -Miline On 3/17/08, Himanshu Chauhan <[EMAIL PROTECTED]> wrote: > > Milind Dumbare wrote:se > > Hi Himanshu, > > Could you please post your grub entry and .config file > > -Miline > > Hell

Re: [Kgdb-bugreport] Trouble with using kgdb over ethernet.

2008-03-17 Thread Himanshu Chauhan
Milind Dumbare wrote: > Hi Himanshu, > Could you please post your grub entry and .config file > -Miline Hello, I tried with this kernel parameter as well: Kernel command line: root=/dev/mmcblk0p1 rootdelay=3 mem=32M console=/dev/ttyS0,115200 [EMAIL PROTECTED]/eth0,[EMAIL PROTECTED]/00:16:76:B4:

Re: [Kgdb-bugreport] Trouble with using kgdb over ethernet.

2008-03-17 Thread Himanshu Chauhan
Milind Dumbare wrote: > I guess its. > /[EMAIL PROTECTED]/[dev],[tgt-port]@/[tgt-maca/ > >/ ddr] > > -Miline > / > Hi Milind, I still get the same error with hardcoded ports. Regards --Himanshu - This SF.net email is sponso

Re: [Kgdb-bugreport] Trouble with using kgdb over ethernet.

2008-03-17 Thread Himanshu Chauhan
Milind Dumbare wrote: > Himanshu, I will need your "demsg' log too. Try giving hard coded port > numbers in command line instead of using defaults like > kgdboe= [EMAIL PROTECTED]/,[EMAIL PROTECTED]:6442/ > > Please check out the port syntax though. > -Miline > Hi Milind, Below is my dmesg output

Re: [Kgdb-bugreport] Trouble with using kgdb over ethernet.

2008-03-17 Thread Milind Dumbare
I guess its. [EMAIL PROTECTED]/[dev],[tgt-port]@/[tgt-maca* >* ddr] -Miline * On 3/17/08, Milind Dumbare <[EMAIL PROTECTED]> wrote: > > Himanshu, I will need your "demsg' log too. Try giving hard coded port > numbers in command line instead of using defaults like > kgdboe= [EMAIL PROTECTED]/,[

Re: [Kgdb-bugreport] Trouble with using kgdb over ethernet.

2008-03-17 Thread Milind Dumbare
Himanshu, I will need your "demsg' log too. Try giving hard coded port numbers in command line instead of using defaults like kgdboe= [EMAIL PROTECTED]/,[EMAIL PROTECTED]:6442/ Please check out the port syntax though. -Miline On 3/17/08, Himanshu Chauhan <[EMAIL PROTECTED]> wrote: > > Milind Dumb

Re: [Kgdb-bugreport] Trouble with using kgdb over ethernet.

2008-03-17 Thread Himanshu Chauhan
Milind Dumbare wrote: > Hi Himanshu, > Could you please post your grub entry and .config file > -Miline > > On 3/17/08, *Himanshu Chauhan* <[EMAIL PROTECTED] > > wrote: > > Dear All, > > I am trying to use kgdb for my arm board (at91rm9200) based. I am > getti

Re: [Kgdb-bugreport] Trouble with using kgdb over ethernet.

2008-03-17 Thread Milind Dumbare
Hi Himanshu, Could you please post your grub entry and .config file -Miline On 3/17/08, Himanshu Chauhan <[EMAIL PROTECTED]> wrote: > > Dear All, > > I am trying to use kgdb for my arm board (at91rm9200) based. I am > getting the following error: > > Remote debugging using udp:192.168.0.201:6443 >

[Kgdb-bugreport] Trouble with using kgdb over ethernet.

2008-03-17 Thread Himanshu Chauhan
Dear All, I am trying to use kgdb for my arm board (at91rm9200) based. I am getting the following error: Remote debugging using udp:192.168.0.201:6443 Remote communication error: Connection refused. It looks like the error discusses in this thread. http://www.mail-archive.com/kgdb-bugreport@li

[Kgdb-bugreport] Using KGDB on at91rm9200-ek board

2008-03-17 Thread Himanshu Chauhan
Dear All, I am developing drivers for an at91rm9200-ek kind of board. I really need a kernel debugger in place for my kernel (2.6.20). I was successful in applying the 2.6.15 arm patch for my kernel with some changes (notifier_chain_register etc). The kernel builds fine. But how can I see the