linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Le Gluon du Net <legluondunet@free.fr>
To: linux-wireless@vger.kernel.org
Subject: can not compile ath9k driver for ubuntu 2.6.38-6-generic kernel
Date: Wed, 16 Mar 2011 19:44:14 +0100	[thread overview]
Message-ID: <4D8104FE.4030700@free.fr> (raw)

my config:
Ubuntu Natty
Kernel 2.6.38-X
Wifi pci card: Atheros Communications Inc. AR5008 Wireless Network
Adapter (rev 01)

Hello,

I'm using Ubuntu Natty and the ath9k driver of the different kernel of
this distribution do not make my AR5008 pci express wifi card run well:
the connection is too slow or halted.


I tried to compile Compat-wireless but it does not compile:

#./scripts/driver-select ath9k
Processing new driver-select request...
Backing up makefile: Makefile.bk
Backup exists: Makefile.bk
Backup exists: Makefile.bk
Backup exists: Makefile.bk
Backing up makefile: drivers/net/wireless/Makefile.bk
Backing up makefile: drivers/net/wireless/ath/Makefile.bk
Backing up makefile: net/wireless/Makefile.bk
Backing up makefile: drivers/net/Makefile.bk
Backing up makefile: drivers/ssb/Makefile.bk
Backing up makefile: drivers/misc/eeprom/Makefile.bk
Backup exists: Makefile.bk

#make
./scripts/gen-compat-autoconf.sh config.mk > include/linux/compat_autoconf.h
make -C /lib/modules/2.6.38-6-generic/build
M=/home/legluondunet/Bureau/compat-wireless-2011-03-15 modules
make[1]: entrant dans le répertoire «
/usr/src/linux-headers-2.6.38-6-generic »
LD /home/legluondunet/Bureau/compat-wireless-2011-03-15/compat/built-in.o
CC [M] /home/legluondunet/Bureau/compat-wireless-2011-03-15/compat/main.o
CC [M]
/home/legluondunet/Bureau/compat-wireless-2011-03-15/compat/compat-2.6.39.o
/home/legluondunet/Bureau/compat-wireless-2011-03-15/compat/compat-2.6.39.c:
In function ‘tty_set_termios’:
/home/legluondunet/Bureau/compat-wireless-2011-03-15/compat/compat-2.6.39.c:93:4:
error: ‘TASK_INTERRUPTIBLE’ undeclared (first use in this function)
/home/legluondunet/Bureau/compat-wireless-2011-03-15/compat/compat-2.6.39.c:93:4:
note: each undeclared identifier is reported only once for each function
it appears in
make[3]: ***
[/home/legluondunet/Bureau/compat-wireless-2011-03-15/compat/compat-2.6.39.o]
Erreur 1
make[2]: ***
[/home/legluondunet/Bureau/compat-wireless-2011-03-15/compat] Erreur 2
make[1]: ***
[_module_/home/legluondunet/Bureau/compat-wireless-2011-03-15] Erreur 2
make[1]: quittant le répertoire « /usr/src/linux-headers-2.6.38-6-generic »
make: *** [modules] Erreur 2

I tried different version of compat wireless and only the
compat-wireless-2011-02-13 compiles good on natty.
But it is not stable, I lost the connection several times per day.
In dmesg, I can see:

[125508.616378] ath: Failed to stop TX DMA in 100 msec after killing
last frame
[125508.616429] ath: Failed to stop TX DMA!
[125987.139552] ath: DMA failed to stop in 10 ms AR_CR=0x00000024
AR_DIAG_SW=0x42000020
[125987.139558] ath: Could not stop RX, we could be confusing the DMA
engine when we start RX up
[125987.150888] ath: DMA failed to stop in 10 ms AR_CR=0x00000024
AR_DIAG_SW=0x42000020
[126109.744252] ath: Failed to stop TX DMA in 100 msec after killing
last frame
[126109.744303] ath: Failed to stop TX DMA!
[126227.548359] ath: Failed to stop TX DMA in 100 msec after killing
last frame
[126227.548412] ath: Failed to stop TX DMA!
[126347.548348] ath: Failed to stop TX DMA in 100 msec after killing
last frame
[126347.548403] ath: Failed to stop TX DMA!
[126467.192362] ath: Failed to stop TX DMA in 100 msec after killing
last frame
[126467.192413] ath: Failed to stop TX DMA!
[126827.143471] ath: DMA failed to stop in 10 ms AR_CR=0x00000024
AR_DIAG_SW=0x42000020
[126827.143478] ath: Could not stop RX, we could be confusing the DMA
engine when we start RX up
[126827.154889] ath: DMA failed to stop in 10 ms AR_CR=0x00000024
AR_DIAG_SW=0x42000020


The connection is fast but the driver is totally unstable but it is the
only version I can compile.
Someone know why I can only compile this version? not the last?

Thanks for your help.

LGDN


             reply	other threads:[~2011-03-16 18:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-16 18:44 Le Gluon du Net [this message]
2011-03-16 18:50 ` can not compile ath9k driver for ubuntu 2.6.38-6-generic kernel Daniel Halperin
2011-03-17 22:21   ` Le Gluon du Net

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D8104FE.4030700@free.fr \
    --to=legluondunet@free.fr \
    --cc=linux-wireless@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).