Skip to contentSkip to conversation

ath9k problem with kernel 2.6.37

DISCUSSION James 2 participants 4 messages Jan 20, 2011 – Jan 21, 2011

lore
Share & tools
lore

James

author
#0 lore raw

phy0: Atheros AR5416 MAC/BB Rev:2 AR2133 RF Rev:81 mem=0xffffc90001880000, irq=17

I get few or no results when I do
iwlist wlan1 scan with kernel 2.6.37

but it is consistently good with kernel 2.6.36.2

Is there a way to compare the kernel configs to make sure I didn't change anything?

#1 lore raw
Quoted 6 lines · James

phy0: Atheros AR5416 MAC/BB Rev:2 AR2133 RF Rev:81 mem=0xffffc90001880000, irq=17

I get few or no results when I do
iwlist wlan1 scan with kernel 2.6.37

We will check it out

Quoted 4 lines

but it is consistently good with kernel 2.6.36.2

Is there a way to compare the kernel configs to make sure I didn't change anything?

Please try with latest compat wireless, which might be helpful

Quoted 5 lines

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

author
#2 lore raw
Quoted 7 lines · Mohammed Shafi
Quoted 6 lines · James

phy0: Atheros AR5416 MAC/BB Rev:2 AR2133 RF Rev:81 mem=0xffffc90001880000, irq=17

I get few or no results when I do
iwlist wlan1 scan with kernel 2.6.37

Quoted 7 lines

We will check it out

Quoted 4 lines

but it is consistently good with kernel 2.6.36.2

Is there a way to compare the kernel configs to make sure I didn't change anything?

Please try with latest compat wireless, which might be helpful

I got:
http://wireless.kernel.org/download/compat-wireless-2.6/compat-wireless-2.6.tar.bz2

