Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Jan 2003 18:53:15 +0100
From:      Christian Lackas <c.lackas@kfa-juelich.de>
To:        freebsd-stable@FreeBSD.ORG
Subject:   panic in if_xl
Message-ID:  <20030109175315.GA64078@zel726.zel.kfa-juelich.de>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Hello,

I'm running a recent FreeBSD 4.7-Stable:

  FreeBSD zel726.zel.kfa-juelich.de 4.7-STABLE FreeBSD 4.7-STABLE #8:
  Sun Jan  5 03:15:51 CET 2003 root@host:/usr/obj/usr/src/sys/DELTA  i386

I'm experiencing some system panics in the last months. I have tried
updating the system but the panics stayed (two times a week). There are
all related to network activity (especially to my perl-based mail filter
(SpamAssassin), but also ftp activity, etc...).

I've attached a gdb session with a crash dump (based on a debug kernel).
I would be glad to provide more information. All I can see is the
mention of the if_xl driver (in all my dumps).


Regards
 Christian


[-- Attachment #2 --]
lackas@zel726$ uname -a
FreeBSD zel726.zel.kfa-juelich.de 4.7-STABLE FreeBSD 4.7-STABLE #8: Sun Jan  5 03:15:51 CET 2003     root@zel726.zel.kfa-juelich.de:/usr/obj/usr/src/sys/DELTA  i386



lackas@zel726$ sudo gdb -k /usr/obj/usr/src/sys/DELTA/kernel.debug /usr/crash/vmcore.12
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 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"...Deprecated bfd_read called at /usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.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 0x0042e000
initial pcb at physical address 0x00371b40
panicstr: page fault
panic messages:
---
Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x7026565
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc022e7c8
stack pointer           = 0x10:0xdf5aaf4c
frame pointer           = 0x10:0xdf5aaf58
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 1288 (perl)
interrupt mask          = net
trap number             = 12
panic: page fault

syncing disks... 31 3
done
Uptime: 8h14m35s

dumping to dev #ad/0x40001, offset 1048736
dump ata0: resetting devices .. done
511 510 509 508 507 506 505 504 503 502 501 500 499 498 497 496 495 494 493 492 491 490 489 488 487 486 485 484 483 482 481 480 479 478 477 476 475 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 419 418 417 416 415 414 413 412 411 410 409 408 407 406 405 404 403 402 401 400 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 344 343 342 341 340 339 338 337 336 335 334 333 332 331 330 329 328 327 326 325 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 269 268 267 266 265 264 263 262 261 260 259 258 257 256 255 254 253 252 251 250 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 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 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 Copyright (c) 1992-2002 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.7-STABLE #7: Fri Dec 20 12:24:20 CET 2002
    root@zel726.zel.kfa-juelich.de:/usr/obj/usr/src/sys/DELTA
Timecounter "i8254"  frequency 1193182 Hz
CPU: AMD Athlon(TM) XP2100+ (1745.97-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x662  Stepping = 2
  Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
  AMD Features=0xc0400000<AMIE,DSP,3DNow!>
real memory  = 536788992 (524208K bytes)
avail memory = 518144000 (506000K bytes)
Preloaded elf kernel "kernel" at 0xc040f000.
netsmb_dev: loaded
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 10 entries at 0xc00f14a0
apm0: <APM BIOS> on motherboard
apm0: found APM BIOS v1.2, connected at v1.2
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
agp0: <VIA Generic host to PCI bridge> mem 0xf0000000-0xf7ffffff at device 0.0 on pci0
pcib1: <PCI to PCI bridge (vendor=1106 device=b099)> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <ATI model 5446 graphics accelerator> at 0.0 irq 11
pcm0: <CMedia CMI8738> port 0xb800-0xb8ff irq 10 at device 5.0 on pci0
xl0: <3Com 3c905B-COMBO Fast Etherlink XL> port 0xb400-0xb47f mem 0xea800000-0xea80007f irq 11 at device 13.0 on pci0
xl0: Ethernet address: 00:04:76:f2:07:77
miibus0: <MII bus> on xl0
xlphy0: <3Com internal media interface> on miibus0
xlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isab0: <PCI to ISA bridge (vendor=1106 device=3147)> at device 17.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 8233 ATA133 controller> port 0xb000-0xb00f irq 0 at device 17.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: <VIA 83C572 USB controller> port 0xa800-0xa81f irq 5 at device 17.2 on pci0
usb0: <VIA 83C572 USB controller> on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: <VIA 83C572 USB controller> port 0xa400-0xa41f irq 5 at device 17.3 on pci0
usb1: <VIA 83C572 USB controller> on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
orm0: <Option ROM> at iomem 0xc0000-0xc7fff 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> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
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=0x300>
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 (EPP/NIBBLE) in COMPATIBLE mode
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
plip0: <PLIP network interface> on ppbus0
pca0 at port 0x40 on isa0
IP packet filtering initialized, divert enabled, rule-based forwarding enabled, default to accept, logging limited to 100 packets/entry by default
BRIDGE 020214 loaded
DUMMYNET initialized (011031)
IPsec: Initialized Security Association Processing.
ad0: 58644MB <IC35L060AVVA07-0> [119150/16/63] at ata0-master UDMA100
acd0: CDROM <FX54++W> at ata1-master PIO4
acd1: CD-RW <PLEXTOR CD-R PX-W4012A> at ata1-slave PIO4
Mounting root from ufs:/dev/ad0s2a
cd0 at ata1 bus 0 target 0 lun 0
cd0: <MITSUMI CD-ROM FX54++W U01G> Removable CD-ROM SCSI-0 device
cd0: 16.000MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present
cd1 at ata1 bus 0 target 1 lun 0
cd1: <PLEXTOR CD-R   PX-W4012A 1.02> Removable CD-ROM SCSI-0 device
cd1: 16.000MB/s transfers
cd1: Attempt to query device size failed: NOT READY, Medium not present - tray closed
WARNING: / was not properly dismounted
microuptime() went backwards (19298.101388 -> 18602.728783)
pid 13727 (cvsup), uid 0: exited on signal 6 (core dumped)


Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x0
fault code              = supervisor write, page not present
instruction pointer     = 0x8:0xc019a865
stack pointer           = 0x10:0xdea2bec8
frame pointer           = 0x10:0xdea2becc
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 5 (vnlru)
interrupt mask          = bio
trap number             = 12
panic: page fault

syncing disks... 66 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
giving up on 1 buffers
Uptime: 3d18h35m13s

dumping to dev #ad/0x40001, offset 1048736
dump ata0: resetting devices .. done
511 510 509 508 507 506 505 504 503 502 501 500 499 498 497 496 495 494 493 492 491 490 489 488 487 486 485 484 483 482 481 480 479 478 477 476 475 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 419 418 417 416 415 414 413 412 411 410 409 408 407 406 405 404 403 402 401 400 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 344 343 342 341 340 339 338 337 336 335 334 333 332 331 330 329 328 327 326 325 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 269 268 267 266 265 264 263 262 261 260 259 258 257 256 255 254 253 252 251 250 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 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 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
---
#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  0xc017136b in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:316
#2  0xc01717a9 in panic (fmt=0xc031d5ac "%s") at /usr/src/sys/kern/kern_shutdown.c:595
#3  0xc02bed9f in trap_fatal (frame=0xc032b3e4, eva=48) at /usr/src/sys/i386/i386/trap.c:974
#4  0xc02bea4d in trap_pfault (frame=0xc032b3e4, usermode=0, eva=48)
    at /usr/src/sys/i386/i386/trap.c:867
#5  0xc02be5f3 in trap (frame={tf_fs = 16, tf_es = 16, tf_ds = 16, tf_edi = -862568168,
      tf_esi = -1036092032, tf_ebp = -1070418900, tf_isp = -1070418928, tf_ebx = -1070320196,
      tf_edx = 6864992, tf_ecx = 4, tf_eax = 0, tf_trapno = 12, tf_err = 0,
      tf_eip = -1071407312, tf_cs = 8, tf_eflags = 66054, tf_esp = -1036092032,
      tf_ss = -1036092032}) at /usr/src/sys/i386/i386/trap.c:466
