From nobody@FreeBSD.org Wed Feb 25 09:45:28 2004 Return-Path: Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5863816A4CE for ; Wed, 25 Feb 2004 09:45:28 -0800 (PST) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5117F43D1F for ; Wed, 25 Feb 2004 09:45:28 -0800 (PST) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.10/8.12.10) with ESMTP id i1PHjS72014946 for ; Wed, 25 Feb 2004 09:45:28 -0800 (PST) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.10/8.12.10/Submit) id i1PHjSe4014945; Wed, 25 Feb 2004 09:45:28 -0800 (PST) (envelope-from nobody) Message-Id: <200402251745.i1PHjSe4014945@www.freebsd.org> Date: Wed, 25 Feb 2004 09:45:28 -0800 (PST) From: Matthew Fremont To: freebsd-gnats-submit@FreeBSD.org Subject: panic: page fault in ath kernel module if_ath on 5.2-RELEASE X-Send-Pr-Version: www-2.3 >Number: 63360 >Category: kern >Synopsis: [panic] page fault in ath kernel module if_ath on 5.2-RELEASE >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-bugs >State: closed >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Feb 25 09:50:14 PST 2004 >Closed-Date: Thu Mar 29 05:51:58 GMT 2007 >Last-Modified: Thu Mar 29 05:51:58 GMT 2007 >Originator: Matthew Fremont >Release: 5.2-RELEASE >Organization: >Environment: FreeBSD futomaki.6230.net 5.2-RELEASE FreeBSD 5.2-RELEASE #0: Sun Jan 11 04:21:45 GMT 2004 root@wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC i386 >Description: Page fault panic in if_ath.c on 5.2-RELEASE resulting from network traffic on ath(4) device (NetGear WG311). Panic can be easily reproduced by writing to Samba share from Win2k client, but has also occurred with NFS writes from Win2k client as well as FTP downloads initiated by sysinstall running on problem machine. last message on console prior to panic was: ath0: discard oversize frame (ether type 5e4 flags 3 len 1522 > max 1514) info from crash dump: This GDB was configured as "i386-unknown-freebsd"... (no debugging symbols found)... panic: page fault panic messages: --- Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 01 fault virtual address = 0x3823155c fault code = supervisor read, page not present instruction pointer = 0x8:0xc0669260 stack pointer = 0x10:0xd8a8fc54 frame pointer = 0x10:0xd8a8fc58 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 = 52 (swi7: task queue) trap number = 12 panic: page fault cpuid = 0; boot() called on cpu#0 syncing disks, buffers remaining... 3842 3841 3841 3841 3841 3841 3841 3841 3841 3841 3841 3841 3841 3841 ath0: device timeout 3841 3841 3841 3841 3841 3841 3841 giving up on 1724 buffers Uptime: 18h50m7s Dumping 511 MB 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240 256 272 288 304 320 336 352 368 384 400 416 432 448 464 480 496 --- Reading symbols from /boot/kernel/ath_hal.ko...(no debugging symbols found)... done. Loaded symbols for /boot/kernel/ath_hal.ko Reading symbols from /boot/kernel/acpi.ko...(no debugging symbols found)... done. Loaded symbols for /boot/kernel/acpi.ko Reading symbols from /boot/kernel/green_saver.ko... (no debugging symbols found)...done. Loaded symbols for /boot/kernel/green_saver.ko Reading symbols from /boot/kernel/linux.ko...(no debugging symbols found)... done. Loaded symbols for /boot/kernel/linux.ko Reading symbols from /boot/kernel/if_ath_g.ko...done. Loaded symbols for /boot/kernel/if_ath_g.ko #0 0xc063140b in doadump () (kgdb) bt #0 0xc063140b in doadump () #1 0xc0631967 in boot () #2 0xc0631cde in panic () #3 0xc07db62c in trap_fatal () #4 0xc07db2d2 in trap_pfault () #5 0xc07daedd in trap () #6 0xc07c8278 in calltrap () #7 0xc48167e3 in ath_rx_proc (arg=0xc481b000, npending=0) at /usr/src/sys/dev/ath/if_ath.c:1737 #8 0xc065408c in taskqueue_run () #9 0xc0654113 in taskqueue_swi_run () #10 0xc061f822 in ithread_loop () #11 0xc061e93e in fork_exit () (kgdb) NOTE: I recompiled if_ath.c with -g in order to get a line number in if_ath.c for the backtrace. The debug version of this module is loaded as if_ath_g.ko. This is the only change from 5.2-RELEASE. dmesg.today: Copyright (c) 1992-2004 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 5.2-RELEASE #0: Sun Jan 11 04:21:45 GMT 2004 root@wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC Preloaded elf kernel "/boot/kernel/kernel" at 0xc0a67000. Preloaded elf module "/boot/kernel/if_ath_g.ko" at 0xc0a671f4. Preloaded elf module "/boot/kernel/ath_hal.ko" at 0xc0a672a4. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0a67350. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Pentium III/Pentium III Xeon/Celeron (498.34-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x673 Stepping = 3 Features=0x383fbff real memory = 536862720 (511 MB) avail memory = 511815680 (488 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 1 cpu1 (AP): APIC ID: 0 ioapic0: Changing APIC ID to 2 ioapic1: Changing APIC ID to 3 ioapic0 irqs 0-15 on motherboard ioapic1 irqs 16-31 on motherboard Pentium Pro MTRR support enabled npx0: [FAST] npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard acpi0: Power Button (fixed) Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000 pcibios: BIOS version 2.10 Using $PIR table, 11 entries at 0xc00fc330 acpi_timer0: <32-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 acpi_cpu0: on acpi0 acpi_cpu1: on acpi0 pcib0: on acpi0 pci0: on pcib0 pcib1: at device 2.0 on pci0 pci1: on pcib1 ahc0: port 0xfc00-0xfcff mem 0xfcfff000-0xfcffffff irq 31 at device 4.0 on pci1 aic7890/91: Ultra2 Wide Channel A, SCSI Id=7, 32/253 SCBs ahc1: port 0xf800-0xf8ff mem 0xfcffe000-0xfcffefff irq 30 at device 6.0 on pci1 aic7880: Ultra Single Channel A, SCSI Id=7, 16/253 SCBs fxp0: port 0xecc0-0xecff mem 0xfe000000-0xfe0fffff,0xfe102000-0xfe102fff irq 16 at device 8.0 on pci0 fxp0: Ethernet address 00:b0:d0:21:b1:b3 miibus0: on fxp0 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pci0: at device 14.0 (no driver attached) isab0: port 0x580-0x58f at device 15.0 on pci0 isa0: on isab0 pcib2: on acpi0 pci2: on pcib2 ath0: mem 0xf6010000-0xf601ffff irq 28 at device 6.0 on pci2 ath0: mac 5.6 phy 4.1 5ghz radio 1.7 2ghz radio 2.3 ath0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps ath0: 802.11 address: 00:09:5b:94:6e:b6 pci2: at device 14.0 (no driver attached) fdc0: port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A sio1 port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A ppc0 port 0x778-0x77f,0x378-0x37f irq 7 on acpi0 ppc0: Generic chipset (ECP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold ppbus0: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 orm0: