trouble loading module after 2.2.14 kernel

Matt Zimmerman mdz@csh.rit.edu
Tue, 25 Apr 2000 12:02:16 -0400


On Mon, Apr 24, 2000 at 05:21:11PM -0700, simonst@WellsFargo.COM wrote:

> I added a second 3c509 nic and then put in a new 2.2.14 kernel on my
> "frozen" potato system, to add IP masquerading.
> Now the 3c509 module won't load at boot time (eth0, eth1: unknown
> interface).
> If I manually execute /etc/rcS.d/S20modutils, the following errors display:
> 	3c509 /lib/modules/2.2.14/net/3c509.o: invalid parameter parm_io
> 	/lib/modules/2.2.14/net/3c509.o: insmod 3c509 failed
> 
> But then it all works when I execute:
> 	insmod 3c509                            # finds both 3c509 cards
> 	/etc/rcS.d/S40networking start    # both eth0 & eth1 networks come
> up ok (& masquerading works from eth1 to eth0)
> 
> I don't understand the boot/modules process well enough, & I don't know
> where the invalid "parm_io" parameter is coming from.

/etc/init.d/modutils uses modprobe, which will read /etc/modules.conf, which
is generated from /etc/modutils/*.  grep 3c509 /etc/modutils/* might shed
some light on the situation.  You're likely to find an 'options 3c509' line
that you will want to remove to allow the cards to be autodetected.

-- 
 - mdz