vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| I'm trying to sort out how to get modules to load correctly on start-up. I know you add them to /etc/modules.autoload.d/kernel-2.6 but I don't understand what all the references to aliases and char-major etc mean. Can anyone point me to a simple guide about how to use modules as I can't seem to find any. |
| |||
| fred wrote: > > I'm trying to sort out how to get modules to load correctly on > start-up. Any modules in particular that you're having problems with? > I know you add them to > > /etc/modules.autoload.d/kernel-2.6 > > but I don't understand what all the references to aliases and > char-major etc mean. There shouldn't be any aliases, etc in /etc/modules.autoload.d/kernel-2.6 . The only lines it should contain are comments and module names (less the .ko extension). You should also have a look at coldplug and hotplug - these load modules at startup and runtime, resp. Hth, -- Ben M. |
| |||
| On Tue, 08 Feb 2005 17:56:10 +0000, Ben Measures wrote: > fred wrote: >> >> I'm trying to sort out how to get modules to load correctly on >> start-up. > > Any modules in particular that you're having problems with? > >> I know you add them to >> >> /etc/modules.autoload.d/kernel-2.6 >> >> but I don't understand what all the references to aliases and >> char-major etc mean. > > There shouldn't be any aliases, etc in > /etc/modules.autoload.d/kernel-2.6 . The only lines it should contain > are comments and module names (less the .ko extension). > > You should also have a look at coldplug and hotplug - these load modules > at startup and runtime, resp. > > Hth, I'm having trouble with lirc and also my game port joystick. Lirc works ok if I do modprobe 8250 but if I put 8250 in /etc/modules.autoload.d/kernel-2.6 it doesn't seem do to anything. The joystick is a similar problem, I have to do modprobe analog before it works regardless of it is entered in /etc/modules.autoload.d/kernel-2.6 All the docs I've read start going on about adding lines like char-major-16 and alias something or other but I can't find any docs that explain (simply) how you add options to modules. As I don't really know what I'm doing except trying to get my Pinnacle PCI PCTV card serial remote control going and my PCI128 ALSA snd-ens1371 gameport joystick to work I don't really know where to start or which is the correct way of going about it. |
| |||
| Andrew Walker wrote: > I'm having trouble with lirc and also my game port joystick. > Lirc works ok if I do modprobe 8250 but if I put 8250 in > /etc/modules.autoload.d/kernel-2.6 it doesn't seem do to anything. You also have to run modules-update after you add your module to the file above. Blake |
| |||
| So anyway, it was like, 03:23 CET Feb 09 2005, you know? Oh, and, yeah, Blake was all like, "Dude, > Andrew Walker wrote: >> /etc/modules.autoload.d/kernel-2.6 > > You also have to run modules-update after you add your module to the > file above. The 'modules-update' script does nothing that involves the file above. -- Time flies like an arrow, fruit flies like a banana. Perth ---> * 08:57:15 up 107 days, 21:23, 5 users, load average: 0.05, 0.31, 0.24 Linux 2.6.9 x86_64 GNU/Linux Registered Linux user #261729 |
| |||
| Andrew Walker wrote: > > I'm having trouble with lirc and also my game port joystick. > Lirc works ok if I do modprobe 8250 but if I put 8250 in > /etc/modules.autoload.d/kernel-2.6 it doesn't seem do to anything. 8250 seems to need the serial_core module loaded first. Try putting serial_core before 8250 in /etc/modules.autoload.d/kernel-2.6 . If that works, try just serial_core instead. Hth, -- Ben M. |
| ||||
| Johan Lindquist wrote: > So anyway, it was like, 03:23 CET Feb 09 2005, you know? Oh, and, yeah, > Blake was all like, "Dude, >> Andrew Walker wrote: > >>> /etc/modules.autoload.d/kernel-2.6 >> >> You also have to run modules-update after you add your module to the >> file above. > > The 'modules-update' script does nothing that involves the file above. > Thanks for correcting me. Now I learned something. Blake |