Re: [gentoo-user] order of module loading (udev)
On Mon, 27 Mar 2006 08:36:57 +0100 Neil Bothwick [EMAIL PROTECTED] wrote: On Mon, 27 Mar 2006 19:23:11 +1200, Nick Rout wrote: anyway, whatever you put in /etc/modules.autoload.d/kernel-2.6 will be loaded before coldplug loads anything. Ahhh excellent, thanks, i didn't know they started before coldplug, but it makes me happy to know that! Alternatively, you can use udev rules to specify the names. this has the advantage of working when you are unable to alter the module loading order, such as when some of them are compiled into the kernel. I don't want to change the name of the device, i want to stop the serial module from grabbing the serial port, rendering it unavailable to lirc_serial. But thanks! -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] order of module loading (udev)
On Mon, 27 Mar 2006 19:51:25 +1200, Nick Rout wrote: Alternatively, you can use udev rules to specify the names. this has the advantage of working when you are unable to alter the module loading order, such as when some of them are compiled into the kernel. I don't want to change the name of the device, i want to stop the serial module from grabbing the serial port, rendering it unavailable to lirc_serial. You don't need to change the name of the device, just set up a rule to change the device named by serial, leaving the one you want available for lirc_serial. I do something like this to stop eth1 being grabbed by net1394 if my wireless module doesn't load when it should, such as after a kernel re-compile (it is an external module). -- Neil Bothwick Real women don't have hot flashes, they have power surges. signature.asc Description: PGP signature
Re: [gentoo-user] order of module loading (udev)
On Mon, 27 Mar 2006 09:29:07 +0100 Neil Bothwick [EMAIL PROTECTED] wrote: On Mon, 27 Mar 2006 19:51:25 +1200, Nick Rout wrote: Alternatively, you can use udev rules to specify the names. this has the advantage of working when you are unable to alter the module loading order, such as when some of them are compiled into the kernel. I don't want to change the name of the device, i want to stop the serial module from grabbing the serial port, rendering it unavailable to lirc_serial. You don't need to change the name of the device, just set up a rule to change the device named by serial, leaving the one you want available for lirc_serial. I do something like this to stop eth1 being grabbed by net1394 if my wireless module doesn't load when it should, such as after a kernel re-compile (it is an external module). ahh I understand what you are driving at now, thanks. udev is indeed flexible. Theres some clever buggers programming stuff out there... -- gentoo-user@gentoo.org mailing list
[gentoo-user] order of module loading (udev)
udev system, kernel 2.6.24-something. serial is a module, as is lirc_serial. How do I change the order of module loading, so that lirc_serial is loaded first, and grabs the ttyS0 serial port? I suspect that coldplug or something is loading the serial module quite early in the boot procedure. Thanks. -- Nick Rout [EMAIL PROTECTED] -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] order of module loading (udev)
2.6.24 ? you might double check that... anyway, whatever you put in /etc/modules.autoload.d/kernel-2.6 will be loaded before coldplug loads anything. Nick Rout wrote: udev system, kernel 2.6.24-something. serial is a module, as is lirc_serial. How do I change the order of module loading, so that lirc_serial is loaded first, and grabs the ttyS0 serial port? I suspect that coldplug or something is loading the serial module quite early in the boot procedure. Thanks. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] order of module loading (udev)
On Sun, 26 Mar 2006 21:12:45 -0800 Chad Feller [EMAIL PROTECTED] wrote: 2.6.24 ? you might double check that... oops typing error - 2.6.14-gentoo-r5 :-) anyway, whatever you put in /etc/modules.autoload.d/kernel-2.6 will be loaded before coldplug loads anything. Ahhh excellent, thanks, i didn't know they started before coldplug, but it makes me happy to know that! Nick Rout wrote: udev system, kernel 2.6.24-something. serial is a module, as is lirc_serial. How do I change the order of module loading, so that lirc_serial is loaded first, and grabs the ttyS0 serial port? I suspect that coldplug or something is loading the serial module quite early in the boot procedure. Thanks. -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] order of module loading (udev)
On Mon, 27 Mar 2006 19:23:11 +1200, Nick Rout wrote: anyway, whatever you put in /etc/modules.autoload.d/kernel-2.6 will be loaded before coldplug loads anything. Ahhh excellent, thanks, i didn't know they started before coldplug, but it makes me happy to know that! Alternatively, you can use udev rules to specify the names. this has the advantage of working when you are unable to alter the module loading order, such as when some of them are compiled into the kernel. -- Neil Bothwick Hot glass looks exactly the same as cold glass. signature.asc Description: PGP signature