Search Linux Wireless

Re: Failed Build of modules for 2.6.27.9-159

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

 



On Sun, Jan 18, 2009 at 03:04:14PM -0800, Paul Hickey wrote:
> Ath9k is part of (my) Fedora 10 and loaded in kernel
> 2.6.27-9.159.fc10.x86_64. mac80211 is loaded when Ath9k is loaded and
> loads cfg80211. mac80211 can be loaded without loading Ath9k (you still
> get cfg80211) but one of them gives a never ending log entry of
> ForceXPAon:0

You can ignore this ForceXPAon message, it was supposed to be a debug message
but was left with a normal print.

> I have a valid .config file
> I have the kernel headers and development files as well.
> 
> [root@panda4 compat-wireless-2009-01-18]# make
> make -C /lib/modules/2.6.27.9-159.fc10.x86_64/build
> M=/home/paul/Download/compat-wireless-2009-01-18 modules
> make[1]: Entering directory `/usr/src/kernels/2.6.27.9-159.fc10.x86_64'
> 
> Message from syslogd@panda4 at Jan 18 15:50:48 ...
> kernel:Disabling IRQ #16
>   CC
> [M]  /home/paul/Download/compat-wireless-2009-01-18/net/wireless/compat.o
> /home/paul/Download/compat-wireless-2009-01-18/net/wireless/compat.c:18:
> error: redefinition of ‘pci_ioremap_bar’
> include/linux/pci.h:1127: error: previous definition of
> ‘pci_ioremap_bar’ was here

The 2.6.27 kernel does not have pci_ioremap_bar(), and compat.c defined it
for older kernels as a couple of drivers (ipw, and some ralink driver)
make use of it. Can you try downloading today's version of compat-wireless and
then try to compile?

If you still see the complaint above then please ensure your kernel
headers are installed properly. By default this is the directory used:

/lib/modules/`uname -r`/build

So check:

ls -ld /lib/modules/`uname -r`/build

And ensure that's pointing to a 2.6.27 directory. Then check the include/linux/pci.h
file there and look for pci_ioremap_bar. If its there then I am surprised. Please report
back. I just tested a compile test against 2.6.27 on Ubuntu.

  Luis
--
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 Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux