LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-18-2010, 01:39 AM   #1
linuxunix
Member
 
Registered: Mar 2010
Location: California
Distribution: Slackware
Posts: 235

Rep: Reputation: 18
How to check freeBSD loaded modules?


Hello All,

How can I know the loadable modules in freeBSD 8.1?
I tried running kldstat but it only shows me the kernel as the loaded module.
I have freeBSD VM running on ESX box and want to see e1000 version.
 
Old 11-18-2010, 11:20 AM   #2
coralfang
Member
 
Registered: Nov 2010
Location: Bristol, UK
Distribution: Slackware, FreeBSD
Posts: 503
Blog Entries: 3

Rep: Reputation: 165Reputation: 165
i think this will show all loadable modules in your kernel;
Code:
ls /boot/kernel | grep -v kernel
i don't have a freebsd installed right now so i cant be sure.
 
Old 11-18-2010, 12:42 PM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Moved: This thread is more suitable in <*BSD> and has been moved accordingly to help your thread/question get the exposure it deserves.
 
Old 11-19-2010, 04:12 PM   #4
Bertical
Member
 
Registered: Oct 2008
Distribution: Slackware
Posts: 82

Rep: Reputation: 12
You haven't got any modules loaded. Try running kldstat again after something like
Code:
kldload speaker
 
Old 01-26-2011, 04:57 PM   #5
wafflesausage
Member
 
Registered: Oct 2010
Distribution: FreeBSD(preferred), Fedora 15, WebOS, Mac OS, NetBSD, Ubuntu (if I have no other choice)
Posts: 46

Rep: Reputation: 1
Quote:
Originally Posted by linuxunix View Post
Hello All,

How can I know the loadable modules in freeBSD 8.1?
I tried running kldstat but it only shows me the kernel as the loaded module.
I have freeBSD VM running on ESX box and want to see e1000 version.
To check for loaded modules, run kldstat. If you don't see anything, I don't believe that you have any modules loaded. To load a module, you'd type kldload name_of_module or kldload /path/to/module.ko
Most kernel modules can be found in /boot/kernel, and kldload checks here by default, so you don't have to specify the full name and path of the module. Also, to unload modules, you'd use kldunload, which follows the same syntax and usage as kldload. Hope that helps!
 
  


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
check for loaded modules cccc Debian 2 09-25-2010 08:19 PM
How do I check sequence of and re-arrange modules loaded at startup? SP7 Linux - Software 5 05-24-2008 02:41 AM
Dynamically loaded modules and statically loaded modules in linux gauthamk Linux - Software 1 05-18-2008 05:28 PM
loaded modules? lilili Slackware 5 07-20-2007 07:29 AM
Too Many Modules Loaded XSIWILL SUSE / openSUSE 2 02-24-2006 11:13 PM

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

All times are GMT -5. The time now is 07:07 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration