Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Dec 2002 14:32:36 +1100
From:      Greg Lane <gregory.lane@anu.edu.au>
To:        freebsd-questions@freebsd.org
Subject:   Occasional panics under heavy disk load - dmesg/stack traces
Message-ID:  <20021209033236.GA465@nucl03.anu.edu.au>

next in thread | raw e-mail | index | archive | help
G'day everyone,

Back in September I sent a message to hackers asking what people thought
of the kernel panics I had started to get from around April on a somewhat 
random basis when my machine was under heavy disk load (buildworld, 
make clean of ports etc). It doesn't panic every time I hammer the 
disk, but only sometimes. This machine has tracked stable for over two 
years now. Its a fairly vanilla box from Gateway.

I was lead towards a couple of PR's, both are still open.

> > Can anyone tell me if this hardware or a real bug? Is there anything
> > else I could supply which would help in understanding the problem?
> take a look at http://www.freebsd.org/cgi/query-pr.cgi?pr=42277 and 
> http://www.freebsd.org/cgi/query-pr.cgi?pr=42235

One of the PR's pointed towards softupdates as a potential cause. 
I turned it off on /usr and have continued to get panics. Can anyone give
me any clue as to what might be happening? Software / hardware / anything?

I enclose the (hopefully relevant) dmesg output and two kernel 
stack traces, both from the last few days. Last built world on Nov 12th.
I've had four or five crashes since then.

Cheers,
Greg

===============================================
.
FreeBSD 4.7-STABLE #1: Tue Nov 12 14:01:18 EST 2002
    toor@nucl03.anu.edu.au:/usr/obj/usr/src/sys/NUCL03
.
CPU: Pentium III/Pentium III Xeon/Celeron (730.95-MHz 686-class CPU)
.
real memory  = 536739840 (524160K bytes)
avail memory = 518774784 (506616K bytes)
.
pcib1: <Intel 82801BA/BAM (ICH2) PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <VGA-compatible display device> at 0.0 irq 11
pcib2: <Intel 82801AA (ICH) Hub to PCI bridge> at device 30.0 on pci0
pci2: <PCI bus> on pcib2
ahc0: <Adaptec 2940 Ultra SCSI adapter> port 0xd800-0xd8ff mem 0xfeaff000-0xfeafffff irq 11 at device 7.0 on pci2
aic7880: Ultra Wide Channel A, SCSI Id=7, 16/253 SCBs
vr0: <VIA VT3043 Rhine I 10/100BaseTX> port 0xdc00-0xdc7f mem 0xfeafec00-0xfeafec7f irq 5 at device 11.0 on pci2
vr0: Ethernet address: 00:80:c8:da:0b:69
miibus0: <MII bus> on vr0
amphy0: <DM9101 10/100 media interface> on miibus0
amphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0xd480-0xd4ff mem 0xfeafe800-0xfeafe87f irq 11 at device 15.0 on pci2
xl0: Ethernet address: 00:01:02:80:d0:e5
miibus1: <MII bus> on xl0
xlphy0: <3c905C 10/100 internal PHY> on miibus1
xlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isab0: <Intel 82801AA (ICH) PCI to LPC bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH ATA66 controller> port 0xffa0-0xffaf at device 31.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: <Intel 82801AA (ICH) USB controller> at 31.2 irq 9
pci0: <unknown card> (vendor=0x8086, dev=0x2413) at 31.3 irq 10
pcm0: <Intel 82801AA (ICH)> port 0xef00-0xef3f,0xe800-0xe8ff irq 10 at device 31.5 on pci0
orm0: <Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xcc7ff,0xd0000-0xd07ff on isa0
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
.
ad0: 14324MB <QUANTUM FIREBALLlct15 15> [29104/16/63] at ata0-master UDMA66
ad1: 78167MB <Maxtor 98196H8> [158816/16/63] at ata0-slave UDMA66
ad3: 117246MB <Maxtor 4G120J6> [238216/16/63] at ata1-slave UDMA66
acd0: CD-RW <LITE-ON LTR-40125S> at ata1-master PIO4
Waiting 15 seconds for SCSI devices to settle
sa0 at ahc0 bus 0 target 3 lun 0
sa0: <EXABYTE EXB-8500-85Qanx0 0446> Removable Sequential Access SCSI-2 device 
sa0: 4.032MB/s transfers (4.032MHz, offset 11)
Mounting root from ufs:/dev/ad0s1a
cd0 at ata1 bus 0 target 0 lun 0
cd0: <LITE-ON LTR-40125S ZS0K> Removable CD-ROM SCSI-0 device 
cd0: 16.000MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present
WARNING: / was not properly dismounted

