OOPS, seemingly when loading ath_pci

Bug #76386 reported by Jeff Bailey
This bug report is a duplicate of:  Bug #76294: atheros oops. Edit Remove
8
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Incomplete
Undecided
Unassigned
linux-source-2.6.20 (Ubuntu)
Won't Fix
Medium
Unassigned

Bug Description

Binary package hint: linux-source-2.6.20

The new 2.6.20 kernel seems to dislike the atheros driver.

[ 32.208000] ath_pci: 0.9.4.5 (0.9.2.1)
[ 32.208000] ACPI: PCI Interrupt 0000:06:02.0[A] -> GSI 22 (level, low) -> IRQ 22
[ 32.208000] BUG: unable to handle kernel NULL pointer dereference at virtual address 00000000
[ 32.208000] printing eip:
[ 32.208000] f8c87008
[ 32.208000] *pde = 00000000
[ 32.208000] Oops: 0002 [#1]
[ 32.208000] SMP
[ 32.208000] Modules linked in: ath_pci ath_rate_sample snd ipv6 yenta_socket rsrc_nonstatic pcmcia_core wlan soundcore serio_raw ath_hal(P) intel_agp snd_
page_alloc pcspkr agpgart iTCO_wdt iTCO_vendor_support joydev tsdev evdev ext3 jbd mbcache sg sr_mod cdrom sd_mod ata_piix ahci ata_generic libata scsi_mod o
hci1394 ieee1394 generic ehci_hcd uhci_hcd raid10 raid456 xor raid1 raid0 multipath linear md_mod thermal processor fan fbcon tileblit font bitblit softcurso
r vesafb capability commoncap pcnet32 usbhid hid usbcore psmouse 8139too 8139cp mii loop squashfs unionfs
[ 32.208000] CPU: 0
[ 32.208000] EIP: 0060:[<f8c87008>] Tainted: P VLI
[ 32.208000] EFLAGS: 00010292 (2.6.20-2-generic #3)
[ 32.208000] EIP is at ath_attach+0x148/0x1530 [ath_pci]
[ 32.208000] eax: 00000000 ebx: 00000013 ecx: 00000000 edx: f78f1dcf
[ 32.208000] esi: c1b0f800 edi: f7990400 ebp: f7990400 esp: f78f1d40
[ 32.208000] ds: 007b es: 007b ss: 0068
[ 32.208000] Process modprobe (pid: 3338, ti=f78f0000 task=dfe18030 task.ti=f78f0000)
[ 32.208000] Stack: f8d00000 f78f1dc8 00000000 00000000 00000000 00000000 00000000 00000000
[ 32.208000] f7990000 00130000 f7991a38 00000000 00000000 00000000 00000000 00000000
[ 32.208000] 00000000 00000000 00000000 00000000 00000000 00000016 f79a55e0 c03bb100
[ 32.208000] Call Trace:
[ 32.208000] [<c0151281>] setup_irq+0xe1/0x1d0
[ 32.208000] [<f8c8c0e0>] ath_pci_probe+0x0/0x370 [ath_pci]
[ 32.208000] [<f8c899a0>] ath_intr+0x0/0xb50 [ath_pci]
[ 32.208000] [<f8c8c2b3>] ath_pci_probe+0x1d3/0x370 [ath_pci]
[ 32.208000] [<c01b50be>] sysfs_create_link+0x6e/0x160
[ 32.208000] [<f8c8c0e0>] ath_pci_probe+0x0/0x370 [ath_pci]
[ 32.208000] [<c01f64d6>] pci_device_probe+0x56/0x80
[ 32.208000] [<c0251624>] really_probe+0x54/0x140
[ 32.208000] [<c0251759>] driver_probe_device+0x49/0xc0
[ 32.208000] [<c025190e>] __driver_attach+0x9e/0xa0
[ 32.208000] [<c0250b2b>] bus_for_each_dev+0x3b/0x60
[ 32.208000] [<c02514d6>] driver_attach+0x16/0x20
[ 32.208000] [<c0251870>] __driver_attach+0x0/0xa0
[ 32.208000] [<c0250ebb>] bus_add_driver+0x7b/0x1a0
[ 32.208000] [<c01f66a4>] __pci_register_driver+0x74/0xc0
[ 32.208000] [<f8adb030>] init_ath_pci+0x30/0x54 [ath_pci]
[ 32.208000] [<c014168d>] sys_init_module+0x15d/0x1bb0
[ 32.208000] [<c0107abd>] sys_mmap2+0xcd/0xd0
[ 32.208000] [<c0103116>] sysenter_past_esp+0x5f/0x89
[ 32.208000] =======================
[ 32.208000] Code: 89 40 04 c7 85 a4 17 00 00 d0 b6 c8 f8 8b 54 24 20 8d 84 24 88 00 00 00 89 44 24 04 8b 42 1c 89 ea 89 04 24 89 d8 e8 68 a2 f7 ff <01> 00
 00 00 24 2c 0f 84 98 05 00 00 8b 5c 24 2c 8b 43 04 3d 00
[ 32.208000] EIP: [<f8c87008>] ath_attach+0x148/0x1530 [ath_pci] SS:ESP 0068:f78f1d40
[ 32.208000] <6>cs: IO port probe 0x100-0x4ff: excluding 0x4d0-0x4d7
[ 32.852000] cs: IO port probe 0xc00-0xcf7: clean.

lspci:
jbailey@sopwith:/root$ lspci
00:00.0 Host bridge: Intel Corporation Mobile 915GM/PM/GMS/910GML Express Processor to DRAM Controller (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 03)
00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev d3)
00:1e.2 Multimedia audio controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller (rev 03)
00:1e.3 Modem: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Modem Controller (rev 03)
00:1f.0 ISA bridge: Intel Corporation 82801FBM (ICH6M) LPC Interface Bridge (rev 03)
00:1f.2 IDE interface: Intel Corporation 82801FBM (ICH6M) SATA Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller (rev 03)
06:01.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
06:02.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)
06:04.0 CardBus bridge: Texas Instruments PCI4510 PC card Cardbus Controller (rev 03)
06:04.1 FireWire (IEEE 1394): Texas Instruments PCI4510 IEEE-1394 Controller (rev 01)

For the Atheros card specifically: (lspci -vv)

06:02.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)
        Subsystem: Askey Computer Corp. Unknown device 7084
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 168 (2500ns min, 7000ns max), Cache Line Size: 32 bytes
        Interrupt: pin A routed to IRQ 22
        Region 0: Memory at b0100000 (32-bit, non-prefetchable) [size=64K]
        Capabilities: [44] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=2 PME-

Revision history for this message
Jeff Bailey (jbailey) wrote :

Whups, hit 'send' too quickly. This is happening at startup. I think when it's preparing the restricted modules set. Reverting to 2.6.19-7-generic doesn't show the problem.

Revision history for this message
Justin Chudgar (justinzane) wrote :

I've gotten the same result. Also had to revert to 2.6.17 to get the system back up and running.

Revision history for this message
Sten Spans (sten-blinkenlights) wrote :

I've gotten the same result as well

00:08.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (
rev 01)
        Subsystem: Accton Technology Corporation Unknown device ee23
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR-FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort
- <MAbort- >SERR- <PERR-
        Latency: 168 (2500ns min, 7000ns max), Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 2000:08.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (
rev 01)
        Subsystem: Accton Technology Corporation Unknown device ee23
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Step
ping- SERR- FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 168 (2500ns min, 7000ns max), Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 20
        Region 0: Memory at fdfe0000 (32-bit, non-prefetchable) [size=64K]
        Capabilities: [44] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=2 PME-
        Region 0: Memory at fdfe0000 (32-bit, non-prefetchable) [size=64K]
        Capabilities: [44] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=2 PME-

snore (sten-bit)
Changed in linux-source-2.6.20:
status: Unconfirmed → Confirmed
Changed in linux-source-2.6.20:
importance: Undecided → Medium
Revision history for this message
Scott Henson (scotth) wrote :

Same problem here. Except it seems to segfault on every modprobe after that. Trying to load my intel graphics modules results in a nasty segfault. I do have an atheros based wlan card in my system as well.

Revision history for this message
Launchpad Janitor (janitor) wrote : This bug is now reported against the 'linux' package

Beginning with the Hardy Heron 8.04 development cycle, all open Ubuntu kernel bugs need to be reported against the "linux" kernel package. We are automatically migrating this bug to the new "linux" package. However, development has already began for the upcoming Intrepid Ibex 8.10 release. It would be helpful if you could test the upcoming release and verify if this is still an issue - http://www.ubuntu.com/testing . If the issue still exists, please update this report by changing the Status of the "linux" task from "Incomplete" to "New". We appreciate your patience and understanding as we make this transition. Thanks!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.