New Kernel under 5.0
Michael Reifenberger
root at reifenberger.com
Mon Apr 21 16:55:36 PDT 2003
On Sat, 19 Apr 2003, Michael Koerner wrote:
> Date: Sat, 19 Apr 2003 11:37:11 +0200
> From: Michael Koerner <Michael at Koerner.De>
> To: freebsd-isdn <freebsd-isdn at freebsd.org>
> Subject: Re: New Kernel under 5.0
>
>
> Michael Reifenberger wrote:
> > On Fri, 18 Apr 2003, Michael Koerner wrote:
> >
> >>
> >>Hi,
> >>
> >>whenever I try to build a Kernel with i4B support and also include the
> >>
> >>device "i4bing" 2
> >>
> >
> > This is the expected result if adding "i4bing" without the 'NETGRAPH*' options family.
> > So nothing is broken.
>
> If things are not documented they ARE broken!
>
Its even documented.
i4bing(4) -> netgraph(4), section INITIALIZATION.
> Which gets me ranting about the way the 5.0 Kernel stuff has changed. There used to be a LINT file which documented all possible options. Very handy. You went through it and added what you needed. Officially now there's the NOTES files which should do the same thing. But it simply misses ca 70% of the things which used to be in the LINT file. E.g. Appletalk support for the Kernel is something which the NOTES file don't mention.
>
> So from where the ... shall I know know what to add for specific features. Is it only me who has a problem here or am I stupidly overseeing a obvious piece of documentation all others know about?
Read the source and the appropriate mailinglists.
find and grep is your friend, too.
>
> Well obviously I'm ranting in the wrong newsgroup. But can some enlightened soul plese let me know what the options are, I need to include to get ALL things in i4B compiled ?
>
4.x configfile is attached.
Bye!
----
Michael Reifenberger
^.*Plaut.*$, IT, R/3 Basis, GPS
-------------- next part --------------
#
# GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks
#
# For more information read the handbook part System Administration ->
# Configuring the FreeBSD Kernel -> The Configuration File.
# The handbook is available in /usr/share/doc/handbook or online as
# latest version from the FreeBSD World Wide Web server
# <URL:http://www.FreeBSD.ORG/>
#
# An exhaustive list of options and more detailed explanations of the
# device lines is present in the ./LINT configuration file. If you are
# in doubt as to the purpose or necessity of a line, check first in LINT.
#
# $Id: GENERIC,v 1.132 1998/11/26 23:13:11 n_hibma Exp $
machine i386
cpu I586_CPU
cpu I686_CPU
ident mike
maxusers 128
options PQ_CACHESIZE=512
#options PQ_LARGECACHE # color for 512k/16k cache
makeoptions DEBUG="-g"
options INET #InterNETworking
options FFS #Berkeley Fast Filesystem
options FFS_ROOT #FFS usable as root device [keep this!]
options MFS #Memory Filesystem
options MFS_ROOT #MFS usable as root device, "MFS" req'ed
options NFS #Network Filesystem
options NFS_ROOT #NFS usable as root device, "NFS" req'ed
options MSDOSFS #MSDOS Filesystem
#options MSDOSFS_ROOT #CD-ROM usable as root. "CD9660" req'ed
options CD9660 #ISO 9660 Filesystem
options CD9660_ROOT #CD-ROM usable as root. "CD9660" req'ed
options PROCFS #Process filesystem
options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!]
#options SCSI_DELAY=2000 #Be pessimistic about Joe SCSI device
options UCONSOLE #Allow users to grab the console
#options FAILSAFE #Be conservative
options USERCONFIG #boot -c editor
options VISUAL_USERCONFIG #visual boot -c editor
#options DDB
#options DDB_UNATTENDED
options KTRACE
options SOFTUPDATES
options P1003_1B
options _KPOSIX_PRIORITY_SCHEDULING
options _KPOSIX_VERSION=199309L
#options PPS_SYNC
#options COMPAT_LINUX_THREADS
#options INVARIANTS
#options INVARIANT_SUPPORT
#options AHC_ALLOW_MEMIO
#options MAXDSIZ="(512*1024*1024)"
#options DFLDSIZ="(512*1024*1024)"
#options VINUMDEBUG
#options MSGBUF_SIZE=16384
options IPSEC
options IPSEC_ESP
options PNPBIOS
options CLK_USE_TSC_CALIBRATION
options CLK_USE_I8254_CALIBRATION
#config kernel root on da0
device isa0
device pci0
device fdc0 at isa? port IO_FD1 irq 6 drq 2
device fd0 at fdc0 drive 0
device fd1 at fdc0 drive 1
device ata0
device atadisk0
device atapicd0
device atapist0
device ata1 at isa? port IO_WD1 irq 14
device ata2 at isa? port IO_WD1 irq 15
#device wdc0 at isa? port IO_WD1 irq 14 flags 0xb0ffb0ff
#device wd0 at wdc0 drive 0
# A single entry for any of these devices (ncr, ahb, ahc) is
# sufficient for any number of installed devices.
#device ncr0
#device ahb0
device ahc0
#device isp0
device scbus0
device da0
device sa0
device pass0
device cd0 #Only need one of these, the code dynamically grows
#device pt0 at scbus? # SCSI processor type
device atkbdc0 at isa? port IO_KBD
device atkbd0 at atkbdc? irq 1
device psm0 at atkbdc? irq 12
device vga0 at isa? port ?
options VESA
#pseudo-device splash
device sc0 at isa?
device npx0 at nexus? port IO_NPX irq 13
#
# Laptop support (see LINT for more options)
#
#device apm0 at nexus? # Advanced Power Management
device sio0 at isa? port IO_COM1 flags 0x10 irq 4
device sio1 at isa? port IO_COM2 irq 3
#device sio2 at isa? disable port "IO_COM3" irq 11
#device sio3 at isa? disable port "IO_COM4" irq 9
device ppbus0
device ppc0 at isa? port? flags 0x40 irq 7
device lpt0 at ppbus?
device ppi0 at ppbus?
#device pps0 at ppbus?
# Order is important here due to intrusive probes, do *not* alphabetize
# this list of network interfaces until the probes have been fixed.
# Right now it appears that the ie0 must be probed before ep0. See
# revision 1.20 of this file.
#device dc0
device fxp0
#device tl0
#device tx0
#device vx0
#device xl0
#device ed0 at isa? port 0x280 irq 10 iomem 0xd8000
#device ep0 at isa? port 0x300 irq 10
#device ep0
device miibus0
#options IPFIREWALL
#options IPFIREWALL_FORWARD
#options IPFIREWALL_VERBOSE
#options IPFIREWALL_VERBOSE_LIMIT=100
#options IPDIVERT
options IPFILTER
options IPFILTER_LOG
options IPSTEALTH
options NETGRAPH
options NETGRAPH_PPPOE
options NETGRAPH_ETHER
options NETGRAPH_SOCKET
options NETGRAPH_BPF
pseudo-device loop
pseudo-device ether
pseudo-device sppp 4
pseudo-device tun 4
pseudo-device pty 16
pseudo-device gzip # Exec gzipped a.out's
pseudo-device vn
pseudo-device snp 3
device sbc0
device pcm0
#device pca0 at isa? port IO_TIMER1
# KTRACE enables the system-call tracing facility ktrace(2).
# This adds 4 KB bloat to your kernel, and slightly increases
# the costs of each syscall.
options KTRACE #kernel tracing
# This provides support for System V shared memory.
#
options SYSVSHM
#options SHMMAXPGS=102400 #400M
#options SHMMAXPGS=262144 #1G
#options SHMMNI=100
#options SHMSEG=10
#options SEMMNS=200
#options SEMMNI=70
#new
options SYSVSEM
options SYSVMSG
# The `bpfilter' pseudo-device enables the Berkeley Packet Filter. Be
# aware of the legal and administrative consequences of enabling this
# option. The number of devices determines the maximum number of
# simultaneous BPF clients programs runnable.
pseudo-device bpf 4 #Berkeley packet filter
# USB support
#device uhci0
#device ohci0
#device usb0
#
# for the moment we have to specify the priorities of the device
# drivers explicitly by the ordering in the list below. This will
# be changed in the future.
#
#device umass0
#device ums0
#device ukbd0
#device ulpt0
#device uhid0
#device ugen0
#
#options USB_DEBUG
#options USBVERBOSE
device ifpi
#device isic
#options ELSA_QS1PCI
# ISDN Protocol Stack
# -------------------
#
# Q.921 / layer 2 - i4b passive cards D channel handling
pseudo-device "i4bq921"
#
# Q.931 / layer 3 - i4b passive cards D channel handling
pseudo-device "i4bq931"
#
# layer 4 - i4b common passive and active card handling
pseudo-device "i4b"
#
# ISDN devices
# ------------
#
# userland driver to do ISDN tracing (for passive cards only)
pseudo-device "i4btrc" 2
#
# userland driver to control the whole thing
pseudo-device "i4bctl"
#
# userland driver for access to raw B channel
pseudo-device "i4brbch" 2
#
# userland driver for telephony
pseudo-device "i4btel" 2
#
# network driver for IP over raw HDLC ISDN
pseudo-device "i4bipr" 2
# enable VJ header compression detection for ipr i/f
options IPR_VJ
#
# network driver for sync PPP over ISDN
pseudo-device "i4bisppp" 2
#Netgraph
pseudo-device "i4bing" 2
More information about the freebsd-isdn
mailing list