DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD Installation and Upgrading

FreeBSD Installation and Upgrading Installing and upgrading FreeBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 20th April 2009
bram85 bram85 is offline
Real Name: Bram Schoenmakers
New User
 
Join Date: May 2008
Location: Eindhoven
Posts: 8
Thanked 0 Times in 0 Posts
Default Installing a kernel module afterwards

A little while ago I installed a custom kernel on a machine which in production by now. However, I realize I need the netgraph module, but the module has not been built.

Is there a way to build this module and just put it in the filesystem without replacing the kernel (+ the necessary reboot)?

As far as I can see, I should specify the MODULES_OVERRIDE variable in /etc/make.conf:

Code:
MODULES_OVERRIDE=netgraph
and build the kernel. However, what to do with the resulting module? Should I call 'make installkernel' nevertheless or can I just copy the module into /boot/modules and load it?
Reply With Quote
  #2   (View Single Post)  
Old 20th April 2009
robbak's Avatar
robbak robbak is offline
Real Name: Robert Backhaus
VPN Cryptographer
 
Join Date: May 2008
Location: North Queensland, Australia
Posts: 366
Thanked 40 Times in 39 Posts
Default

Unless you specifically disabled building the netgraph module, it will have been built. You can load it with 'kldload netgraph'. If you did specifially disable it, it is easy to build, (cd /usr/src/I'm not sure where/netgraph; make clean install clean)?
That said, everything I know about that needs netgraph loads it itself if it does not find it there already. Any guide that instructs you that you need to build netgraph into the kernel is very out of date - I think it's been this way for some - 5 years?
__________________
The only dumb question is a question not asked.
The only dumb answer is an answer not given.
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
perl module install issues drievisjen OpenBSD Installation and Upgrading 2 3rd September 2009 10:55 PM
Python/GTK/Cairo Problems (ImportError: No module named cairo) whetphish FreeBSD General 2 24th June 2009 11:06 PM
pam_chauthtok(): error in service module KenJackson FreeBSD Installation and Upgrading 1 26th October 2008 11:24 PM
installing X11 hirohitosan FreeBSD Installation and Upgrading 3 25th June 2008 09:37 AM
acessing the root filesystem kernel module! rayden FreeBSD General 1 11th June 2008 06:48 PM


All times are GMT. The time now is 08:33 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick