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
Quoted 4 lines
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?
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
Quoted 5 lines · Maciej Soltysiak
Quoted 4 lines
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?
Quoted 2 lines · Louis Garcia
Setting hostname tiger: [ OK ]
Initializing USB controller (usb-uhci): FATAL: Moduleusb_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
Quoted 3 lines
not found. [ FAILED ]
Mounting USB filesystem: [ OK ]
grep:/proc/bus/usb/drivers: No such file or directory.
No more drivers in /proc/bus/usb.
Quoted 6 lines
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
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
Quoted 35 lines · Felipe Alfaro Solana
Quoted 2 lines · Louis Garcia
Setting hostname tiger: [ OK ]
Initializing USB controller (usb-uhci): FATAL: Moduleusb_uhciThe 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
Quoted 3 lines
not found. [ FAILED ]
Mounting USB filesystem: [ OK ]
grep:/proc/bus/usb/drivers: No such file or directory.No more drivers in
/proc/bus/usb.Quoted 6 lines
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/modprobeDouble 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
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
Quoted 35 lines · Felipe Alfaro Solana
Quoted 2 lines · Louis Garcia
Setting hostname tiger: [ OK ]
Initializing USB controller (usb-uhci): FATAL: Moduleusb_uhciThe 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
Quoted 3 lines
not found. [ FAILED ]
Mounting USB filesystem: [ OK ]
grep:/proc/bus/usb/drivers: No such file or directory.No more drivers in
/proc/bus/usb.Quoted 6 lines
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/modprobeDouble 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
Quoted 4 lines · Louis Garcia
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?
Quoted 8 lines
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