Comments for modutils
13 Aug 2002 03:06
Suggestion for Modprobe
Hi
I use RedHat 7.3 and after re-compiling kernel + modules I got the following warning / error message at bootup:
"Cann't locate module Block-Major-..."
After guessing and re-compiling kernel + module several dozen times, I found the culprit: there are several files on "/dev" directory related to non existent hardware device. You should delete this "/dev/.." files to eliminate the message.
Perhaps Modutils author can print/mention the device name that cause the "Cann't..." message to help debugging / solving the problem.
At present it is difficult to find the offending "/dev/..." files. You should run the following command:
ls -l /dev > out1.txt
Search the out1.txt for major device number of "/dev/..." files, usually before "," (coma) sign. Find the correct number related to the modprobe warning.
If the hardware device related to "/dev/..." file does not exist on your machine, delete this file.
20 Sep 1999 16:14
Bug in insmod
Insmod handles the following legal command correctly:
insmod module symbol=value
But the following illegal command line throws insmod into an infinite loop:
insmod module symbol
E-mail with a possible solution has been sent to Richard Henderson.
Re: Suggestion for Modprobe
> After guessing and re-compiling kernel +
> module several dozen times, I found the
> culprit: there are several files on
> "/dev" directory related to non existent
> hardware device. You should delete this
> "/dev/.." files to eliminate the
> message.
Chcek out the /dev/MAKEDEV script.