Subject: Re: IPF and ALTQ with 1.6_STABLE
To: None <tech-kern@netbsd.org>
From: Matthew Mondor <mmondor@gobot.ca>
List: tech-kern
Date: 12/20/2002 18:16:26
--IJpNTDwzlM2Ie8A6
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Sorry the attachments did not make it in the last message;

Here they are

--IJpNTDwzlM2Ie8A6
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="GOBOT.txt"


include 	"arch/i386/conf/std.i386"

maxusers	32		# estimated number of users

options 	I586_CPU

options 	VM86		# virtual 8086 emulation
options 	USER_LDT	# user-settable LDT; used by WINE

options 	MTRR		# memory-type range register syscall support
options 	PERFCTRS	# performance-monitoring counters support

options 	UCONSOLE	# users can use TIOCCONS (for xconsole)
options 	INSECURE	# disable kernel security levels

options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
options 	NTP		# NTP phase/frequency locked loop

options 	KTRACE		# system call tracing via ktrace(1)

options 	SYSVMSG		# System V-like message queues
options 	SYSVSEM		# System V-like semaphores
options 	SYSVSHM		# System V-like memory sharing

options 	COMPAT_LINUX	# binary compatibility with Linux

file-system 	FFS		# UFS
file-system 	EXT2FS		# second extended file system (linux)
file-system 	MFS		# memory file system
file-system 	NFS		# Network File System client
file-system 	CD9660		# ISO 9660 + Rock Ridge file system
file-system 	MSDOSFS		# MS-DOS file system
file-system 	FDESC		# /dev/fd

options 	QUOTA		# UFS quotas
options 	SOFTDEP		# FFS soft updates support.
				# immutable) behave as system flags.

options 	INET		# IP + ICMP + TCP + UDP
options 	IPSEC		# IP security
options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
options 	PPP_DEFLATE	# Deflate compression support for PPP
options 	IPFILTER_LOG	# ipmon(8) log support

options 	WSEMUL_VT100		# VT100 / VT220 emulation
options 	WS_KERNEL_FG=WSCOL_GREEN
options 	WSDISPLAY_COMPAT_PCVT		# emulate some ioctls
options 	WSDISPLAY_COMPAT_SYSCONS	# emulate some ioctls
options 	WSDISPLAY_COMPAT_USL		# VT handling
options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
options 	PCDISPLAY_SOFTCURSOR

config		netbsd	root on ? type ?

mainbus0 at root

pci*	at mainbus? bus ?

pchb*	at pci? dev ? function ?	# PCI-Host bridges
pcib*	at pci? dev ? function ?	# PCI-ISA bridges

isa0	at pcib?

isapnp0	at isa?

npx0	at isa? port 0xf0 irq 13	# x86 math coprocessor

pckbc0		at isa?			# pc keyboard controller
pckbd*		at pckbc?		# PC keyboard
pms*		at pckbc?		# PS/2 mouse for wsmouse
vga*		at pci? dev ? function ?
wsdisplay*	at vga? console ?
wskbd* 		at pckbd? console ?
wsmouse*	at pms? mux 0

pcppi0		at isa?
sysbeep0	at pcppi?

com0	at isa? port 0x3f8 irq 4	# Standard PC serial ports

lpt0	at isa? port 0x378 irq 7	# standard PC parallel ports

wdc0	at isa? port 0x1f0 irq 14 flags 0x00
wdc1	at isa? port 0x170 irq 15 flags 0x00

wd*	at wdc? channel ? drive ? flags 0x0000

atapibus* at wdc? channel ?

cd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives

fdc0	at isa? port 0x3f0 irq 6 drq 2	# standard PC floppy controllers
fd*	at fdc? drive ?			# the drives themselves

ne*	at pci? dev ? function ?	# NE2000-compatible Ethernet

sb*	at isapnp?			# SoundBlaster-compatible audio

opl*	at sb?

audio*	at sb?

midi*	at sb?			# SB1 MIDI port

include	"arch/i386/conf/GENERIC.local"

pseudo-device	md		1	# memory disk device (ramdisk)
pseudo-device	vnd		4	# disk-like interface to files

pseudo-device	bpfilter	8	# Berkeley packet filter
pseudo-device	ipfilter		# IP filter (firewall) and NAT
pseudo-device	ppp		2	# Point-to-Point Protocol
pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
pseudo-device	tun		2	# network tunneling over tty
pseudo-device	bridge			# simple inter-network bridging

pseudo-device	pty			# pseudo-terminals
pseudo-device	sequencer	1	# MIDI sequencer
pseudo-device	rnd			# /dev/random and in-kernel generator
pseudo-device	clockctl		# user control of clock subsystem

pseudo-device	wsmux			# mouse & keyboard multiplexor
pseudo-device	wsfont


--IJpNTDwzlM2Ie8A6
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="dmesg.txt"

NetBSD 1.6_STABLE (GOBOT) #0: Fri Dec 20 16:29:07 EST 2002
    root@gobot.xisop:/home/data/src/sys/arch/i386/compile/GOBOT
cpu0: Cyrix MMX-enhanced MediaGX (GXm) (586-class), 233.87 MHz
cpu0: features 808131<FPU,TSC,MSR,CX8>
cpu0: features 808131<CMOV,MMX>
total memory = 127 MB
avail memory = 116 MB
using 1659 buffers containing 6636 KB of memory
BIOS32 rev. 0 found at 0xfb510
mainbus0 (root)
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0
pchb0: vendor 0x1078 product 0x0001 (rev. 0x00)
ne0 at pci0 dev 7 function 0: RealTek 8029 Ethernet
ne0: Ethernet address 00:e0:29:4f:36:b9
ne0: 10base2, 10baseT, 10baseT-FDX, auto, default [0x00 0x30] auto
ne0: interrupting at irq 10
vga0 at pci0 dev 8 function 0: vendor 0x1002 product 0x4750 (rev. 0x5c)
wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
pcib0 at pci0 dev 18 function 0
pcib0: vendor 0x1078 product 0x0002 (rev. 0x00)
isa0 at pcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
wdc0 at isa0 port 0x1f0-0x1f7 irq 14
wd0 at wdc0 channel 0 drive 0: <FUJITSU MPD3043AT>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 4125 MB, 8940 cyl, 15 head, 63 sec, 512 bytes/sect x 8448300 sectors
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4 (Ultra/66)
wdc1 at isa0 port 0x170-0x177 irq 15
atapibus0 at wdc1 channel 0: 2 targets
cd0 at atapibus0 drive 0: <ATAPI CD ROM DRIVE   50X MAX, UM1102  Firmware, VER 50F> type 5 cdrom removable
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
lpt0 at isa0 port 0x378-0x37b irq 7
pcppi0 at isa0 port 0x61
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
npx0 at isa0 port 0xf0-0xff: using exception 16
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
isapnp0: read port 0x203
isapnp0: <CMI8330. Audio Adapter, @@@0001, , > port 0x530/8,0x388/8 irq 11 drq 0 not configured
isapnp0: <CMI8330. Audio Adapter, @H@0001, , > port 0x330/2 irq 9 not configured
isapnp0: <CMI8330. Audio Adapter, @P@0001, , > port 0x200/8 not configured
sb0 at isapnp0 port 0x220/16 irq 5 drq 1,5
sb0: CMI8330. Audio Adapter : dsp v4.13
audio0 at sb0: full duplex, mmap, independent
opl0 at sb0: model OPL3
midi at opl0 not configured
biomask eb4d netmask ef4d ttymask ffcf
IPsec: Initialized Security Association Processing.
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)
wsdisplay0: screen 5 added (80x25, vt100 emulation)
wsdisplay0: screen 6 added (80x25, vt100 emulation)
wsdisplay0: screen 7 added (80x25, vt100 emulation)

--IJpNTDwzlM2Ie8A6
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="ifconfig.txt"

ne0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	address: 00:e0:29:4f:36:b9
	media: Ethernet autoselect (10baseT)
lo0: flags=8009<UP,LOOPBACK,MULTICAST> mtu 33220
	inet 127.0.0.1 netmask 0xff000000
ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
ppp1: flags=8010<POINTOPOINT,MULTICAST> mtu 1500

--IJpNTDwzlM2Ie8A6
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="kdump.txt"

   322 ktrace   EMUL  "netbsd"
   322 ktrace   CALL  execve(0xbfbfd5a8,0xbfbfda7c,0xbfbfda88)
   322 ktrace   NAMI  "/bin/ipf"
   322 ktrace   RET   execve -1 errno 2 No such file or directory
   322 ktrace   CALL  execve(0xbfbfd5a8,0xbfbfda7c,0xbfbfda88)
   322 ktrace   NAMI  "/sbin/ipf"
   322 ipf      EMUL  "netbsd"
   322 ipf      RET   execve JUSTRETURN
   322 ipf      CALL  open(0x8078cba,0x2,0)
   322 ipf      NAMI  "/dev/ipl"
   322 ipf      RET   open 3
   322 ipf      CALL  ioctl(0x3,_IOW('r',0x49,0x4),0xbfbfd9f0)
   322 ipf      RET   ioctl -1 errno 19 Operation not supported by device
   322 ipf      CALL  issetugid
   322 ipf      RET   issetugid 0
   322 ipf      CALL  issetugid
   322 ipf      RET   issetugid 0
   322 ipf      CALL  open(0x807d735,0,0x1b6)
   322 ipf      NAMI  "/usr/share/nls/nls.alias"
   322 ipf      RET   open 4
   322 ipf      CALL  __fstat13(0x4,0xbfbfc7f8)
   322 ipf      RET   __fstat13 0
   322 ipf      CALL  __sysctl(0xbfbfc780,0x2,0xbfbfc778,0xbfbfc77c,0,0)
   322 ipf      RET   __sysctl 0
   322 ipf      CALL  readlink(0x807eb00,0xbfbfc7d8,0x3f)
   322 ipf      NAMI  "/etc/malloc.conf"
   322 ipf      RET   readlink -1 errno 2 No such file or directory
   322 ipf      CALL  mmap(0,0x1000,0x3,0x1002,0xffffffff,0,0,0)
   322 ipf      RET   mmap 1208483840/0x48080000
   322 ipf      CALL  break(0x808a3dc)
   322 ipf      RET   break 0
   322 ipf      CALL  break(0x808b3dc)
   322 ipf      RET   break 0
   322 ipf      CALL  break(0x808c000)
   322 ipf      RET   break 0
   322 ipf      CALL  break(0x808e000)
   322 ipf      RET   break 0
   322 ipf      CALL  read(0x4,0x808c000,0x2000)
   322 ipf      GIO   fd 4 read 1462 bytes
       "# $NetBSD: nls.alias,v 1.1 2002/02/13 07:54:23 yamt Exp $
	#
	# This file defines aliase names of nls catalogs.
	# Syntax is similar to X11's locale.alias.
	# (The first word is an alias name and the second
	# one is nls catalog name.)
	
	cs_CZ.ISO8859-2	cs
	#da_DK.ISO8859-1	da
	#da_DK.ISO8859-15	da
	de_AT.ISO8859-1	de
	de_AT.ISO8859-15	de
	de_CH.ISO8859-1	de
	de_CH.ISO8859-15	de
	de_DE.ISO8859-1	de
	de_DE.ISO8859-15	de
	#en_AU.ISO8859-1	en
	#en_AU.ISO8859-15	en
	#en_CA.ISO8859-1	en
	#en_CA.ISO8859-15	en
	#en_GB.ISO8859-1	en
	#en_GB.ISO8859-15	en
	#en_US.ISO8859-1	en
	#en_US.ISO8859-15	en
	#en_US.UTF-8	en
	es_ES.ISO8859-1	es
	es_ES.ISO8859-15	es
	fi_FI.ISO8859-1	fi
	fi_FI.ISO8859-15	fi
	fr_BE.ISO8859-1	fr
	fr_BE.ISO8859-15	fr
	fr_CA.ISO8859-1	fr
	fr_CA.ISO8859-15	fr
	fr_CH.ISO8859-1	fr
	fr_CH.ISO8859-15	fr
	fr_FR.ISO8859-1	fr
	fr_FR.ISO8859-15	fr
	#hr_HR.ISO8859-2	hr
	#hu_HU.ISO8859-2	hu
	#is_IS.ISO8859-1	is
	#is_IS.ISO8859-15	is
	#it_CH.ISO8859-1	it
	#it_CH.ISO8859-15	it
	#it_IT.ISO8859-1	it
	#it_IT.ISO8859-15	it
	#ja_JP.ISO2022-JP	ja
	#ja_JP.ISO2022-JP2	ja
	#ja_JP.SJIS	ja
	#ja_JP.ct	ja
	#ja_JP.eucJP	ja
	#ko_KR.eucKR	ko
	#lt_LT.ISO8859-4	lt
	nl_BE.ISO8859-1	nl
	nl_BE.ISO8859-15	nl
	nl_NL.ISO8859-1	nl
	nl_NL.ISO8859-15	nl
	no_NO.ISO8859-1	no
	no_NO.ISO8859-15	no
	pl_PL.ISO8859-2	pl
	#pt_PT.ISO8859-1	pt
	#pt_PT.ISO8859-15	pt
	#ru_RU.CP866	ru
	#ru_RU.ISO8859-5	ru
	#ru_RU.KOI8-R	ru
	#sl_SI.ISO8859-2	sl
	sv_SE.ISO8859-1	sv
	sv_SE.ISO8859-15	sv
	#uk_UA.KOI8-U	uk
	#zh_CN.eucCN	zh
	#zh_TW.Big5	zh
	#zh_TW.eucTW	zh
       "
   322 ipf      RET   read 1462/0x5b6
   322 ipf      CALL  read(0x4,0x808c000,0x2000)
   322 ipf      RET   read 0
   322 ipf      CALL  close(0x4)
   322 ipf      RET   close 0
   322 ipf      CALL  open(0xbfbfcd54,0,0xbfbfc8d8)
   322 ipf      NAMI  "/usr/share/nls/C/libc.cat"
   322 ipf      RET   open 4
   322 ipf      CALL  __fstat13(0x4,0xbfbfc8c8)
   322 ipf      RET   __fstat13 0
   322 ipf      RET   mmap 1208487936/0x48081000
   322 ipf      CALL  close(0x4)
   322 ipf      RET   close 0
   322 ipf      CALL  munmap(0x48081000,0xf57)
   322 ipf      RET   munmap 0
   322 ipf      CALL  write(0x2,0xbfbfc928,0x2d)
   322 ipf      GIO   fd 2 wrote 45 bytes
       "SIOCFRSYN: Operation not supported by device
       "
   322 ipf      RET   write 45/0x2d
   322 ipf      CALL  close(0x3)
   322 ipf      RET   close 0
   322 ipf      CALL  exit(0)

--IJpNTDwzlM2Ie8A6
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="ls-dev.txt"

crw-------  1 root  wheel  44, 3 Dec 20 16:44 /dev/ipauth
crw-------  1 root  wheel  44, 0 Dec 20 16:44 /dev/ipl
lrwxr-xr-x  1 root  wheel      3 Jan 22  2002 /dev/ipl0 -> ipl
crw-------  1 root  wheel  44, 1 Dec 20 16:44 /dev/ipnat
crw-------  1 root  wheel  44, 2 Dec 20 16:44 /dev/ipstate

--IJpNTDwzlM2Ie8A6
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="route.txt"

Routing tables

Internet:
Destination       Gateway            Flags 
default           192.168.1.1        UG     
loopback          127.0.0.1          UGR    
localhost         127.0.0.1          UH     
192.168.1.0       link#1             U      
guardian          00:50:ba:d6:1e:3d  UH     

--IJpNTDwzlM2Ie8A6
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="uname.txt"

NetBSD gobot.xisop 1.6_STABLE NetBSD 1.6_STABLE (GOBOT) #0: Fri Dec 20 16:29:07 EST 2002     root@gobot.xisop:/home/data/src/sys/arch/i386/compile/GOBOT i386

--IJpNTDwzlM2Ie8A6--