Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Sep 1998 15:27:38 -0500 (CDT)
From:      Craig Johnston <caj@lfn.org>
To:        freebsd-current@FreeBSD.ORG
Subject:   kernel fall down, go BOOM
Message-ID:  <Pine.GSO.3.96.980930151235.564A-100000@jane.lfn.org>

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

The crash is reproducible on my machine.

The machine is a recent IBM Thinkpad 560e w/80 megs of RAM.

The kernel is current, cvsupped between 1900 and 2000 UTC today.

Here's the panic:

fatal trap 12: page fault while in supervisor mode
fault virtual address = 0xc
fault code            = supervisor read, page not present
instruction pointer   = 0x8:0xf0165182
stack pointer         = 0x10:0xf4d8ef14
frame pointer         = 0x10:0xf4d8ef20
code segment          = base 0x0, limit 0xfffff, type 0x1b
                      = DPL 0, pres 1, def32 1, gran 1
processor eflags      = int enabled, resume, IOPL = 0
current process       = 88 (syslogd)
interrupt mask        =
kernel: type 12 trap, code=0
stopped at _softdep_process_worklist+0x2a: movl 0xc(%eax),%edi

Here's a trace from ddb:

_softdep_process_worklist(f4d6a220,f4d72740,f01cb2a8,0,f01ca3b8) at 
  _softdep_process_worklist+0x2a
_fsync(f4d72740, f4d8ef84, 8, efbffd2bc, 8054cd8) at _fsync+0xae
_syscall(27, 27, 8054cd8, efbfd2bc, efbfd2c4) at _syscall+0x187
_Xint0x80_syscall() at _Xint0x80_syscall+0x2c

(I transcribed the above 2 by hand, I hope they are correct)

Here's my config:

options		PQ_MEDIUMCACHE	
options		"VM86"
options		FFS_ROOT		#FFS usable as root device
options		SOFTUPDATES
options         PERFMON
machine		"i386"
ident		EIDOLON
maxusers	64	
options         INCLUDE_CONFIG_FILE     # Include this file in kernel
config		kernel	root on wd0s1a
cpu		"I586_CPU"		# aka Pentium(tm)
options		"COMPAT_43"
options		SYSVSHM
options		UCONSOLE
options		USERCONFIG
options		VISUAL_USERCONFIG	#visual boot -c editor
options		INET			#Internet communications protocols
pseudo-device	ether			#Generic Ethernet
pseudo-device	loop			#Network loopback device
pseudo-device	ppp	1		#Point-to-point protocol
pseudo-device	bpfilter	2	#Berkeley packet filter
pseudo-device	tun	1		#Tunnel driver(user process ppp)
options PPP_FILTER 			#enable bpf filtering (needs bpfilter)
options		FFS			#Fast filesystem
options		PROCFS			#Process filesystem
pseudo-device	pty	64	#Pseudo ttys - can go as high as 256
pseudo-device	gzip		#Exec gzipped a.out's
controller	isa0
options		"MAXMEM=(80*1024)"
device		sc0	at isa? port "IO_KBD" tty irq 1 vector scintr
options		MAXCONS=8		# number of virtual consoles
options		SC_HISTORY_SIZE=200	# number of history buffer lines
options		SC_DISABLE_REBOOT	# disable reboot key sequence
device		npx0	at isa? port "IO_NPX" iosiz 0x0 flags 0x0 irq 13 vector npxintr
controller	wdc0	at isa? port "IO_WD1" bio irq 14 vector wdintr
disk		wd0	at wdc0 drive 0 flags 0xa0ff
controller	fdc0	at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
disk		fd0	at fdc0 drive 0
device		lpt0	at isa? port? tty irq 7 vector lptintr
device		psm0	at isa? port "IO_KBD" conflicts tty irq 12 vector psmintr
options		PSM_HOOKAPM		#hook the APM resume event, useful
options		PSM_RESETAFTERSUSPEND	#reset the device at the resume event
device		sio0	at isa? port "IO_COM1" tty irq 4 vector siointr
device zp0 at isa? port 0x300 net irq 10 iomem 0xd8000 vector zpintr
device		apm0	at isa?
controller	pci0
controller	snd0
device sb0      at isa? port 0x220 irq 5 drq 1 vector sbintr
options 	MFS
options		DDB
options		DDB_UNATTENDED
options		KTRACE			#kernel tracing

Here's my dmesg output (from the previous kernel):

Copyright (c) 1992-1998 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
	The Regents of the University of California. All rights reserved.
FreeBSD 3.0-BETA #0: Tue Sep 22 14:43:41 CDT 1998
    caj@eidolon.autarch.com:/usr/src/sys/compile/EIDOLON
Timecounter "i8254"  frequency 1193182 Hz  cost 2579 ns
CPU: Pentium/P55C (166.19-MHz 586-class CPU)
  Origin = "GenuineIntel"  Id = 0x544  Stepping=4
  Features=0x8001bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX>
real memory  = 83886080 (81920K bytes)
avail memory = 78868480 (77020K bytes)
Probing for devices on PCI bus 0:
chip0: <Intel 82437MX mobile PCI cache memory controller> rev 0x02 on pci0.0.0
chip1: <Intel 82371MX mobile PCI I/O IDE accelerator (MPIIX)> rev 0x03 on pci0.1.0
vga0: <Trident model 9660 VGA-compatible display device> rev 0xd3 int a irq 0 on pci0.3.0
chip2: <PCI to PCMCIA bridge (vendor=1013 device=1100)> rev 0xe2 int a irq 0 on pci0.19.0
Probing for devices on the ISA bus:
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: VGA color <8 virtual consoles, flags=0x0>
lpt0 at 0x3bc-0x3c3 irq 7 on isa
lpt0: Interrupt-driven port
lp0: TCP/IP capable interface
psm0 at 0x60-0x64 irq 12 on motherboard
psm0: model Generic PS/2 mouse, device ID 0
sio0 at 0x3f8-0x3ff irq 4 on isa
sio0: type 16550A
wdc0 at 0x1f0-0x1f7 irq 14 on isa
wdc0: unit 0 (wd0): <IBM-DTNA-22110>, 32-bit, multi-block-16
wd0: 2016MB (4128768 sectors), 4096 cyls, 16 heads, 63 S/T, 512 B/S
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: FIFO enabled, 8 bytes threshold
zp: slot 0: no card in slot
zp: found card in slot 1
zp0 at 0x300-0x30f irq 10 maddr 0xd8000 on isa
zp0: aui/bnc/utp address 00:10:4b:a0:74:d3
npx0 on motherboard
npx0: INT 16 interface
apm0 on isa
apm: found APM BIOS version 1.2
sb0 at 0x220 irq 5 drq 1 on isa
Hmm... Could this be an ESS688 based card (rev 11)

NOTE! SB Pro support required with your soundcard!
snd0: <SoundBlaster Pro 3.1> 
Intel Pentium F00F detected, installing workaround
WARNING: / was not properly dismounted.
ffs_mountfs: superblock updated
ffs_mountfs: superblock updated
ffs_mountfs: superblock updated

Anything I neglected to mention?  

--
Craig Johnston, caj@lfn.org       

abort(); /* live fast, die young and leave a good-looking core file */


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?Pine.GSO.3.96.980930151235.564A-100000>