Amit
 
I think I found the issue. The ethernet driver was built as a separate module while kgdb_eth.c is built-in the kernel image. Hence kgdb_eth got loaded earlier. Since the regular ethernet driver is not loaded yet, it has not probed/registered the interface card. kgdb_eth does not find the device and hence errors out.
 
I made the ethernet driver also a built-in and put it before kgdb_eth.o in the Makefile and things appear to be working now. I hope that was the expected behaviour too.
 
Regards,
Nitin

 
On 5/25/06, Amit S. Kale <[EMAIL PROTECTED]> wrote:
Nitin,

Could you send the "dmesg" output after the machine boots? It'll help
identifying whether an ethernet driver was not initialized or some other
error occured.

-Amit

On Wednesday 24 May 2006 22:37, Nitin Jerath wrote:
> Hi Amit
>
> I apologise for flooding your mailbox but I could not find any information
> related to the problem I am facing on the web.
>
> I am trying to set up KGDB 2.2 for Linux kernel 2.6.8 for my organisation.
> KGDB over serial port is working fine. However while setting up KGDB over
> ethernet, I am facing a problem in that the ethernet driver for my NIC is
> loaded after kgdb_eth initialization routine is called. The kgdb_eth cannot
> find the eth0 interface and the module initialization fails. Putting the
> ethernet driver in initrd also does not seem to work.
>
> This looks to be a generic problem which a  number  of other people may
> also be  facing.  I would really appreciate any suggestions in this regard?
>
> Thanks and Regards
> Nitin

Reply via email to