vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| I'm having great trouble trying to get modules to load during boot up. Initially it was just my joydev modules but it appears it is also the serial port module 8250 I have added both to /etc/modules.autoload.d/kernel-2.6 but they both seem to be ignored. Once booted up I do modprobe 8250 and lirc then works and modprobe joydev and my joystick works. Any idea why they don't load the first time, my error logs show nothing is wrong. |
| |||
| Andrew Walker wrote: > I'm having great trouble trying to get modules to load during boot up. > Initially it was just my joydev modules but it appears it is also the > serial port module 8250 > I have added both to > > /etc/modules.autoload.d/kernel-2.6 > > but they both seem to be ignored. Once booted up I do modprobe 8250 and > lirc then works and modprobe joydev and my joystick works. > Any idea why they don't load the first time, my error logs show nothing is > wrong. Are you using a udev system? -- Ben M. |
| |||
| In alt.os.linux.gentoo, Andrew Walker uttered the immortal words: > I'm having great trouble trying to get modules to load during boot up. > Initially it was just my joydev modules but it appears it is also the > serial port module 8250 > I have added both to > > /etc/modules.autoload.d/kernel-2.6 > > but they both seem to be ignored. Once booted up I do modprobe 8250 and > lirc then works and modprobe joydev and my joystick works. > Any idea why they don't load the first time, my error logs show nothing is > wrong. Did you run "modules-update"? -- Andy. |
| |||
| On Mon, 31 Jan 2005 16:09:54 +0000, Ben Measures wrote: > Andrew Walker wrote: >> I'm having great trouble trying to get modules to load during boot up. >> Initially it was just my joydev modules but it appears it is also the >> serial port module 8250 >> I have added both to >> >> /etc/modules.autoload.d/kernel-2.6 >> >> but they both seem to be ignored. Once booted up I do modprobe 8250 and >> lirc then works and modprobe joydev and my joystick works. >> Any idea why they don't load the first time, my error logs show nothing is >> wrong. > > Are you using a udev system? Yes, I am using udev. I've done modules-update without any errors. |
| |||
| in Andrew Walker's honest opinion: > I'm having great trouble trying to get modules to load during boot up. > Initially it was just my joydev modules but it appears it is also the > serial port module 8250 > I have added both to > > /etc/modules.autoload.d/kernel-2.6 > > but they both seem to be ignored. Once booted up I do modprobe 8250 and > lirc then works and modprobe joydev and my joystick works. > Any idea why they don't load the first time, my error logs show nothing is > wrong. check whenever you are really using 2.6.x kernel... in positive case try to go to single mode, login from console <ALT>+<F1> through <ALT>+<F6> login as root and now go to single mode # init 1 now try to restart modules service which should notice you that you're trying to reload a boot service but should anyway run and print something like # /etc/init.d/modules restart * WARNING: you are stopping a boot service. [...] * WARNING: you are stopping a boot service. * Saving random seed... [ ok ] * Modules are up-to-date * Using /etc/modules.autoload.d/kernel-2.6 as config: * Loading module 8250... [ ok ] * Autoloaded 10 module(s) * Checking all filesystems... [...] so, that's the way you could see if modules are autoloaded rightly - if not try to copy to ng the output... -- Hekaton Keires, En to phronein maedhen aedistos bios. |
| |||
| Le Monday 31 January 2005 16:35, Andrew Walker a écrit: > On Mon, 31 Jan 2005 16:09:54 +0000, Ben Measures wrote: > >> Andrew Walker wrote: >>> I'm having great trouble trying to get modules to load during boot up. >>> Initially it was just my joydev modules but it appears it is also the >>> serial port module 8250 >>> I have added both to >>> >>> /etc/modules.autoload.d/kernel-2.6 >>> >>> but they both seem to be ignored. Once booted up I do modprobe 8250 and >>> lirc then works and modprobe joydev and my joystick works. >>> Any idea why they don't load the first time, my error logs show nothing >>> is wrong. >> >> Are you using a udev system? > > Yes, I am using udev. I've done modules-update without any errors. I would try a : # cd /usr/src/linux # make menuconfig (and check that those modules are marked 'M') # make dep && make modules && make modules_install Does it help ? |
| ||||
| On Tue, 01 Feb 2005 18:54:00 +0000, Bertrand Masius wrote: > Le Monday 31 January 2005 16:35, Andrew Walker a écrit: > >> On Mon, 31 Jan 2005 16:09:54 +0000, Ben Measures wrote: >> >>> Andrew Walker wrote: >>>> I'm having great trouble trying to get modules to load during boot up. >>>> Initially it was just my joydev modules but it appears it is also the >>>> serial port module 8250 >>>> I have added both to >>>> >>>> /etc/modules.autoload.d/kernel-2.6 >>>> >>>> but they both seem to be ignored. Once booted up I do modprobe 8250 and >>>> lirc then works and modprobe joydev and my joystick works. >>>> Any idea why they don't load the first time, my error logs show nothing >>>> is wrong. >>> >>> Are you using a udev system? >> >> Yes, I am using udev. I've done modules-update without any errors. > > I would try a : > > # cd /usr/src/linux > # make menuconfig (and check that those modules are marked 'M') > # make dep && make modules && make modules_install > > Does it help ? I'm wondering if it's my lack of understanding that is the problem. The Gentoo docs say that under 2.6-kernels you only need to do make && make modules_install to compile them. The kernel in use is definitely 2.6.10-gentoo-r6 and the modules themselves appear to work when manually probed. I don't really understand the use of modules, I assumed you just did modprobe (module name) or added the module name in /etc/modules.autoload.d/kernel-2.6 but what exactly is /etc/modules.d/aliases and what for example is alias char-major-61 |