Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Mar 2001 19:15:26 +0200
From:      "Dmitry A. Yanko" <fm@astral.ntu-kpi.kiev.ua>
To:        freebsd-stable@freebsd.org
Subject:   panic, ipfw broken in stable?
Message-ID:  <20010307191526.A60472@astral.ntu-kpi.kiev.ua>

next in thread | raw e-mail | index | archive | help
In /etc/rc.conf:
firewall_enable="YES" 
(panic only in this case)


fault addr. = 0x50
fault code = sup. write, page not present
ip = 0x8:0xc01a44cb
sp = 0x10:0xc02e0ad0
fp = 0x10:0xc02e0b50
cs = base 0x0, limit 0xfffff, type 0x1b
   = dpl 0, pres. 1, def32 1, grap 1
p. eflags = int. enable, resume, IOPL=0
cur. proc = Idle
int. mask = net
trap. num = 12
panic: page fault

...

sync. disk 
...


fault addr. = 0x30
fault code = sup. write, page not present
ip = 0x8:0xc0223d4c
sp = 0x10:0xc02e08fc
fp = 0x10:0xc02e0904
cs = base 0x0, limit 0xfffff, type 0x1b
   = dpl 0, pres. 1, def32 1, grap 1
p. eflags = int. enable, resume, IOPL=0
cur. proc = Idle
int. mask = net bio cam
trap. num = 12
panic: page fault

...

uptime 18m40s


~>nm /kernel | g c01a4
c01a49ec T in_delayed_cksum
c01a4cdc T ip_ctloutput
c01a4a64 t ip_insertoptions
c01a4c44 T ip_optcopy

~>nm /kernel | g c0223d
c0223d04 t acquire_lock
c0223d88 t acquire_lock_interlocked
c0223d60 t free_lock
c0223ddc t free_lock_interlocked



dmesg.boot:

Copyright (c) 1992-2001 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD 4.3-BETA #11: Wed Mar  7 17:13:36 EET 2001
    root@somehost:/.second/obj/.second/cvsup/src/sys/femeal
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 381160680 Hz
CPU: AMD-K6(tm) 3D processor (381.16-MHz 586-class CPU)
  Origin = "AuthenticAMD"  Id = 0x58c  Stepping = 12
  Features=0x8021bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,PGE,MMX>
  AMD Features=0x80000800<SYSCALL,3DNow!>
real memory  = 134217728 (131072K bytes)
avail memory = 126054400 (123100K bytes)
Preloaded elf kernel "kernel" at 0xc03b7000.
K6-family MTRR support enabled (2 registers)
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <AcerLabs M1541 (Aladdin-V) PCI host bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib1: <AcerLabs M5243 PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <S3 Savage 4 graphics accelerator> at 0.0
isab0: <AcerLabs M1533 portable PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
ed0: <NE2000 PCI Ethernet (RealTek 8029)> port 0xe000-0xe01f irq 11 at device 12.0 on pci0
ed0: address 52:54:ab:11:9d:fe, type NE2000 (16 bit) 
atapci0: <AcerLabs Aladdin ATA33 controller> port 0xf000-0xf00f at device 15.0 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
sbc0: <Avance Asound 110> at port 0x220-0x22f irq 5 drq 1,0 on isa0
pcm0: <SB16 DSP 4.02> on sbc0
DUMMYNET initialized (010124)
IP packet filtering initialized, divert disabled, rule-based forwarding enabled, default to accept, logging disabled
IPsec: Initialized Security Association Processing.
IP Filter: v3.4.16 initialized.  Default = pass all, Logging = enabled
ad0: 19574MB <IBM-DPTA-372050> [39770/16/63] at ata0-master UDMA33
acd0: CDROM <BCD-40SB CD-ROM> at ata1-master using UDMA33
Mounting root from ufs:/dev/ad0s3a
WARNING: / was not properly dismounted

my kernel: 

machine		i386
cpu		I586_CPU
ident		somehost
maxusers	512

#makeoptions	DEBUG=-g		#Build kernel with gdb(1) debug symbols

