Hi all, I tested the lastest Openwrt backfire commit b5a33bb5d58805d5b1d84a4cf47feeca52984705 RS-pro + CM9 + sta/ap = working RS-pro + CM9 + adhoc = kernel oops PCI error 1 at PCI addr 0x10008020 Data bus error, epc == 870c6b24, ra == 870c6b20 Oops[#1]: and I tested OpenWrt from 19.April commit f3a65e72dbe5884ceb0f421429ce0d1f29fcb8fa same result. further troubleshooting attempts without success: 1.) - vanilla OpenWrt madwifi works fine in adhoc mode 2.) - change DMASIZE via this patch: Index: compat-wireless-2011-05-27/drivers/net/wireless/ath/ath5k/dma.c =================================================================== --- compat-wireless-2011-05-27.orig/drivers/net/wireless/ath/ath5k/dma.c 2011-06-06 17:37:37.000000000 +0200 +++ compat-wireless-2011-05-27/drivers/net/wireless/ath/ath5k/dma.c 2011-06-07 00:09:23.000000000 +0200 @@ -789,13 +789,13 @@ if (ah->ah_version != AR5K_AR5210) { #ifndef CONFIG_ATHEROS_AR71XX AR5K_REG_WRITE_BITS(ah, AR5K_TXCFG, - AR5K_TXCFG_SDMAMR, AR5K_DMASIZE_128B); + AR5K_TXCFG_SDMAMR, AR5K_DMASIZE_4B); AR5K_REG_WRITE_BITS(ah, AR5K_RXCFG, - AR5K_RXCFG_SDMAMW, AR5K_DMASIZE_128B); + AR5K_RXCFG_SDMAMW, AR5K_DMASIZE_4B); #else /* WAR for AR71xx PCI bug */ AR5K_REG_WRITE_BITS(ah, AR5K_TXCFG, Index: compat-wireless-2011-05-27/drivers/net/wireless/ath/ath5k/initvals.c =================================================================== --- compat-wireless-2011-05-27.orig/drivers/net/wireless/ath/ath5k/initvals.c 2011-06-06 17:37:37.000000000 +0200 +++ compat-wireless-2011-05-27/drivers/net/wireless/ath/ath5k/initvals.c 2011-06-07 00:09:54.000000000 +0200 @@ -59,11 +59,11 @@ { AR5K_IER, AR5K_IER_DISABLE }, { AR5K_BSR, 0, AR5K_INI_READ }, #ifndef CONFIG_ATHEROS_AR71XX - { AR5K_TXCFG, AR5K_DMASIZE_128B }, - { AR5K_RXCFG, AR5K_DMASIZE_128B }, + { AR5K_TXCFG, AR5K_DMASIZE_4B }, + { AR5K_RXCFG, AR5K_DMASIZE_4B }, #else /* WAR for AR71xx PCI bug */ Bye Bluse
|
_______________________________________________ ath5k-devel mailing list ath5k-devel@lists.ath5k.org https://lists.ath5k.org/mailman/listinfo/ath5k-devel