Re: NFS - must insmod after every boot

2008-02-08 Thread hendrik
On Fri, Feb 08, 2008 at 08:57:04AM -0700, Jeffrey Barish wrote:
> Tilman Vogel wrote:
> 
> > That's a bit hard to believe because the kernel doesn't remember which
> > modules were loaded before shutdown and so it can't reload them on boot
> > up.
> 
> In that case, I must have made a change before that I forgot about.  It's
> too bad these modifications are obliterated by the installation of a new
> OS.
> 
> I think what I should do is put the insmod commands in a script that lives
> in user's home directory.  There is a better chance then that I will
> remember to back it up before I install OS2009.  I always had to mount my
> desktop system manually anyway, so having to run the script first is not
> that much worse.  In fact, I suppose that I could put the mount command in
> the same script, in which case the inconvenience factor will be exactly the
> same as it was before.

Debian has an /etc/modules file.  Does maemo?

-- hendrik
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: NFS - must insmod after every boot

2008-02-08 Thread Jeffrey Barish
Tilman Vogel wrote:

> That's a bit hard to believe because the kernel doesn't remember which
> modules were loaded before shutdown and so it can't reload them on boot
> up.

In that case, I must have made a change before that I forgot about.  It's
too bad these modifications are obliterated by the installation of a new
OS.

I think what I should do is put the insmod commands in a script that lives
in user's home directory.  There is a better chance then that I will
remember to back it up before I install OS2009.  I always had to mount my
desktop system manually anyway, so having to run the script first is not
that much worse.  In fact, I suppose that I could put the mount command in
the same script, in which case the inconvenience factor will be exactly the
same as it was before.
-- 
Jeffrey Barish

___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: NFS - must insmod after every boot

2008-02-08 Thread Tilman Vogel
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Frantisek Dufka schrieb:
> Tilman Vogel wrote:
>> No idea which magic did this for you on OS2007. Maybe some package
>> modifies the init files such as to load the modules?
> 
> Or kernel with NFS compiled in.

But then he wouldn't even have to do it once...

Tilman


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFHrCuM9ZPu6Yae8lkRAin8AJ9D8nJS2hZTsXma9XagQCqtkikinwCgnPXd
sCgrSA+lM49DtsahTdgdfQ0=
=jDpU
-END PGP SIGNATURE-
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: NFS - must insmod after every boot

2008-02-08 Thread Frantisek Dufka
Tilman Vogel wrote:
> No idea which magic did this for you on OS2007. Maybe some package
> modifies the init files such as to load the modules?

Or kernel with NFS compiled in.

___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: NFS - must insmod after every boot

2008-02-08 Thread Tilman Vogel
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Jeffrey Barish schrieb:
> I find that I have to execute the 3 insmod instructions every time I boot. 
> It was sufficient to run them only once before I upgraded to OS2008 (on an
> N800).  Is there an easy way to make the installation permanent so that I
> don't have to run these commands every time?  I suppose that I could put
> them in a script that runs whenever I boot, but I did not need to do that
> on OS2007.

That's a bit hard to believe because the kernel doesn't remember which
modules were loaded before shutdown and so it can't reload them on boot
up. In principle there is an autoloading facility for device drivers
using modprobe/depmod but I don't think it is used on the tablets and it
wouldn't help with NFS either.

So, I think the proper way to make the installation permanent is
actually to put the insmod lines into a script run at boot time (e.g. at
the end of /etc/init.d/rcS).

No idea which magic did this for you on OS2007. Maybe some package
modifies the init files such as to load the modules?

Tilman


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFHrCeS9ZPu6Yae8lkRAtQcAJ9I6bbFD9Vk5ng8XpOWvXFHbLH30gCfXZVm
4Gh+2+UUG/EFv01Jvk3azeU=
=5X5p
-END PGP SIGNATURE-
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


NFS - must insmod after every boot

2008-02-07 Thread Jeffrey Barish
I followed the directions in the wiki for installing NFS:

http://maemo.org/community/wiki/settingupnfs/

I find that I have to execute the 3 insmod instructions every time I boot. 
It was sufficient to run them only once before I upgraded to OS2008 (on an
N800).  Is there an easy way to make the installation permanent so that I
don't have to run these commands every time?  I suppose that I could put
them in a script that runs whenever I boot, but I did not need to do that
on OS2007.
-- 
Jeffrey Barish

___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users