options 	INET			#InterNETworking
options 	INET6			#IPv6 communications protocols
options 	FFS			#Berkeley Fast Filesystem
options 	FFS_ROOT		#FFS usable as root device [keep this!]
options 	SOFTUPDATES		#Enable FFS soft updates support
#options 	MFS			#Memory Filesystem
options 	NFS			#Network Filesystem
options 	MSDOSFS			#MSDOS Filesystem
options 	CD9660			#ISO 9660 Filesystem
options 	PROCFS			#Process filesystem
options 	COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
options 	UCONSOLE		#Allow users to grab the console
options 	USERCONFIG		#boot -c editor
options 	VISUAL_USERCONFIG	#visual boot -c editor
options 	KTRACE			#ktrace(1) support
options 	SYSVSHM			#SYSV-style shared memory
options 	SYSVMSG			#SYSV-style message queues
options 	SYSVSEM			#SYSV-style semaphores
options 	P1003_1B		#Posix P1003_1B real-time extensions
options 	_KPOSIX_PRIORITY_SCHEDULING
options		ICMP_BANDLIM		#Rate limit bad replies
options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev

options		QUOTA
options		DUMMYNET
options         IPFIREWALL              #firewall
options         IPFIREWALL_DEFAULT_TO_ACCEPT    #allow everything by default
options		IPFIREWALL_FORWARD	#enable transparent proxy support       
#options         IPV6FIREWALL            #firewall for IPv6
#options         IPV6FIREWALL_DEFAULT_TO_ACCEPT
options         IPFILTER                #ipfilter support
options		IPFILTER_LOG		#ipfilter logging                       
options		IPSEC
options		IPSEC_ESP
options		PORTAL
options		USER_LDT
options		INCLUDE_CONFIG_FILE	# Include this file in kernel           
#options		IPSTEALTH		#support for stealth forwarding
options		NETGRAPH
options		COMPAT_LINUX

					

device		isa
device		eisa
device		pci

# Floppy drives
device		fdc0	at isa? port IO_FD1 irq 6 drq 2
device		fd0	at fdc0 drive 0

# ATA and ATAPI devices
device		ata0	at isa? port IO_WD1 irq 14
device		ata1	at isa? port IO_WD2 irq 15
device		ata
device		atadisk			# ATA disk drives
device		atapicd			# ATAPI CDROM drives
#device		atapifd			# ATAPI floppy drives
#device		atapist			# ATAPI tape drives
options 	ATA_STATIC_ID		#Static device numbering
options 	ATA_ENABLE_ATAPI_DMA	#Enable DMA on ATAPI devices
#options		ATA_ENABLE_TAGS		#To enable Tagged Queuing support (only IBM DPTA and DTLA drives support that)


# atkbdc0 controls both the keyboard and the PS/2 mouse
device		atkbdc0	at isa? port IO_KBD
device		atkbd0	at atkbdc? irq 1 flags 0x1
device		psm0	at atkbdc? irq 12

device		vga0	at isa?

# splash screen/screen saver
pseudo-device	splash

# syscons is the default console driver, resembling an SCO console
device		sc0	at isa? flags 0x100

# Floating point support - do not disable.
device		npx0	at nexus? port IO_NPX irq 13

# Serial (COM) ports
device		sio0	at isa? port IO_COM1 flags 0x10 irq 4
device		sio1	at isa? port IO_COM2 irq 3

# Parallel port
device		ppc0	at isa? irq 7
device		ppbus		# Parallel port bus (required)
device		lpt		# Printer
device		ppi		# Parallel port interface device
#device		vpo		# Requires scbus and da

# ISA Ethernet NICs.
device		ed

# Pseudo devices - the number indicates how many units to allocated.
pseudo-device	loop		# Network loopback
pseudo-device	ether		# Ethernet support
pseudo-device	tun		# Packet tunnel.
pseudo-device	pty		# Pseudo-ttys (telnet etc)
#pseudo-device	md		# Memory "disks"
pseudo-device	gif	4	# IPv6 and IPv4 tunneling
pseudo-device	faith	1	# IPv6-to-IPv4 relaying (translation)
pseudo-device	vn	2

# The `bpf' pseudo-device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
pseudo-device	bpf		#Berkeley packet filter

device		pcm

-- 
#include <regards.h>, fm.
GnuPG fpr = 6101 9519 9A45 3D44 3BCB  0974 C774 5143 8F26 95B5
Mail message with GPG-KEY in subject to get my public key |&| DAY-RIPE

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




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