===============================================================
#0  dumpsys () at /usr/src/sys/kern/kern_shutdown.c:487
487             if (dumping++) {
(kgdb) where
#0  dumpsys () at /usr/src/sys/kern/kern_shutdown.c:487
#1  0xc017db63 in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:316
#2  0xc017dfa1 in panic (fmt=0xc02db420 "ffs_blkfree: freeing free frag")
    at /usr/src/sys/kern/kern_shutdown.c:595
#3  0xc0227fa7 in ffs_blkfree (ip=0xc1959c00, bno=32167, size=1024)
    at /usr/src/sys/ufs/ffs/ffs_alloc.c:1470
#4  0xc0229eeb in ffs_truncate (vp=0xd4b3d640, length=0, flags=0, cred=0x0, 
    p=0xd4890920) at /usr/src/sys/ufs/ffs/ffs_inode.c:353
#5  0xc0233ce8 in ufs_inactive (ap=0xd4e96ea4)
    at /usr/src/sys/ufs/ufs/ufs_inode.c:89
#6  0xc0238fb5 in ufs_vnoperate (ap=0xd4e96ea4)
    at /usr/src/sys/ufs/ufs/ufs_vnops.c:2422
#7  0xc01ac78c in vput (vp=0xd4b3d640) at vnode_if.h:815
#8  0xc01afb19 in unlink (p=0xd4890920, uap=0xd4e96f80)
    at /usr/src/sys/kern/vfs_syscalls.c:1504
#9  0xc029cf61 in syscall2 (frame={tf_fs = 135135279, tf_es = -1078001617, 
      tf_ds = -1078001617, tf_edi = 135719488, tf_esi = -1077943540, 
      tf_ebp = -1077945748, tf_isp = -722898988, tf_ebx = 1209032940, 
      tf_edx = -1, tf_ecx = 20, tf_eax = 10, tf_trapno = 0, tf_err = 2, 
      tf_eip = 1208716840, tf_cs = 31, tf_eflags = 647, tf_esp = -1077945888, 
      tf_ss = 47}) at /usr/src/sys/i386/i386/trap.c:1175
#10 0xc028daa5 in Xint0x80_syscall ()
#11 0x804c2a5 in ?? ()
#12 0x804c060 in ?? ()
#13 0x804a3f5 in ?? ()
#14 0x8049e93 in ?? ()
#15 0x8049c2d in ?? ()
#16 0x8049971 in ?? ()

===============================================================
#0  dumpsys () at /usr/src/sys/kern/kern_shutdown.c:487
487             if (dumping++) {
(kgdb) where
#0  dumpsys () at /usr/src/sys/kern/kern_shutdown.c:487
#1  0xc017db63 in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:316
#2  0xc017dfa1 in panic (fmt=0xc02decc0 "vm_page_free: freeing free page")
    at /usr/src/sys/kern/kern_shutdown.c:595
#3  0xc02439fe in vm_page_free_toq (m=0xc0a416fc)
    at /usr/src/sys/vm/vm_page.c:1090
#4  0xc024283b in vm_object_page_remove (object=0xd4469e40, start=0, end=133, 
    clean_only=0) at /usr/src/sys/vm/vm_page.h:514
#5  0xc0247188 in vnode_pager_setsize (vp=0xd5041380, nsize=0)
    at /usr/src/sys/vm/vnode_pager.c:288
#6  0xc01abdac in vtruncbuf (vp=0xd5041380, cred=0x0, p=0xd443cbe0, length=0, 
    blksize=8192) at /usr/src/sys/kern/vfs_subr.c:991
#7  0xc0229d3f in ffs_truncate (vp=0xd5041380, length=0, flags=0, cred=0x0, 
    p=0xd443cbe0) at /usr/src/sys/ufs/ffs/ffs_inode.c:314
#8  0xc0233ce8 in ufs_inactive (ap=0xd4638ea4)
    at /usr/src/sys/ufs/ufs/ufs_inode.c:89
#9  0xc0238fb5 in ufs_vnoperate (ap=0xd4638ea4)
    at /usr/src/sys/ufs/ufs/ufs_vnops.c:2422
#10 0xc01ac78c in vput (vp=0xd5041380) at vnode_if.h:815
#11 0xc01afb19 in unlink (p=0xd443cbe0, uap=0xd4638f80)
    at /usr/src/sys/kern/vfs_syscalls.c:1504
#12 0xc029cf61 in syscall2 (frame={tf_fs = 47, tf_es = 47, tf_ds = 47, 
      tf_edi = 1, tf_esi = 134717440, tf_ebp = -1077937444, 
      tf_isp = -731672620, tf_ebx = 134770176, tf_edx = 134770256, tf_ecx = 0, 
      tf_eax = 10, tf_trapno = 7, tf_err = 2, tf_eip = 134523396, tf_cs = 31, 
      tf_eflags = 647, tf_esp = -1077937488, tf_ss = 47})
    at /usr/src/sys/i386/i386/trap.c:1175
#13 0xc028daa5 in Xint0x80_syscall ()
#14 0x8048353 in ?? ()
#15 0x8048135 in ?? ()


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




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