Ok asked somebody in the know and he suggested adding a backtrace so here we 
go:

Incidently this occured as I was using an NFS mount from this server.

FreeBSD aftershock.xtaz.co.uk 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Wed Mar 19 
10:53:19 GMT 2003     
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/AFTERSHOCK  i386

Script started on Thu Mar 20 10:26:59 2003
[EMAIL PROTECTED] crash]# gdb -k /usr/obj/usr/src/sys/AFTERSHOCK/kernel.debug 
vmcore.0 
GNU gdb 5.2.1 (FreeBSD)
Copyright 2002 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-undermydesk-freebsd"...
panic: bremfree: removing a buffer not on a queue
panic messages:
---
panic: softdep_disk_io_initiation: read

syncing disks, buffers remaining... panic: bremfree: removing a buffer not on 
a queue
Uptime: 15h46m0s
Dumping 512 MB
ata0: resetting devices ..
done
 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240 256 272 288 304 320 
336 352 368 384 400 416 432 448 464 480 496
---
#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:239
239             dumping++;
(kgdb) where
#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:239
#1  0xc0223c13 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:371
#2  0xc0223f13 in panic () at /usr/src/sys/kern/kern_shutdown.c:542
#3  0xc0266932 in bremfreel (bp=0xce6169e8) at /usr/src/sys/kern/vfs_bio.c:636
#4  0xc0266815 in bremfree (bp=0x0) at /usr/src/sys/kern/vfs_bio.c:618
#5  0xc0268c18 in vfs_bio_awrite (bp=0x0) at /usr/src/sys/kern/vfs_bio.c:1687
#6  0xc02f4502 in ffs_fsync (ap=0xd7b92a54) 
at /usr/src/sys/ufs/ffs/ffs_vnops.c:255
#7  0xc02f36de in ffs_sync (mp=0xc433a800, waitfor=2, cred=0xc150af00, 
td=0xc03d23a0)
    at vnode_if.h:612
#8  0xc027c63b in sync (td=0xc03d23a0, uap=0x0) 
at /usr/src/sys/kern/vfs_syscalls.c:138
#9  0xc0223773 in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:280
#10 0xc0223f13 in panic () at /usr/src/sys/kern/kern_shutdown.c:542
#11 0xc02ecc0c in softdep_disk_io_initiation (bp=0xce6169e8)
    at /usr/src/sys/ufs/ffs/ffs_softdep.c:3465
#12 0xc026f87d in cluster_wbuild (vp=0xc50c7000, size=16384, start_lbn=12, 
len=2) at buf.h:422
#13 0xc0268c09 in vfs_bio_awrite (bp=0xce59ce90) 
at /usr/src/sys/kern/vfs_bio.c:1681
#14 0xc02f4502 in ffs_fsync (ap=0xd7b92c48) 
at /usr/src/sys/ufs/ffs/ffs_vnops.c:255
#15 0xc02f36de in ffs_sync (mp=0xc433a800, waitfor=3, cred=0xc150af00, 
td=0xc43513c0)
    at vnode_if.h:612
#16 0xc027beda in sync_fsync (ap=0xd7b92cd0) 
at /usr/src/sys/kern/vfs_subr.c:3493
#17 0xc0278bde in sched_sync () at vnode_if.h:612
#18 0xc02105a4 in fork_exit (callout=0xc0278a60 <sched_sync>, arg=0x0, 
frame=0x0)
    at /usr/src/sys/kern/kern_fork.c:875
(kgdb) bt full
#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:239
No locals.
#1  0xc0223c13 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:371
No locals.
#2  0xc0223f13 in panic () at /usr/src/sys/kern/kern_shutdown.c:542
        td = (struct thread *) 0xc43513c0
        bootopt = 260
        newpanic = 0
        buf = "bremfree: removing a buffer not on a queue", '\0' <repeats 213 
times>
#3  0xc0266932 in bremfreel (bp=0xce6169e8) at /usr/src/sys/kern/vfs_bio.c:636
        old_qindex = 0
#4  0xc0266815 in bremfree (bp=0x0) at /usr/src/sys/kern/vfs_bio.c:618
No locals.
#5  0xc0268c18 in vfs_bio_awrite (bp=0x0) at /usr/src/sys/kern/vfs_bio.c:1687
        i = 1
        j = 0
        lblkno = 12
        vp = (struct vnode *) 0xc50c7000
        ncl = -832476696
        nwritten = -832476696
        size = 16384
        maxcl = 8
#6  0xc02f4502 in ffs_fsync (ap=0xd7b92a54) 
at /usr/src/sys/ufs/ffs/ffs_vnops.c:255
        vp = (struct vnode *) 0x0
        ip = (struct inode *) 0xce6169e8
        bp = (struct buf *) 0xce6169e8
        nbp = (struct buf *) 0xc50c7000
        error = 0
        wait = 0
        passes = 4
        skipmeta = 0
        lbn = 14
