Re: [S.u.S.E. Linux] Module insertion at boot
It just seems to choke on that second module. I have to install the two modules for my joystick to function. It choked on joy-sidewinder.o, so I removed it and left joystick.o, which has to come first anyway. Now at boot it initialises that module right before isapnp and my daemons begin, and everything's cool. The boot message for the joystick initialization is: js: Version 1.2.7 using 0.83 MHz counter timer and 1.19 MHz PIT timer. I still have to "insmod joy-sidewinder.o" before I can use the joystick though. Here is the output from insertion of the second module: js0: SideWinder GamePad 2-axis 10-button joystick at 0x201 Odd, I wonder why it chokes on that second module at boot. I'm halfway there at least. Thanks for your assistance, I tried your advice, but I had less success than with boot.local. In boot.local I set up my IP accounting too. Currently in boot.local I have two lines that initialize my Ip accounting followed by one line initializing the joystick. I'm so close, it'll come, it has to be something really rudimentary. C. J. Kenneth Tan wrote:
Michael,
You mean you can manually type in the commands after login and it will be fine? If that is true, I don't see why you can't do it the way I told you. The thing is, if you put it into /sbin/init.d/boot.local, the command will be executed before anything else in /sbin/init.d/rc*.d . So if there are anything that has to be set prior to inserting the module for the joystick, it will not work if you put the commands into /sbin/init.d/boot.local . Executing a command from a script is no different than executing from command line.
-- ==================================================================== Michael Lankton <A HREF="http://tasteslikechicken.ml.org"><A HREF="http://tasteslikechicken.ml.org</A">http://tasteslikechicken.ml.org</A</A>> ==================================================================== - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
On Sun, 5 Jul 1998, Michael Lankton wrote:
It just seems to choke on that second module. I have to install the two modules for my joystick to function. It choked on joy-sidewinder.o, so I removed it and left joystick.o, which has to come first anyway. Now at boot it initialises that module right before isapnp and my daemons begin, and everything's cool. The boot message for the joystick initialization is:
js: Version 1.2.7 using 0.83 MHz counter timer and 1.19 MHz PIT timer.
I still have to "insmod joy-sidewinder.o" before I can use the joystick though. Here is the output from insertion of the second module:
[snip] Check the sequence of commands in /etc/rc.d/boot. I had a similar problem with loading my sound module initially. I found that the boot script was executing boot.local and hence trying to mount the module before isapnp had detected and configured the card. I swapped the two entries around so that isapnp was executed before boot.local and everything works fine. Phil -- Philip Stokes <phil@stokes.demon.co.uk> - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
You da man!!! I read /sbin/init.d/boot, found where isapnp was being called, inserted both joystick modules immediately after that, rebooted, and in my boot messages my joystick gets initialized oh so very nicely right after isapnp. Fired up a quick game of Frogger to be sure, and it worked. Very nice having my joystick initialized at boot without having to think about it. I owe you one. Philip Stokes wrote:
Check the sequence of commands in /etc/rc.d/boot. I had a similar problem with loading my sound module initially. I found that the boot script was executing boot.local and hence trying to mount the module before isapnp had detected and configured the card. I swapped the two entries around so that isapnp was executed before boot.local and everything works fine.
-- ==================================================================== Michael Lankton <A HREF="http://tasteslikechicken.ml.org"><A HREF="http://tasteslikechicken.ml.org</A">http://tasteslikechicken.ml.org</A</A>> ==================================================================== - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
Just a thought - I notice that there is a file /etc/conf.modules with a bunch of aliases and options. I am not sure how exactly this file is used. Can modules be inserted thru this file at boot time as well as dynamically? My 2 cents. Arun Khan - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
I just inserted the two modules in /sbin/init.d/boot, I didn't have to alias anything in /etc/conf.modules. On Mon, 6 Jul 1998, Arun K. Khan wrote:
Just a thought - I notice that there is a file /etc/conf.modules with a bunch of aliases and options. I am not sure how exactly this file is used. Can modules be inserted thru this file at boot time as well as dynamically?
My 2 cents. Arun Khan - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
participants (4)
-
arunkhan@xnet.com
-
phil@stokes.demon.co.uk
-
satan3@home.com
-
satan@home.com