#6  0xc0239f30 in acquire_lock (lk=0xc03435bc) at /usr/src/sys/ufs/ffs/ffs_softdep.c:266
#7  0xc023d108 in softdep_disk_io_initiation (bp=0xcc964118)
    at /usr/src/sys/ufs/ffs/ffs_softdep.c:2991
#8  0xc01aae5f in spec_strategy (ap=0xc032b498) at /usr/src/sys/miscfs/specfs/spec_vnops.c:453
#9  0xc01aa8e9 in spec_vnoperate (ap=0xc032b498)
    at /usr/src/sys/miscfs/specfs/spec_vnops.c:119
#10 0xc0249641 in ufs_vnoperatespec (ap=0xc032b498) at /usr/src/sys/ufs/ufs/ufs_vnops.c:2394
#11 0xc0248f41 in ufs_strategy (ap=0xc032b4dc) at vnode_if.h:944
#12 0xc0249611 in ufs_vnoperate (ap=0xc032b4dc) at /usr/src/sys/ufs/ufs/ufs_vnops.c:2376
#13 0xc019796e in bwrite (bp=0xcc964118) at vnode_if.h:944
#14 0xc019d10e in vop_stdbwrite (ap=0xc032b540) at /usr/src/sys/kern/vfs_default.c:331
#15 0xc019cf69 in vop_defaultop (ap=0xc032b540) at /usr/src/sys/kern/vfs_default.c:150
#16 0xc0249611 in ufs_vnoperate (ap=0xc032b540) at /usr/src/sys/ufs/ufs/ufs_vnops.c:2376
#17 0xc01988b3 in vfs_bio_awrite (bp=0xcc964118) at vnode_if.h:1193
#18 0xc0242abd in ffs_fsync (ap=0xc032b5a4) at /usr/src/sys/ufs/ffs/ffs_vnops.c:220
#19 0xc0241453 in ffs_sync (mp=0xc22fac00, waitfor=2, cred=0xc1453900, p=0xc0391640)
    at vnode_if.h:558
#20 0xc01a2083 in sync (p=0xc0391640, uap=0x0) at /usr/src/sys/kern/vfs_syscalls.c:576
#21 0xc0171106 in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:235
#22 0xc01717a9 in panic (fmt=0xc031d5ac "%s") at /usr/src/sys/kern/kern_shutdown.c:595
#23 0xc02bed9f in trap_fatal (frame=0xc032b6bc, eva=3243065286)
    at /usr/src/sys/i386/i386/trap.c:974
#24 0xc02bea4d in trap_pfault (frame=0xc032b6bc, usermode=0, eva=3243065286)
    at /usr/src/sys/i386/i386/trap.c:867
#25 0xc02be5f3 in trap (frame={tf_fs = 16, tf_es = 16, tf_ds = 16, tf_edi = -1052018688,
      tf_esi = 6686720, tf_ebp = -1070418168, tf_isp = -1070418200, tf_ebx = -1052018688,
      tf_edx = -1052418048, tf_ecx = 4436480, tf_eax = 516038, tf_trapno = 12, tf_err = 2,
      tf_eip = -1071453853, tf_cs = 8, tf_eflags = 66070, tf_esp = -1052333568,
      tf_ss = -1038207720}) at /usr/src/sys/i386/i386/trap.c:466
#26 0xc022e963 in xl_newbuf (sc=0xc21e3000, c=0xc21e3518) at /usr/src/sys/pci/if_xl.c:1805
#27 0xc022eb22 in xl_rxeof (sc=0xc21e3000) at /usr/src/sys/pci/if_xl.c:1906
#28 0xc022f250 in xl_intr (arg=0xc21e3000) at /usr/src/sys/pci/if_xl.c:2144
#29 0xc02b5a42 in cpu_idle () at /usr/src/sys/i386/i386/machdep.c:1024


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030109175315.GA64078>