From owner-freebsd-hackers@FreeBSD.ORG Wed Jul 16 00:21:43 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C476737B401 for ; Wed, 16 Jul 2003 00:21:43 -0700 (PDT) Received: from dgap-gw.mipt.ru (dgap-gw.mipt.ru [194.85.81.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id B768A43F93 for ; Wed, 16 Jul 2003 00:21:39 -0700 (PDT) (envelope-from andrew@nas.dgap.mipt.ru) Received: (qmail 31016 invoked from network); 16 Jul 2003 07:21:35 -0000 Received: from unknown (HELO nas.dgap.mipt.ru) ([194.85.81.203]) (envelope-sender ) by dgap-gw.mipt.ru (qmail-ldap-1.03) with SMTP for ; 16 Jul 2003 07:21:35 -0000 Received: from nas.dgap.mipt.ru (localhost [127.0.0.1]) by nas.dgap.mipt.ru (8.12.8p1/8.12.8) with ESMTP id h6G7LZvt080624 for ; Wed, 16 Jul 2003 11:21:35 +0400 (MSD) (envelope-from andrew@nas.dgap.mipt.ru) Received: (from andrew@localhost) by nas.dgap.mipt.ru (8.12.8p1/8.12.8/Submit) id h6G7LZNt080623 for freebsd-hackers@freebsd.org; Wed, 16 Jul 2003 11:21:35 +0400 (MSD) Date: Wed, 16 Jul 2003 11:21:35 +0400 From: "Andrew L. Neporada" To: freebsd-hackers@freebsd.org Message-ID: <20030716072135.GA80585@nas.dgap.mipt.ru> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="vtzGhvizbBRQ85DL" Content-Disposition: inline User-Agent: Mutt/1.4i Subject: 4.8 panic "ffs_clusteralloc: map mismatch" X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Jul 2003 07:21:44 -0000 --vtzGhvizbBRQ85DL Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I have been experiencing several "ffs_clusteralloc: map mismatch" kernel=20 panics (always while heavy r/w activity on ad0). PC in question has=20 SuperMicro P3TDL3 motherboard, 2 ide + 1 scsi HDD and 4 nics (full dmesg & kernel config attached). Panic messages: gw3# gdb -k kernel.debug vmcore.0 GNU gdb 4.18 (FreeBSD) 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 condition= s. 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"...Deprecated bfd_read cal= led at /data/FreeBSD/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/g= db/dbxread.c line 2627 in elfstab_build_psymtabs Deprecated bfd_read called at /data/FreeBSD/src/gnu/usr.bin/binutils/gdb/..= /../../../contrib/gdb/gdb/dbxread.c line 933 in fill_symbuf IdlePTD at phsyical address 0x0031d000 initial pcb at physical address 0x00293280 panicstr: ffs_clusteralloc: map mismatch panic messages: --- panic: ffs_clusteralloc: map mismatch syncing disks... 14 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9=20 giving up on 7 buffers Uptime: 2d14h39m49s dumping to dev #da/0x20001, offset 1048704 dump 511 510 509 508 507 506 505 504 503 502 501 500 499 498 497 496 495 49= 4 493 492 491 490 489 488 487 486 485 484 483 482 481 480 479 478 477 476 4= 75 474 473 472 471 470 469 468 467 466 465 464 463 462 461 460 459 458 457 = 456 455 454 453 452 451 450 449 448 447 446 445 444 443 442 441 440 439 438= 437 436 435 434 433 432 431 430 429 428 427 426 425 424 423 422 421 420 41= 9 418 417 416 415 414 413 412 411 410 409 408 407 406 405 404 403 402 401 4= 00 399 398 397 396 395 394 393 392 391 390 389 388 387 386 385 384 383 382 = 381 380 379 378 377 376 375 374 373 372 371 370 369 368 367 366 365 364 363= 362 361 360 359 358 357 356 355 354 353 352 351 350 349 348 347 346 345 34= 4 343 342 341 340 339 338 337 336 335 334 333 332 331 330 329 328 327 326 3= 25 324 323 322 321 320 319 318 317 316 315 314 313 312 311 310 309 308 307 = 306 305 304 303 302 301 300 299 298 297 296 295 294 293 292 291 290 289 288= 287 286 285 284 283 282 281 280 279 278 277 276 275 274 273 272 271 270 26= 9 268 267 266 265 264 263 262 261 260 259 258 257 256 255 254 253 252 251 2= 50 249 248 247 246 245 244 243 242 241 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 19= 4 193 192 191 190 189 188 187 186 185 184 183 182 181 180 179 178 177 176 1= 75 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 11= 9 118 117 116 115 114 113 112 111 110 109 108 107 106 105 104 103 102 101 1= 00 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=20 --- #0 dumpsys () at /data/FreeBSD/src/sys/kern/kern_shutdown.c:487 487 if (dumping++) { (kgdb) bt #0 dumpsys () at /data/FreeBSD/src/sys/kern/kern_shutdown.c:487 #1 0xc016c2f0 in boot (howto=3D256) at /data/FreeBSD/src/sys/kern/kern_shutdown.c:316 #2 0xc016c73d in panic (fmt=3D0xc0257480 "ffs_clusteralloc: map mismatch") at /data/FreeBSD/src/sys/kern/kern_shutdown.c:595 #3 0xc01d94b9 in ffs_clusteralloc (ip=3D0xc1ff3200, cg=3D252, bpref=3D2297= 9280,=20 len=3D2) at /data/FreeBSD/src/sys/ufs/ffs/ffs_alloc.c:1285 #4 0xc01d889b in ffs_hashalloc (ip=3D0xc1ff3200, cg=3D252, pref=3D22979280= , size=3D2,=20 allocator=3D0xc01d92a4 ) at /data/FreeBSD/src/sys/ufs/ffs/ffs_alloc.c:863 #5 0xc01d8029 in ffs_reallocblks (ap=3D0xd50addd0) at /data/FreeBSD/src/sys/ufs/ffs/ffs_alloc.c:442 #6 0xc0197586 in cluster_write (bp=3D0xcbcbfa3c, filesize=3D868057088,=20 seqcount=3D127) at vnode_if.h:1077 #7 0xc01e465b in ffs_write (ap=3D0xd50ade74) at /data/FreeBSD/src/sys/ufs/ufs/ufs_readwrite.c:556 #8 0xc01a25e6 in vn_write (fp=3D0xc1669080, uio=3D0xd50adee0, cred=3D0xc19= 8bf00,=20 flags=3D0, p=3D0xd4f42d00) at vnode_if.h:363 #9 0xc017ba62 in dofilewrite (p=3D0xd4f42d00, fp=3D0xc1669080, fd=3D4,=20 buf=3D0x8059300, nbyte=3D65536, offset=3D-1, flags=3D0) at /data/FreeBSD/src/sys/sys/file.h:163 #10 0xc017b913 in write (p=3D0xd4f42d00, uap=3D0xd50adf80) at /data/FreeBSD/src/sys/kern/sys_generic.c:329 ---Type to continue, or q to quit--- #11 0xc022438d in syscall2 (frame=3D{tf_fs =3D 1292828719, tf_es =3D 134545= 455,=20 tf_ds =3D -1078001617, tf_edi =3D 65536, tf_esi =3D 134583040,=20 tf_ebp =3D -1077937356, tf_isp =3D -720707628, tf_ebx =3D 65536, tf_e= dx =3D 3,=20 tf_ecx =3D 2, tf_eax =3D 4, tf_trapno =3D 7, tf_err =3D 2, tf_eip =3D= 134562780,=20 tf_cs =3D 31, tf_eflags =3D 659, tf_esp =3D -1077937416, tf_ss =3D 47= }) at /data/FreeBSD/src/sys/i386/i386/trap.c:1175 #12 0xc02151c5 in Xint0x80_syscall () #13 0x8048a95 in ?? () #14 0x804856a in ?? () #15 0x804813e in ?? () (kgdb) up 3 #3 0xc01d94b9 in ffs_clusteralloc (ip=3D0xc1ff3200, cg=3D252, bpref=3D2297= 9280,=20 len=3D2) at /data/FreeBSD/src/sys/ufs/ffs/ffs_alloc.c:1285 1285 panic("ffs_clusteralloc: map mismatch"); (kgdb) print *ip $1 =3D {i_lock =3D {lk_interlock =3D {lock_data =3D 0}, lk_flags =3D 1088,= =20 lk_sharecount =3D 0, lk_waitcount =3D 0, lk_exclusivecount =3D 1, lk_pr= io =3D 8,=20 lk_wmesg =3D 0xc025946a "inode", lk_timo =3D 6, lk_lockholder =3D 12967= },=20 i_hash =3D {le_next =3D 0xc1658c00, le_prev =3D 0xc156a4c0}, i_vnode =3D = 0xd48ee780,=20 i_devvp =3D 0xd45f4400, i_flag =3D 134, i_dev =3D 0xc15b1b00, i_number = =3D 4793632,=20 i_effnlink =3D 1, inode_u =3D {fs =3D 0xc2488800, e2fs =3D 0xc2488800}, i= _dquot =3D { 0x0, 0x0}, i_modrev =3D 968546188163669, i_lockf =3D 0x0, i_count =3D 0= ,=20 i_endoff =3D 0, i_diroff =3D 0, i_offset =3D 0, i_ino =3D 0, i_reclen =3D= 0,=20 i_spare =3D {0, 0, 0}, i_dirhash =3D 0x0, i_din =3D {di_mode =3D 33188,= =20 di_nlink =3D 1, di_u =3D {oldids =3D {0, 0}, inumber =3D 0}, di_size = =3D 868057088,=20 di_atime =3D 1058327210, di_atimensec =3D 0, di_mtime =3D 1058327251,= =20 di_mtimensec =3D 0, di_ctime =3D 1058327251, di_ctimensec =3D 0, di_db = =3D { 22329744, 22329752, 22329760, 22329768, 22329776, 22329784, 22329792,= =20 22329800, 22329808, 22329816, 22329824, 22329832}, di_ib =3D {1953756= 8,=20 20514256, 0}, di_flags =3D 0, di_blocks =3D 1695872, di_gen =3D 11776= 41074,=20 di_uid =3D 0, di_gid =3D 0, di_spare =3D {0, 0}}} (kgdb) quit --vtzGhvizbBRQ85DL Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="dmesg.boot" Copyright (c) 1992-2003 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.8-RELEASE #2: Sun Jul 13 16:47:12 MSD 2003 root@gw3.rvs:/data/FreeBSD/obj/data/FreeBSD/src/sys/GW3 Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 1199427366 Hz CPU: Intel(R) Pentium(R) III CPU 1200MHz (1199.43-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x6b1 Stepping = 1 Features=0x383fbff real memory = 536805376 (524224K bytes) avail memory = 519630848 (507452K bytes) Preloaded elf kernel "kernel" at 0xc02fe000. Pentium Pro MTRR support enabled md0: Malloc disk Using $PIR table, 9 entries at 0xc00f5230 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 xl0: <3Com 3c905-TX Fast Etherlink XL> port 0xc000-0xc03f irq 5 at device 1.0 on pci0 xl0: Ethernet address: 00:60:97:a1:6d:f6 miibus0: on xl0 nsphy0: on miibus0 nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pci0: at 4.0 irq 11 fxp0: port 0xc400-0xc43f mem 0xfe900000-0xfe9fffff,0xfeafe000-0xfeafefff irq 9 at device 6.0 on pci0 fxp0: Ethernet address 00:30:48:25:38:80 inphy0: on miibus1 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto isab0: at device 15.0 on pci0 isa0: on isab0 atapci0: port 0xffa0-0xffaf at device 15.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pci0: at 15.2 irq 10 pcib1: on motherboard pci1: on pcib1 xl1: <3Com 3c905C-TX Fast Etherlink XL> port 0xe000-0xe07f mem 0xfebfe800-0xfebfe87f irq 11 at device 1.0 on pci1 xl1: Ethernet address: 00:04:79:67:8c:07 miibus2: on xl1 xlphy0: <3c905C 10/100 internal PHY> on miibus2 xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto xl2: <3Com 3c905C-TX Fast Etherlink XL> port 0xe400-0xe47f mem 0xfebfec00-0xfebfec7f irq 11 at device 2.0 on pci1 xl2: Ethernet address: 00:04:79:67:8a:b7 miibus3: on xl2 xlphy1: <3c905C 10/100 internal PHY> on miibus3 xlphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto ahc0: port 0xe800-0xe8ff mem 0xfebff000-0xfebfffff irq 10 at device 3.0 on pci1 aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs orm0: