Re: 2.5 and modules ?

From: Louis Garcia (louisg00@bellsouth.net)
Date: Tue Mar 25 2003 - 21:04:54 EST


Do you mean this? If so what do I change it to?

if [ -f /proc/sys/kernel/modprobe ]; then
   if [ -n "$USEMODULES" ]; then
       sysctl -w kernel.modprobe="/sbin/modprobe" >/dev/null 2>&1
       sysctl -w kernel.hotplug="/sbin/hotplug" >/dev/null 2>&1
   else
       # We used to set this to NULL, but that causes 'failed to exec'
messages"
       sysctl -w kernel.modprobe="/bin/true" >/dev/null 2>&1
       sysctl -w kernel.hotplug="/bin/true" >/dev/null 2>&1
   fi
fi

By the way, Thanks for all your help.

--Lou

On Tue, 2003-03-25 at 19:30, Felipe Alfaro Solana wrote:
> On Wed, 2003-03-26 at 01:02, Louis Garcia wrote:
> > Setting hostname tiger: [ OK ]
> > Initializing USB controller (usb-uhci): FATAL: Module usb_uhci
>
> The USB UHCI module has been renamed. Now it's called uhci-hcd.ko. Make
> sure the following line is present in "/etc/modprobe.conf":
>
> alias usb-controller uhci-hcd
>
> > not found. [ FAILED ]
> > Mounting USB filesystem: [ OK ]
> > grep: /proc/bus/usb/drivers: No such file or directory.
>
> No more drivers in /proc/bus/usb.
>
> > Mounting local filesystems: mount: fs type ntfs not supported by
> > kernel. mount: fs type vfat not supported by kernel.
> > [ FAILED ]
> >
> >
> > I have built all required modules:
>
> "cat /proc/sys/kernel/modprobe" should spit:
>
> /sbin/modprobe
>
> Double check this... I found that rc.sysinit from RH8 and RH9 do
> configure this to /sbin/true, thus invalidating dynamic kernel module
> loading.
>
> ________________________________________________________________________
> Felipe Alfaro Solana
> Linux Registered User #287198
> http://counter.li.org
>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Mar 31 2003 - 22:00:22 EST