On Mon, 2006-06-19 at 15:24 -0400, Steve Millman wrote: > > Hi, > I put in a LinkSys Etherfast PCI adapter and turned off my Broadcom > motherboard ethernet. The new ethernet card seems to use the Tulip > driver so I compiled the Tulip driver in the kernel, and now when I > try to connect with gdb, gdb tells me that it cannot connect to the > machine being debugged, but the machine being debugged is hung up, as > if it is connected, however I can't get it to come out of hang. Here > is the gdb log that I get:Here is my .config file here is the dmesg > log and here is my grub.conf file: Any ideas on what I am doing > wrong?
I suggest you add some printk's in the Ethernet code as I suggested. Looks like gdb isn't seeing anything coming from the stub. I'd also snoop the Ethernet with ethereal just to verify that the packets arrive at the target. I'd check the tulip driver to make sure it supports polling. -piet > Thanks, > SteveM > > ----- Forwarded by Steve Millman/Watson/IBM on 06/19/2006 02:55 PM > ----- > Steve Millman/Watson/IBM > > 06/15/2006 09:14 AM > > > To > "Amit S. Kale" > <[EMAIL PROTECTED]> > cc > Andi Kleen > <[EMAIL PROTECTED]>, > Bernhard Kaindl > <[EMAIL PROTECTED]>, > George Anzinger > <[EMAIL PROTECTED]>, [email protected], Milind Dumbare > <[EMAIL PROTECTED]>, Piet Delaney <[EMAIL PROTECTED]>, Tom Rini <[EMAIL > PROTECTED]> > Subject > Re: > [Kgdb-bugreport] > ethernet > debugging on > 2.6.15 kernelLink > > > > > > > > Thanks Amit, > I will try using a different ethernet card. The ethernet is actually > the on board ethernet of the motherboard on my machine. I'm taking a > class today, so it might not get done today. I'd also like to thank > all of you for all the responses to the problem I am having. > > Thanks, > SteveM > > > > "Amit S. Kale" > <[EMAIL PROTECTED]> > > 06/14/2006 11:49 PM > > > To > Steve > Millman/Watson/[EMAIL PROTECTED] > cc > Andi Kleen > <[EMAIL PROTECTED]>, Tom > Rini > <[EMAIL PROTECTED]>, Piet Delaney <[EMAIL PROTECTED]>, Milind Dumbare <[EMAIL > PROTECTED]>, [email protected], Bernhard Kaindl <[EMAIL > PROTECTED]>, George Anzinger <[EMAIL PROTECTED]> > Subject > Re: > [Kgdb-bugreport] > ethernet > debugging on > 2.6.15 kernel > > > > > > > > > Steve, > > You are using tg3 driver which runs in NAPI mode. KGDB won't work with > NAPI. > > Unfortunately tg3 driver can't run in a non-NAPI (interrupt driven) > mode, so > you might have to buy a new card. > -Amit > > On Thursday 15 June 2006 06:57, Andi Kleen wrote: > > On Wed, Jun 14, 2006 at 04:47:58PM -0700, Tom Rini wrote: > > > > Then all of our stuff should be #ifdef KGDB; while merging from > 2.6.12 > > > > to 2.6.13 I recall it noticing a few of the #ifdef KGDB's had > been > > > > removed. > > > > > > Yes, there really shouldn't be any #ifdef KGDB's in the kernel > tree and > > > we're down to very few[1] and I think it's really just one in the > end > > > we'll need. > > > > That was __might_sleep()? I'm still dubious about that one. It might > > be possible to just change the caller. Do you have a full backtrace > > for it? > > > > I suppose you're doing a *_user in kgdb somewhere, right? > > > > -Andi > -- --- [EMAIL PROTECTED] _______________________________________________ Kgdb-bugreport mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/kgdb-bugreport
