Loading Module at Startup

Jim Cornette jim-cornette at insight.rr.com
Wed Dec 17 04:35:46 UTC 2003


h.breimer wrote:
> <snip>
> 
>>>>/sbin/generate-modprobe.conf
>>>>/sbin/generate-modprobe.conf: line 32: modprobe.old: command not
>>>
>>>found>Cannot find old version of modprobe. Giving up.
>>>
>>>>jim
> 
> <snip>
> 
>> 
>>modules.conf had this.
>>
>>alias eth0 3c59x
>>alias usb-controller usb-uhci
>>alias sound-slot-0 i810_audio
>>post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L 
>> >/dev/null 2>&1 || :
>>pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S 
>> >/dev/null 2>&1 || :
>>
>>modprobe.conf had only the ethernet card (twice). One works, one
>>doesn't. include /etc/modprobe.conf.dist
>>alias eth0 3c59x
>>alias eth1 3c59x
>>
>>Jim
>>
> 
> 
> Strange.
> Before running generate-modprobe.conf, my modprobe.conf looked like
> yours.
> After running the generate program I have:
> 
> include /etc/modprobe.conf.dist
> alias eth0 8139too
> alias char-major-81 bttv
> alias usb-controller uhci-hcd 
> alias usb-controller1 ehci-hcd
> alias ieee1394-controller ohci1394
> alias char-major-14-* soundcore
> alias sound-slot-0 emu10k1
> install sound-slot-0 /sbin/modprobe --ignore-install sound-slot-0 && {
> /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :; } remove
> sound-slot-0 { /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 ||
> :; } ; /sbin/modprobe -r --ignore-remove sound-slot-0
> 
> which is a tranlation of my modules.conf
> 
> No further info here.
> 
> henk
> 

When I ran generate-modprobe.conf again. I got this error
  generate-modprobe.conf
/sbin/generate-modprobe.conf: line 32: modprobe.old: command not found
Cannot find old version of modprobe. Giving up.

Anyway, I installed the development kernel. I guess there is no 
modprobe.old file in existence. I'm doing alright with the kernel though.

One thing surprised me. I was in runlevel 3 and my card reader was not 
recognized. I changed to runlevel 5 via editing inittab. When I 
rebooted, my card reader lights were on. I ran fdisk /dev/sda and it 
read the card size. I added the information into /etc/fstab for 
/dev/sda1 and it is now usable.

What is different enough from runlevel 3 to runlevel 5 to allow the card 
reader to function? My /etc/modprobe.conf file does not list anything 
different than what was posted before.

Thanks for your help. I might add the usb related info to the file 
anyway. The sound module I might try to copy from my modules.conf.

Jim


-- 
Youth -- not a time of life but a state of mind... a predominance of
courage over timidity, of the appetite for adventure over the love of ease.
		-- Robert F. Kennedy





More information about the fedora-list mailing list