Reply
Thread Tools
Posts: 18 | Thanked: 2 times | Joined on Dec 2007 @ Missoula, MT
#1
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.
 
Posts: 18 | Thanked: 2 times | Joined on Dec 2007 @ Missoula, MT
#2
bumpitybump
 

The Following User Says Thank You to jsgarvin For This Useful Post:
JeffElkins's Avatar
Posts: 273 | Thanked: 15 times | Joined on Oct 2007
#3
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
insmod /modulelocation/module2.ko
insmod /modulelocation/module3.ko
2. I compiled modprobe for my system and made a script that used it:

Code:
modprobe module1.ko
modprobe module2.ko
modprobe module3.ko
Either script is located in /etc/init.d. Once there, it's symlinked in /etc/rc2.d with a name like S20scriptname so it's started on boot.

Sorry, I don't recall the exact modules, I'm in post-update repository hell
__________________
My Mac Mini runs Kubuntu
 

The Following User Says Thank You to JeffElkins For This Useful Post:
linuxrebel's Avatar
Posts: 182 | Thanked: 46 times | Joined on Jan 2007 @ Silly-Con Valley
#4
modprobe.conf is where it needs to be setup. http://linux.die.net/man/5/modprobe.conf
 
penguinbait's Avatar
Posts: 3,096 | Thanked: 1,525 times | Joined on Jan 2006 @ Michigan, USA
#5
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
 

The Following User Says Thank You to penguinbait For This Useful Post:
Posts: 18 | Thanked: 2 times | Joined on Dec 2007 @ Missoula, MT
#6
@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.
 
Posts: 39 | Thanked: 22 times | Joined on Nov 2007 @ Vancouver, BC
#7
Originally Posted by jsgarvin View Post
... 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.
You weren't trying hard enough. You just have to fold the CDs a few times and you'll be able to fit them into mini slot. Sometimes, you may even need to cut the disk into bits and feed them to the slot one by one. Like those game installs on old 3 1/2" disks. Isn't it obvious?

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...
 
Reply


 
Forum Jump


All times are GMT. The time now is 19:29.