Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Apr 1997 11:13:00 +0300 (IDT)
From:      Mighty Wizard <root@Burka.NetVision.net.il>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   kern/3392: System panics
Message-ID:  <199704260813.LAA00405@Burka.NetVision.net.il>
Resent-Message-ID: <199704260820.BAA11492@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         3392
>Category:       kern
>Synopsis:       System panics every few hours
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 26 01:20:00 PDT 1997
>Last-Modified:
>Originator:     Mighty Wizard
>Organization:
NetVision Ltd.
>Release:        FreeBSD 3.0-CURRENT i386
>Environment:

I'm running the latest -current (cvsupped 1 day ago).
Here is the kernel config:

#
# BURKA -- my desktop machine
#
#	$Id: BURKA,v 1.1 1995/01/26 11:38:00 gena Exp $
#

machine		"i386"
cpu		"I586_CPU"
maxusers	20
ident		BURKA

options		INET			#InterNETworking

options		FFS			#Berkeley Fast File System
options		PROCFS			#Process File System
options		DDB
options		"COMPAT_43"		#Compatible with BSD 4.3
options         SYSVSHM
options         SYSVSEM
options         SYSVMSG
options		UCONSOLE		#X Console support

config		kernel	root on sd0

controller	isa0

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

device		sc0	at isa? port "IO_KBD" tty irq 1 vector scintr

device		npx0	at isa? port "IO_NPX" iosiz 0x0 flags 0x07 irq 13 vector npxintr

device		sio0	at isa? port "IO_COM1" tty flags 0x00 irq 4 vector siointr
device		sio1	at isa? port "IO_COM2" tty flags 0x00 irq 3 vector siointr

device		lpt0	at isa? port? tty irq 7 vector lptintr

device		ep0	at isa? port 0x300 net irq 10 vector epintr

controller	pci0
controller	ahc1
controller      scbus0

device		vx0
device		sd0

pseudo-device	snp	1		#Snoop device - to look at pty/vty/etc..
pseudo-device	loop
pseudo-device	ether
pseudo-device	log
pseudo-device	tun	1
pseudo-device	pty	16
pseudo-device	speaker
pseudo-device   bpfilter        1       #berkeley packet filter

And here is dmesg output:

Copyright (c) 1992-1997 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
	The Regents of the University of California. All rights reserved.
FreeBSD 3.0-CURRENT #0: Thu Apr 24 11:08:29 IDT 1997
    root@Burka.NetVision.net.il:/usr/src/sys/compile/BURKA
CPU: Pentium (90.00-MHz 586-class CPU)
  Origin = "GenuineIntel"  Id = 0x525  Stepping=5
  Features=0x1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
real memory  = 41943040 (40960K bytes)
avail memory = 39350272 (38428K bytes)
Probing for devices on PCI bus 0:
chip0 <SiS 85c501> rev 64 on pci0:0:0
chip1 <SiS 85c503> rev 1 on pci0:1:0
pci0:8:    CMD, device=0x0640, class=storage (ide) int a irq 14 [no driver assigned]
vga0 <VGA-compatible display device> rev 0 int a irq ?? on pci0:9:0
vx0 <3COM 3C590 Etherlink III PCI> rev 0 int a irq 9 on pci0:11:0
utp[*utp*] address 00:20:af:f7:f2:dd
Warning! Defective early revision adapter!
ahc0 <Adaptec 2940 SCSI host adapter> rev 0 int a irq 11 on pci0:12:0
ahc0: aic7870 Single Channel, SCSI Id=7, 16 SCBs
scbus0 at ahc0 bus 0
sd0 at scbus0 target 0 lun 0
sd0: <HP C3725S 4299> type 0 fixed SCSI 2
sd0: Direct-Access 2069MB (4238836 512 byte sectors)
Probing for devices on the ISA bus:
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: VGA color <16 virtual consoles, flags=0x0>
sio0 at 0x3f8-0x3ff irq 4 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
lpt0 at 0x378-0x37f irq 7 on isa
lpt0: Interrupt-driven port
lp0: TCP/IP capable interface
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: NEC 72065B
fd0: 1.44MB 3.5in
1 3C5x9 board(s) on ISA found at 0x300
ep0 at 0x300-0x30f irq 10 on isa
ep0: utp[*UTP*] address 00:60:97:23:a2:8b
npx0 flags 0x7 on motherboard
npx0: INT 16 interface
WARNING: / was not properly dismounted.

The system has two ethernet cards (ISA - 3C509 and PCI - 3C590).
Each card has it's own IP and connected to two physically different
networks (ep0-194.90.1.0 vx0-194.90.6.0).
Here is the routing table:
Routing tables

Internet:
Destination        Gateway            Flags     Refs     Use     Netif Expire
default            haifa-cs4500-2-e0  UGSc       12        9       ep0
localhost          localhost          UH          1       16       lo0
194.90.1           link#3             UC          0        0 
haifa-cs4500-2-e0  0:60:83:f3:a4:8    UHLW       10        0       ep0   1150
dns                8:0:20:71:91:f5    UHLW        0       94       ep0   1143
netmon             8:0:20:73:37:27    UHLW        0        1       ep0   1178
burka              0:60:97:23:a2:8b   UHLW        4     6958       lo0
mx12               0:20:af:b6:7c:63   UHLW        0       21       ep0   1177
mx11               0:0:b0:2:4a:83     UHLW        1       12       ep0    492
ATH                0:aa:0:c8:3b:a4    UHLW        0        0       ep0   1128
aldan              0:20:af:b6:98:9d   UHLW        1       12       ep0   1171
194.90.6           link#1             UC          0        0 
nvt                8:0:20:71:9e:ed    UHLW        0        3       vx0   1114
romeo              0:a0:24:19:fc:1a   UHLW        0        0       vx0   1134

routed -q is running. The system acts as a small ftp/http server.
It does not work as a router.

>Description:

 For already a long time my system panics every few hours. I'm not sure
when exactly it started. The panic is completely unpredictable, it can occur
after 1-2 hours, and it can appear after 30-40 hours and it's not related to
any specific network (or other) activity.

Here is the panic message (copied from the screen, sorry for any mistakes):

Fatal trap 12: page fault while in kernel mode
fault virtual address          = 0x1e
fault code                     = supervisor read, page not present
instruction pointer            = 0x8:0xf014487d
stack pointer                  = 0x10:0xf4136f0c
frame pointer                  = 0x10:0xf4136f1c
code segment                   = base 0x0, limit 0xfffff, type 0x1b
                               = DPL0 , pres 1 , def 321 , gran 1
processor eflags               = interrupt enabled, resum, IOPL = 0
current process                = 4237 (ftpd)
interrupt mask                 =
kernel: type 12 trap, code = 0

Stopped at _in_setsockaddr+0x29: movw 0x1e(%esi),%ax
-------------------trace--------------
_in_setsockaddr+0x29
_getsockname1+0x71
_getsocknam+0x13
_syscall+0x127

(I compiled kernel with DDB so i will be able to "catch" the message).

>How-To-Repeat:

 There is no reliable way to repeat this.

>Fix:
	

 I wish i knew, i suspect that it has something to do with multiple card
configuration. I'll disable the second card and check if the problem still
there.

>Audit-Trail:
>Unformatted:



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