On Mon, 2006-09-18 at 21:40 +0800, Yan, Yechun wrote: > Yes, I tried disable NAPI. But it didn't work still. > > And I wonder how KGDB work _without_kgdb, it hook to netpoll when debug start. > > Does kgdb have any restriction on NIC selection, e.g. does RealTek > 8139 work with it? Yes, KGDB works on Realtek 8139. I never had problem with it. Do you have firewalls enabled? post output of gdb with "set debug remote 1" and output of "dmesg" also.
> > Thanks > -yechun > > On 9/18/06, Amit S. Kale <[EMAIL PROTECTED]> wrote: > > Did you try disabling NAPI? NAPI doesn't work with KGDB for legacy reasons. > > > > -Amit > > > > > > On Tuesday 12 September 2006 18:23, Yan, Yechun wrote: > > > Hi all, > > > > > > I am using kgdb-2.6.16 with kernel 2.6.16, all patched. Hardware: > > > Presler [PD 820?] + ICH7 + E1000. > > > > > > Debug through serial port is OK for me. But it never work over > > > ethernet, neither e1000 driver built-in kernel and as a modules. > > > > > > Boot parameter: > > > kernel /boot/vmlinuz-2.6.16 ro root=/dev/hda1 > > > [EMAIL PROTECTED]/,@192.168.1.201/ console=ttyS0,115200 kgdbwait > > > > > > both Netpoll and NAPI for e1000 are enabled. > > > > > > Boot message: > > > <driver built-in, and boot message > > > > > > kgdboe: local port 6443 > > > kgdboe: local IP 192.168.1.200 > > > kgdboe: interface eth0 > > > kgdboe: remote port 6442 > > > kgdboe: remote IP 192.168.1.201 > > > 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 > > > .... > > > .... > > > /boot message> > > > > > > When I open gdb and try to connect to target machine, always got > > > refused (target NIC is working) or timeout (target NIC miss connection > > > with network). > > > > > > Is there anything I missed? > > > > -- Milind "The world is divided into one group: those who start counting at 0, and those who don't." ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Kgdb-bugreport mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/kgdb-bugreport
