Bug 14813 - Ошибки при загрузке модуля ath_pci
: Ошибки при загрузке модуля ath_pci
Status: CLOSED WORKSFORME
: Sisyphus
(All bugs in Sisyphus/kernel-modules-madwifi-std-def)
: unstable
: all Linux
: P2 major
Assigned To:
:
:
:
:
:
  Show dependency tree
 
Reported: 2008-03-08 13:26 by
Modified: 2008-03-11 11:40 (History)


Attachments
Лог загрузки с 2.6.24 ядром (9.03 KB, application/octet-stream)
2008-03-08 13:31, Denis Yagofarov
no flags Details
Лог ручной загрузки модуля ath_pci при использовании 2.6.24 ядра (1.32 KB, application/octet-stream)
2008-03-08 13:33, Denis Yagofarov
no flags Details


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2008-03-08 13:26:58
Hardware:
MSI MegaBook PR210;

02:00.0 Ethernet controller: Atheros Communications, Inc. AR5006EG 802.11 b/g
Wireless PCI Express Adapter (rev 01)
        Subsystem: Device 1a3b:1026
        Control: I/O- Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr+
Stepping- SERR+ FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort-
<MAbort- >SERR- <PERR- INTx-
        Interrupt: pin A routed to IRQ 16
        Region 0: Memory at fdff0000 (64-bit, non-prefetchable) [size=64K]
        Capabilities: [40] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA
PME(D0-,D1-,D2-,D3hot+,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [50] Message Signalled Interrupts: Mask- 64bit- Queue=0/0
Enable-
                Address: 00000000  Data: 0000
        Capabilities: [60] Express (v1) Legacy Endpoint, MSI 00
                DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <512ns,
L1 <64us
                        ExtTag- AttnBtn- AttnInd- PwrInd- RBE- FLReset-
                DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
                        RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop-
                        MaxPayload 128 bytes, MaxReadReq 512 bytes
                DevSta: CorrErr- UncorrErr+ FatalErr- UnsuppReq+ AuxPwr- TransPend-
                LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Latency
L0 <512ns, L1 <64us
                        ClockPM- Suprise- LLActRep- BwNot-
                LnkCtl: ASPM Disabled; RCB 128 bytes Disabled- Retrain- CommClk-
                        ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
                LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+
DLActive- BWMgmt- ABWMgmt-
        Capabilities: [90] MSI-X: Enable- Mask- TabSize=1
                Vector table: BAR=0 offset=00000000
                PBA: BAR=0 offset=00000000
        Kernel modules: ath_pci, ath5k

Это, при использовании 2.6.18-std-smp-alt10 + ndiswrapper:
02:00.0 Ethernet controller: Atheros Communications, Inc. AR5006EG 802.11 b/g
Wireless PCI Express Adapter (rev 01)
        Subsystem: Device 1a3b:1026
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+
Stepping- SERR+ FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort-
<MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 201
        Region 0: Memory at fdff0000 (64-bit, non-prefetchable) [size=64K]
        Capabilities: [40] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA
PME(D0-,D1-,D2-,D3hot+,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [50] Message Signalled Interrupts: Mask- 64bit- Queue=0/0
Enable-
                Address: 00000000  Data: 0000
        Capabilities: [60] Express (v1) Legacy Endpoint, MSI 00
                DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <512ns,
L1 <64us
                        ExtTag- AttnBtn- AttnInd- PwrInd- RBE- FLReset-
                DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
                        RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop-
                        MaxPayload 128 bytes, MaxReadReq 512 bytes
                DevSta: CorrErr- UncorrErr+ FatalErr- UnsuppReq+ AuxPwr- TransPend-
                LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Latency
L0 <512ns, L1 <64us
                        ClockPM- Suprise- LLActRep- BwNot-
                LnkCtl: ASPM Disabled; RCB 128 bytes Disabled- Retrain- CommClk+
                        ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
                LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+
DLActive- BWMgmt- ABWMgmt-
        Capabilities: [90] MSI-X: Enable- Mask- TabSize=1
                Vector table: BAR=0 offset=00000000
                PBA: BAR=0 offset=00000000
        Kernel driver in use: ndiswrapper

Software:
Linux localhost.localdomain 2.6.24-std-def-alt4 #1 SMP Wed Feb 27 16:54:49 MSK
2008 i686 GNU/Linux

kernel-modules-madwifi-std-def-0.9.3.3-alt1.132632.4
kernel-image-std-def-2.6.24-alt4

dmesg прилагается архивом

Problem:

При загрузке модуля ath_pci возникают ошибки, устройство не функционирует.
Подробный лог загрузки модулей приведен в архиве. Фрагмент:
Mar  8 11:48:28 localhost kernel: ath_pci: driver unloaded
Mar  8 11:48:28 localhost kernel: wlan: driver unloaded
Mar  8 11:48:28 localhost kernel: ath_hal: driver unloaded
Mar  8 11:48:39 localhost anacron[5131]: Job `cron.daily' started
Mar  8 11:48:39 localhost anacron[5571]: Updated timestamp for job `cron.daily'
to `2008-03-08 11:48:39'
Mar  8 11:48:40 localhost kernel: ath_hal: 0.9.18.0 (AR5210, AR5211, AR5212,
RF5111, RF5112, RF2413, RF5413)
Mar  8 11:48:40 localhost kernel: sysctl table check failed: /dev/ath .7.9
Unknown sysctl binary path
Mar  8 11:48:40 localhost kernel: Pid: 5695, comm: modprobe Tainted: P       
2.6.24-std-def-alt4 #1
Mar  8 11:48:40 localhost kernel:  [<c0144df5>] set_fail+0x45/0x60
Mar  8 11:48:40 localhost kernel:  [<c01450b8>] sysctl_check_table+0x2a8/0x5b0
Mar  8 11:48:40 localhost kernel:  [<c0133418>] sysctl_head_finish+0x18/0x30
Mar  8 11:48:40 localhost kernel:  [<c01450cc>] sysctl_check_table+0x2bc/0x5b0
Mar  8 11:48:40 localhost kernel:  [<c0131f79>] sysctl_set_parent+0x19/0x30
Mar  8 11:48:40 localhost kernel:  [<c0133730>] register_sysctl_table+0x50/0xa0
Mar  8 11:48:40 localhost kernel:  [<f8822077>] init_ath_hal+0x77/0x8d [ath_hal]
Mar  8 11:48:40 localhost kernel:  [<c014fa31>] sys_init_module+0x151/0x19e0
Mar  8 11:48:40 localhost kernel:  [<c0189160>] __kmalloc+0x0/0x130
Mar  8 11:48:40 localhost kernel:  [<c024c310>] tty_write+0x0/0x1e0
Mar  8 11:48:40 localhost kernel:  [<c0104342>] syscall_call+0x7/0xb
Mar  8 11:48:40 localhost kernel:  =======================

Система обновлена до Сизифа.

В конце dmesg видно, как я выгрузил все модули, относящеися, ИМХО, к wifi. С
ndiswrapper тоже не заводится, но под ядром 2.6.18-std-smp-alt10 оно работает.
Т.к. он подгружается вручную, я забыл его отключить. Если нужен лог вообще без
запуска ndiswrapper предоставлю без проблем.
------- Comment #1 From 2008-03-08 13:31:15 -------
Created an attachment (id=2482) [details]
Лог загрузки с 2.6.24 ядром
------- Comment #2 From 2008-03-08 13:33:44 -------
Created an attachment (id=2483) [details]
Лог ручной загрузки модуля ath_pci при использовании 2.6.24 ядра
------- Comment #3 From 2008-03-08 13:36:41 -------
Наткнулся на похожую проблему:
https://bugs.launchpad.net/ubuntu/+source/linux-restricted-modules-2.6.24/+bug/178648
------- Comment #4 From 2008-03-10 13:37:20 -------
После обновления до:
madwifi-utils-0.9.4-alt1
kernel-modules-madwifi-std-def-0.9.4-alt1.132632.4
сообщения о подобных ошибках исчезли. Но устройство всё равно не работает:

ath_hal: 0.9.18.0 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
wlan: 0.9.4
ath_pci: 0.9.4
ACPI: PCI Interrupt 0000:02:00.0[A] -> GSI 16 (level, low) -> IRQ 16
PCI: Setting latency timer of device 0000:02:00.0 to 64
wifi%d: unable to attach hardware: 'Hardware didn't respond as expected' (HAL
status 3)
ACPI: PCI interrupt for device 0000:02:00.0 disabled

При использовании kernel-modules-madwifi-std-smp-0.9.4-alt1.132626.12 картина
аналогичная:

ath_hal: 0.9.18.0 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
wlan: 0.9.4
ath_pci: 0.9.4
ACPI: PCI Interrupt 0000:02:00.0[A] -> GSI 16 (level, low) -> IRQ 201
PCI: Setting latency timer of device 0000:02:00.0 to 64
wifi%d: unable to attach hardware: 'Hardware revision not supported' (HAL status 13)
ACPI: PCI interrupt for device 0000:02:00.0 disabled
------- Comment #5 From 2008-03-11 11:40:45 -------
У меня работает под 2.6.24-std-def-alt4, kernel-modules-madwifi-dfs-std-def.
Подробности тут: https://bugzilla.altlinux.org/show_bug.cgi?id=14843