[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-hurd] Re: Ethernet card detection bug in wd_probe (was Re: Problem

From: Marcus Brinkmann
Subject: [Bug-hurd] Re: Ethernet card detection bug in wd_probe (was Re: Problem solved!)
Date: Sun, 17 Sep 2000 18:22:03 +0200
User-agent: Mutt/1.1.4i

On Sat, Sep 16, 2000 at 10:51:02AM +0530, Prabhu Ramachandran wrote:
>       Actually, I think you have a typo there.  This needs to be
> done _before_ the NE2000 device.  For if NE2000 was detected off the
> standard gnumach I would never have hit the problem.  So I added the
> lines for all the ethernet devices because I distrusted my intuition
> and tried your method first and then added the lines before
> CONFIG_NE2000.

Doh, you are absolutely right.
>       Anyways, I configured the kernel with --enable-ide and
> --enable-floppy and using the debian/rules file I got all the other
> enables and added them all in one massive configure.  I am not putting 
> it here.  After make install I rebooted and after detecting the floppy 
> drive I got 17 X's.  This means that it crashed at CONFIG_WD80x3
> i.e. wd_probe(dev).

Ergh, now that I think of it, it was probably not the best idea to use the
same "X" everywhere. Are you sure that all CONFIG_* symbols were defined
that appear in the code? It would be a good idea to put some identifier (a
running number or so) around the WD80x3 case, to make absolutely sure that
it is. You don't need to recompile the whole kernel, just change the one
file and run make.
>       Please let me know if you now need me to do anything more. I
> propose to blow away my install and reinstall using the debs next.  I
> used the tarball earlier.  I'd like to do this stuff before I
> reinstall.

Yes! When you made sure it is the wd_probe, you can check where in
linux/src/drivers/net/Space.c it exactly hangs. This requires inserting
unique printk's at strategical places, until you have the exact line.
There are little changes between wd.c in gnumach and linux 2.4, so I am a
bit suspicious. If you found out by the above procedure that it is not
wd_probe.c, but some other probe, you can find the relevant file in net/ and
insert the printks there.

Kernel debugging is a bit boring, sorry.


`Rhubarb is no Egyptian god.' Debian http://www.debian.org Check Key server 
Marcus Brinkmann              GNU    http://www.gnu.org    for public PGP Key 
Marcus.Brinkmann@ruhr-uni-bochum.de,     marcus@gnu.org    PGP Key ID 36E7CD09
http://homepage.ruhr-uni-bochum.de/Marcus.Brinkmann/       brinkmd@debian.org

reply via email to

[Prev in Thread] Current Thread [Next in Thread]