RHEL4.0 - modprobe.conf
Rick Stevens
rstevens at vitalstream.com
Sat May 28 00:23:45 UTC 2005
Waldher, Travis R wrote:
>
>>-----Original Message-----
>>From: Rick Stevens [mailto:rstevens at vitalstream.com]
>>
>>2.6 looks different. First, check your /etc/modprobe.conf file. Note
>>what driver the "alias eth0" line says, then do your "lsmod" again.
>>Look for the "mii" module. It should show as being in use (1) and to
>>the right should be the actual ethernet driver being used. The module
>>will be loaded but unused (because it's being managed by mii).
>
> Here's my modprobe.conf:
>
> [root at lcas200 etc]# cat modprobe.conf
> alias eth0 tg3
> alias eth1 e1000
> alias eth2 e1000
> alias eth3 e1000
> alias eth4 e1000
> alias scsi_hostadapter mptbase
> alias scsi_hostadapter1 mptscsih
> alias scsi_hostadapter2 cciss
> alias usb-controller ehci-hcd
> alias usb-controller1 uhci-hcd
>
> And my lsmod:
>
> [root at lcas200 etc]# lsmod
> Module Size Used by
> parport_pc 27905 1
> lp 15405 0
> parport 37641 2 parport_pc,lp
> autofs4 22085 0
> i2c_dev 14273 0
> i2c_core 25921 1 i2c_dev
> sunrpc 137637 1
> md5 8001 1
> ipv6 238817 18
> button 10449 0
> battery 12869 0
> ac 8773 0
> uhci_hcd 32729 0
> ehci_hcd 31813 0
> e1000 95316 0
> tg3 79173 0
> floppy 58065 0
> dm_snapshot 20837 0
> dm_zero 6337 0
> dm_mirror 24989 2
> ext3 118473 7
> jbd 59481 1 ext3
> dm_mod 57157 11 dm_snapshot,dm_zero,dm_mirror
> cciss 45221 3
> mptscsih 36605 0
> mptbase 47329 1 mptscsih
> sd_mod 20545 0
> scsi_mod 116557 3 cciss,mptscsih,sd_mod
>
> I don't see anywhere in the kernel .config that calls out wether an
> "mii" anything is a module vs builtin. Would it be under another name?
That's odd. Perhaps they're not mii-friendly. Try "ethtool -i eth0",
"ethtool -i eth1", etc. to see which drivers are used for what. Now
that I think of it, I have this on an FC2 box (also a 2.6 kernel):
[root at xyclone root]# lsmod
Module Size Used by
<snip>
forcedeth 18881 0
floppy 58097 0
sg 34145 0
<snip>
No "mii" listed either, and forcedeth is the network driver:
[root at xyclone root]# ethtool -i eth0
driver: forcedeth
version: 0.30
firmware-version:
bus-info: 0000:00:04.0
Weird. I'll have to investigate that.
----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com -
- VitalStream, Inc. http://www.vitalstream.com -
- -
- If this is the first day of the rest of my life... -
- I'm in BIG trouble! -
----------------------------------------------------------------------
More information about the Redhat-install-list
mailing list