Hello to the list,
I'd like to try the ath5k kernel module for my Atheros AR2413 Wireless Card
so I downloaded the compat-wireless-2.6.tar.bz2
I'm running a 2.6.24.2 kernel (the laste stable),
but the compile stage ends immediately:
//------ START MAKE ----------------
make -C /lib/modules/2.6.24.2-KaL/build M=/usr/src/modules/compat-wireless-2.6 modules
make[1]: Entering directory `/usr/src/linux-2.6.24'
CC [M] /usr/src/modules/compat-wireless-2.6/drivers/net/wireless/ipw2100.o
/usr/src/modules/compat-wireless-2.6/drivers/net/wireless/ipw2100.c:165:33: error: linux/pm_qos_params.h: No such file or directory
/usr/src/modules/compat-wireless-2.6/drivers/net/wireless/ipw2100.c: In function 'ipw2100_up':
/usr/src/modules/compat-wireless-2.6/drivers/net/wireless/ipw2100.c:1704: error: implicit declaration of function 'pm_qos_update_requirement'
/usr/src/modules/compat-wireless-2.6/drivers/net/wireless/ipw2100.c:1704: error: 'PM_QOS_CPU_DMA_LATENCY' undeclared (first use in this function)
/usr/src/modules/compat-wireless-2.6/drivers/net/wireless/ipw2100.c:1704: error: (Each undeclared identifier is reported only once
/usr/src/modules/compat-wireless-2.6/drivers/net/wireless/ipw2100.c:1704: error: for each function it appears in.)
/usr/src/modules/compat-wireless-2.6/drivers/net/wireless/ipw2100.c: In function 'ipw2100_down':
/usr/src/modules/compat-wireless-2.6/drivers/net/wireless/ipw2100.c:1859: error: 'PM_QOS_CPU_DMA_LATENCY' undeclared (first use in this function)
/usr/src/modules/compat-wireless-2.6/drivers/net/wireless/ipw2100.c:1860: error: 'PM_QOS_DEFAULT_VALUE' undeclared (first use in this function)
/usr/src/modules/compat-wireless-2.6/drivers/net/wireless/ipw2100.c: In function 'ipw2100_init':
/usr/src/modules/compat-wireless-2.6/drivers/net/wireless/ipw2100.c:6558: error: implicit declaration of function 'pm_qos_add_requirement'
/usr/src/modules/compat-wireless-2.6/drivers/net/wireless/ipw2100.c:6558: error: 'PM_QOS_CPU_DMA_LATENCY' undeclared (first use in this function)
/usr/src/modules/compat-wireless-2.6/drivers/net/wireless/ipw2100.c:6559: error: 'PM_QOS_DEFAULT_VALUE' undeclared (first use in this function)
/usr/src/modules/compat-wireless-2.6/drivers/net/wireless/ipw2100.c: In function 'ipw2100_exit':
/usr/src/modules/compat-wireless-2.6/drivers/net/wireless/ipw2100.c:6581: error: implicit declaration of function 'pm_qos_remove_requirement'
/usr/src/modules/compat-wireless-2.6/drivers/net/wireless/ipw2100.c:6581: error: 'PM_QOS_CPU_DMA_LATENCY' undeclared (first use in this function)
make[3]: *** [/usr/src/modules/compat-wireless-2.6/drivers/net/wireless/ipw2100.o] Error 1
make[2]: *** [/usr/src/modules/compat-wireless-2.6/drivers/net/wireless] Error 2
make[1]: *** [_module_/usr/src/modules/compat-wireless-2.6] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.24'
make: *** [modules] Error 2
//------------ END MAKE ----------
I'm missing linux/pm_qos_params.h
Where can I get it?
The directory /usr/include is a symlink to /usr/src/linux/include
Thank you in advance for any advice.
Best regards,
Fabio
On Feb 16, 2008 12:29 PM, Fabio Venturi <[email protected]> wrote:
> On Sat, Feb 16, 2008 at 01:00:39PM +0100, Joachim Frieben wrote:
> > > Hello to the list,
> > > I'd like to try the ath5k kernel module for my Atheros AR2413 Wireless
> > > Card
> > > so I downloaded the compat-wireless-2.6.tar.bz2
> > > I'm running a 2.6.24.2 kernel (the laste stable),
> > > but the compile stage ends immediately:
> > I simply removed ipw2100 from config.mk (I think that was the name ..) in
> > order to skip the build of ipw2100.ko which is ok since I was just
> > interested in the ath5k driver. All other drivers built correctly then.
These issues are being addressed with ipw, essentially we need some
items ported over.
> OK,
> now the driver compile and load without any problem and
> the wlan0 and master0 devices are created.
> There are no error in dmesg, but I can't scan for stations,
> iwlist wlan0 scan
> says there are no active stations.
> Do I need extra modules for scanning?
> I'm using an Atheros AR2413, is this device supposed to work with
> the ath5k module?
> Thank you in advance for any help,
You need to turn your interface up first:
ip link set wlan0 up
Or
ifconfig wlan0 up
Luis
On Sat, Feb 16, 2008 at 01:00:39PM +0100, Joachim Frieben wrote:
> > Hello to the list,
> > I'd like to try the ath5k kernel module for my Atheros AR2413 Wireless
> > Card
> > so I downloaded the compat-wireless-2.6.tar.bz2
> > I'm running a 2.6.24.2 kernel (the laste stable),
> > but the compile stage ends immediately:
> I simply removed ipw2100 from config.mk (I think that was the name ..) in
> order to skip the build of ipw2100.ko which is ok since I was just
> interested in the ath5k driver. All other drivers built correctly then.
OK,
now the driver compile and load without any problem and
the wlan0 and master0 devices are created.
There are no error in dmesg, but I can't scan for stations,
iwlist wlan0 scan
says there are no active stations.
Do I need extra modules for scanning?
I'm using an Atheros AR2413, is this device supposed to work with
the ath5k module?
Thank you in advance for any help,
regards,
Fabio