Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Jul 1998 07:57:30 +0200
From:      Andreas Klemm <andreas@klemm.gtn.com>
To:        hm@hcs.de
Cc:        current@FreeBSD.ORG
Subject:   Re: something new in current, that might create a leased line ?
Message-ID:  <19980729075730.A1480@klemm.gtn.com>
In-Reply-To: <m0z1OHb-0000f3C@hcswork.hcs.de>; from Hellmuth Michaelis on Wed, Jul 29, 1998 at 06:56:11AM %2B0200
References:  <19980728230947.A3455@klemm.gtn.com> <m0z1OHb-0000f3C@hcswork.hcs.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jul 29, 1998 at 06:56:11AM +0200, Hellmuth Michaelis wrote:
> >From the keyboard of Andreas Klemm:
> 
> > The name server requests doesn't stop, so the ISDN line stays up.
> > Look at the bad cksum lines ...
> > Current / make world from yesterday ...
> > 
> > 23:06:24.775498 pppak04.gtn.com.1048 > a.root-servers.net.domain: 23139 (45)
> > (ttl 64, id 2698)
> > 23:06:25.232311 248.17.235.100 > a.root-servers.net: (frag 17664:-27@1272)
> > [tos 0x3] (ttl 146, bad cksum 4000!, optlen=40[|ip])
> 
> You didn't switch on VJ compression (link0) by accident ?

No.

isppp0: flags=2851<UP,POINTOPOINT,RUNNING,SIMPLEX,LINK1> mtu 1500
        inet 194.231.123.169 --> 194.231.123.161 netmask

Btw, I got a reply from
	Stefan Schmidt <sts@mediaintegration.com>
indicating an "off-by-4 error in i4b_isppp.c around line 600.
I don't know which changes he made exactly, but he told me, that
after the change the errors went away.

And these are my kernel settings:
#
# ISDN kernel
#
machine		"i386"
cpu		"I686_CPU"
ident		ISDNSMP

# rse's recommendations for heavily users apache servers
maxusers	256
#options	SOMAXCONN="256"
#options	"NMBCLUSTER=4096"
#options	"CHILD_MAX=512"
#options	"OPEN_MAX=512"

# Options for the VM subsystem
#options	PQ_NOOPT		# No coloring
#options	PQ_LARGECACHE		# color for 512k/16k cache
options		PQ_HUGECACHE		# color for 1024k/16k cache

options         SMP                     # Symmetric MultiProcessor Kernel
options         APIC_IO                 # Symmetric (APIC) I/O

options         INCLUDE_CONFIG_FILE     # Include this file in kernel
#options	USERCONFIG		#boot -c editor
#options	VISUAL_USERCONFIG	#visual boot -c editor

options		DDB
options		KTRACE			#kernel tracing
options         SHOW_BUSYBUFS           # busy buffers on shutdown ?

options		INET			#InterNETworking
options		IPFIREWALL		#firewall
options		IPFIREWALL_VERBOSE	#print information about dropped packets
options		"IPFIREWALL_VERBOSE_LIMIT=500"	#limit verbosity
options		IPDIVERT		#divert sockets
#options	IPFILTER		#kernel ipfilter support
#options	IPFILTER_LOG		#ipfilter logging

options		"P1003_1B"
options		"_KPOSIX_PRIORITY_SCHEDULING"
options		"_KPOSIX_VERSION=199309L"

options		FFS			#Berkeley Fast Filesystem
#options	NFS			#Network File System
options		MFS			#Memory File System
#options	UNION			#Union filesystem
options		"CD9660"		#ISO 9660 filesystem
options		MSDOSFS			#MS DOS File System
options		PROCFS			#Process filesystem
options		NSWAPDEV=3		#Allow this many swap-devices.
#options	QUOTA			#enable disk quotas
options		SOFTUPDATES		#Kirk McKusick's code

# DEVFS and SLICE are experimental but work.
# SLICE disables too much old code so enabling it in LINT would be bad
#options	DEVFS			#devices filesystem
#options	SLICE			#devfs based disk handling

# misc options
options		"COMPAT_43"		#Compatible with BSD 4.3 [KEEP THIS!]
options		UCONSOLE		#Allow users to grab the console
options		SYSVSHM,SYSVSEM,SYSVMSG	#shared memory (X11)
options		COMPAT_LINUX		# Linux Binary compatibility
#options	USER_LDT		# for Wine
options		"MD5"
#options	"VM86"                  

config		kernel root on sd1

# ISA and PCI BUS support
controller	isa0
controller	pci0

# Floppy Disk Controller
controller	fdc0	at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
disk		fd0	at fdc0 drive 0

# SCSI Devices

# AHA 2940U
controller	ahc0
controller	scbus0	at ahc0
disk		sd0	at scbus0 target 0 unit 0
disk		sd3	at scbus0 target 1 unit 0
tape		st0	at scbus0 target 4
device		worm0	at scbus0 target 5
device		cd0	at scbus0 target 6

# AHA 2940
controller	ahc1
controller	scbus1 at ahc1
disk		sd1 at scbus1 target 1 unit 0
disk		sd2 at scbus1 target 2 unit 0
device		pt0 at scbus1 target 6 unit 0

options		SCSI_DELAY=15		# Be pessimistic about Joe SCSI device
options		"CD9660_ROOTDELAY=8"
options		AHC_TAGENABLE		# tagged command queueing
options		AHC_ALLOW_MEMIO
options		AHC_SCBPAGING_ENABLE
options		SCSI_REPORT_GEOMETRY

# SCO compatible system console
device		sc0	at isa? port "IO_KBD" tty irq 1 vector scintr
options	MAXCONS=4		# number of virtual consoles
options	SC_HISTORY_SIZE=200	# number of history buffer lines

