[PlanetCCRMA] Fedora 7 issue

Tracey Hytry shakti at bayarea.net
Fri Jan 25 20:40:02 2008


Len <lenb_99@yahoo.com> wrote:

> Is Fedora ignoring my BIOS settings (onboard LAN disabled) and enabling it anyway?  It appears to assign eth0 to the RealTek RTL8139 chip.  

I'm not sure, but I've had these kind of problems a few times in the past.
Places to check if the machine is trying to load the "disabled" ethernet:

/etc/modprobe.conf
/etc/sysconfig/networking/"stuff" (sometimes setups get saved there)
/etc/sysconfig/network-scripts/ifcfg-eth*


How to tell the kernel not to load a module,
Put this in /etc/modprobe.conf

blacklist (*)
install (*) /sbin/modprobe -r (*)

where (*) = the name of the driver you don't want loaded
(what you're telling the kernel to do is for every time the driver is to be loaded(install);
  unload the module instead)


example from an old machine with fc6(lines in modprobe.conf):

# Needed to free up the parallel port for the midi switcher on 2.6.16 kernels.
#
blacklist parport
blacklist parport_pc
blacklist lp
#
install lp /sbin/modprobe -r --verbose lp
install parport_pc /sbin/modprobe -r --verbose parport_pc
install parport /sbin/modprobe -r --verbose parport
#####
# Needed to get the system to ignore the onboard soundcard hardware with 2.6.17 kernels.
#
blacklist snd_via82xx
blacklist snd_via82xx_modem
blacklist gameport
#
install gameport /sbin/modprobe -r --verbose gameport
install snd_via82xx_modem /sbin/modprobe -r --verbose snd_via82xx_modem
install snd_via82xx /sbin/modprobe -r --verbose snd_via82xx