Re: 1.99.14 & duplicate NE2000 (fwd)

Eberhard Moenkeberg (emoenke@gwdg.de)
9 Jun 1996 02:04:01 GMT


SethMeister G. (consp05@binghamton.edu) wrote:

: Does anyone lese understand what the problem is? :)

Obviously not. ;-(

: > at booting, a NE2000 (the only network-card in the system!) is reported as:
: >
: > > ne.c:v1.10 9/23/94 Donald Becker (becker@cesdis.gsfc.nasa.gov)
: > > NE*000 ethercard probe at 0x340: 00 00 e8 c6 d1 1f
: > > eth0: NE2000 found at 0x340, using IRQ 15.

: > 0340-035f : NE2000
: > ^^^^^^^^^^^^^^^^^^
: >
: > okay so far!
: >
: > now I go on, and type
: >
: > insmod /lib/modules/1.99.14./net/8390.o
: > insmod /lib/modules/1.99.14./net/ne.o io=0x340

: Huh!? Why are you loading this driver when the driver was already loaded
: at boot time?

You mean Herbert first has to tell WHY he has gone to find this bug before
we look at it?

--- ne.c.~1~ Thu May 30 23:45:30 1996
+++ ne.c Sun Jun 9 03:58:48 1996
@@ -709,6 +709,8 @@
printk(KERN_NOTICE "ne.c: Module autoprobing not allowed. Append \"io=0xNNN\" value(s).\n");
return -EPERM;
}
+ if (check_region(io[this_dev], NE_IO_EXTENT))
+ return -ENXIO;
if (register_netdev(dev) != 0) {
printk(KERN_WARNING "ne.c: No NE*000 card found (i/o = 0x%x).\n", io[this_dev]);
if (found != 0) return 0; /* Got at least one. */

should prevent it.

Cherrs -e

-- 
Eberhard Moenkeberg                                GGG   W   W  DDDD    GGG
                                                  G      W   W  D   D  G
E-Mail:   emoenke@gwdg.de                         G GGG  W   W  D   D  G GGG
Phone: +49 551 2011551  Fax: +49 551 21119        G   G  W W W  D   D  G   G
SnailMail:                                         GGG   WW WW  DDDD    GGG
Gesellschaft fuer wissenschaftliche Datenverarbeitung mbH
Am Fassberg, D-37077 Goettingen, GERMANY
At home: Modem+ISDN ("guest") ++49-551-7704102, ISDN-HDLC 7704103