2003-03-25 03:51:55

by Louis E Garcia II

[permalink] [raw]
Subject: 2.5 and modules ?

I just installed 2.5.6x on my RH phoebe box and everything is working
except modules. I recompiled the modutils package with module-init-tools
according to rusty's old modutils package spec. I am able to compile 2.5
as modules without any depmod errors but when I boot 2.5 I can't load
any.

--Lou


2003-03-25 11:08:38

by Maciej Soltysiak

[permalink] [raw]
Subject: Re: 2.5 and modules ?

> except modules. I recompiled the modutils package with module-init-tools
> according to rusty's old modutils package spec. I am able to compile 2.5
> as modules without any depmod errors but when I boot 2.5 I can't load
> any.
What are the error messages?

2003-03-25 23:51:29

by Louis E Garcia II

[permalink] [raw]
Subject: Re: 2.5 and modules ?

I'm on a RH phoebe beta box. I think this is due to my rc.sysinit not
being ready for 2.5 because I have built my nic driver as a module and
it loaded fine. I am not able to load USB modules or ntfs and vfat
modules. This is what I get at startup:


Setting hostname tiger: [ OK ]
Initializing USB controller (usb-uhci): FATAL: Module usb_uhci
not found. [ FAILED ]
Mounting USB filesystem: [ OK ]
grep: /proc/bus/usb/drivers: No such file or directory.
Initializing USB HID interface: [ OK ]
Initializing USB Keyboard: FATAL: Module keybdev not found.
[ FAILED ]
Initializing USB Mouse: FATAL: Module mousedev not found.
[ FAILED ]

[ some more stuff thats ok ]

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:

ls /lib/modules/2.4.66/kernel/drivers/usb/host
uhci-hcd.ko

ls /lib/modules/2.4.66/kernel/fs/fat
fat.ko

ls /lib/modules/2.4.66/kernel/fs/ntfs
ntfs.ko



On Tue, 2003-03-25 at 06:19, Maciej Soltysiak wrote:
> > except modules. I recompiled the modutils package with module-init-tools
> > according to rusty's old modutils package spec. I am able to compile 2.5
> > as modules without any depmod errors but when I boot 2.5 I can't load
> > any.
> What are the error messages?

2003-03-26 00:19:33

by Felipe Alfaro Solana

[permalink] [raw]
Subject: Re: 2.5 and modules ?

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

2003-03-26 01:53:22

by Louis E Garcia II

[permalink] [raw]
Subject: Re: 2.5 and modules ?

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
>

2003-03-30 02:27:05

by Louis E Garcia II

[permalink] [raw]
Subject: Re: 2.5 and modules ?

One more question if you don't mind. These are the only errors I have
left as boot. Are these not present in 2.5?


Setting hostname tiger: [ OK ]
Initializing USB controller (usb-uhci): [ OK ]
Mounting USB filesystem: [ OK ]
Initializing USB HID interface: [ OK ]
Initializing USB Keyboard: FATAL: Module keybdev not found.
[ FAILED ]
Initializing USB Mouse: FATAL: Module mousedev not found.
[ FAILED ]

--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
>

2003-03-30 10:13:05

by Felipe Alfaro Solana

[permalink] [raw]
Subject: Re: 2.5 and modules ?

On Sun, 2003-03-30 at 04:39, Louis Garcia wrote:
> One more question if you don't mind. These are the only errors I have
> left as boot. Are these not present in 2.5?
>
>
> Setting hostname tiger: [ OK ]
> Initializing USB controller (usb-uhci): [ OK ]
> Mounting USB filesystem: [ OK ]
> Initializing USB HID interface: [ OK ]
> Initializing USB Keyboard: FATAL: Module keybdev not found.
> [ FAILED ]
> Initializing USB Mouse: FATAL: Module mousedev not found.
> [ FAILED ]

Did you compile USB HID input drivers as modules? IIRC, the keybdev
module is not named that way anymore in 2.5 kernels, so the "keybdev not
found" error is normal.

I was getting those errors on 2.5, and they were normal for me as I did
compile all the USB support built-in into the kernel, so there were no
USB modules to load. I had to edit /etc/rc.sysinit and remove a bunch of
stuff to get them away.

Felipe Alfaro Solana
Linux Registered User #287198
http://counter.li.org