Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Mar 2000 01:10:03 -0800 (PST)
From:      Rahul Dhesi <dhesi@rahul.net>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/17122: crash due to: softdep_disk_write_complete: lock is held 
Message-ID:  <200003080910.BAA61449@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/17122; it has been noted by GNATS.

From: Rahul Dhesi <dhesi@rahul.net>
To: freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: kern/17122: crash due to: softdep_disk_write_complete: lock is held 
Date: Wed, 08 Mar 2000 01:04:33 -0800

 The machine crashed again, and below is the crash and traceback info.
 
 Rahul Dhesi <dhesi@rahul.net>
 
 
 Script started on Wed Mar  8 00:56:08 2000
 # gdb -k kernel.debug vmcore.5
 GNU gdb 4.18
 Copyright 1998 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-unknown-freebsd"...
 IdlePTD 3538944
 initial pcb at 2de888
 panicstr: softdep_disk_write_complete: lock is held
 panic messages:
 ---
 panic: softdep_fsync: pending ops
 
 syncing disks... panic: softdep_lock: locking against myself
 panic: softdep_disk_write_complete: lock is held
 panic: softdep_disk_write_complete: lock is held
 panic: softdep_disk_write_complete: lock is held
 panic: softdep_disk_write_complete: lock is held
 panic: softdep_disk_write_complete: lock is held
 panic: softdep_disk_write_complete: lock is held
 panic: softdep_disk_write_complete: lock is held
 panic: softdep_disk_write_complete: lock is held
 
 dumping to dev 20401, offset 786432
 dump 128 127 126 125 124 123 122 121 120 119 118 117 116 115 114 113 112 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 
 ---
 #0  boot (howto=260) at ../../kern/kern_shutdown.c:285
 285			dumppcb.pcb_cr3 = rcr3();
 (kgdb) where
 #0  boot (howto=260) at ../../kern/kern_shutdown.c:285
 #1  0xc0164440 in at_shutdown (
     function=0xc02b0bd2 <__set_sysctl__debug_sym_sysctl___debug_rush_requests+2002>, arg=0xc451bb70, queue=-1044665344) at ../../kern/kern_shutdown.c:446
 #2  0xc0221a40 in softdep_disk_write_complete (bp=0xc451bb70)
     at ../../ufs/ffs/ffs_softdep.c:2898
 #3  0xc0182ac2 in biodone (bp=0xc451bb70) at ../../kern/vfs_bio.c:1925
 #4  0xc012377a in dadone (periph=0xc1bb6180, done_ccb=0xc1bf7200)
     at ../../cam/scsi/scsi_da.c:1312
 #5  0xc011f367 in camisr (queue=0xc02ddb84) at ../../cam/cam_xpt.c:6144
 #6  0xc011f179 in swi_cambio () at ../../cam/cam_xpt.c:6051
 #7  0xc011c808 in xpt_polled_action (start_ccb=0xc9b2b968)
     at ../../cam/cam_xpt.c:3336
 #8  0xc0123c49 in dashutdown (howto=260, arg=0x0)
     at ../../cam/scsi/scsi_da.c:1604
 #9  0xc016418b in boot (howto=260) at ../../kern/kern_shutdown.c:280
 #10 0xc0164440 in at_shutdown (
     function=0xc02b0bd2 <__set_sysctl__debug_sym_sysctl___debug_rush_requests+2002>, arg=0xc4573e10, queue=-1044665344) at ../../kern/kern_shutdown.c:446
 #11 0xc0221a40 in softdep_disk_write_complete (bp=0xc4573e10)
     at ../../ufs/ffs/ffs_softdep.c:2898
 #12 0xc0182ac2 in biodone (bp=0xc4573e10) at ../../kern/vfs_bio.c:1925
 #13 0xc012377a in dadone (periph=0xc1bb6180, done_ccb=0xc1be9a00)
 ---Type <return> to continue, or q <return> to quit---
     at ../../cam/scsi/scsi_da.c:1312
 #14 0xc011f367 in camisr (queue=0xc02ddb84) at ../../cam/cam_xpt.c:6144
 #15 0xc011f179 in swi_cambio () at ../../cam/cam_xpt.c:6051
 #16 0xc011c808 in xpt_polled_action (start_ccb=0xc9b2be4c)
     at ../../cam/cam_xpt.c:3336
 #17 0xc0123c49 in dashutdown (howto=260, arg=0x0)
     at ../../cam/scsi/scsi_da.c:1604
 #18 0xc016418b in boot (howto=260) at ../../kern/kern_shutdown.c:280
 #19 0xc0164440 in at_shutdown (
     function=0xc02b0bd2 <__set_sysctl__debug_sym_sysctl___debug_rush_requests+2002>, arg=0xc453e420, queue=-1044665344) at ../../kern/kern_shutdown.c:446
 #20 0xc0221a40 in softdep_disk_write_complete (bp=0xc453e420)
     at ../../ufs/ffs/ffs_softdep.c:2898
 #21 0xc0182ac2 in biodone (bp=0xc453e420) at ../../kern/vfs_bio.c:1925
 #22 0xc012377a in dadone (periph=0xc1bb6180, done_ccb=0xc1bf9a00)
     at ../../cam/scsi/scsi_da.c:1312
 #23 0xc011f367 in camisr (queue=0xc02ddb84) at ../../cam/cam_xpt.c:6144
 #24 0xc011f179 in swi_cambio () at ../../cam/cam_xpt.c:6051
 #25 0xc011c808 in xpt_polled_action (start_ccb=0xc9b2c330)
     at ../../cam/cam_xpt.c:3336
 #26 0xc0123c49 in dashutdown (howto=260, arg=0x0)
     at ../../cam/scsi/scsi_da.c:1604
 #27 0xc016418b in boot (howto=260) at ../../kern/kern_shutdown.c:280
 ---Type <return> to continue, or q <return> to quit---
 #28 0xc0164440 in at_shutdown (
     function=0xc02b0bd2 <__set_sysctl__debug_sym_sysctl___debug_rush_requests+2002>, arg=0xc451afe0, queue=-1044665344) at ../../kern/kern_shutdown.c:446
 #29 0xc0221a40 in softdep_disk_write_complete (bp=0xc451afe0)
     at ../../ufs/ffs/ffs_softdep.c:2898
 #30 0xc0182ac2 in biodone (bp=0xc451afe0) at ../../kern/vfs_bio.c:1925
 #31 0xc012377a in dadone (periph=0xc1bb6180, done_ccb=0xc1bc0600)
     at ../../cam/scsi/scsi_da.c:1312
 #32 0xc011f367 in camisr (queue=0xc02ddb84) at ../../cam/cam_xpt.c:6144
 #33 0xc011f179 in swi_cambio () at ../../cam/cam_xpt.c:6051
 #34 0xc011c808 in xpt_polled_action (start_ccb=0xc9b2c814)
     at ../../cam/cam_xpt.c:3336
 #35 0xc0123c49 in dashutdown (howto=260, arg=0x0)
     at ../../cam/scsi/scsi_da.c:1604
 #36 0xc016418b in boot (howto=260) at ../../kern/kern_shutdown.c:280
 #37 0xc0164440 in at_shutdown (
     function=0xc02b0bd2 <__set_sysctl__debug_sym_sysctl___debug_rush_requests+2002>, arg=0xc4522cc0, queue=-1044665344) at ../../kern/kern_shutdown.c:446
 #38 0xc0221a40 in softdep_disk_write_complete (bp=0xc4522cc0)
     at ../../ufs/ffs/ffs_softdep.c:2898
 #39 0xc0182ac2 in biodone (bp=0xc4522cc0) at ../../kern/vfs_bio.c:1925
 #40 0xc012377a in dadone (periph=0xc1bb6180, done_ccb=0xc1bf7a00)
     at ../../cam/scsi/scsi_da.c:1312
 ---Type <return> to continue, or q <return> to quit---
 #41 0xc011f367 in camisr (queue=0xc02ddb84) at ../../cam/cam_xpt.c:6144
 #42 0xc011f179 in swi_cambio () at ../../cam/cam_xpt.c:6051
 #43 0xc011c808 in xpt_polled_action (start_ccb=0xc9b2ccf8)
     at ../../cam/cam_xpt.c:3336
 #44 0xc0123c49 in dashutdown (howto=260, arg=0x0)
     at ../../cam/scsi/scsi_da.c:1604
 #45 0xc016418b in boot (howto=260) at ../../kern/kern_shutdown.c:280
 #46 0xc0164440 in at_shutdown (
     function=0xc02b0bd2 <__set_sysctl__debug_sym_sysctl___debug_rush_requests+2002>, arg=0xc45364f0, queue=-1044665344) at ../../kern/kern_shutdown.c:446
 #47 0xc0221a40 in softdep_disk_write_complete (bp=0xc45364f0)
     at ../../ufs/ffs/ffs_softdep.c:2898
 #48 0xc0182ac2 in biodone (bp=0xc45364f0) at ../../kern/vfs_bio.c:1925
 #49 0xc012377a in dadone (periph=0xc1bb6180, done_ccb=0xc1bfba00)
     at ../../cam/scsi/scsi_da.c:1312
 #50 0xc011f367 in camisr (queue=0xc02ddb84) at ../../cam/cam_xpt.c:6144
 #51 0xc011f179 in swi_cambio () at ../../cam/cam_xpt.c:6051
 #52 0xc011c808 in xpt_polled_action (start_ccb=0xc9b2d1dc)
     at ../../cam/cam_xpt.c:3336
 #53 0xc0123c49 in dashutdown (howto=260, arg=0x0)
     at ../../cam/scsi/scsi_da.c:1604
 #54 0xc016418b in boot (howto=260) at ../../kern/kern_shutdown.c:280
 #55 0xc0164440 in at_shutdown (
 ---Type <return> to continue, or q <return> to quit---
     function=0xc02b0bd2 <__set_sysctl__debug_sym_sysctl___debug_rush_requests+2002>, arg=0xc4552218, queue=-1044665344) at ../../kern/kern_shutdown.c:446
 #56 0xc0221a40 in softdep_disk_write_complete (bp=0xc4552218)
     at ../../ufs/ffs/ffs_softdep.c:2898
 #57 0xc0182ac2 in biodone (bp=0xc4552218) at ../../kern/vfs_bio.c:1925
 #58 0xc012377a in dadone (periph=0xc1bb6180, done_ccb=0xc1bbbe00)
     at ../../cam/scsi/scsi_da.c:1312
 #59 0xc011f367 in camisr (queue=0xc02ddb84) at ../../cam/cam_xpt.c:6144
 #60 0xc011f179 in swi_cambio () at ../../cam/cam_xpt.c:6051
 #61 0xc011c808 in xpt_polled_action (start_ccb=0xc9b2d6c0)
     at ../../cam/cam_xpt.c:3336
 #62 0xc0123c49 in dashutdown (howto=260, arg=0x0)
     at ../../cam/scsi/scsi_da.c:1604
 #63 0xc016418b in boot (howto=260) at ../../kern/kern_shutdown.c:280
 #64 0xc0164440 in at_shutdown (
     function=0xc02b0bd2 <__set_sysctl__debug_sym_sysctl___debug_rush_requests+2002>, arg=0xc4534a58, queue=-1044665344) at ../../kern/kern_shutdown.c:446
 #65 0xc0221a40 in softdep_disk_write_complete (bp=0xc4534a58)
     at ../../ufs/ffs/ffs_softdep.c:2898
 #66 0xc0182ac2 in biodone (bp=0xc4534a58) at ../../kern/vfs_bio.c:1925
 #67 0xc012377a in dadone (periph=0xc1bb6180, done_ccb=0xc1bf8a00)
     at ../../cam/scsi/scsi_da.c:1312
 #68 0xc011f367 in camisr (queue=0xc02ddb84) at ../../cam/cam_xpt.c:6144
 ---Type <return> to continue, or q <return> to quit---
 #69 0xc011f179 in swi_cambio () at ../../cam/cam_xpt.c:6051
 #70 0xc011c808 in xpt_polled_action (start_ccb=0xc9b2dba4)
     at ../../cam/cam_xpt.c:3336
 #71 0xc0123c49 in dashutdown (howto=260, arg=0x0)
     at ../../cam/scsi/scsi_da.c:1604
 #72 0xc016418b in boot (howto=260) at ../../kern/kern_shutdown.c:280
 #73 0xc0164440 in at_shutdown (
     function=0xc02b01cc <__set_sysuninit_set_sym_M_DIRREM_uninit_sys_uninit+4>, arg=0xc1cd0f00, queue=-911024724) at ../../kern/kern_shutdown.c:446
 #74 0xc021ea9d in acquire_lock (lk=0xc02d271c)
     at ../../ufs/ffs/ffs_softdep.c:266
 #75 0xc0222451 in softdep_update_inodeblock (ip=0xc1cd0f00, bp=0xc451a8f0, 
     waitfor=0) at ../../ufs/ffs/ffs_softdep.c:3447
 #76 0xc021db24 in ffs_update (vp=0xc96fa340, waitfor=0)
     at ../../ufs/ffs/ffs_inode.c:105
 #77 0xc0226f86 in ffs_fsync (ap=0xc9b2de64) at ../../ufs/ffs/ffs_vnops.c:258
 #78 0xc022535f in ffs_sync (mp=0xc1bcb800, waitfor=2, cred=0xc0756580, 
     p=0xc02fa078) at vnode_if.h:499
 #79 0xc0189c3b in sync (p=0xc02fa078, uap=0x0) at ../../kern/vfs_syscalls.c:549
 #80 0xc0164001 in boot (howto=256) at ../../kern/kern_shutdown.c:203
 #81 0xc0164440 in at_shutdown (
     function=0xc02b0f42 <__set_sysctl__debug_sym_sysctl___debug_rush_requests+2882>, arg=0xc9bbb0c0, queue=0) at ../../kern/kern_shutdown.c:446
 ---Type <return> to continue, or q <return> to quit---
 #82 0xc02226f2 in softdep_fsync (vp=0xc9bbb0c0)
     at ../../ufs/ffs/ffs_softdep.c:3567
 #83 0xc018c52a in fsync (p=0xc9b158e0, uap=0xc9b2df94)
     at ../../kern/vfs_syscalls.c:2451
 #84 0xc025bb8b in syscall (frame={tf_es = 39, tf_ds = 39, 
       tf_edi = -1077945576, tf_esi = 0, tf_ebp = -1077945816, 
       tf_isp = -911024156, tf_ebx = 134664136, tf_edx = 29, tf_ecx = 29, 
       tf_eax = 95, tf_trapno = 7, tf_err = 2, tf_eip = 671803168, tf_cs = 31, 
       tf_eflags = 582, tf_esp = -1077945832, tf_ss = 39})
     at ../../i386/i386/trap.c:1100
 #85 0xc024ecfc in Xint0x80_syscall ()
 #86 0x804e728 in ?? ()
 #87 0x8049bf1 in ?? ()
 #88 0x804baf5 in ?? ()
 #89 0x804bc06 in ?? ()
 #90 0x80529fd in ?? ()
 #91 0x804c377 in ?? ()
 #92 0x8049f02 in ?? ()
 #93 0x80499f1 in ?? ()
 (kgdb) quit
 # exit
 exit
 
 Script done on Wed Mar  8 00:56:36 2000
 
 == END ==
 


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?200003080910.BAA61449>