Debugging rt2500pci

Live forum: http://rt2x00.serialmonkey.com/viewtopic.php?t=4656

Hazzl

08-03-2008 19:47:58

Hi there,

Ever since the 2.1.x series of the driver, I have been unable to do an successful iwlist scan. All I get is "no scan result".
Unlike drag in [url390ywz9x]http://rt2x00.serialmonkey.com/phpBB2/viewtopic.php?t=4610[/url390ywz9x] I haven't been able to get any recent git kernel to come up.

I'm attaching register dumps from a working kernel (driver version 2.0.14 specifically commit 1e0b4c513) and a broken kernel (commit f90776255). The logs show nothing conclusive.

I'd really love to help out tracing this bug down, unfortunately I don't have the slightest clue where to start looking.

IvD

08-03-2008 21:28:39

Thanks for the traces.
Could you retest with latest rt2x00.git?

Hazzl

09-03-2008 08:08:24

Still can't get any scan results with latest git.

All I get in the kernel log is the following

[quotem7fbb0fk]
Mar 9 085730 eressea kernel [ 100.596224] ACPI PCI Interrupt 00000104.0[A] -> GSI 18 (level, low) -> IRQ 18
Mar 9 085730 eressea kernel [ 100.673601] phy0 -> rt2x00_set_chip Info - Chipset detected - rt 0201, rf 0003, rev 00000004.
[/quotem7fbb0fk]

IvD

09-03-2008 11:29:36

What was the last commit according to 'git log' ?

Hazzl

09-03-2008 12:20:06

Fix compile error when rfkill is disabled (commit 6cb528da)

Sorry, I didn't mention the commit number in the main text.

IvD

09-03-2008 12:38:47

I think I found the problem... (a really awful typo)
Please retest. )

Hazzl

09-03-2008 15:08:51

Congratulations! That did it! D
Problem fixed.
Thanks a lot, Ivo!

IvD

09-03-2008 15:11:06

Excellent, official rt2x00 2.1.4 release will happen today )

chrisV

09-03-2008 23:15:00

Unfortunately this fix, that is something between git patch 6cb528da... and 4c5bc260... (Fix rt2400pci signal), has broken rt73usb. After associating, my syslog gets filled with the following

WARNING at /usr/local/src/rt2x00/net/mac80211/rx.c2204 __ieee80211_rx()id 0, comm swapper Not tainted 2.6.25-rt2x00-git #3
[<cebaa87e>] __ieee80211_rx+0x6e/0x610 [mac80211]
[<cea17740>] ehci_work+0xb0/0x780 [ehci_hcd]
[<ceb998ff>] ieee80211_tasklet_handler+0x11f/0x130 [mac80211]
[<c012e6b1>] hrtimer_run_queues+0x111/0x140
[<c011f4d7>] tasklet_action+0x27/0x60
[<c011f432>] __do_softirq+0x42/0x90
[<c011f4a6>] do_softirq+0x26/0x30
[<c0106a2a>] do_IRQ+0x4a/0x80
[<c0104fd3>] common_interrupt+0x23/0x30
[<c0104fd3>] common_interrupt+0x23/0x30
[<c0102d3a>] default_idle+0x2a/0x40
[<c01025cf>] cpu_idle+0x3f/0x60
[<c0392aaf>] start_kernel+0x1ef/0x230
[<c0392370>] unknown_bootoption+0x0/0x1f0
=======================

I compiled without rt2x00 debugging but I can recompile with that if it would help.

Chris

IvD

09-03-2008 23:18:44

Are you associating with a 11Mbs or 54Mbs AP?

chrisV

09-03-2008 23:23:12

Are you associating with a 11Mbs or 54Mbs AP?[/quote2nmym84m]

54Mbs.

Chris

IvD

09-03-2008 23:25:45

Ok, please retest with latest rt2x00.git. (You'll need patch "rt2x00 Only strip preamble bit in rt2400pci")

chrisV

09-03-2008 23:32:03

Ok, please retest with latest rt2x00.git. (You'll need patch "rt2x00 Only strip preamble bit in rt2400pci")[/quote17cza68v]

OK. Back in 5 minutes.

chrisV

09-03-2008 23:38:03

Ok, please retest with latest rt2x00.git. (You'll need patch "rt2x00 Only strip preamble bit in rt2400pci")[/quote2shhijgr]
OK that seems to work fine. Thanks.

Chris

IvD

09-03-2008 23:39:44

Excellent. )
Thanks for the quick test.