I can't compile it:
/usr/src/compat-wireless-2011-01-19 $ sudo make /usr/src/compat-wireless-2011-01-19/config.mk:202: "WARNING:
CONFIG_CFG80211_WEXT will be deactivated or not working because kernel was compiled with CONFIG_WIRELESS_EXT=n. Tools using wext interface like iwconfig will not work. To activate it build your kernel e.g. with CONFIG_LIBIPW=m."
./scripts/gen-compat-autoconf.sh config.mk > include/linux/compat_autoconf.h make -C /lib/modules/2.6.37/build M=/usr/src/compat-wireless-2011-01-19 modules
make[1]: Entering directory `/usr/src/linux-2.6.37'

  CC [M]  /usr/src/compat-wireless-2011-01-19/compat/main.o
  CC [M]  /usr/src/compat-wireless-2011-01-19/compat/compat-2.6.38.o
  LD [M]  /usr/src/compat-wireless-2011-01-19/compat/compat.o
  CC [M]  /usr/src/compat-wireless-2011-01-19/drivers/bluetooth/hci_vhci.o
  CC [M]  /usr/src/compat-wireless-2011-01-19/drivers/bluetooth/bcm203x.o
  CC [M]  /usr/src/compat-wireless-2011-01-19/drivers/bluetooth/bpa10x.o
  CC [M]  /usr/src/compat-wireless-2011-01-19/drivers/bluetooth/bfusb.o
  CC [M]  /usr/src/compat-wireless-2011-01-19/drivers/bluetooth/btusb.o
  CC [M]  /usr/src/compat-wireless-2011-01-19/drivers/bluetooth/ath3k.o

CC [M]
/usr/src/compat-wireless-2011-01-19/drivers/bluetooth/btmrvl_main.o
LD [M] /usr/src/compat-wireless-2011-01-19/drivers/bluetooth/btmrvl.o CC [M]
/usr/src/compat-wireless-2011-01-19/drivers/misc/eeprom/eeprom_93cx6.o
CC [M] /usr/src/compat-wireless-2011-01-19/drivers/net/b44.o
/usr/src/compat-wireless-2011-01-19/drivers/net/b44.c:13:1: warning:
"pr_fmt" redefined
In file included from include/linux/kernel.h:20,

                 from include/linux/skbuff.h:17,
                 from include/linux/if_ether.h:125,
                 from include/linux/netdevice.h:29,
                 from
/usr/src/compat-wireless-2011-01-19/include/linux/compat-2.6.29.h:5,
                 from
/usr/src/compat-wireless-2011-01-19/include/linux/compat-2.6.h:24,
                 from <command-line>:0:

include/linux/printk.h:161:1: warning: this is the location of the previous definition /usr/src/compat-wireless-2011-01-19/drivers/net/b44.c: In function 'b44_pci_init':
/usr/src/compat-wireless-2011-01-19/drivers/net/b44.c:2345: error:
implicit declaration of function 'ssb_pcihost_register'
make[3]: *** [/usr/src/compat-wireless-2011-01-19/drivers/net/b44.o] Error 1 make[2]: *** [/usr/src/compat-wireless-2011-01-19/drivers/net] Error 2 make[1]: *** [_module_/usr/src/compat-wireless-2011-01-19] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.37'
make: *** [modules] Error 2

Do I understand it correctly that it is just newer and will be in the kernel eventually?

How can I see what version of the driver I am using?

Quoted 10 lines
Quoted 5 lines

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#3 lore raw
Quoted 67 lines · James
Quoted 7 lines · Mohammed Shafi
Quoted 6 lines · James

phy0: Atheros AR5416 MAC/BB Rev:2 AR2133 RF Rev:81 mem=0xffffc90001880000, irq=17

I get few or no results when I do
iwlist wlan1 scan with kernel 2.6.37

Quoted 7 lines

We will check it out

Quoted 4 lines

but it is consistently good with kernel 2.6.36.2

Is there a way to compare the kernel configs to make sure I didn't change anything?

Please try with latest compat wireless, which might be helpful

I got:
http://wireless.kernel.org/download/compat-wireless-2.6/compat-wireless-2.6.tar.bz2

I can't compile it:
/usr/src/compat-wireless-2011-01-19 $ sudo make /usr/src/compat-wireless-2011-01-19/config.mk:202: "WARNING:
CONFIG_CFG80211_WEXT will be deactivated or not working because kernel was compiled with CONFIG_WIRELESS_EXT=n. Tools using wext interface like iwconfig will not work. To activate it build your kernel e.g. with CONFIG_LIBIPW=m."
./scripts/gen-compat-autoconf.sh config.mk > include/linux/compat_autoconf.h make -C /lib/modules/2.6.37/build M=/usr/src/compat-wireless-2011-01-19 modules
make[1]: Entering directory `/usr/src/linux-2.6.37'
 CC [M]  /usr/src/compat-wireless-2011-01-19/compat/main.o
 CC [M]  /usr/src/compat-wireless-2011-01-19/compat/compat-2.6.38.o LD [M]  /usr/src/compat-wireless-2011-01-19/compat/compat.o
 CC [M]  /usr/src/compat-wireless-2011-01-19/drivers/bluetooth/hci_vhci.o CC [M]  /usr/src/compat-wireless-2011-01-19/drivers/bluetooth/bcm203x.o CC [M]  /usr/src/compat-wireless-2011-01-19/drivers/bluetooth/bpa10x.o CC [M]  /usr/src/compat-wireless-2011-01-19/drivers/bluetooth/bfusb.o CC [M]  /usr/src/compat-wireless-2011-01-19/drivers/bluetooth/btusb.o CC [M]  /usr/src/compat-wireless-2011-01-19/drivers/bluetooth/ath3k.o CC [M] /usr/src/compat-wireless-2011-01-19/drivers/bluetooth/btmrvl_main.o LD [M]  /usr/src/compat-wireless-2011-01-19/drivers/bluetooth/btmrvl.o CC [M] /usr/src/compat-wireless-2011-01-19/drivers/misc/eeprom/eeprom_93cx6.o CC [M]  /usr/src/compat-wireless-2011-01-19/drivers/net/b44.o /usr/src/compat-wireless-2011-01-19/drivers/net/b44.c:13:1: warning:
"pr_fmt" redefined
In file included from include/linux/kernel.h:20,
                from include/linux/skbuff.h:17,
                from include/linux/if_ether.h:125,
                from include/linux/netdevice.h:29,
                from /usr/src/compat-wireless-2011-01-19/include/linux/compat-2.6.29.h:5, from /usr/src/compat-wireless-2011-01-19/include/linux/compat-2.6.h:24, from <command-line>:0:
include/linux/printk.h:161:1: warning: this is the location of the previous definition /usr/src/compat-wireless-2011-01-19/drivers/net/b44.c: In function 'b44_pci_init':
/usr/src/compat-wireless-2011-01-19/drivers/net/b44.c:2345: error:
implicit declaration of function 'ssb_pcihost_register'
make[3]: *** [/usr/src/compat-wireless-2011-01-19/drivers/net/b44.o] Error 1 make[2]: *** [/usr/src/compat-wireless-2011-01-19/drivers/net] Error 2 make[1]: *** [_module_/usr/src/compat-wireless-2011-01-19] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.37'
make: *** [modules] Error 2

Quoted 2 lines

Do I understand it correctly that it is just newer and will be in the kernel eventually?

Easy way is to install the compat wireless in the kernel (like Ubuntu 2.6.25 generic where by default WEXT will be enabled). Otherwise you must take care of enabling all those things in kernel config like CONFIG_WIRELESS_EXT=y
hope this helps.

Quoted 14 lines

How can I see what version of the driver I am using?

Quoted 10 lines
Quoted 5 lines

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html