Search Linux Wireless

The kernel and the "ath" module can get confused when a removable wireless device is removed

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

 



linux 4.1.2 on Arch

Randomly pulling a wireless pccard, "168c:0023", "Atheros AR5416 MAC/BB Rev:2
AR2133 RF Rev:81", the kernel can fail to notice the card removal, such that
there is no "card ejected from slot" event.  In this case, the "ath" module will
"spam" the system log, spewing error messages indefinitely:

...
Jul 24 14:24:01 beryl kernel: ath: phy3: DMA failed to stop in 10 ms
AR_CR=0xffffffff AR_DIAG_SW=0xffffffff DMADBG_7=0xffffffff
Jul 24 14:24:01 beryl kernel: ath: phy3: Could not stop RX, we could be
confusing the DMA engine when we start RX up
Jul 24 14:24:01 beryl kernel: ath: phy3: Chip reset failed
Jul 24 14:24:01 beryl kernel: ath: phy3: Unable to reset channel, reset status -22
Jul 24 14:24:01 beryl kernel: ath: phy3: DMA failed to stop in 10 ms
AR_CR=0xffffffff AR_DIAG_SW=0xffffffff DMADBG_7=0xffffffff
Jul 24 14:24:01 beryl kernel: ath: phy3: Could not stop RX, we could be
confusing the DMA engine when we start RX up
Jul 24 14:24:01 beryl kernel: ath: phy3: Chip reset failed
Jul 24 14:24:01 beryl kernel: ath: phy3: Unable to reset channel, reset status -22
...

Of course, at this point, there is no chip to reset, and the Chip reset will
fail forever.

It would be nice if the driver could confirm that the device is actually still
present when the chip reset fails, before repeating this endless loop.

Or, is this error process being repeatedly triggered by something "upstream"?

In which case, it might be effective for the "ath" module to request that the
kernel re-confirm that the card is still present when the chip reset fails.
--
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 Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux