Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Dec 2000 10:53:54 +0200
From:      Andrey Lakhno <land@dnepr.net>
To:        Alfred Perlstein <bright@wintelcom.net>
Cc:        stable@FreeBSD.org
Subject:   Re: kernel panics
Message-ID:  <20001222105354.A11782@dnepr.net>
In-Reply-To: <20001213025122.C16205@fw.wintelcom.net>; from bright@wintelcom.net on Wed, Dec 13, 2000 at 02:51:22 -0800
References:  <20001213122916.A15772@dnepr.net> <20001213025122.C16205@fw.wintelcom.net>

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

--tKW2IUtsqtDRztdT
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hi Alfred!

On Wed, 13 Dec 2000, Alfred Perlstein wrote:

> * Andrey Lakhno <land@dnepr.net> [001213 02:31] wrote:
> > Hi !
> > 
> > I have FreeBSD 4.x-STABLE box.
> > Hardware configuration: motherboard Intel D815EEA (i815 chipset) with
> > integrated Intel EtherExpress Pro/100+, CPU Celeron 500MHz, RAM 128Mb,
> > HDD IDE Seagate Baracuda ST320420A.
> > 
> > It randomly crashes. Kernel panics with following diagnostics:
> [snip]
> 
> Please see:
> http://www.freebsd.org/handbook/kerneldebug.html

Ok. I'v built a kernel with debug turning on. While crashing the kernel created
crash dumps which i tried to gdb.

Several files attached to this letter.
debug.log - output from gdb

After removing SOFTUPDATES from kernel configuration system keeps crashing.
dmesg.log - dmesg output
kernel.conf - kernel configuration
debug1.log - gdb output after removing SOFTUPDATES

-- 
Best regards,
 Andrey

--tKW2IUtsqtDRztdT
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="debug.log"

GNU gdb 4.18
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-unknown-freebsd".
(kgdb) symbol-file kernel.debug
Reading symbols from kernel.debug...done.
(kgdb) exec-file /var/crash/kernel.0
(kgdb) core-file /var/crash/vmcore.0
IdlePTD 2703360
initial pcb at 21fbe0
panicstr: page fault
panic messages:
---
Fatal trap 10: trace trap while in kernel mode
instruction pointer	= 0x8:0xc01d2cd6
stack pointer	        = 0x10:0xc020593c
frame pointer	        = 0x10:0x0
code segment		= base 0x0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, def32 1, gran 1
processor eflags	= interrupt enabled, IOPL = 0
current process		= Idle
interrupt mask		= none
trap number		= 10
panic: trace trap

syncing disks... 

Fatal trap 12: page fault while in kernel mode
fault virtual address	= 0x30
fault code		= supervisor read, page not present
instruction pointer	= 0x8:0xc018a120
stack pointer	        = 0x10:0xc0205790
frame pointer	        = 0x10:0xc0205794
code segment		= base 0x0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, def32 1, gran 1
processor eflags	= interrupt enabled, resume, IOPL = 0
current process		= Idle
interrupt mask		= bio 
trap number		= 12
panic: page fault
Uptime: 54m42s

dumping to dev #ad/0x20001, offset 794321
dump ata0: resetting devices .. done
126 125 124 123 122 121 120 119 118 117 116 115 114 113 112 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 
---
#0  dumpsys () at ../../kern/kern_shutdown.c:469
469		if (dumping++) {
(kgdb) backtrace
#0  dumpsys () at ../../kern/kern_shutdown.c:469
#1  0xc012debb in boot (howto=260) at ../../kern/kern_shutdown.c:309
#2  0xc012e238 in poweroff_wait (junk=0xc01fdbaf, howto=0) at ../../kern/kern_shutdown.c:556
#3  0xc01d3be9 in trap_fatal (frame=0xc0205750, eva=48) at ../../i386/i386/trap.c:951
#4  0xc01d38c1 in trap_pfault (frame=0xc0205750, usermode=0, eva=48) at ../../i386/i386/trap.c:844
#5  0xc01d347b in trap (frame={tf_fs = -1071644656, tf_es = -1072562160, tf_ds = -1057095664, 
      tf_edi = 0, tf_esi = 0, tf_ebp = -1071622252, tf_isp = -1071622276, tf_ebx = -1071568452, 
      tf_edx = 6864896, tf_ecx = -1057959923, tf_eax = 0, tf_trapno = 12, tf_err = 0, 
      tf_eip = -1072127712, tf_cs = 8, tf_eflags = 66054, tf_esp = -1015089312, 
      tf_ss = -1071622228}) at ../../i386/i386/trap.c:443
#6  0xc018a120 in acquire_lock (lk=0xc02129bc) at ../../ufs/ffs/ffs_softdep.c:267
#7  0xc018f298 in softdep_count_dependencies (bp=0xc37ef760, wantcount=0)
    at ../../ufs/ffs/ffs_softdep.c:4525
#8  0xc0192444 in ffs_fsync (ap=0xc0205808) at ../../ufs/ffs/ffs_vnops.c:168


    at vnode_if.h:537
#10 0xc015b7b3 in sync (p=0xc0232260, uap=0x0) at ../../kern/vfs_syscalls.c:545
#11 0xc012dc96 in boot (howto=256) at ../../kern/kern_shutdown.c:233
#12 0xc012e238 in poweroff_wait (junk=0xc01fdbba, howto=0) at ../../kern/kern_shutdown.c:556
#13 0xc01d3be9 in trap_fatal (frame=0xc02058fc, eva=0) at ../../i386/i386/trap.c:951
#14 0xc01d35cb in trap (frame={tf_fs = 16, tf_es = -1071513584, tf_ds = -65520, tf_edi = -1, 
      tf_esi = 0, tf_ebp = 0, tf_isp = -1071621848, tf_ebx = 0, tf_edx = 23088, 
      tf_ecx = -1071447498, tf_eax = 0, tf_trapno = 10, tf_err = 0, tf_eip = -1071829802, 
      tf_cs = 8, tf_eflags = 582, tf_esp = -1071829807, tf_ss = 14}) at ../../i386/i386/trap.c:613
(kgdb) where
#0  dumpsys () at ../../kern/kern_shutdown.c:469
#1  0xc012debb in boot (howto=260) at ../../kern/kern_shutdown.c:309
#2  0xc012e238 in poweroff_wait (junk=0xc01fdbaf, howto=0) at ../../kern/kern_shutdown.c:556
#3  0xc01d3be9 in trap_fatal (frame=0xc0205750, eva=48) at ../../i386/i386/trap.c:951
#4  0xc01d38c1 in trap_pfault (frame=0xc0205750, usermode=0, eva=48) at ../../i386/i386/trap.c:844
#5  0xc01d347b in trap (frame={tf_fs = -1071644656, tf_es = -1072562160, tf_ds = -1057095664, 
      tf_edi = 0, tf_esi = 0, tf_ebp = -1071622252, tf_isp = -1071622276, tf_ebx = -1071568452, 
      tf_edx = 6864896, tf_ecx = -1057959923, tf_eax = 0, tf_trapno = 12, tf_err = 0, 
      tf_eip = -1072127712, tf_cs = 8, tf_eflags = 66054, tf_esp = -1015089312, 
      tf_ss = -1071622228}) at ../../i386/i386/trap.c:443
#6  0xc018a120 in acquire_lock (lk=0xc02129bc) at ../../ufs/ffs/ffs_softdep.c:267
#7  0xc018f298 in softdep_count_dependencies (bp=0xc37ef760, wantcount=0)
    at ../../ufs/ffs/ffs_softdep.c:4525
#8  0xc0192444 in ffs_fsync (ap=0xc0205808) at ../../ufs/ffs/ffs_vnops.c:168
#9  0xc0190fa7 in ffs_sync (mp=0xc0eff800, waitfor=2, cred=0xc072c680, p=0xc0232260)
    at vnode_if.h:537
#10 0xc015b7b3 in sync (p=0xc0232260, uap=0x0) at ../../kern/vfs_syscalls.c:545
#11 0xc012dc96 in boot (howto=256) at ../../kern/kern_shutdown.c:233
#12 0xc012e238 in poweroff_wait (junk=0xc01fdbba, howto=0) at ../../kern/kern_shutdown.c:556
#13 0xc01d3be9 in trap_fatal (frame=0xc02058fc, eva=0) at ../../i386/i386/trap.c:951
#14 0xc01d35cb in trap (frame={tf_fs = 16, tf_es = -1071513584, tf_ds = -65520, tf_edi = -1, 
      tf_esi = 0, tf_ebp = 0, tf_isp = -1071621848, tf_ebx = 0, tf_edx = 23088, 
      tf_ecx = -1071447498, tf_eax = 0, tf_trapno = 10, tf_err = 0, tf_eip = -1071829802, 
      tf_cs = 8, tf_eflags = 582, tf_esp = -1071829807, tf_ss = 14}) at ../../i386/i386/trap.c:613
(kgdb) quit

--tKW2IUtsqtDRztdT
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="debug1.log"

GNU gdb 4.18
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-unknown-freebsd".
(kgdb) symbol-file kernel.debug 
Reading symbols from kernel.debug...done.
(kgdb) exec-file /var/crash/kernel.2
(kgdb) core-file /var/crash/vmcore.2
IdlePTD 3222559764
initial pcb at 21fbe0
panic messages:
---
dmesg: cannot read PTD
---
#0  0x0 in ?? ()
(kgdb) where
#0  0x0 in ?? ()
cannot read proc at 0
(kgdb) quit

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

Copyright (c) 1992-2000 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.2-STABLE #0: Thu Dec 21 14:04:39 EET 2000
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 498385026 Hz
CPU: Pentium II/Pentium II Xeon/Celeron (498.39-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x665  Stepping = 5
  Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
real memory  = 132907008 (129792K bytes)
avail memory = 126812160 (123840K bytes)
pnpbios: Bad PnP BIOS data checksum
Preloaded elf kernel "kernel" at 0xc026c000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc026c09c.
Pentium Pro MTRR support enabled
md0: Malloc disk
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pci0: <Intel model 1132 VGA-compatible display device> at 2.0 irq 11
pcib1: <PCI to PCI bridge (vendor=8086 device=244e)> at device 30.0 on pci0
pci1: <PCI bus> on pcib1
fxp0: <Intel PLC 10/100 Ethernet> port 0xdf00-0xdf3f mem 0xff8ff000-0xff8fffff irq 11 at device 8.0 on pci1
fxp0: Ethernet address 00:03:47:17:21:00
isab0: <PCI to ISA bridge (vendor=8086 device=2440)> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH2 ATA100 controller> port 0xffa0-0xffaf at device 31.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
pci0: <UHCI USB controller> at 31.2 irq 11
pci0: <unknown card> (vendor=0x8086, dev=0x2443) at 31.3 irq 10
pci0: <UHCI USB controller> at 31.4 irq 9
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
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
ppi0: <Parallel I/O> on ppbus0
IP packet filtering initialized, divert disabled, rule-based forwarding disabled, default to accept, unlimited logging
DUMMYNET initialized (000608)
ad0: 19458MB <ST320420A> [39535/16/63] at ata0-master UDMA66
Mounting root from ufs:/dev/ad0s1a
link_elf: symbol splash_register undefined
fxp0: SCB timeout
fxp0: SCB timeout
fxp0: SCB timeout
fxp0: SCB timeout
fxp0: device timeout


Fatal trap 10: trace trap while in kernel mode
instruction pointer	= 0x8:0xc01cd726
stack pointer	        = 0x10:0xc01fec7c
frame pointer	        = 0x10:0x0
code segment		= base 0x0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, def32 1, gran 1
processor eflags	= interrupt enabled, IOPL = 0
current process		= Idle
interrupt mask		= none
trap number		= 10
panic: trace trap

syncing disks... 22 22 22 22 22 22 22 22 22 22 22 22 22 22 22 22 22 22 22 22 
giving up on 6 buffers
Uptime: 17h43m4s

dumping to dev #ad/0x20001, offset 794321
dump ata0: resetting devices .. done
126 125 124 123 122 121 120 119 118 117 116 115 114 113 112 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 succeeded
Automatic reboot in 15 seconds - press a key on the console to abort
Rebooting...
Copyright (c) 1992-2000 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.2-STABLE #0: Thu Dec 21 14:04:39 EET 2000
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 498386287 Hz
CPU: Pentium II/Pentium II Xeon/Celeron (498.39-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x665  Stepping = 5
  Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
real memory  = 132907008 (129792K bytes)
avail memory = 126812160 (123840K bytes)
pnpbios: Bad PnP BIOS data checksum
Preloaded elf kernel "kernel" at 0xc026c000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc026c09c.
Pentium Pro MTRR support enabled
md0: Malloc disk
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pci0: <Intel model 1132 VGA-compatible display device> at 2.0 irq 11
pcib1: <PCI to PCI bridge (vendor=8086 device=244e)> at device 30.0 on pci0
pci1: <PCI bus> on pcib1
fxp0: <Intel PLC 10/100 Ethernet> port 0xdf00-0xdf3f mem 0xff8ff000-0xff8fffff irq 11 at device 8.0 on pci1
fxp0: Ethernet address 00:03:47:17:21:00
isab0: <PCI to ISA bridge (vendor=8086 device=2440)> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH2 ATA100 controller> port 0xffa0-0xffaf at device 31.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
pci0: <UHCI USB controller> at 31.2 irq 11
pci0: <unknown card> (vendor=0x8086, dev=0x2443) at 31.3 irq 10
pci0: <UHCI USB controller> at 31.4 irq 9
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
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
ppi0: <Parallel I/O> on ppbus0
IP packet filtering initialized, divert disabled, rule-based forwarding disabled, default to accept, unlimited logging
DUMMYNET initialized (000608)
ad0: 19458MB <ST320420A> [39535/16/63] at ata0-master UDMA66
Mounting root from ufs:/dev/ad0s1a
WARNING: / was not properly dismounted
link_elf: symbol splash_register undefined

--tKW2IUtsqtDRztdT
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="kernel.conf"

makeoptions    DEBUG=-g

machine		i386
cpu		I386_CPU
cpu		I486_CPU
cpu		I586_CPU
cpu		I686_CPU
ident		XXX
maxusers	128

options 	INET			#InterNETworking
options 	FFS			#Berkeley Fast Filesystem
options 	FFS_ROOT		#FFS usable as root device [keep this!]
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

device		isa
device		eisa
device		pci

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
options 	ATA_STATIC_ID		#Static device numbering
options 	ATA_ENABLE_ATAPI_DMA	#Enable DMA on ATAPI devices

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?

device		sc0	at isa? flags 0x100

device		npx0	at nexus? port IO_NPX irq 13

device		sio0	at isa? port IO_COM1 flags 0x10 irq 4
device		sio1	at isa? port IO_COM2 irq 3

device		ppc0	at isa? irq 7
device		ppbus		# Parallel port bus (required)
device		ppi		# Parallel port interface device

device		fxp		# Intel EtherExpress PRO/100B (82557, 82558)

pseudo-device	loop		# Network loopback
pseudo-device	ether		# Ethernet support
pseudo-device	pty		# Pseudo-ttys (telnet etc)
pseudo-device	md		# Memory "disks"

pseudo-device	bpf		#Berkeley packet filter

options		IPFIREWALL
options		IPFIREWALL_VERBOSE
options		IPFIREWALL_DEFAULT_TO_ACCEPT
options		TCP_DROP_SYNFIN
options		DUMMYNET
options		SC_HISTORY_SIZE=100

options         PNPBIOS

--tKW2IUtsqtDRztdT--


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?20001222105354.A11782>