LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   *BSD (https://www.linuxquestions.org/questions/%2Absd-17/)
-   -   Loading kernel modules in freebsd (https://www.linuxquestions.org/questions/%2Absd-17/loading-kernel-modules-in-freebsd-118546/)

666Snake666 11-21-2003 11:57 AM

Loading kernel modules in freebsd
 
Hi,

How can I automatically load kernel modules (such as nvidia.ko) when it boots, and what was the command again to load kernel modules manually?

Thanks

J_Szucs 11-22-2003 09:56 AM

I am not a guru, though I think this might help you:
man loader

newpenguin 11-23-2003 07:14 PM

for loading kernel module manually

kldload modulename

for unloading
kldunload modulename

for viewing which modules are loaded and in use
kldstat

to load modules at boot time

edit /boot/defaults/loader.conf (may be i am forgetting but something like that)

and in front of module remove "no" and write "yes"

nullpt 12-02-2003 07:28 PM

If you install your drivers, you need to set the modules to be loaded at boot, this new nvidia drivers automaticly write the modules in /boot/loader.conf but, the agpcart module is not apended, so I would follow every step. When you make setup to install the drivers, the .ko will be kldload automaticly, so u can start your tests with the X server. It's really easy, you can look at the README of the Freebsd driver:
http://download.nvidia.com/freebsd/1.0-4365/README.txt


All times are GMT -5. The time now is 06:07 PM.