loading modules in Fedora 6

Todd Zullinger tmz at pobox.com
Sun Apr 1 17:57:58 UTC 2007


Al Graziano wrote:
> Thank you. I was already doing that but my problem at the moment is that 
> I have a driver for my wireless card, ipw3945 and that gets loaded even 
> if I don't specify it in the modprobe.conf
> 
> I installed the driver through rpm so it must have have copied itself to 
> a directory where modules are read at boot time.

What rpm did you install it from?  I've been using the package kindly
provided by ATrpms.  You can see the list of files included in the rpm
by using the -ql (query, list) option to rpm:

$ rpm -ql ipw3945-kmdl-2.6.20-1.2933.fc6 
/lib/modules/2.6.20-1.2933.fc6/updates
/lib/modules/2.6.20-1.2933.fc6/updates/drivers
/lib/modules/2.6.20-1.2933.fc6/updates/drivers/net
/lib/modules/2.6.20-1.2933.fc6/updates/drivers/net/wireless
/lib/modules/2.6.20-1.2933.fc6/updates/drivers/net/wireless/ipw3945.ko

You may need to use another query first to determine what the package
name is.  ATrpms uses the $(module)-kmdl-$(kernel-version) scheme.
You could find all the rpms with ipw3945 in the name via:

$ rpm -qa '*ipw3945*'
ipw3945-1.2.0-18.2.fc6.at.i386
ipw3945d-1.7.22-4.at.i386
...
ipw3945-kmdl-2.6.20-1.2933.fc6-1.2.0-18.2.fc6.at.i686
ipw3945-ucode-1.14.2-4.at.noarch

Alternatively, you can query the rpm file directly by adding the -p
option:

$ rpm -qpl /path/to/ipw3945-kmdl-2.6.20-1.2933.fc6.rpm
...

> but when I searched for the ipw3945 driver it, I found it in the 
> following directory
> 
> /proc/irq/17/ipw3945
> /sys/module/ipw3945
> /sys/bus/pci/drivers/ipw3945

How did you do the search?  I'd use find or locate.  Using find:

$ find /lib/modules/ -name '*ipw3945*'
...
/lib/modules/2.6.20-1.2933.fc6/updates/drivers/net/wireless/ipw3945.ko

Incidentally, I don't know if it will come together well before the
release, but the current F7 kernels include the newer iwlwifi drivers
for the ipw3945 cards.  It doesn't require the regulatory daemon any
longer and thus has a good chance of making into the upstream kernel
sources.  So hopefully it will just work out of the box.

-- 
Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
======================================================================
There are three ways to get something done: do it yourself, hire
someone, or forbid your kids to do it.
    -- Monta Crane

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 542 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20070401/960bbdd5/attachment-0001.sig>


More information about the fedora-list mailing list