[rt2x00-users] rt2800usb for rt3572 - linksys WUSB600N v2 - problem

Gertjan van Wingerde gwingerde at gmail.com
Thu Jun 2 07:57:01 AEST 2011


On 06/01/11 23:48, Andreas Hartmann wrote:
> Hello,
> 
> I tested the new rt3572 support with the linksys WUSB600N v2 with
> wpa_supplicant and got millions of warnings like this in messages:
> 
> phy0 -> rt2800usb_txdone_entry_check: Warning - TX status report missed
> for queue 2 entry 11
> 
> After a view seconds, the machine crashed silently (with kernel 2.6.37).
> 
> For testing, I took compat-wireless-2011-05-31 and patched it with the 7
> patches for the support for rt3572 beginning from here:
> 
> https://patchwork.kernel.org/patch/794422/
> 
> On loading the modules, I'm getting this error:
> 
> Jun  1 23:01:30 pc2 kernel: [ 2613.245502] phy0 ->
> rt2x00lib_request_firmware: Info - Loading firmware file 'rt2870.bin'.
> Jun  1 23:01:30 pc2 kernel: [ 2613.287342] phy0 ->
> rt2x00lib_request_firmware: Info - Firmware detected - version: 0.236.
> Jun  1 23:01:31 pc2 kernel: [ 2613.503105] phy0 -> rt2x00mac_conf_tx:
> Info - Configured TX queue 0 - CWmin: 3, CWmax: 4, Aifs: 2, TXop: 102.
> Jun  1 23:01:31 pc2 kernel: [ 2613.504475] phy0 -> rt2x00mac_conf_tx:
> Info - Configured TX queue 1 - CWmin: 4, CWmax: 5, Aifs: 2, TXop: 188.
> Jun  1 23:01:31 pc2 kernel: [ 2613.505724] phy0 -> rt2x00mac_conf_tx:
> Info - Configured TX queue 2 - CWmin: 5, CWmax: 10, Aifs: 3, TXop: 0.
> Jun  1 23:01:31 pc2 kernel: [ 2613.506974] phy0 -> rt2x00mac_conf_tx:
> Info - Configured TX queue 3 - CWmin: 5, CWmax: 10, Aifs: 7, TXop: 0.
> Jun  1 23:01:31 pc2 kernel: [ 2613.508572] ADDRCONF(NETDEV_UP): wlan1:
> link is not ready
> Jun  1 23:01:31 pc2 kernel: [ 2613.519221] ------------[ cut here
> ]------------
> Jun  1 23:01:31 pc2 kernel: [ 2613.519239] WARNING: at
> /usr/src/packages/BUILD/kernel-desktop-2.6.37.1/linux-2.6.37/kernel/softirq.c:159
> local_bh_enable_ip+0x60/0x90()
> Jun  1 23:01:31 pc2 kernel: [ 2613.519243] Hardware name: ECO4000IW
> Jun  1 23:01:31 pc2 kernel: [ 2613.519245] Modules linked in: rt2800usb
> rt2800lib crc_ccitt rt2x00usb rt2x00lib mac80211 compat cfg80211 rfkill
> af_packet mperf snd_pcm_oss snd_mixer_oss snd_seq snd_seq_device edd
> loop arc4 snd_hda_codec_realtek snd_hda_intel pcmcia snd_hda_codec
> firewire_ohci firewire_core snd_hwdep yenta_socket snd_pcm 8139too
> pcmcia_rsrc 8139cp crc_itu_t iTCO_wdt snd_timer pcmcia_core sr_mod
> battery snd iTCO_vendor_support ac i2c_i801 cdrom sg soundcore
> snd_page_alloc joydev pcspkr serio_raw ext4 jbd2 crc16 sha256_generic
> cbc dm_crypt linear i915 drm_kms_helper drm i2c_algo_bit video button
> dm_snapshot dm_mod fan processor ata_generic thermal thermal_sys [last
> unloaded: rfkill]
> Jun  1 23:01:31 pc2 kernel: [ 2613.519317] Pid: 9930, comm: grep Not
> tainted 2.6.37.1-1.2-desktop #1
> Jun  1 23:01:31 pc2 kernel: [ 2613.519320] Call Trace:
> Jun  1 23:01:31 pc2 kernel: [ 2613.519340]  [<c02062a3>]
> try_stack_unwind+0x173/0x190
> Jun  1 23:01:31 pc2 kernel: [ 2613.519348]  [<c0204ebf>]
> dump_trace+0x3f/0xe0
> Jun  1 23:01:31 pc2 kernel: [ 2613.519355]  [<c020630b>]
> show_trace_log_lvl+0x4b/0x60
> Jun  1 23:01:31 pc2 kernel: [ 2613.519361]  [<c0206338>]
> show_trace+0x18/0x20
> Jun  1 23:01:31 pc2 kernel: [ 2613.519370]  [<c068d44a>]
> dump_stack+0x6d/0x72
> Jun  1 23:01:31 pc2 kernel: [ 2613.519379]  [<c02485a8>]
> warn_slowpath_common+0x78/0xb0
> Jun  1 23:01:31 pc2 kernel: [ 2613.519386]  [<c02485fb>]
> warn_slowpath_null+0x1b/0x20
> Jun  1 23:01:31 pc2 kernel: [ 2613.519392]  [<c024e390>]
> local_bh_enable_ip+0x60/0x90
> Jun  1 23:01:31 pc2 kernel: [ 2613.519402]  [<f7e1345f>]
> rt2x00usb_interrupt_rxdone+0x3f/0x80 [rt2x00usb]
> Jun  1 23:01:31 pc2 kernel: [ 2613.519424]  [<c0519ea8>]
> usb_hcd_giveback_urb+0x48/0xc0
> Jun  1 23:01:31 pc2 kernel: [ 2613.519433]  [<c052e374>]
> ehci_urb_done+0xe4/0x140
> Jun  1 23:01:31 pc2 kernel: [ 2613.519440]  [<c052e5ce>]
> qh_completions+0x1fe/0x450
> Jun  1 23:01:31 pc2 kernel: [ 2613.519448]  [<c052f033>]
> scan_async+0x53/0x1e0
> Jun  1 23:01:31 pc2 kernel: [ 2613.519454]  [<c052fc15>] ehci_work+0x25/0x60
> Jun  1 23:01:31 pc2 kernel: [ 2613.519460]  [<c053028d>]
> ehci_irq+0x19d/0x340
> Jun  1 23:01:31 pc2 kernel: [ 2613.519467]  [<c05197a5>]
> usb_hcd_irq+0x25/0x60
> Jun  1 23:01:31 pc2 kernel: [ 2613.519475]  [<c02ac122>]
> handle_IRQ_event+0x42/0x1a0
> Jun  1 23:01:31 pc2 kernel: [ 2613.519483]  [<c02ae3a5>]
> handle_fasteoi_irq+0x75/0xe0
> Jun  1 23:01:31 pc2 kernel: [ 2613.519490]  [<c0204e54>]
> handle_irq+0x64/0x90
> Jun  1 23:01:31 pc2 kernel: [ 2613.519506]  [<ffffffff>] 0xffffffff
> Jun  1 23:01:31 pc2 kernel: [ 2613.519513] DWARF2 unwinder stuck at
> 0xffffffff
> Jun  1 23:01:31 pc2 kernel: [ 2613.519515]
> Jun  1 23:01:31 pc2 kernel: [ 2613.519518] Leftover inexact backtrace:
> Jun  1 23:01:31 pc2 kernel: [ 2613.519519]
> 
> Jun  1 23:01:31 pc2 kernel: [ 2613.519610]  [<c0484c54>] ?
> acpi_ut_print_string+0xd9/0x12b
> Jun  1 23:01:31 pc2 kernel: [ 2613.519622]  [<c0232536>] ?
> cpuacct_charge+0x26/0x70
> Jun  1 23:01:31 pc2 kernel: [ 2613.519626]  [<c0232536>] ?
> cpuacct_charge+0x26/0x70
> Jun  1 23:01:31 pc2 kernel: [ 2613.519631]  [<c023f243>] ?
> update_curr+0x163/0x340
> Jun  1 23:01:31 pc2 kernel: [ 2613.519637]  [<c02091c8>] ?
> sched_clock+0x8/0x10
> Jun  1 23:01:31 pc2 kernel: [ 2613.519643]  [<c026ca03>] ?
> sched_clock_local+0xd3/0x1c0
> Jun  1 23:01:31 pc2 kernel: [ 2613.519650]  [<c02d1729>] ?
> perf_ctx_adjust_freq+0x19/0x160
> Jun  1 23:01:31 pc2 kernel: [ 2613.519657]  [<c021362a>] ?
> x86_pmu_enable+0x1ea/0x250
> Jun  1 23:01:31 pc2 kernel: [ 2613.519662]  [<c02d1951>] ?
> perf_rotate_context+0xe1/0x1b0
> Jun  1 23:01:31 pc2 kernel: [ 2613.519667]  [<c02d1a77>] ?
> perf_event_task_tick+0x57/0x80
> Jun  1 23:01:31 pc2 kernel: [ 2613.519672]  [<c0271119>] ?
> ktime_get+0x69/0x130
> Jun  1 23:01:31 pc2 kernel: [ 2613.519679]  [<c021c8b3>] ?
> lapic_next_event+0x13/0x20
> Jun  1 23:01:31 pc2 kernel: [ 2613.519684]  [<c027532b>] ?
> clockevents_program_event+0x8b/0x110
> Jun  1 23:01:31 pc2 kernel: [ 2613.519689]  [<c02764e6>] ?
> tick_dev_program_event+0x46/0x170
> Jun  1 23:01:31 pc2 kernel: [ 2613.519694]  [<c026a3b1>] ?
> __run_hrtimer+0x91/0x200
> Jun  1 23:01:31 pc2 kernel: [ 2613.519698]  [<c0232536>] ?
> cpuacct_charge+0x26/0x70
> Jun  1 23:01:31 pc2 kernel: [ 2613.519703]  [<c0232536>] ?
> cpuacct_charge+0x26/0x70
> Jun  1 23:01:31 pc2 kernel: [ 2613.519708]  [<c0240414>] ?
> enqueue_entity+0x1d4/0x220
> Jun  1 23:01:31 pc2 kernel: [ 2613.519713]  [<c0240414>] ?
> enqueue_entity+0x1d4/0x220
> Jun  1 23:01:31 pc2 kernel: [ 2613.519718]  [<c0240491>] ?
> enqueue_task_fair+0x31/0x50
> Jun  1 23:01:31 pc2 kernel: [ 2613.519722]  [<c0232b70>] ?
> enqueue_task+0x60/0x80
> Jun  1 23:01:31 pc2 kernel: [ 2613.519727]  [<c023269d>] ?
> check_preempt_curr+0x5d/0x80
> Jun  1 23:01:31 pc2 kernel: [ 2613.519731]  [<c0242598>] ?
> try_to_wake_up+0x318/0x410
> Jun  1 23:01:31 pc2 kernel: [ 2613.519737]  [<c0332d33>] ?
> pollwake+0x53/0x60
> Jun  1 23:01:31 pc2 kernel: [ 2613.519741]  [<c0242690>] ?
> default_wake_function+0x0/0x10
> Jun  1 23:01:31 pc2 kernel: [ 2613.519746]  [<c022e8e0>] ?
> __wake_up_common+0x40/0x70
> Jun  1 23:01:31 pc2 kernel: [ 2613.519751]  [<c0232a1c>] ?
> __wake_up+0x3c/0x60
> Jun  1 23:01:31 pc2 kernel: [ 2613.519756]  [<c0232a1c>] ?
> __wake_up+0x3c/0x60
> Jun  1 23:01:31 pc2 kernel: [ 2613.519760]  [<c0232536>] ?
> cpuacct_charge+0x26/0x70
> Jun  1 23:01:31 pc2 kernel: [ 2613.519764]  [<c023f243>] ?
> update_curr+0x163/0x340
> Jun  1 23:01:31 pc2 kernel: [ 2613.519769]  [<c02091c8>] ?
> sched_clock+0x8/0x10
> Jun  1 23:01:31 pc2 kernel: [ 2613.519773]  [<c026ca03>] ?
> sched_clock_local+0xd3/0x1c0
> Jun  1 23:01:31 pc2 kernel: [ 2613.519778]  [<c02d1729>] ?
> perf_ctx_adjust_freq+0x19/0x160
> Jun  1 23:01:31 pc2 kernel: [ 2613.519783]  [<c021362a>] ?
> x86_pmu_enable+0x1ea/0x250
> Jun  1 23:01:31 pc2 kernel: [ 2613.519788]  [<c02d1951>] ?
> perf_rotate_context+0xe1/0x1b0
> Jun  1 23:01:31 pc2 kernel: [ 2613.519794]  [<c02d1729>] ?
> perf_ctx_adjust_freq+0x19/0x160
> Jun  1 23:01:31 pc2 kernel: [ 2613.519799]  [<c02091c8>] ?
> sched_clock+0x8/0x10
> Jun  1 23:01:31 pc2 kernel: [ 2613.519803]  [<c026ca03>] ?
> sched_clock_local+0xd3/0x1c0
> Jun  1 23:01:31 pc2 kernel: [ 2613.519808]  [<c021362a>] ?
> x86_pmu_enable+0x1ea/0x250
> Jun  1 23:01:31 pc2 kernel: [ 2613.519812]  [<c0232536>] ?
> cpuacct_charge+0x26/0x70
> Jun  1 23:01:31 pc2 kernel: [ 2613.519818]  [<c0240414>] ?
> enqueue_entity+0x1d4/0x220
> Jun  1 23:01:31 pc2 kernel: [ 2613.519823]  [<c0240414>] ?
> enqueue_entity+0x1d4/0x220
> Jun  1 23:01:31 pc2 kernel: [ 2613.519828]  [<c0256027>] ?
> lock_timer_base+0x27/0x50
> Jun  1 23:01:31 pc2 kernel: [ 2613.519833]  [<c02574d0>] ?
> mod_timer+0x110/0x2a0
> Jun  1 23:01:31 pc2 kernel: [ 2613.519838]  [<c052f16f>] ?
> scan_async+0x18f/0x1e0
> Jun  1 23:01:31 pc2 kernel: [ 2613.519842]  [<c023269d>] ?
> check_preempt_curr+0x5d/0x80
> Jun  1 23:01:31 pc2 kernel: [ 2613.519850]  [<c02ddc0e>] ?
> free_pages_prepare+0xde/0x170
> Jun  1 23:01:31 pc2 kernel: [ 2613.519857]  [<c024f17b>] ?
> __do_softirq+0xeb/0x1e0
> Jun  1 23:01:31 pc2 kernel: [ 2613.519861]  [<c024f090>] ?
> __do_softirq+0x0/0x1e0
> Jun  1 23:01:31 pc2 kernel: [ 2613.519864]  <IRQ>  [<c0692e80>] ?
> do_page_fault+0x0/0x4b0
> Jun  1 23:01:31 pc2 kernel: [ 2613.519873]  [<c06909c6>] ?
> error_code+0x5a/0x60
> Jun  1 23:01:31 pc2 kernel: [ 2613.519878]  [<c0692e80>] ?
> do_page_fault+0x0/0x4b0
> Jun  1 23:01:31 pc2 kernel: [ 2613.519881] ---[ end trace
> c5958466176a0324 ]---
> Jun  1 23:01:31 pc2 dhcpcd[9931]: wlan1: dhcpcd 3.2.3 starting
> Jun  1 23:01:31 pc2 dhcpcd[9931]: wlan1: hardware address =
> 00:25:9c:44:55:66
> Jun  1 23:01:31 pc2 dhcpcd[9931]: wlan1: broadcasting for a lease
> Jun  1 23:01:31 pc2 dhcpcd[9931]: wlan1: dhcpcd 3.2.3 starting
> Jun  1 23:01:31 pc2 dhcpcd[9931]: wlan1: hardware address =
> 00:25:9c:44:55:66
> Jun  1 23:01:31 pc2 dhcpcd[9931]: wlan1: broadcasting for a lease
> Jun  1 23:01:34 pc2 kernel: [ 2616.828997] wlan1: authenticate with
> 68:7f:74:11:22:33 (try 1)
> Jun  1 23:01:34 pc2 kernel: [ 2616.830637] wlan1: authenticated
> Jun  1 23:01:34 pc2 kernel: [ 2616.844997] wlan1: associate with
> 68:7f:74:11:22:33 (try 1)
> Jun  1 23:01:34 pc2 kernel: [ 2616.847881] wlan1: RX AssocResp from
> 68:7f:74:11:22:33 (capab=0x411 status=0 aid=1)
> Jun  1 23:01:34 pc2 kernel: [ 2616.847886] wlan1: associated
> Jun  1 23:01:34 pc2 kernel: [ 2616.847960] phy0 -> rt2x00mac_conf_tx:
> Info - Configured TX queue 2 - CWmin: 4, CWmax: 10, Aifs: 3, TXop: 0.
> Jun  1 23:01:34 pc2 kernel: [ 2616.849371] phy0 -> rt2x00mac_conf_tx:
> Info - Configured TX queue 3 - CWmin: 4, CWmax: 10, Aifs: 7, TXop: 0.
> Jun  1 23:01:34 pc2 kernel: [ 2616.850622] phy0 -> rt2x00mac_conf_tx:
> Info - Configured TX queue 1 - CWmin: 3, CWmax: 4, Aifs: 2, TXop: 93.
> Jun  1 23:01:34 pc2 kernel: [ 2616.851871] phy0 -> rt2x00mac_conf_tx:
> Info - Configured TX queue 0 - CWmin: 2, CWmax: 3, Aifs: 2, TXop: 46.
> Jun  1 23:01:34 pc2 kernel: [ 2616.875869] ADDRCONF(NETDEV_CHANGE):
> wlan1: link becomes ready
> Jun  1 23:01:34 pc2 kernel: [ 2616.876461] cfg80211: Calling CRDA for
> country: DE
> Jun  1 23:01:34 pc2 kernel: [ 2616.884435] cfg80211: Regulatory domain
> changed to country: DE
> Jun  1 23:01:34 pc2 kernel: [ 2616.884440] cfg80211:     (start_freq -
> end_freq @ bandwidth), (max_antenna_gain, max_eirp)
> Jun  1 23:01:34 pc2 kernel: [ 2616.884445] cfg80211:     (2400000 KHz -
> 2483500 KHz @ 40000 KHz), (N/A, 2000 mBm)
> Jun  1 23:01:34 pc2 kernel: [ 2616.884448] cfg80211:     (5150000 KHz -
> 5350000 KHz @ 40000 KHz), (N/A, 2000 mBm)
> Jun  1 23:01:34 pc2 kernel: [ 2616.884452] cfg80211:     (5470000 KHz -
> 5725000 KHz @ 40000 KHz), (N/A, 2698 mBm)
> 
> 
> With 2.6.39, I'm getting this crash:
> 
> Jun  1 23:30:42 pc2 kernel: [ 1120.076312] ------------[ cut here
> ]------------
> Jun  1 23:30:42 pc2 kernel: [ 1120.076328] WARNING: at
> /usr/src/packages/BUILD/kernel-desktop-2.6.39/linux-2.6.39/kernel/softirq.c:159
> local_bh_enable_ip+0x85/0x90()
> Jun  1 23:30:42 pc2 kernel: [ 1120.076332] Hardware name: ECO4000IW
> Jun  1 23:30:42 pc2 kernel: [ 1120.076334] Modules linked in: arc4
> rt2800usb rt2800lib crc_ccitt rt2x00usb rt2x00lib mac80211 cfg80211
> rfkill mperf snd_pcm_oss snd_mixer_oss snd_seq snd_seq_device edd loop
> pcmcia snd_hda_codec_real
> tek yenta_socket pcmcia_rsrc snd_hda_intel 8139too snd_hda_codec 8139cp
> firewire_ohci snd_hwdep pcmcia_core iTCO_wdt snd_pcm firewire_core
> battery i2c_i801 crc_itu_t snd_timer ac iTCO_vendor_support sr_mod snd
> soundcore snd_page_alloc sg
>  cdrom joydev pcspkr serio_raw sha256_generic cbc dm_crypt linear i915
> drm_kms_helper drm i2c_algo_bit video button dm_snapshot dm_mod fan
> processor ata_generic thermal thermal_sys [last unloaded: speedstep_lib]
> Jun  1 23:30:42 pc2 kernel: [ 1120.076400] Pid: 6331, comm: modprobe Not
> tainted 2.6.39-1-desktop #1
> Jun  1 23:30:42 pc2 kernel: [ 1120.076403] Call Trace:
> Jun  1 23:30:42 pc2 kernel: [ 1120.076420]  [<c02057c3>]
> try_stack_unwind+0x173/0x190
> Jun  1 23:30:42 pc2 kernel: [ 1120.076429]  [<c02044d7>]
> dump_trace+0x47/0x110
> Jun  1 23:30:42 pc2 kernel: [ 1120.076436]  [<c020582b>]
> show_trace_log_lvl+0x4b/0x60
> Jun  1 23:30:42 pc2 kernel: [ 1120.076442]  [<c0205858>]
> show_trace+0x18/0x20
> Jun  1 23:30:42 pc2 kernel: [ 1120.076449]  [<c06e0839>]
> dump_stack+0x6d/0x72
> Jun  1 23:30:42 pc2 kernel: [ 1120.076458]  [<c024adc8>]
> warn_slowpath_common+0x78/0xb0
> Jun  1 23:30:42 pc2 kernel: [ 1120.076465]  [<c024ae1b>]
> warn_slowpath_null+0x1b/0x20
> Jun  1 23:30:42 pc2 kernel: [ 1120.076470]  [<c0251105>]
> local_bh_enable_ip+0x85/0x90
> Jun  1 23:30:42 pc2 kernel: [ 1120.076480]  [<f7ca557f>]
> rt2x00usb_interrupt_rxdone+0x3f/0x80 [rt2x00usb]
> Jun  1 23:30:42 pc2 kernel: [ 1120.076502]  [<c05692e8>]
> usb_hcd_giveback_urb+0x48/0xc0
> Jun  1 23:30:42 pc2 kernel: [ 1120.076510]  [<c057dc74>]
> ehci_urb_done+0xe4/0x140
> Jun  1 23:30:42 pc2 kernel: [ 1120.076517]  [<c057dece>]
> qh_completions+0x1fe/0x440
> Jun  1 23:30:42 pc2 kernel: [ 1120.076525]  [<c057e9ef>]
> scan_async+0x11f/0x210
> Jun  1 23:30:42 pc2 kernel: [ 1120.076531]  [<c057f535>] ehci_work+0x25/0x60
> Jun  1 23:30:42 pc2 kernel: [ 1120.076537]  [<c057fbad>]
> ehci_irq+0x19d/0x340
> Jun  1 23:30:42 pc2 kernel: [ 1120.076543]  [<c05689ab>]
> usb_hcd_irq+0x2b/0x80
> Jun  1 23:30:42 pc2 kernel: [ 1120.076552]  [<c02ae15a>]
> handle_irq_event_percpu+0x4a/0x230
> Jun  1 23:30:42 pc2 kernel: [ 1120.076560]  [<c02ae374>]
> handle_irq_event+0x34/0x60
> Jun  1 23:30:42 pc2 kernel: [ 1120.076567]  [<c02b0326>]
> handle_fasteoi_irq+0x46/0xb0
> Jun  1 23:30:42 pc2 kernel: [ 1120.076573]  [<c020445c>]
> handle_irq+0x5c/0x90
> Jun  1 23:30:42 pc2 kernel: [ 1120.076578] ---[ end trace
> f13547bbcb8cc46a ]---
> 
> 
> 
> Did I miss any other related patch?
> 

You missed the revert of the 6th patch of that 7-patch series (the one about not
disabling IRQs for the index lock).

That patch is the cause of these WARNings in the kernel log.

---
Gertjan




More information about the users mailing list