Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Feb 1998 10:06:35 +1030 (CST)
From:      grog@lemis.com
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   kern/5795: Panic: "bremfree: removing a buffer when not on a queue" with tunefs on a block device
Message-ID:  <199802192336.KAA29757@freebie.lemis.com>

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

>Number:         5795
>Category:       kern
>Synopsis:       Panic: "bremfree: removing a buffer when not on a queue" with tunefs on a block device
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 19 15:40:08 PST 1998
>Last-Modified:
>Originator:     Greg Lehey
>Organization:
LEMIS, PO Box 460, Echunga SA 5153, Australia
>Release:        
>Environment:
Any

>Description:

If tunefs is run against a block disk device, the system panics with the message

   bremfree: removing a buffer when not on a queue

Here's a trace:

#0  Debugger (msg=0xf011bbfc "panic") at ../../i386/i386/db_interface.c:317
#1  0xf011bc5e in panic (fmt=0xf0133c06 "bremfree: removing a buffer when not on a queue")
    at ../../kern/kern_shutdown.c:423
#2  0xf0133c9a in bremfree (bp=0xf24ed990) at ../../kern/vfs_bio.c:258
#3  0xf01349fa in vfs_bio_awrite (bp=0xf24ed990) at ../../kern/vfs_bio.c:926
#4  0xf01465d4 in spec_write (ap=0xf3e87ef8) at ../../miscfs/specfs/spec_vnops.c:401
#5  0xf01c2675 in ufsspec_write (ap=0xf3e87ef8) at ../../ufs/ufs/ufs_vnops.c:1784
#6  0xf01c2b79 in ufs_vnoperatespec (ap=0xf3e87ef8) at ../../ufs/ufs/ufs_vnops.c:2242
#7  0xf01404b7 in vn_write (fp=0xf053ea00, uio=0xf3e87f40, cred=0xf0544e00) at vnode_if.h:331
#8  0xf012385b in write (p=0xf3df2440, uap=0xf3e87f94) at ../../kern/sys_generic.c:268
#9  0xf01e999f in syscall (frame={tf_es = 0x27, tf_ds = 0x27, tf_edi = 0x0, tf_esi = 0x2000, tf_ebp = 0xefbfd01c, 
      tf_isp = 0xf3e87fe4, tf_ebx = 0x2000, tf_edx = 0x0, tf_ecx = 0x2000, tf_eax = 0x4, tf_trapno = 0xc, 
      tf_err = 0x7, tf_eip = 0xbb05, tf_cs = 0x1f, tf_eflags = 0x246, tf_esp = 0xefbfd000, tf_ss = 0x27})
    at ../../i386/i386/trap.c:993
#10 0xbb05 in ?? ()
#11 0x1956 in ?? ()
#12 0x107e in ?? ()
(kgdb) 

>How-To-Repeat:

	tunefs -a 10 /dev/wd0e

>Fix:
>Audit-Trail:
>Unformatted:

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



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