#221: complete lockup
------------------------------------+---------------------------------------
  Reporter:  [EMAIL PROTECTED]  |       Owner:       
      Type:  defect                 |      Status:  new  
  Priority:  major                  |   Milestone:       
 Component:  madwifi: other         |     Version:  trunk
Resolution:                         |    Keywords:       
------------------------------------+---------------------------------------
Changes (by mrenzmann):

  * version:  => trunk

Old description:

> I set up a basic statition using madwifi-ng (rev 1350) with these
> commands
> modprobe ath_pci
> wlanconfig ath0 create wlandev wifi0 wlanmode sta
> iwconfig ath0 essid MCSD key xxxxxx
> ifconfig ath0 up
> iwpriv ath0 mode 11b
> Boom, now only sysrq works.
> lspci -vv
> 00:0d.0 Ethernet controller: Atheros Communications, Inc.: Unknown device
> 001a (rev 01)
>         Subsystem: D-Link System Inc: Unknown device 3a16
>         Flags: bus master, medium devsel, latency 168, IRQ 11
>         Memory at d6000000 (32-bit, non-prefetchable) [size=64K]
>         Capabilities: [44] Power Management version 2
> from syslog when modprobing:
> ec 10 02:06:27 tobsbox kernel: ath_hal: 0.9.16.3 (AR5210, AR5211, AR5212,
> RF5111, RF5112, RF2413, RF5413, DFS)
> Dec 10 02:06:27 tobsbox kernel: ath_rate_sample: 1.2
> Dec 10 02:06:27 tobsbox kernel: ath_pci: 0.9.4.5 (Atheros/multi-bss)
> Dec 10 02:06:27 tobsbox kernel: ACPI: PCI Interrupt 0000:00:0d.0[A] ->
> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11
> Dec 10 02:06:29 tobsbox kernel: wifi0: 11b rates: 1Mbps 2Mbps 5.5Mbps
> 11Mbps
> Dec 10 02:06:29 tobsbox kernel: wifi0: 11g rates: 1Mbps 2Mbps 5.5Mbps
> 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
> Dec 10 02:06:29 tobsbox kernel: wifi0: H/W encryption support: WEP AES
> AES_CCM TKIP
> Dec 10 02:06:29 tobsbox kernel: wifi0: mac 7.8 phy 4.5 radio 5.6
> Dec 10 02:06:29 tobsbox kernel: wifi0: Use hw queue 1 for WME_AC_BE
> traffic
> Dec 10 02:06:29 tobsbox kernel: wifi0: Use hw queue 0 for WME_AC_BK
> traffic
> Dec 10 02:06:29 tobsbox kernel: wifi0: Use hw queue 2 for WME_AC_VI
> traffic
> Dec 10 02:06:29 tobsbox kernel: wifi0: Use hw queue 3 for WME_AC_VO
> traffic
> Dec 10 02:06:29 tobsbox kernel: wifi0: Use hw queue 8 for CAB traffic
> Dec 10 02:06:29 tobsbox kernel: wifi0: Use hw queue 9 for beacons
> Dec 10 02:06:29 tobsbox kernel: wifi0: Atheros 5212: mem=0xd6000000,
> irq=11
> Dec 10 02:06:35 tobsbox kernel: ACPI: PCI interrupt for device
> 0000:00:0d.0 disabled
> A copy by hand sysrq-P when the system is hung:
> EIP: ath_hal
> ath_scan_start
> scan_next
> try_to_wakeup
> __group_send_siginfo
> activate_task
> scan_next
> run_timer_softirq
> __do_softirq
> do_sortirq
> =============
> do_IRQ
> common_interrupt
> acpi_processor_idle
> acpi_processor_idle
> cpu_idle
> start_kernel
> unknown_bootoption
>
> Sometimes it starts with
> ath_calcrxfilter
> ath_scan_start
> sta_pick_bss
> scan_next
>
> and sometimes with
> ath_scan_und
>
> Hope this can help you to fix the probelm. Also when it's not
> hanging, my cards has a much harder time to associate with an
> access point than it has with the old codebase.
> Tobias.

New description:

 I set up a basic statition using madwifi-ng (rev 1350) with these
 commands:

 {{{
 modprobe ath_pci
 wlanconfig ath0 create wlandev wifi0 wlanmode sta
 iwconfig ath0 essid MCSD key xxxxxx
 ifconfig ath0 up
 iwpriv ath0 mode 11b
 }}}

 Boom, now only sysrq works.

 {{{
 lspci -vv
 00:0d.0 Ethernet controller: Atheros Communications, Inc.: Unknown device
 001a (rev 01)
         Subsystem: D-Link System Inc: Unknown device 3a16
         Flags: bus master, medium devsel, latency 168, IRQ 11
         Memory at d6000000 (32-bit, non-prefetchable) [size=64K]
         Capabilities: [44] Power Management version 2
 from syslog when modprobing:
 ec 10 02:06:27 tobsbox kernel: ath_hal: 0.9.16.3 (AR5210, AR5211, AR5212,
 RF5111, RF5112, RF2413, RF5413, DFS)
 Dec 10 02:06:27 tobsbox kernel: ath_rate_sample: 1.2
 Dec 10 02:06:27 tobsbox kernel: ath_pci: 0.9.4.5 (Atheros/multi-bss)
 Dec 10 02:06:27 tobsbox kernel: ACPI: PCI Interrupt 0000:00:0d.0[A] ->
 Link [LNKA] -> GSI 11 (level, low) -> IRQ 11
 Dec 10 02:06:29 tobsbox kernel: wifi0: 11b rates: 1Mbps 2Mbps 5.5Mbps
 11Mbps
 Dec 10 02:06:29 tobsbox kernel: wifi0: 11g rates: 1Mbps 2Mbps 5.5Mbps
 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
 Dec 10 02:06:29 tobsbox kernel: wifi0: H/W encryption support: WEP AES
 AES_CCM TKIP
 Dec 10 02:06:29 tobsbox kernel: wifi0: mac 7.8 phy 4.5 radio 5.6
 Dec 10 02:06:29 tobsbox kernel: wifi0: Use hw queue 1 for WME_AC_BE
 traffic
 Dec 10 02:06:29 tobsbox kernel: wifi0: Use hw queue 0 for WME_AC_BK
 traffic
 Dec 10 02:06:29 tobsbox kernel: wifi0: Use hw queue 2 for WME_AC_VI
 traffic
 Dec 10 02:06:29 tobsbox kernel: wifi0: Use hw queue 3 for WME_AC_VO
 traffic
 Dec 10 02:06:29 tobsbox kernel: wifi0: Use hw queue 8 for CAB traffic
 Dec 10 02:06:29 tobsbox kernel: wifi0: Use hw queue 9 for beacons
 Dec 10 02:06:29 tobsbox kernel: wifi0: Atheros 5212: mem=0xd6000000,
 irq=11
 Dec 10 02:06:35 tobsbox kernel: ACPI: PCI interrupt for device
 0000:00:0d.0 disabled
 }}}

 A copy by hand sysrq-P when the system is hung:
 {{{
 EIP: ath_hal
 ath_scan_start
 scan_next
 try_to_wakeup
 __group_send_siginfo
 activate_task
 scan_next
 run_timer_softirq
 __do_softirq
 do_sortirq
 =============
 do_IRQ
 common_interrupt
 acpi_processor_idle
 acpi_processor_idle
 cpu_idle
 start_kernel
 unknown_bootoption
 }}}

 Sometimes it starts with
 {{{
 ath_calcrxfilter
 ath_scan_start
 sta_pick_bss
 scan_next
 }}}

 and sometimes with
 {{{
 ath_scan_und
 }}}

 Hope this can help you to fix the probelm. Also when it's not
 hanging, my cards has a much harder time to associate with an
 access point than it has with the old codebase.
 Tobias.

Comment:

 It could be helpful to also have the offset information of the stack
 traces you wrote down. That would be (for example):
 {{{
 [<e09f8b75>] ath_rx_tasklet+0x3a5/0x660 [ath_pci]
 }}}
 rather than just:
 {{{
 ath_rx_tasklet
 }}}

-- 
Ticket URL: <http://madwifi.org/ticket/221>
Madwifi <http://madwifi.org/>
Multiband Atheros Driver for Wireless Fidelity

Reply via email to