8e25 compile and install single kernel module - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Base System > Installing & Upgrading

Installing & Upgrading Installing and upgrading FreeBSD.

Reply
 
Thread Tools Display Modes
  #1  
Old October 17th, 2011, 15:12
ObZen ObZen is offline
Junior Member
 
Join Date: Oct 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default compile and install single kernel module

Hello!

I need compile the dummynet kernel module from sources with some options:

Code:
nooptions SCTP
nooptions FLOWTABLE
nooptions AUDIT
#nooptions MAC # commented because rename deadlock problem
nooptions UFS_ACL

options COMPAT_LINUX32
options QUOTA
options VIMAGE
#options DEVICE_POLLING
#options HZ=1000

device if_bridge
device epair

options LIBALIAS
options IPFIREWALL
options IPFIREWALL_DEFAULT_TO_ACCEPT
options IPFIREWALL_FORWARD
options IPFIREWALL_NAT
options IPDIVERT
But, I don't know how to write these options in dummynet sources. I don't have access to kernel sources, but I need to compile one module with these options.

Last edited by DutchDaemon; October 17th, 2011 at 15:23. Reason: proper formatting: http://forums.freebsd.org/showthread.php?t=8816
Reply With Quote
  #2  
Old October 17th, 2011, 15:30
SirDice's Avatar
SirDice SirDice is offline
Moderator
 
Join Date: Nov 2008
Location: Rotterdam, Netherlands
Posts: 13,694
Thanks: 47
Thanked 2,021 Times in 1,860 Posts
Default

You will need to have the kernel sources.

Handbook: Chapter 9 Configuring the FreeBSD Kernel
__________________
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
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
FTDI kernel modules for FreeBSD? Compiling a linux kernel module caesius Peripheral Hardware 11 February 5th, 2011 22:14
trying to install a zfs build with fixit but cant compile the kernel or c programs siggi Installing & Upgrading 0 July 31st, 2010 02:22
[Solved] FreeBSD kernel module(s) doesn't compile. zero Installing & Upgrading 6 March 27th, 2010 18:42
problem with my first kernel module,help alexzhengyi FreeBSD Development 3 April 24th, 2009 07:14
Is the cciss kernel module available in the installation kernel & other general Q's osx-addict Installing & Upgrading 2 March 2nd, 2009 18:14


All times are GMT +1. The time now is 05:34.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0