TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [TCLUG:9366] dual ethernet module loading
What does `cat /etc/conf.modules` reveal about your adapters?
At boot time, the RedHat init scripts de several module checks including
a `depmod -a`. Because RedHat places their modules into a nonstandard
location (kernel-version-RPM_package_release), traditional depmod searches
don't always work (just take a look at /etc/rc.d/rc.sysinit). In any
event, you should be alright as long as the depmod-a can successfully
update /lib/modules/`uname -r`/modules.dep.
A quick fix would be to search for replaced files from the upgrade
(provided of course that you did an actual upgrade, not a freah install of
6.1). Look for anything ending in .rpmsave. Do a diff against the
replaced version to see if your modprobe magic was somehow messed up by
the upgrade.
Your best bet is to compile a dedicated kernel (this is good practice
for production boxes, not to mention general Linux use anyway). Compile
the drivers for your adapters into the kernel directly and use lilo
parameters to initialize both adapters (Note: you will still need to `make
modules` though. There are several masquerading kernel modules that must
be arbitrarily loaded).
Good Luck
Peter Lukas
On Fri, 22 Oct 1999, Carl Wilhelm Soderstrom wrote:
> at the recent installfest, I got my new firewall-to-be set up with 2
> ethernet cards (3c509s). it took several advanced people some time to figure
> out that we needed to put '/sbin/modprobe 3c509' at the end of
> /etc/rc.d/rc.sysinit, to make sure the modules were loaded.
> I decided to upgrade the box to RH 6.1. (foolish me).
> since then, I can't get the modules to load at boot time.
> I put '/sbin/modprobe 3c509' in rc.sysinit; and at boot time I see
> "can't locate module 3c509"
> trying the same command from the command line after boot, also gives
> "can't locate module 3c509".
> trying '/sbin/modprobe /lib/modules/2.2.12-20/net/3c509.o' gives 'no
> dependendcy information for module /lib/modules/2.2.12-20/net/3c509.o"'
> so I tried doing a 'depmod -a'; which generated a modules.dep file
> (just like the /lib/modules/2.2.5 directory had). still gives the same error.
>
> I can get the modules to load if I do:
> insmod 3c509
> ifup eth0
> ifup eth1
> but I tried doing this at boot time (putting those lines at the end
> of the rc.sysinit file); and it always gives a "resource busy" error (or
> something like that) at boot time.
>
> what's wrong here?
> would putting some boot parameters into lilo help? (I wouldn't think
> so, but...) if so, what should they be?
>
> thanks,
> Carl Soderstrom
> System Administrator 307 Brighton Ave.
> Minnesota DHIA Buffalo, MN
> carls@agritech.com (612) 682-1091
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tclug-list-unsubscribe@mn-linux.org
> For additional commands, e-mail: tclug-list-help@mn-linux.org
>
>