On Wed, 2006-09-20 at 01:17 +0800, Yan, Yechun wrote:

I'd add my KGDB_DEBUG() printf's in the kgdboe path like
I did while getting kgdb working on vmware. It only takes
about an hour and they would be generally useful for others.
We could turn them off when we aren't interested in what's
going on in the kgdboe path.

-piet

> I tracked the process
> 1. system boot correctly, kgdb enabled
> 2. gdb send request by "target remote udp:xx.xx.xx.xx:6443"
> 3. target machine got packet, and enter breakpoint(), then BREAKPOINT()
> 4. it stuck there, didn't send response packet, gdb timeout .. quit
> 
> there should be some unproper operation in step 3, right? it's not
> suppose to enter BREAKPOINT() at that time.
> 
> Here is gdb message:
> ===============
> gdb output
> ===============
> GNU gdb Red Hat Linux (6.5-3.fc6rh)
> Copyright (C) 2006 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you are
> welcome to change it and/or distribute copies of it under certain conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for details.
> This GDB was configured as "i386-redhat-linux-gnu"...Using host
> libthread_db library "/lib/libthread_db.so.1".
> 
> (gdb) set debug remote 10
> (gdb) target remote udp:10.239.13.72:6443
> warning: The remote protocol may be unreliable over UDP.
> Some events may be lost, rendering further debugging impossible.
> Remote debugging using udp:10.239.13.72:6443
> Sending packet: $Hc-1#09...Sending packet: $Hc-1#09...Sending packet:
> $Hc-1#09...Sending packet: $Hc-1#09...Timed out.
> Timed out.
> Timed out.
> Ignoring packet error, continuing...
> Sending packet: $qC#b4...Sending packet: $qC#b4...Sending packet:
> $qC#b4...Sending packet: $qC#b4...Timed out.
> Timed out.
> Timed out.
> Ignoring packet error, continuing...
> Sending packet: $qOffsets#4b...Sending packet: $qOffsets#4b...Sending
> packet: $qOffsets#4b...Sending packet: $qOffsets#4b...Timed out.
> Quit
> ===========================
> dmesg: full dmesg in attachment
> ===========================
> <snip>
> Kernel command line: ro root=/dev/sda3 rhgb
> [EMAIL PROTECTED]/,@10.239.49.31/ console=ttyS0,115200
> kgdboe: local port 6443
> kgdboe: local IP 10.239.13.72
> kgdboe: interface eth0
> kgdboe: remote port 6442
> kgdboe: remote IP 10.239.49.31
> kgdboe: remote ethernet address ff:ff:ff:ff:ff:ff
> mapped APIC to ffffd000 (fee00000)
> mapped IOAPIC to ffffc000 (fec00000)
> Enabling fast FPU save and restore... done.
> Enabling unmasked SIMD FPU exception support... done.
> Initializing CPU#0
> CPU 0 irqstacks, hard=c048f000 soft=c04af000
> PID hash table entries: 4096 (order: 12, 65536 bytes)
> Detected 3400.480 MHz processor.
> Using pmtmr for high-res timesource
> Console: colour VGA+ 80x25
> </snip>
> 
> <snip>
> pci: Bound Device 0000:01:00.0 to Driver e1000
> CLASS: registering class device: ID = 'lo'
> class_uevent - name = lo
> netconsole: not configured, aborting
> kgdboe: local port 6443
> kgdboe: local IP 10.239.13.72
> kgdboe: interface eth0
> kgdboe: remote port 6442
> kgdboe: remote IP 10.239.49.31
> kgdboe: remote ethernet address ff:ff:ff:ff:ff:ff
> kgdboe: device eth0 not up yet, forcing it
> kgdboe: timeout waiting for carrier
> e1000: eth0: e1000_watchdog_task: NIC Link is Up 100 Mbps Full Duplex
> kgdboe: debugging over ethernet enabled
> Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
> ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
> bus type 'ide' registered
> </snip>
> 
> 
> 
> On 9/18/06, Milind Dumbare <[EMAIL PROTECTED]> wrote:
> > On Mon, 2006-09-18 at 21:40 +0800, Yan, Yechun wrote:
> > > Yes, I tried disable NAPI. But it didn't work still.
> > Milind
> > "The world is divided into one group: those who start counting at 0,
> > and those who don't."
> >
> >
> 
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________ Kgdb-bugreport mailing list 
> [email protected] 
> https://lists.sourceforge.net/lists/listinfo/kgdb-bugreport
-- 
Piet Delaney                                    Phone: (408) 200-5256
Blue Lane Technologies                          Fax:   (408) 200-5299
10450 Bubb Rd.
Cupertino, Ca. 95014                            Email: [EMAIL PROTECTED]

Attachment: signature.asc
Description: This is a digitally signed message part

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Kgdb-bugreport mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/kgdb-bugreport

Reply via email to