Linux wireless drivers development
 help / color / mirror / Atom feed
* ath9k driver may be broken on ARM64 ?
@ 2018-10-24  5:13 Ellie Revves
  2018-10-24 12:09 ` Tom Psyborg
  0 siblings, 1 reply; 10+ messages in thread
From: Ellie Revves @ 2018-10-24  5:13 UTC (permalink / raw)
  Cc: linux-wireless, ath9k-devel

Hi,
for the context part:

I've got a marvell espressobin board, to which I attached a mini-PCIE 
wireless card, atheros AR9565 aka. QCB335. I am using both archlinux-arm 
and a custom OS made with buildroot, and both have this problem.

Problem:

When the system boots up, the kernel recognizes the card, and then the 
ath9k driver gets loaded. From what someone on the irc channel of 
#linux-wireless determined, the driver ends up doing a sigbus while 
attempting to read from a specific address in memory, which of course 
makes it crash. We did check the page tables, and the memory seems to be 
mapped fine. So we're still clueless as to why it is not possible to 
read from that particular memory address, and why the driver would do 
so. Here I attach the kernel page tables, along with the dmesg output. 
The problematic line in the trace is x19.

I'd appreciate any help in fixing this issue which I think might be 
related to ARM64.

Note that I am no programmer, all the info I gathered so far were with 
someone else's help. But if you need some more debug output, files or 
anything else, just let me know. I can also apply patches to test 
things, or modify the code if I know exactly in what way, i.e: what to 
copy and past.

Dmesg:

http://ix.io/1pTK

kernel page tables -- from a later kernel build, but do notice that the 
memory is still mapped correctly even if the register changed:

http://ix.io/1pQh

Thanks a lot :)

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2018-10-26  5:12 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-24  5:13 ath9k driver may be broken on ARM64 ? Ellie Revves
2018-10-24 12:09 ` Tom Psyborg
2018-10-24 18:39   ` Ellie Revves
2018-10-24 19:13     ` Ellie Revves
2018-10-24 22:53       ` Tom Psyborg
2018-10-24 23:05         ` Ellie Revves
2018-10-24 23:18           ` Tom Psyborg
2018-10-25  4:26             ` Ellie Revves
2018-10-25  6:27               ` Dominique Martinet
2018-10-26  5:11                 ` Dominique Martinet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox