lkml.org 
[lkml]   [2001]   [Jan]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: ne2000 (ISA) & test11+
Taco IJsselmuiden wrote:
>
> Second: I'm having problems loading my ne2000 (ISA) card as a module since
> test11 (test10 + 2.2.17 works perfectly. Haven't tried 2.2.18...):
>
> When loading the module with 'modprobe ne io=0x360 irq=4' it says:
>
> /lib/modules/2.4.0-prerelease/kernel/drivers/net/ne.o: init_module: No
> such device or address
> Hint: insmod errors can be caused by incorrect module parameters,
> including invalid IO or IRQ parameters
>
> When using test10 or 2.2.17 it works ;)
> I'm I just being plain stupid (as in: did I miss something...), or is
> something wrong ??

Ok, I suspect the phasing out of check_region(...) is responsible
here. In test10 and older, check_region() wasn't done if an explicit
i/o address was supplied - this was to accomodate the now rarely used
reserve= bootprompt which dates back to before modules existed.

Since ne.c doesn't allow modular autoprobing, there was always an i/o
address present, and hence you could still load the module even if
there was a potential i/o space conflict.

In test11 and newer, check_region() is gone and an unconditional
request_region() takes place, which will not allow any i/o space
conflict. In your case, 0x360 is suspect since a ne2000 is 0x20
wide in i/o space and you are probably bumping into either:

0376-0376 : ide1
0378-037a : parport0

Check your /proc/ioports, and relocate your ne card as appropriate.

Paul.



__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:52    [W:0.027 / U:27.564 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site