kern/64363: panic: ffs_blkfree: freeing free block

dirk.meyer at dinoex.sub.org dirk.meyer at dinoex.sub.org
Tue Mar 16 22:40:16 PST 2004


>Number:         64363
>Category:       kern
>Synopsis:       panic: ffs_blkfree: freeing free block
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 16 22:40:15 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Dirk Meyer
>Release:        FreeBSD 4.9-STABLE i386
>Organization:
privat
>Environment:

FreeBSD stable.dinoex.sub.de 4.9-STABLE FreeBSD 4.9-STABLE #36: Fri Jan 30 09:52:54 CET 2004     root at stable.dinoex.sub.de:/usr/obj/usr/src/sys/GENERIC  i386

	GENERIC kernel

>Description:

	while pkg_delete big packages inside a jail
	reside in /data filesystem.

# df
Filesystem                 1K-blocks    Used   Avail Capacity  Mounted on
/dev/ad0s1a                    99183   54315   36934    60%    /
/dev/ad0s1h                 14231510 9676094 3416896    74%    /data
/dev/ad0s1e                    99183    2869   88380     3%    /tmp
/dev/ad0s1f                  2977230 1430474 1308578    52%    /usr
/dev/ad0s1g                   992239    3534  909326     0%    /var
procfs                             4       4       0   100%    /proc

panic messages:
---
panic: ffs_blkfree: freeing free block

syncing disks... 137 8 8 3 3 3 3 3 3 3 panic: lockmgr: locking against myself
Uptime: 46d11h47m56s

dumping to dev #ad/0x20001, offset 1556480
dump ata0: resetting devices .. done
240 239 238 237 236 235 234 233 232 231 230 229 228 227 226 225 224 223 222 221 220 219 218 217 216 215 214 213 212
211 210 209 208 207 206 205 204 203 202 201 200 199 198 197 196 195 194 193 192 191 190 189 188 187 186 185 184 183
182 181 180 179 178 177 176 175 174 173 172 171 170 169 168 167 166 165 164 163 162 161 160 159 158 157 156 155 154
153 152 151 150 149 148 147 146 145 144 143 142 141 140 139 138 137 136 135 134 133 132 131 130 129 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 9
4 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  0xc022a7ee in dumpsys ()
(kgdb) bt
#0  0xc022a7ee in dumpsys ()
#1  0xc022a5bf in boot ()
#2  0xc022a9e4 in poweroff_wait ()
#3  0xc0224eb3 in lockmgr ()
#4  0xc0252313 in getblk ()
#5  0xc0250446 in bread ()
#6  0xc032ea30 in ffs_blkfree ()
#7  0xc0333272 in handle_workitem_freeblocks ()
#8  0xc03316ef in process_worklist_item ()
#9  0xc0331582 in softdep_process_worklist ()
#10 0xc022a41d in boot ()
#11 0xc022a9e4 in poweroff_wait ()
#12 0xc032eafa in ffs_blkfree ()
#13 0xc033342f in indir_trunc ()
#14 0xc03331e9 in handle_workitem_freeblocks ()
#15 0xc03316ef in process_worklist_item ()
#16 0xc0331582 in softdep_process_worklist ()
#17 0xc0258b87 in sched_sync ()
(kgdb)

>How-To-Repeat:

	happens in a few cases, once in 50 runs.
	- heavy disk io.
	- in jail: pkg_delete /var/db/pkg/* 

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list