Re: loading modules not in /boot/kernel from loader.conf
On 11/12/2007 2:54 AM, Aryeh M. Friedman wrote: You could make a softlink... Thats what raised the question I was doing ln -s /usr/local/modules/fuse.ko /boot/kernel/fuse.ko Remember that this is the loader which will be loading the module, so if /usr is a separate partition then this will not work as /usr doesn't get mounted until much, much later in the boot process... Alternatively, if you're using your own home-brew rc script, why not just add a kldload fuse into it? --Antony ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: loading modules not in /boot/kernel from loader.conf
Aryeh M. Friedman schrieb: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tino Engel wrote: Aryeh M. Friedman schrieb: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 You could make a softlink... Thats what raised the question I was doing ln -s /usr/local/modules/fuse.ko /boot/kernel/fuse.ko And it did not work? If it worked I had not of asked the question (installkernel nukes it) -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHXWLMzIOMjAek4JIRAqblAJ4jnHJJtl78j6ocNbDpgEEUo6BvGACdGgso COMPBBIMaDET8ce2rSyPvEU= =qiMh -END PGP SIGNATURE- So doing ln -s /usr/local/modules/fuse.ko /boot/modules/fuse.ko as proposed, should persist throughout kernel updates I assume. Rg, Tino ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: loading modules not in /boot/kernel from loader.conf
Tino Engel wrote: Aryeh M. Friedman schrieb: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 You could make a softlink... Thats what raised the question I was doing ln -s /usr/local/modules/fuse.ko /boot/kernel/fuse.ko And it did not work? Yeah, if you put a kernel module in /boot/kernel, installkernel will wipe it out when you install a new kernel. That's why there is /boot/modules for kernel modules. installkernel shouldn't touch that. Change to: ln -s /usr/local/modules/fuse.ko /boot/modules/fuse.ko or add this to /boot/loader.conf: module_path="/boot/modules:/usr/local/modules" fusefs_load="YES" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: loading modules not in /boot/kernel from loader.conf
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tino Engel wrote: > Aryeh M. Friedman schrieb: >> -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 >> >> >> >>> You could make a softlink... >>> >> >> Thats what raised the question I was doing ln -s >> /usr/local/modules/fuse.ko /boot/kernel/fuse.ko >> >> > And it did not work? > If it worked I had not of asked the question (installkernel nukes it) -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHXWLMzIOMjAek4JIRAqblAJ4jnHJJtl78j6ocNbDpgEEUo6BvGACdGgso COMPBBIMaDET8ce2rSyPvEU= =qiMh -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: loading modules not in /boot/kernel from loader.conf
Aryeh M. Friedman schrieb: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 You could make a softlink... Thats what raised the question I was doing ln -s /usr/local/modules/fuse.ko /boot/kernel/fuse.ko And it did not work? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: loading modules not in /boot/kernel from loader.conf
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > You could make a softlink... Thats what raised the question I was doing ln -s /usr/local/modules/fuse.ko /boot/kernel/fuse.ko -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHXWEnzIOMjAek4JIRAudyAKCMHwjBLmVkoBQ+1phqSjgxZs7oDACffqck Sqz6d33doxp89KzUcH6TsSY= =LcV4 -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: loading modules not in /boot/kernel from loader.conf
Aryeh M. Friedman schrieb: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The fusefs rc script will run kldload /usr/local/modules/fuse.ko. You don't need to add anything to loader.conf . Secondly, you should add kernel modules to the /boot/modules dir not /boot/kernel. Thanks but I use a handwritten /etc/rc that does not call any thing in /etc/rc.d so the question stands -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHXUzbzIOMjAek4JIRAm6VAJ4ysRZCw+3+cN6q6cPKa4ARdEleAwCglfGF 85cENq4/EyFrORvY2VVwNnk= =yo/4 -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" You could make a softlink... Rg, Tino ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: loading modules not in /boot/kernel from loader.conf
In the last episode (Dec 10), Aryeh M. Friedman said: > sysutils/fusefs-kmod installs to /usr/local/modules/fuse.ko and a > fuse_load="YES" will not work because of this. But, mv/cp/ln'ing it > to /boot/kernel gets nuked if you rebuild/install the kernel. How to > get around this? The loader also checks /boot/modules/ , so copy your stuff there. That's where the kqemu-kmod port puts kqemu.ko, for example. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: loading modules not in /boot/kernel from loader.conf
Aryeh M. Friedman wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 sysutils/fusefs-kmod installs to /usr/local/modules/fuse.ko and a fuse_load="YES" will not work because of this. But, mv/cp/ln'ing it to /boot/kernel gets nuked if you rebuild/install the kernel. How to get around this? -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHXUAtzIOMjAek4JIRApF1AJ4wbXjTQVt4wngiRObv7A2iTJFPQwCgnFiT V63lqeMKC4vWDHdykrcxXGo= =JB+k -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" The fusefs rc script will run kldload /usr/local/modules/fuse.ko. You don't need to add anything to loader.conf . Secondly, you should add kernel modules to the /boot/modules dir not /boot/kernel. -Rob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: loading modules not in /boot/kernel from loader.conf
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > The fusefs rc script will run kldload /usr/local/modules/fuse.ko. > You don't need to add anything to loader.conf . Secondly, you > should add kernel modules to the /boot/modules dir not > /boot/kernel. Thanks but I use a handwritten /etc/rc that does not call any thing in /etc/rc.d so the question stands -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHXUzbzIOMjAek4JIRAm6VAJ4ysRZCw+3+cN6q6cPKa4ARdEleAwCglfGF 85cENq4/EyFrORvY2VVwNnk= =yo/4 -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"