On Sun, Mar 16, 2003 at 02:46:13AM -0500, Jeff Roberson wrote:
> On Sat, 15 Mar 2003, Morten Rodal wrote:
> 
> > On Fri, Mar 14, 2003 at 06:47:27PM +0100, Morten Rodal wrote:
> > [snip the parent post]
> >
> > I just got another one of these.  This time it didn't double panic
> > while syncing the disks.  I've been getting this quite often now,
> > almost daily.  If there is anything else I can help you with to get to
> > the bottom of this problem don't hesitate to ask.
> >
> > Attached is a the gdb output and the backtrace from DDB.
> 
> Excelent, can you open up the kernel in gdb again.  Then do the following:
> 
> frame 3
> print bp
> 
> With this information I should be able to find the problem.
> 

-- 
Morten Rodal

Script started on Sun Mar 16 08:57:26 2003
slurp# gdb -k kernel.3 vmcore.3
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: bwrite: buffer is not busy???
panic messages:
---
panic: bwrite: buffer is not busy???
cpuid = 1; lapic.id = 00000000
Stack backtrace:
boot() called on cpu#1

syncing disks, buffers remaining... 3452 3452 3451 3451 3449 3448 3448 3448 3448 3448 
3448 3448 3448 3448 3448 3448 3448 3448 3448 3448 3448 3448 3448 3448 3448 
giving up on 110 buffers
Uptime: 48m16s
Dumping 447 MB
[CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to 
abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C 
to abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] 
[CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to 
abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C 
to abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] 
[CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to 
abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort]  16[CTRL-C to abort] 
[CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort]  32[CTRL-C to abort] [CTRL-C to 
abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort]  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
---
#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:239
239             dumping++;
(kgdb) frame 3
#3  0xc02194e2 in bwrite (bp=0xcc9a5fe8) at /usr/src/sys/kern/vfs_bio.c:802
802                             panic("bwrite: need chained iodone");
(kgdb) print bp
$1 = (struct buf *) 0xcc9a5fe8
(kgdb) print *bp
$2 = {b_io = {bio_cmd = 2, bio_dev = 0xffffffff, bio_disk = 0x0, 
    bio_blkno = 4188480, bio_offset = 2145681408, bio_bcount = 16384, 
    bio_data = 0xd219e000 "", bio_flags = 0, bio_error = 0, bio_resid = 0, 
    bio_done = 0xc021d1f0 <bufdonebio>, bio_driver1 = 0x0, bio_driver2 = 0x0, 
    bio_caller1 = 0xc39c9400, bio_caller2 = 0xcc9a5fe8, bio_queue = {
      tqe_next = 0x0, tqe_prev = 0xc39c940c}, bio_attribute = 0x0, 
    bio_from = 0x0, bio_to = 0x0, bio_length = 0, bio_completed = 0, 
    bio_children = 1398, bio_inbed = 0, bio_parent = 0x0, bio_t0 = {sec = 0, 
      frac = 0}, bio_task = 0, bio_task_arg = 0x0, bio_pblkno = 518876}, 
  b_op = 0xc036e018, b_magic = 280038160, 
  b_iodone = 0xc0221300 <cluster_callback>, b_offset = 262144, b_vnbufs = {
    tqe_next = 0x0, tqe_prev = 0x0}, b_left = 0x0, b_right = 0x0, 
  b_vflags = 0, b_freelist = {tqe_next = 0xcc9a5908, tqe_prev = 0xc03a145c}, 
  b_qindex = 0, b_flags = 1677721604, b_xflags = 0 '\0', b_lock = {
    lk_interlock = 0xc039b7a4, lk_flags = 0, lk_sharecount = 0, 
    lk_waitcount = 0, lk_exclusivecount = 0, lk_prio = 80, 
    lk_wmesg = 0xc034482b "bufwait", lk_timo = 0, lk_lockholder = 0xffffffff, 
    lk_newlock = 0x0}, b_bufsize = 16384, b_runningbufspace = 0, 
  b_kvabase = 0xd219e000 "", b_kvasize = 16384, b_lblkno = 16, 
  b_vp = 0xc41b1a44, b_object = 0x0, b_dirtyoff = 0, b_dirtyend = 16384, 
  b_rcred = 0x0, b_wcred = 0x0, b_saveaddr = 0xd219e000, b_pager = {
    pg_spc = 0x0, pg_reqpage = 0}, b_cluster = {cluster_head = {
      tqh_first = 0xccab02f8, tqh_last = 0xccab0420}, cluster_entry = {
      tqe_next = 0xccab02f8, tqe_prev = 0xccab0420}}, b_pages = {0xc0f97d08, 
    0xc0f80c50, 0xc0f92398, 0xc0e9cfe0, 0xc0eefc48, 0xc0efd490, 0xc0a8a3d8, 
    0xc0f04120, 0xc0a85c68, 0xc0a853b0, 0xc0a3c1f8, 0xc0f1a140, 0xc0de4288, 
    0xc0f468d0, 0xc0ac3c18, 0xc0a61e60, 0xc0a4fea8, 0xc0f175f0, 0xc0de5638, 
    0xc0dee680, 0xc0ddeac8, 0xc0f07210, 0xc0a9fe58, 0xc0f462a0, 0xc0dd40e8, 
    0xc0f3a630, 0xc0ef4178, 0xc0f3dcc0, 0xc0de6b08, 0xc0f3b050, 0xc0f17998, 
    0xc0dd81e0}, b_npages = 4, b_dep = {lh_first = 0x0}}
(kgdb) slurp# ^Dexit

Script done on Sun Mar 16 08:57:55 2003

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to