[PlanetCCRMA] fc6/7: new kernels

Fernando Lopez-Lezcano nando@ccrma.Stanford.EDU
Mon Sep 3 13:57:00 2007

On Mon, 2007-09-03 at 14:58 +0200, andersvi@extern.uio.no wrote:
> Great.
> The latest kernel-rt ( seems to work fine on a T61P laptop.
> Alsa/sound works with the kmod-alsa-rt package.

(I'm using it myself in a t61)

> Im trying to build the module for this machines Intel 4965AGN
> wireless-card, using files and guides lying fex. at
> http://intellinuxwireless.org/
> I can load the mac80211 module and see its there with lsmod.
> Theres alread a package called iwlwifi-firmware, which i tried to load
> in without much help.
> Trying to compile (using 'make') in the driver-directory tells me
> there are missing files in the kernel-source-tree.  Heres the output:
> (You can probably guess what "Ingen slik fil eller filkatalog..."
> means?  In case not its the "No such file or directory" error)
> I had hopes to not mess up further by installing the whole
> kernel-source-tree, but if this is whats needed of course ill do it.
> Any hopes?
> [root@josefk kernel-greier]# cd iwlwifi-1.0.0
> [root@josefk iwlwifi-1.0.0]# make
> Checking kernel compatibility in:
>         /lib/modules/
>  * Kernel supports required features for 'tip' version.
> Building compatibility version in 'compatible/' directory:
> Copying compatible/ from origin/...done
> make -C /lib/modules/ O=/lib/modules/ M=/root/kernel-greier/iwlwifi-1.0.0/compatible/ modules
> make[1]: Entering directory `/usr/src/kernels/'
>   CC [M]  /root/kernel-greier/iwlwifi-1.0.0/compatible/base-3945.o
>   CC [M]  /root/kernel-greier/iwlwifi-1.0.0/compatible/iwl-3945.o
>   CC [M]  /root/kernel-greier/iwlwifi-1.0.0/compatible/iwl-3945-rs.o
> /root/kernel-greier/iwlwifi-1.0.0/compatible/iwl-3945-rs.c:43:44: error: ../net/mac80211/ieee80211_rate.h: Ingen slik fil eller filkatalog...

Hmm, yes, that file is not there. Maybe the kernel is too new or too old
for that driver? Or maybe it needs a custom version of mac80211?

... later ...

I started a kernel build to test, and yes, the kernel source includes
that file but most probably it is an "internal" header file that is not
normally needed to build external modules (but is needed in your
particular case):

# find . -name ieee80211\*.h

-- Fernando