LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices



Reply
 
Search this Thread
Old 11-21-2003, 12:57 PM   #1
666Snake666
LQ Newbie
 
Registered: Sep 2003
Location: Amsterdam, The Netherlands
Distribution: Mandrake 9.1
Posts: 12

Rep: Reputation: 0
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
 
Old 11-22-2003, 10:56 AM   #2
J_Szucs
Senior Member
 
Registered: Nov 2001
Location: Budapest, Hungary
Distribution: SuSE 6.4-11.3, Dsl linux, FreeBSD 4.3-6.2, Mandrake 8.2, Redhat, UHU, Debian Etch
Posts: 1,126

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

Last edited by J_Szucs; 11-23-2003 at 04:37 PM.
 
Old 11-23-2003, 08:14 PM   #3
newpenguin
Member
 
Registered: Sep 2002
Location: lahore pakistan
Distribution: slackware,redhat, FreeBSD,openbsd
Posts: 219

Rep: Reputation: 30
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"

Last edited by newpenguin; 11-23-2003 at 08:15 PM.
 
Old 12-02-2003, 08:28 PM   #4
nullpt
Member
 
Registered: Jul 2003
Distribution: Red Hat
Posts: 94

Rep: Reputation: 15
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Loading Kernel Modules superdude_876 Linux - Software 1 10-29-2005 12:46 AM
Loading modules error after loading compiled kernel td0l2 Linux - Newbie 12 07-28-2004 12:10 PM
Loading Correct Kernel Modules rridler Linux - Newbie 4 04-15-2004 05:37 PM
Problems with loading modules in new kernel beejayzed Linux - Newbie 5 02-07-2004 04:29 PM
Modules not loading in New kernel palanisaravanan Linux - General 1 11-22-2003 07:31 AM


All times are GMT -5. The time now is 10:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration