LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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, 11:57 AM   #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, 09: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 03:37 PM.
 
Old 11-23-2003, 07: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 07:15 PM.
 
Old 12-02-2003, 07: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



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-28-2005 11:46 PM
Loading modules error after loading compiled kernel td0l2 Linux - Newbie 12 07-28-2004 11:10 AM
Loading Correct Kernel Modules rridler Linux - Newbie 4 04-15-2004 04:37 PM
Problems with loading modules in new kernel beejayzed Linux - Newbie 5 02-07-2004 03:29 PM
Modules not loading in New kernel palanisaravanan Linux - General 1 11-22-2003 06:31 AM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

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

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
Open Source Consulting | Domain Registration