# The pcvt console driver (vt220 compatible).
#device		vt0	at isa? port "IO_KBD" tty irq 1 vector pcrint
#options	XSERVER			# support for running an X server.
#options	FAT_CURSOR		# start with block cursor

# floating point unit
device		npx0	at isa? port "IO_NPX" flags 0x1 irq 13 vector npxintr

# serial devices on mainboard
# `flags' for serial drivers that support consoles (only for sio now):
#	0x10	enable console support for this unit.  The other console flags
#		are ignored unless this is set.  Enabling console support does
#		not make the unit the preferred console - boot with -h or set
#		the 0x20 flag for that.  Currently, at most one unit can have
#		console support; the first one (in config file order) with
#		this flag set is preferred.  Setting this flag for sio0 gives
#		the old behaviour.
#	0x20	force this unit to be the console (unless there is another
#		higher priority console).  This replaces the COMCONSOLE option.
#	0x40	reserve this unit for low level console operations.  Do not
#
device	sio0	at isa? port "IO_COM1" tty irq 4 flags 0x20 vector siointr
device	sio1	at isa? port "IO_COM2" tty irq 3 vector siointr
options		BREAK_TO_DEBUGGER	#a BREAK on a comconsole goes to DDB,
					#if available.
options		CONSPEED=38400		#default speed for serial console
					#(default 9600)

# parallel device on mainboard
device		lpt0	at isa? port? tty irq 7 vector lptintr

# PS/2 mouse on mainboard
device	psm0	at isa? port "IO_KBD" conflicts tty irq 12 vector psmintr
options		"PSM_ACCEL=1"	# PS/2 mouse acceleration

# Joystick
#device		joy0	at isa? port "IO_GAME"

# Network 3COM PCI
device vx0
#device ed0	at isa? port 0x280 net irq 10 iomem 0xd0000 vector edintr

# Soundblaster 16
# SoundBlaster DSP driver - for SB, SB Pro, SB16, PAS(emulating SB)
# SoundBlaster 16 DSP driver - for SB16 - requires sb0 device
# SoundBlaster 16 MIDI - for SB16 - requires sb0 device
# Yamaha OPL-2/OPL-3 FM - for SB, SB Pro, SB16, PAS
# controller	snd0
# device sb0      at isa? port 0x220 irq 5 conflicts drq 1 vector sbintr
# device sbxvi0   at isa? port? irq? drq 5 conflicts
# device sbmidi0  at isa? port 0x330 irq? conflicts
# device opl0     at isa? port 0x388 conflicts
# pcm: PCM audio through various sound cards.

# New Sound code
device pcm0 at isa? port ? tty irq 5 drq 1 flags 0x15 vector pcmintr

# Pseudo devices
pseudo-device	loop			#Network loopback device
pseudo-device	ether			#Generic Ethernet
pseudo-device	vn		1	#Vnode driver (turns a file into a dev.)
pseudo-device	snp		3	#Snoop device - to look at pty/vty/etc..
pseudo-device	disc			#Discard device
pseudo-device	bpfilter	4	#Berkeley packet filter
pseudo-device	pty		16	#Pseudo ttys - can go as high as 256
pseudo-device	gzip			# Exec gzipped a.out's
pseudo-device	ccd	4		#Concatenated disk driver
pseudo-device	tun	1		#Tunnel driver (user process ppp(8))
#pseudo-device	ppp	1		#Point-to-point protocol
#options PPP_BSDCOMP			#PPP BSD-compress support
#options PPP_DEFLATE			#PPP zlib/deflate/gzip support
#options PPP_FILTER			#enable bpf filtering (needs bpfilter)

# Size of the kernel message buffer.  Should be N * pagesize.
options		"MSGBUF_SIZE=40960"

## BISDN
#options	IPI_VJ		# Van Jacobsen header compression support
##options	"IPI_DIPA=3"	# send ip accounting packets every 3 seconds
#options	TELES_HAS_MEMCPYB	# bisdn 0.97
#
## Teles S0/16.3  ################################################### IRQ  9 ##
#controller	tel0 at isa? port 0xd80 net irq 9 vector telintr
#pseudo-device	disdn
#pseudo-device	isdn
#pseudo-device	ipi	4
#pseudo-device	ispy	4
#pseudo-device	itel	1

options	"I4B_SMP_WORKAROUND"

# i4b passive ISDN cards support (isic - I4b Siemens Isdn Chipset driver)

# Teles S0/16.3 
options "TEL_S0_16_3"
device isic0 at isa? port 0xd80 net irq 9 flags 0x04 vector isicintr 

# i4b passive cards D channel handling
# Q.921
pseudo-device   "i4bq921"
# Q.931
pseudo-device   "i4bq931"

# common passive and active layer 4
# layer 4
pseudo-device   "i4b"

# userland driver to do ISDN tracing (for passive cards oly)
pseudo-device   "i4btrc"        4
# userland driver to control the whole thing
pseudo-device   "i4bctl"
# userland driver for access to raw B channel
pseudo-device   "i4brbch"       4
# userland driver for telephony
pseudo-device   "i4btel"        2
# network driver for IP over raw HDLC ISDN
pseudo-device   "i4bipr"        4
# enable VJ header compression detection for ipr i/f
options         IPR_VJ
# network driver for sync PPP over ISDN
pseudo-device   "i4bisppp"      4
pseudo-device   sppp            4
-- 
Andreas Klemm                                http://www.FreeBSD.ORG/~andreas
     What gives you 90% more speed, for example, in kernel compilation ?
          http://www.FreeBSD.ORG/~fsmp/SMP/akgraph-a/graph1.html
             "NT = Not Today" (Maggie Biggs)      ``powered by FreeBSD SMP''

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980729075730.A1480>