Mailinglist Archive: opensuse-bugs (4709 mails)

< Previous Next >
[Bug 567137] 2.6.25.20-0.5 implementation of ath5k driver refuses to identify hardware correctly
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Tue, 6 Apr 2010 16:37:06 +0000
  • Message-id: <20100406163706.50A90CC7CE@xxxxxxxxxxxxxxxxxxxxxx>
http://bugzilla.novell.com/show_bug.cgi?id=567137

http://bugzilla.novell.com/show_bug.cgi?id=567137#c6


--- Comment #6 from David Rankin <drankinatty@xxxxxxxxxxxxxxxxxx> 2010-04-06
16:37:04 UTC ---

Well,

Like I said, I was no expert, but in comparing the files side by side,
those were the differences that stood out. As for as the actual but ID, here is
what I get with lspci -nn

17:00.0 Ethernet controller [0200]: Atheros Communications Inc. AR242x
802.11abg Wireless PCI Express Adapter [168c:001c] (rev 01)

As far as the card not being supported -- I'm confused? I have used this
laptop with 10.2 -> 11.2 and back to 11.0. In 10.2 & 10.3, the card was no
problem to configure with madwifi. Just blacklist ath5k and madwifi worked
instantly.

With 11.0, 11.1, you could blacklist ath5k ten different ways and you were
still hosed. It was like the blacklist didn't work because even when
blacklisted, the ath5k module still got loaded (this may be where the actual
bug is, perhaps the mismatch, wherever it may be, caused the blacklist to be
ignored because of the card mis-ID?? (dunno, but it was hell getting madwifi
configured))

The problem seems to be the binding of ath5k before ath_pci in
modules.alias. I don't know if this is possible, but can that be switched,
putting ath_pci before ath5k in modules.alias? That might solve the problem.

IIRC, I had to physically remove /lib/modules/<kernel>/(any ath5k
reference) before the init process would skip the ath5k module and actually
load the ath_pci module. This wasn't a problem with 10.2-10.3. This is a
problem with 11.0-11.1.

On 11.2, the card is recognized and ath5k works fine. Same with Arch, ath5k
just works fine. I still have madwifi installed for the encryption tools
(wpa_passphrase, iwlist, etc.)

modprobe -bnv ath5k, doesn't seem to do anything with the ath_pci module
loaded. The ath5k module loads just fine if I boot to runlevel 1, but it will
not work on 11.0, regardless of how it is configured. (wlan0 verses wifi0) Here
is the output of the modprobe command while the ath_pci module is active with
the "before-and-after" lsmod:

[11:21 alchemy:/home/david] # lsmod | grep ath
ath_rate_sample 31232 1
ath_pci 255168 0
wlan 265840 6
wlan_tkip,wlan_ccmp,wlan_scan_sta,ath_rate_sample,ath_pci
ath_hal 346896 3 ath_rate_sample,ath_pci

[11:21 alchemy:/home/david] # modprobe -bnv ath5k

[11:21 alchemy:/home/david] # lsmod | grep ath
ath_rate_sample 31232 1
ath_pci 255168 0
wlan 265840 6
wlan_tkip,wlan_ccmp,wlan_scan_sta,ath_rate_sample,ath_pci
ath_hal 346896 3 ath_rate_sample,ath_pci

Now I know 11.0 is reaching EOL, it has been a great release. I just wish
the devs would have found a way to repackage the fglrx driver for pre-2400
series cards in 11.2 so that laptop users could move forward. (All laptops I
buy henceforth will be nvidia based...) The Xorg version wasn't an issue with
11.2, so it was possible (I know ATI's screw the customer act of dropping all
pre 2400 series card support in 3/09 complicated the matter, but that has left
a lot of openSuSE laptop users stuck or shopping for new nvidia gpu laptops).

The purpose of this report was to take a good look at a problem that still
affects 11.1 users as well as the 11.0 users. For me it isn't a big deal, I
have been working around it since 6/4/08, but the prospect of there being a
problem with one of the base kernel module files prompted the report to help
identify and fix the issue if possible.

Thank you for your help. If you are satisfied that all issues concerning
the load/bind order of the Atheros modules and ID of the various chipsets are
where they should be for 11.1, then you can close this report. But I do think
it is worth being sure of because I have had to walk a fair number of people on
the user list though the blacklist (and a few through the temporary removal of
/lib/modules/<kernel>/ath5k info) to get wifi working over the past year.

Again, thank you for your help :-)

--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >