* 2.5 and modules ?
@ 2003-03-25 4:03 Louis Garcia
2003-03-25 11:19 ` Maciej Soltysiak
0 siblings, 1 reply; 7+ messages in thread
From: Louis Garcia @ 2003-03-25 4:03 UTC (permalink / raw)
To: Linux Kernel Mailing List
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 2.5 and modules ?
2003-03-25 4:03 2.5 and modules ? Louis Garcia
@ 2003-03-25 11:19 ` Maciej Soltysiak
2003-03-26 0:02 ` Louis Garcia
0 siblings, 1 reply; 7+ messages in thread
From: Maciej Soltysiak @ 2003-03-25 11:19 UTC (permalink / raw)
To: Louis Garcia; +Cc: Linux Kernel Mailing List
> 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?
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 2.5 and modules ?
2003-03-25 11:19 ` Maciej Soltysiak
@ 2003-03-26 0:02 ` Louis Garcia
2003-03-26 0:30 ` Felipe Alfaro Solana
0 siblings, 1 reply; 7+ messages in thread
From: Louis Garcia @ 2003-03-26 0:02 UTC (permalink / raw)
To: Maciej Soltysiak; +Cc: Linux Kernel Mailing List
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?
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: 2.5 and modules ?
2003-03-26 0:02 ` Louis Garcia
@ 2003-03-26 0:30 ` Felipe Alfaro Solana
2003-03-26 2:04 ` Louis Garcia
2003-03-30 2:39 ` Louis Garcia
0 siblings, 2 replies; 7+ messages in thread
From: Felipe Alfaro Solana @ 2003-03-26 0:30 UTC (permalink / raw)
To: Louis Garcia; +Cc: Maciej Soltysiak, Linux Kernel Mailing List
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
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: 2.5 and modules ?
2003-03-26 0:30 ` Felipe Alfaro Solana
@ 2003-03-26 2:04 ` Louis Garcia
2003-03-30 2:39 ` Louis Garcia
1 sibling, 0 replies; 7+ messages in thread
From: Louis Garcia @ 2003-03-26 2:04 UTC (permalink / raw)
To: Felipe Alfaro Solana; +Cc: Maciej Soltysiak, Linux Kernel Mailing List
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
>
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: 2.5 and modules ?
2003-03-26 0:30 ` Felipe Alfaro Solana
2003-03-26 2:04 ` Louis Garcia
@ 2003-03-30 2:39 ` Louis Garcia
2003-03-30 10:24 ` Felipe Alfaro Solana
1 sibling, 1 reply; 7+ messages in thread
From: Louis Garcia @ 2003-03-30 2:39 UTC (permalink / raw)
To: Felipe Alfaro Solana; +Cc: Maciej Soltysiak, Linux Kernel Mailing List
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
>
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: 2.5 and modules ?
2003-03-30 2:39 ` Louis Garcia
@ 2003-03-30 10:24 ` Felipe Alfaro Solana
0 siblings, 0 replies; 7+ messages in thread
From: Felipe Alfaro Solana @ 2003-03-30 10:24 UTC (permalink / raw)
To: Louis Garcia; +Cc: Maciej Soltysiak, Linux Kernel Mailing List
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
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2003-03-30 10:13 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-25 4:03 2.5 and modules ? Louis Garcia
2003-03-25 11:19 ` Maciej Soltysiak
2003-03-26 0:02 ` Louis Garcia
2003-03-26 0:30 ` Felipe Alfaro Solana
2003-03-26 2:04 ` Louis Garcia
2003-03-30 2:39 ` Louis Garcia
2003-03-30 10:24 ` Felipe Alfaro Solana
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox