Search Linux Wireless

Re: ath5k kernel oops

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Mar 29, 2009 at 10:37 PM, Joo Aun Saw <jasaw81@xxxxxxxxxxxx> wrote:
> Hello,
>
> I'm getting kernel oops when modprobe ath5k on kernel 2.6.29 on ARM
> big-endian platform. PCI card is Atheros AR5413 168c:001b (rev 01).

Your kernel is tainted due to the ixp400 module.  I doubt it matters in
this case, but you should generally try to provide oopses on untainted
kernels or else people may just ignore it.

> [42949474.280000] Bad mode in data abort handler detected
> [42949474.280000] Internal error: Oops - bad mode: 0 [#1]

I don't know arm architecture enough to know quite what that means...

> [42949474.280000] Backtrace:
> [42949474.280000] [<bf2d5eb4>] (ath5k_hw_register_timeout+0x0/0xcc [ath5k]) from [<bf2d645c>] (ath5k_hw_nic_reset+0x17c/0x2bc [ath5k])
> [42949474.280000] [<bf2d62e0>] (ath5k_hw_nic_reset+0x0/0x2bc [ath5k]) from [<bf2d6778>] (ath5k_hw_nic_wakeup+0x1dc/0x570 [ath5k])

I think it's an endianness issue -- ath5k probably hasn't seen much testing on
BE platforms.

ath5k_hw_register_timeout polls a register in a loop waiting for a specific
bit to be set or cleared (this happens e.g. while calibrating the card).
The problem is ioread32 will return an le32 but as far as I can tell we
just assume it is native endianness.

I don't have an appropriate platform available, would you be willing to test
patches?

-- 
Bob Copeland %% www.bobcopeland.com
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux