Re: two panics with recent -CURRENT

2002-02-19 Thread Daniel Rock

Daniel Rock schrieb:
 
 Hi,
 
 during a make release run I got two panics in -CURRENT (from Feb 16).
 Both panics occured during high I/O rates.

Just an additional note: The kernel from Feb 9 also panic'd this morning.
I have now newfs'd the file system and are running the tests again.


Daniel


smime.p7s
Description: Kryptographische Unterschrift im S/MIME-Format


two panics with recent -CURRENT

2002-02-18 Thread Daniel Rock

Hi,

during a make release run I got two panics in -CURRENT (from Feb 16).
Both panics occured during high I/O rates.

The first one occured while mkisofs'ing the resulting release CD tree,
The second one while rm -rf RELEASEDIR. I am now running a kernel from
Feb 08, which I believe is OK. I restarted a make release and will inform
you if this kernel also panics.

The relevant file system has soft updates enabled and was newfs'd with default
argumengs (just the inode count was reduced). Background fsck is turned off,
write cache is disabled. If you need more information, I can give additional
detail.


Thanks,

Daniel


-
Kernel stacktrace from the first panic:

IdlePTD at phsyical address 0x004c3000
initial pcb at physical address 0x003f3440
panicstr: allocbuf: buffer not busy
panic messages:
---
panic: softdep_disk_write_complete: lock is held

syncing disks... panic: allocbuf: buffer not busy
Uptime: 7h50m21s

dumping to dev ad0b, offset 545184
[...]
#0  0xc01e7cca in sysctl_kern_dumpdev (oidp=0xc0355c48, arg1=0x104,
arg2=-1014061372, req=0x246) at ../../../kern/kern_shutdown.c:483
#1  0xc115754c in ?? ()
#2  0xc01e7a67 in boot (howto=260) at ../../../kern/kern_shutdown.c:333
#3  0xc01e7ef1 in panic (fmt=0xc0355c48 allocbuf: buffer not busy)
at ../../../kern/kern_shutdown.c:619
#4  0xc021c3ad in allocbuf (bp=0xc38ea6c4, size=16384)
at ../../../kern/vfs_bio.c:2418
#5  0xc021c32d in getblk (vp=0xd8334ec0, blkno=11305088, size=16384,
slpflag=0, slptimeo=0) at ../../../kern/vfs_bio.c:2361
#6  0xc0219fdc in breadn (vp=0xd8334ec0, blkno=11305088, size=16384,
rablkno=0x0, rabsize=0x0, cnt=0, cred=0x0, bpp=0xd7faeb14)
at ../../../kern/vfs_bio.c:601
#7  0xc0219fa9 in bread (vp=0xd8334ec0, blkno=11305088, size=16384, cred=0x0,
bpp=0xd7faeb14) at ../../../kern/vfs_bio.c:585
#8  0xc02bacd4 in ffs_update (vp=0xd8846900, waitfor=0)
at ../../../ufs/ffs/ffs_inode.c:101
#9  0xc02c814a in ffs_fsync (ap=0xd7faeb8c) at ../../../ufs/ffs/ffs_vnops.c:293
#10 0xc02c6712 in ffs_sync (mp=0xc113c400, waitfor=2, cred=0xc0b2ec00,
td=0xc03b7780) at ../../../ufs/ffs/ffs_vfsops.c:1050
#11 0xc02272b1 in sync (td=0xc03b7780, uap=0x0)
at ../../../kern/vfs_syscalls.c:669
#12 0xc01e767f in boot (howto=256) at ../../../kern/kern_shutdown.c:237
#13 0xc01e7ef1 in panic (
fmt=0xc036d440 softdep_disk_write_complete: lock is held)
at ../../../kern/kern_shutdown.c:619
#14 0xc02c2368 in softdep_disk_write_complete (bp=0xc38e29a4)
at ../../../ufs/ffs/ffs_softdep.c:3466
#15 0xc021ca49 in bufdone (bp=0xc38e29a4) at ../../../kern/vfs_bio.c:2799
#16 0xc021f195 in cluster_callback (bp=0xc38d656c)
at ../../../kern/vfs_cluster.c:551
#17 0xc021ca27 in bufdone (bp=0xc38d656c) at ../../../kern/vfs_bio.c:2789
#18 0xc021c982 in bufwait (bp=0xc38d656c) at ../../../kern/vfs_bio.c:2730
#19 0xc0173bdd in ad_interrupt (request=0xc187eb00) at ../../../sys/bio.h:106
#20 0xc0168fd2 in ata_intr (data=0xc10dd500) at ../../../dev/ata/ata-all.c:578
#21 0xc01d9ccf in ithread_loop (arg=0xc10e2900)
at ../../../kern/kern_intr.c:529
#22 0xc01d8ec8 in fork_exit (callout=0xc01d9b34 swi_add+148, arg=0xc10e2900,
frame=0xd7faed48) at ../../../kern/kern_fork.c:777


-
the second panic:

IdlePTD at phsyical address 0x004c3000
initial pcb at physical address 0x003f3440
panicstr: bwrite: buffer is not busy???
panic messages:
---
panic: double fault

syncing disks... panic: bwrite: buffer is not busy???
Uptime: 11h18m21s

dumping to dev ad0b, offset 545184
[...]
#0  0xc01e7cca in sysctl_kern_dumpdev (oidp=0xc0355918, arg1=0x104,
arg2=537006244, req=0x4046) at ../../../kern/kern_shutdown.c:483
#1  0xc115754c in ?? ()
#2  0xc01e7a67 in boot (howto=260) at ../../../kern/kern_shutdown.c:333
#3  0xc01e7ef1 in panic (fmt=0xc0355918 bwrite: buffer is not busy???)
at ../../../kern/kern_shutdown.c:619
#4  0xc021a1f3 in bwrite (bp=0xc38da6d4) at ../../../sys/systm.h:241
#5  0xc021b476 in vfs_bio_awrite (bp=0xc38da6d4)
at ../../../kern/vfs_bio.c:1535
#6  0xc01b3c1c in spec_fsync (ap=0xc040ce24)
at ../../../fs/specfs/spec_vnops.c:351
#7  0xc01b3805 in pfs_write (va=0xc040ce24)
at ../../../fs/pseudofs/pseudofs_vnops.c:777
#8  0xc02c6930 in ffs_sync (mp=0xc113c400, waitfor=2, cred=0xc0b2ec00,
td=0xc03b7780) at ../../../ufs/ffs/ffs_vfsops.c:1086
#9  0xc02272b1 in sync (td=0xc03b7780, uap=0x0)
at ../../../kern/vfs_syscalls.c:669
#10 0xc01e767f in boot (howto=256) at ../../../kern/kern_shutdown.c:237
#11 0xc01e7ef1 in panic (fmt=0xc0379343 double fault)
at ../../../kern/kern_shutdown.c:619
#12 0xc03106cb in dblfault_handler () at ../../../i386/i386/trap.c:871

-
My dmesg output (from a kernel which i believe is OK):
Copyright (c) 1992-2002 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 5.0-CURRENT #624: Sat Feb  9 18:03:58 CET 2002
[EMAIL