#7  0xc02f36de in ffs_sync (mp=0xc433a800, waitfor=2, cred=0xc150af00, 
td=0xc03d23a0)
    at vnode_if.h:612
        nvp = (struct vnode *) 0xc5054000
        vp = (struct vnode *) 0xc50c7000
        devvp = (struct vnode *) 0xc50c7000
        ip = (struct inode *) 0x0
        ump = (struct ufsmount *) 0xc434dc00
        fs = (struct fs *) 0xc4265800
---Type <return> to continue, or q <return> to quit---
        error = 0
        count = 0
        wait = 0
        lockreq = 18
        allerror = 0
#8  0xc027c63b in sync (td=0xc03d23a0, uap=0x0) 
at /usr/src/sys/kern/vfs_syscalls.c:138
        mp = (struct mount *) 0xc433a800
        nmp = (struct mount *) 0x0
        asyncflag = 0
#9  0xc0223773 in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:280
        bp = (struct buf *) 0x0
        iter = -1051614964
        nbusy = -1051614976
        pbusy = -1070011433
        subiter = -1051614976
#10 0xc0223f13 in panic () at /usr/src/sys/kern/kern_shutdown.c:542
        td = (struct thread *) 0xc43513c0
        bootopt = 256
        newpanic = 1
        buf = "bremfree: removing a buffer not on a queue", '\0' <repeats 213 
times>
#11 0xc02ecc0c in softdep_disk_io_initiation (bp=0xce6169e8)
    at /usr/src/sys/ufs/ffs/ffs_softdep.c:3465
        wk = (struct worklist *) 0xce6169e8
        nextwk = (struct worklist *) 0xc042dfc0
        indirdep = (struct indirdep *) 0xc
        inodedep = (struct inodedep *) 0x0
#12 0xc026f87d in cluster_wbuild (vp=0xc50c7000, size=16384, start_lbn=12, 
len=2) at buf.h:422
        bp = (struct buf *) 0xce5927d8
        tbp = (struct buf *) 0xce6169e8
        i = 1
        j = 4
        totalwritten = 0
        dbsize = 32
#13 0xc0268c09 in vfs_bio_awrite (bp=0xce59ce90) 
at /usr/src/sys/kern/vfs_bio.c:1681
        i = 2
        j = 0
        lblkno = 11
        vp = (struct vnode *) 0xc50c7000
        ncl = 2
        nwritten = 2
---Type <return> to continue, or q <return> to quit---
        size = 16384
        maxcl = 8
#14 0xc02f4502 in ffs_fsync (ap=0xd7b92c48) 
at /usr/src/sys/ufs/ffs/ffs_vnops.c:255
        vp = (struct vnode *) 0xce59ce90
        ip = (struct inode *) 0x2
        bp = (struct buf *) 0x2
        nbp = (struct buf *) 0xc50c7000
        error = 0
        wait = 0
        passes = 4
        skipmeta = 0
        lbn = 14
#15 0xc02f36de in ffs_sync (mp=0xc433a800, waitfor=3, cred=0xc150af00, 
td=0xc43513c0)
    at vnode_if.h:612
        nvp = (struct vnode *) 0xc5054000
        vp = (struct vnode *) 0xc50c7000
        devvp = (struct vnode *) 0xc50c7000
        ip = (struct inode *) 0x0
        ump = (struct ufsmount *) 0xc434dc00
        fs = (struct fs *) 0xc4265800
        error = 0
        count = 0
        wait = 0
        lockreq = 18
        allerror = 0
#16 0xc027beda in sync_fsync (ap=0xd7b92cd0) 
at /usr/src/sys/kern/vfs_subr.c:3493
        syncvp = (struct vnode *) 0x0
        mp = (struct mount *) 0xc433a800
        td = (struct thread *) 0xc43513c0
        error = -675730224
        asyncflag = 0
#17 0xc0278bde in sched_sync () at vnode_if.h:612
        slp = (struct synclist *) 0xd7b92cd0
        vp = (struct vnode *) 0x0
        mp = (struct mount *) 0x0
        starttime = 1048152974
        td = (struct thread *) 0xc43513c0
#18 0xc02105a4 in fork_exit (callout=0xc0278a60 <sched_sync>, arg=0x0, 
frame=0x0)
    at /usr/src/sys/kern/kern_fork.c:875
        td = (struct thread *) 0x0
---Type <return> to continue, or q <return> to quit---
        p = (struct proc *) 0xc434f800
(kgdb) quit
[EMAIL PROTECTED] crash]# exit
exit

Script done on Thu Mar 20 10:27:43 2003



---
Matt ([EMAIL PROTECTED])
http://www.xtaz.co.uk/
---

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to