Date: Tue, 21 Jan 2003 13:57:27 +0200 From: Alexander Peresunko <alex@freeman.org.ua> To: mckusick@mckusick.com Cc: stable@freebsd.org Subject: kernel panic in ufs Message-ID: <20030121115727.GB87758@ice.freeman.org.ua>
next in thread | raw e-mail | index | archive | help
Hi! I have a regular (one per 10-30 days) kernel panic on my FreeBSD box. This happens on hard disk operations (mostly on daily periodic or such operations as cvsup).=20 Ready to give additional information on request. ----- /var/run/dmesg.boot ----- Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.7-RELEASE-p3 #1: Wed Jan 8 14:49:51 EET 2003 root@mydomain.com:/usr/obj/usr/src/sys/MYKERNEL Timecounter "i8254" frequency 1193182 Hz CPU: Pentium III/Pentium III Xeon/Celeron (937.34-MHz 686-class CPU) Origin =3D "GenuineIntel" Id =3D 0x68a Stepping =3D 10 Features=3D0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,= CMOV,PAT,PSE36,MMX,FXSR,SSE> real memory =3D 535822336 (523264K bytes) avail memory =3D 517521408 (505392K bytes) Preloaded elf kernel "kernel" at 0xc0353000. netsmb_dev: loaded Pentium Pro MTRR support enabled md0: Malloc disk Using $PIR table, 9 entries at 0xc00fded0 npx0: <math processor> on motherboard npx0: INT 16 interface pcib0: <Host to PCI bridge> on motherboard pci0: <PCI bus> on pcib0 pci0: <Intel model 1132 VGA-compatible display device> at 2.0 irq 11 pcib1: <Intel 82801BA/BAM (ICH2) Hub to PCI bridge> at device 30.0 on pci0 pci1: <PCI bus> on pcib1 ahc0: <Adaptec 29160 Ultra160 SCSI adapter> port 0x9000-0x90ff mem 0xe50400= 00-0xe5040fff irq 11 at device 0.0 on pci1 aic7892: Ultra160 Wide Channel A, SCSI Id=3D7, 32/253 SCBs fxp0: <Intel Pro 10/100B/100+ Ethernet> port 0x9400-0x943f mem 0xe5000000-0= xe501ffff,0xe5042000-0xe5042fff irq 12 at device 1.0 on pci1 fxp0: Ethernet address 00:02:b3:8b:2a:66 inphy0: <i82555 10/100 media interface> on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp1: <Intel Pro 10/100B/100+ Ethernet> port 0x9800-0x983f mem 0xe5020000-0= xe503ffff,0xe5041000-0xe5041fff irq 9 at device 6.0 on pci1 fxp1: Ethernet address 00:02:b3:8b:38:7a inphy1: <i82555 10/100 media interface> on miibus1 inphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto de0: <Digital 21041 Ethernet> port 0x9c00-0x9c7f mem 0xe5043000-0xe504307f = irq 5 at device 7.0 on pci1 de0: 21041 [10Mb/s] pass 2.1 de0: address 00:40:05:35:fd:4f pci1: <unknown card> (vendor=3D0x1274, dev=3D0x5880) at 9.0 irq 12 de1: <Digital 21041 Ethernet> port 0xa400-0xa47f mem 0xe5044000-0xe504407f = irq 11 at device 10.0 on pci1 de1: 21041 [10Mb/s] pass 2.1 de1: address 00:40:05:35:fd:ea isab0: <Intel 82801BA/BAM (ICH2) PCI to LPC bridge> at device 31.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <Intel ICH2 ATA100 controller> port 0xf000-0xf00f at device 31.1 o= n pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pci0: <unknown card> (vendor=3D0x8086, dev=3D0x2443) at 31.3 irq 0 orm0: <Option ROMs> at iomem 0xc0000-0xc9fff,0xd3000-0xd47ff,0xd5000-0xd67f= f on isa0 fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0 atkbd0: <AT Keyboard> irq 1 on atkbdc0 kbd0 at atkbd0 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: <System console> at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=3D0x300> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode lpt0: <Printer> on ppbus0 lpt0: Interrupt-driven port de0: enabling 10baseT port IP packet filtering initialized, divert enabled, rule-based forwarding enab= led, default to deny, logging limited to 1000 packets/entry by default DUMMYNET initialized (011031) ata1-slave: ATAPI identify retries exceeded acd0: CDROM <CD-540E> at ata1-master PIO4 Waiting 15 seconds for SCSI devices to settle sa0 at ahc0 bus 0 target 4 lun 0 sa0: <SONY SDT-9000 0601> Removable Sequential Access SCSI-2 device=20 sa0: 10.000MB/s transfers (10.000MHz, offset 15) da0 at ahc0 bus 0 target 0 lun 0 da0: <IBM DPSS-318350M S96H> Fixed Direct Access SCSI-3 device=20 da0: 40.000MB/s transfers (20.000MHz, offset 63, 16bit), Tagged Queueing En= abled da0: 17501MB (35843670 512 byte sectors: 255H 63S/T 2231C) Mounting root from ufs:/dev/da0s1a ------------------------------- ----- kernel.debug ----- Script started on Tue Jan 21 12:10:59 2003 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 /usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxrea= d.c line 2627 in elfstab_build_psymtabs Deprecated bfd_read called at /usr/src/gnu/usr.bin/binutils/gdb/../../../..= /contrib/gdb/gdb/dbxread.c line 933 in fill_symbuf IdlePTD at phsyical address 0x00372000 initial pcb at physical address 0x002e0400 panicstr: page fault panic messages: --- Fatal trap 12: page fault while in kernel mode fault virtual address =3D 0x37 fault code =3D supervisor read, page not present instruction pointer =3D 0x8:0xc022e58c stack pointer =3D 0x10:0xde70cca4 frame pointer =3D 0x10:0xde70ccb4 code segment =3D base 0x0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, def32 1, gran 1 processor eflags =3D interrupt enabled, resume, IOPL =3D 0 current process =3D 55536 (find) interrupt mask =3D none trap number =3D 12 panic: page fault syncing disks... 134 done Uptime: 11d7h42m41s dumping to dev #da/0x20001, offset 2048 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 dumpsys () at /usr/src/sys/kern/kern_shutdown.c:487 487 if (dumping++) { (kgdb) where #0 dumpsys () at /usr/src/sys/kern/kern_shutdown.c:487 #1 0xc01785bf in boot (howto=3D256) at /usr/src/sys/kern/kern_shutdown.c:3= 16 #2 0xc01789e4 in poweroff_wait (junk=3D0xc02b47ac, howto=3D-1070906673) at /usr/src/sys/kern/kern_shutdown.c:595 #3 0xc02707d2 in trap_fatal (frame=3D0xde70cc64, eva=3D55) at /usr/src/sys= /i386/i386/trap.c:974 #4 0xc02704a5 in trap_pfault (frame=3D0xde70cc64, usermode=3D0, eva=3D55) at /usr/src/sys/i386/i386/trap.c:867 #5 0xc027008f in trap (frame=3D{tf_fs =3D -1072562160, tf_es =3D -85373745= 6, tf_ds =3D 16, tf_edi =3D -1028298240, tf_esi =3D 872961, tf_ebp =3D -563032908, tf_= isp =3D -563032944, tf_ebx =3D -820383720, tf_edx =3D -1029115904, tf_ecx =3D 0, tf_eax = =3D -1, tf_trapno =3D 12, tf_err =3D 0, tf_eip =3D -1071454836, tf_cs =3D 8, tf_eflags =3D 6618= 2, tf_esp =3D -820383720, tf_ss =3D -1019727104}) at /usr/src/sys/i386/i386/trap.c:466 #6 0xc022e58c in ufs_ihashget (dev=3D0xc2b56a00, inum=3D872961) at /usr/src/sys/ufs/ufs/ufs_ihash.c:108 #7 0xc022ba5a in ffs_vget (mp=3D0xc2b3e800, ino=3D872961, vpp=3D0xde70cd4c) at /usr/src/sys/ufs/ffs/ffs_vfsops.c:1080 #8 0xc022f2e1 in ufs_lookup (ap=3D0xde70cdac) at /usr/src/sys/ufs/ufs/ufs_= lookup.c:611 #9 0xc02340bd in ufs_vnoperate (ap=3D0xde70cdac) at /usr/src/sys/ufs/ufs/u= fs_vnops.c:2422 #10 0xc01a2026 in vfs_cache_lookup (ap=3D0xde70ce04) at vnode_if.h:77 #11 0xc02340bd in ufs_vnoperate (ap=3D0xde70ce04) at /usr/src/sys/ufs/ufs/u= fs_vnops.c:2422 #12 0xc01a4ef9 in lookup (ndp=3D0xde70ce80) at vnode_if.h:52 #13 0xc01a49f4 in namei (ndp=3D0xde70ce80) at /usr/src/sys/kern/vfs_lookup.= c:153 #14 0xc01aa655 in lstat (p=3D0xde6488a0, uap=3D0xde70cf80) at /usr/src/sys/= kern/vfs_syscalls.c:1823 #15 0xc0270a81 in syscall2 (frame=3D{tf_fs =3D 906952751, tf_es =3D 1345454= 55, tf_ds =3D -1078001617, tf_edi =3D 134566400, tf_esi =3D 134566472, tf_ebp =3D -1077937428, t= f_isp =3D -563032108, tf_ebx =3D 672073516, tf_edx =3D 134557696, tf_ecx =3D 0, tf_eax =3D = 190, tf_trapno =3D 7, tf_err =3D 2, tf_eip =3D 671756824, tf_cs =3D 31, tf_eflags =3D 647, = tf_esp =3D -1077937568, tf_ss =3D 47}) at /usr/src/sys/i386/i386/trap.c:1175 #16 0xc0264e85 in Xint0x80_syscall () #17 0x2809f9e9 in ?? () #18 0x2809f28a in ?? () #19 0x80496b6 in ?? () #20 0x804b4ec in ?? () #21 0x8049375 in ?? () (kgdb) up 5 #5 0xc027008f in trap (frame=3D{tf_fs =3D -1072562160, tf_es =3D -85373745= 6, tf_ds =3D 16, tf_edi =3D -1028298240, tf_esi =3D 872961, tf_ebp =3D -563032908, tf_= isp =3D -563032944, tf_ebx =3D -820383720, tf_edx =3D -1029115904, tf_ecx =3D 0, tf_eax = =3D -1, tf_trapno =3D 12, tf_err =3D 0, tf_eip =3D -1071454836, tf_cs =3D 8, tf_eflags =3D 6618= 2, tf_esp =3D -820383720, tf_ss =3D -1019727104}) at /usr/src/sys/i386/i386/trap.c:466 466 (void) trap_pfault(&frame, FALSE, eva); (kgdb) frame frame->tf_ebp frame->tf_eip #0 ufs_ihashget (dev=3D0xc2b56a00, inum=3D872961) at /usr/src/sys/ufs/ufs/= ufs_ihash.c:109 109 if (inum =3D=3D ip->i_number && dev =3D=3D ip->i_dev) { (kgdb) list 104 struct vnode *vp; 105 106 loop: 107 simple_lock(&ufs_ihash_slock); 108 for (ip =3D INOHASH(dev, inum)->lh_first; ip; ip =3D ip->i_hash.le_nex= t) { 109 if (inum =3D=3D ip->i_number && dev =3D=3D ip->i_dev) { 110 vp =3D ITOV(ip); 111 simple_lock(&vp->v_interlock); 112 simple_unlock(&ufs_ihash_slock); 113 if (vget(vp, LK_EXCLUSIVE | LK_INTERLOCK, p)) (kgdb) print inum $1 =3D 134566472 (kgdb) print ip $2 =3D (struct inode *) 0x0 (kgdb) up #1 0xc022ba5a in ffs_vget (mp=3D0xc2b3e800, ino=3D872961, vpp=3D0xde70cd4c) at /usr/src/sys/ufs/ffs/ffs_vfsops.c:1080 1080 if ((*vpp =3D ufs_ihashget(dev, ino)) !=3D NULL) { (kgdb) up #2 0xc022f2e1 in ufs_lookup (ap=3D0xde70cdac) at /usr/src/sys/ufs/ufs/ufs_= lookup.c:611 611 error =3D VFS_VGET(vdp->v_mount, dp->i_ino, &tdp); (kgdb) up #3 0xc02340bd in ufs_vnoperate (ap=3D0xde70cdac) at /usr/src/sys/ufs/ufs/u= fs_vnops.c:2422 2422 return (VOCALL(ufs_vnodeop_p, ap->a_desc->vdesc_offset, ap)); (kgdb) up #4 0xc01a2026 in vfs_cache_lookup (ap=3D0xde70ce04) at vnode_if.h:77 77 rc =3D VCALL(dvp, VOFFSET(vop_cachedlookup), &a); (kgdb) up #5 0xc02340bd in ufs_vnoperate (ap=3D0xde70ce04) at /usr/src/sys/ufs/ufs/u= fs_vnops.c:2422 2422 return (VOCALL(ufs_vnodeop_p, ap->a_desc->vdesc_offset, ap)); (kgdb) up #6 0xc01a4ef9 in lookup (ndp=3D0xde70ce80) at vnode_if.h:52 52 rc =3D VCALL(dvp, VOFFSET(vop_lookup), &a); (kgdb) up #7 0xc01a49f4 in namei (ndp=3D0xde70ce80) at /usr/src/sys/kern/vfs_lookup.= c:153 153 error =3D lookup(ndp); (kgdb) up #8 0xc01aa655 in lstat (p=3D0xde6488a0, uap=3D0xde70cf80) at /usr/src/sys/= kern/vfs_syscalls.c:1823 1823 if ((error =3D namei(&nd)) !=3D 0) (kgdb) up #9 0xc0270a81 in syscall2 (frame=3D{tf_fs =3D 906952751, tf_es =3D 1345454= 55, tf_ds =3D -1078001617, tf_edi =3D 134566400, tf_esi =3D 134566472, tf_ebp =3D -1077937428, t= f_isp =3D -563032108, tf_ebx =3D 672073516, tf_edx =3D 134557696, tf_ecx =3D 0, tf_eax =3D = 190, tf_trapno =3D 7, tf_err =3D 2, tf_eip =3D 671756824, tf_cs =3D 31, tf_eflags =3D 647, = tf_esp =3D -1077937568, tf_ss =3D 47}) at /usr/src/sys/i386/i386/trap.c:1175 1175 error =3D (*callp->sy_call)(p, args); (kgdb) up #10 0xc0264e85 in Xint0x80_syscall () (kgdb) up #11 0x2809f9e9 in ?? () (kgdb) up #12 0x2809f28a in ?? () (kgdb) up #13 0x80496b6 in ?? () (kgdb) up #14 0x804b4ec in ?? () (kgdb) up #15 0x8049375 in ?? () (kgdb) up Initial frame selected; you cannot go up. (kgdb) quit Script done on Tue Jan 21 12:12:31 2003 ----- kernel debug ----- --=20 FREE-UANIC To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030121115727.GB87758>