![]() |
automatically loading kernel modules
I've followed the instructions on this page for setting up NFS and have it working great. However, if I need to restart the tablet, I need to reload the kernel modules again before I can remount the nfs. This is stepping a little outside my linux comfort zone, and none of the instructions I've found for other distros seem to work here. Can anybody point me to some instructions for autoloading kernel modules in maemo? Thanks.
|
Re: automatically loading kernel modules
bumpitybump
|
Re: automatically loading kernel modules
This is a bit geeky, but I've done two things to accomplish this:
1. I created a script that loaded the modules on boot: Code:
insmod /modulelocation/module1.ko Code:
modprobe module1.ko Sorry, I don't recall the exact modules, I'm in post-update repository hell :) |
Re: automatically loading kernel modules
modprobe.conf is where it needs to be setup. http://linux.die.net/man/5/modprobe.conf
|
Re: automatically loading kernel modules
You can use my cdrom.deb file to load kernel modules
2008OS cdrom.deb will give you 5 modules See here! http://www.internettablettalk.com/fo...ighlight=cdrom Ues the cdrom.deb file http://www.internettablettalk.com/fo...3&d=1197230972 cdrom.deb will give you /etc/init.d/cdrom.sh (Edit this file) Just add the lines for your modules and you can comment out the cdrom kernel modules if you like. All this does is load 5 kernel modules on boot. As a bonus you would have CDROM/DVD support also ;) |
Re: automatically loading kernel modules
@jeff - Thanks. the script in /etc/rc2.d worked perfectly for me.
@linuxrebel - Thanks but I already tried that and it didn't work for me. Probably because despite some serious searching I couldn't find one example of what the modprobe.conf file is supposed to look like. IMO, the manpage seems to assume that I already know a lot about modprobe, which is kinda ******ed. No fault of yours though, and thanks for the suggestion. @penguinbait - Thanks to you too, but that sounds like overkill. ;) A four line sh script (including the shebang) was plenty to get the job done. But since you brought it up, if I were to install your file, where do I insert DVD's into this thing?? I've looked all over it and can't get a CD/DVD tray to slide out anywhere. There must be a button I'm overlooking. ;) |
Re: automatically loading kernel modules
Quote:
I have an old sony usb external cdwriter/dvdplayer that's portable and it'd be neat to be able to hook it up to the n810 for backups. Also would be neat to just be able to have something like that for backups while on the road. I suppose ultraportable notebooks have reduced the need for stuff like that now... |
All times are GMT. The time now is 11:05. |
vBulletin® Version 3.8.8