For those of you with TOTAL freeze and using ath9k driver for a wireless
card I have been able to fix the problem.

So, my case seemed to be really the wireless driver + the model in used,
concretly an AR9287 as reported by lspci.

The same exact looking card in another box reporting as AR9287 instead
didn't give me the problem.

And as for the the solution, as I found googling in the ath9k-devel
mailing list someone suggested this "modification" to the driver source
code that seemed to solve a very similar issue, in any case I tried
seeing as the modification made a direct mention of the model I was
using, so I downloaded the latest kernel 3.3.6 source, made the
following modifications and I haven't gotten any more freezes:


" >Try editing drivers/net/wireless/ath/ath9k/hw.c:__ath9k_hw_init():
>
>        if (ah->config.serialize_regmode == SER_REG_MODE_AUTO) {
>                if (ah->hw_version.macVersion == AR_SREV_VERSION_5416_PCI ||
>                    ((AR_SREV_9160(ah) || AR_SREV_9280(ah)) &&
>                     !ah->is_pciexpress)) {
>                        ah->config.serialize_regmode =
>                                SER_REG_MODE_ON;
>                } else {
>                        ah->config.serialize_regmode =
>                                SER_REG_MODE_OFF;
>                }
>        }
>
>Change this:
>
>                    ((AR_SREV_9160(ah) || AR_SREV_9280(ah)) &&
>
>to
>
>                    ((AR_SREV_9160(ah) || AR_SREV_9287(ah) ||
>AR_SREV_9280(ah)) &&
>
>.. so the PCI bus glue fix gets applied for AR9227 NICs."

http://www.mail-archive.com/ath9k-devel@lists.ath9k.org/msg06902.html

After this and using the new kernel I haven't gotten any freezes at all.
Been with the same box under linux ubuntu since yesterday about 4-6
hours which is a record for me as I could never spend more than 15
minutes If I tried to download something or use the wireless.

Thing that tipped me is that in a debian install I tried I always got
the freeze right after starting to use the wireless card, so it seems in
previous kernels the problem was easier to detect.

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xorg in Ubuntu.
https://bugs.launchpad.net/bugs/993187

Title:
  ubuntu 12.04 64bit completely freezes frequently

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/993187/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to     : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp

Reply via email to