On 11/30/2012 10:57 PM, Hauke Mehrtens wrote: > On 11/27/2012 04:17 PM, Shuo wrote: >> Hi Hauke, >> Sorry for disturb again. >> I am trying compat-wireless-2012-11-25 for v3.7-rc7, but it fails. >> I downloaded the tar package and unpackaged, driver-select b43, make >> Some logs: >> >> Processing new driver-select request... >> Backing up makefile: Makefile.bk >> Backup exists: Makefile.bk >> Backup exists: Makefile.bk >> Backup exists: Makefile.bk >> Backing up makefile: drivers/misc/eeprom/Makefile.bk >> Backing up makefile: net/wireless/Makefile.bk >> Backing up makefile: drivers/net/wireless/Makefile.bk >> ./scripts/gen-compat-autoconf.sh /home/lskakaxi/work/extern_modules/compat-wireless/compat-wireless-2012-11-25/.config /home/lskakaxi/work/extern_modules/compat-wireless/compat-wireless-2012-11-25/config.mk > include/linux/compat_autoconf.h >> make -C /lib/modules/3.7.0-rc7-shuo-main+//build M=/home/lskakaxi/work/extern_modules/compat-wireless/compat-wireless-2012-11-25 modules >> make[1]: Entering directory `/home/lskakaxi/work/linux/kernel_build' >> /home/lskakaxi/work/extern_modules/compat-wireless/compat-wireless-2012-11-25/config.mk:247: "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." >> CC [M] /home/lskakaxi/work/extern_modules/compat-wireless/compat-wireless-2012-11-25/compat/main.o >> In file included from /home/lskakaxi/work/extern_modules/compat-wireless/compat-wireless-2012-11-25/include/linux/pm_qos.h:9:0, >> from /home/lskakaxi/work/linux/linux/include/linux/netdevice.h:28, >> from /home/lskakaxi/work/extern_modules/compat-wireless/compat-wireless-2012-11-25/include/linux/compat-2.6.29.h:5, >> from /home/lskakaxi/work/extern_modules/compat-wireless/compat-wireless-2012-11-25/include/linux/compat-2.6.h:50, >> from <command-line>:0: >> /home/lskakaxi/work/extern_modules/compat-wireless/compat-wireless-2012-11-25/include/linux/pm_qos_params.h:7:38: fatal error: linux/pm_qos_params.h: No such file or directory >> compilation terminated. >> >> I found the linux/pm_qos_params.h has been renamed to pm_qos.h one year ago. I am confused why compat-wirelss need this old header. >> Anything i missed? >> >> Shuo >> > Hi Shuo, > > There seams to be something wrong with your kernel. The include done in > include/linux/pm_qos.h:9:0 should not happen on your kernel version. > > Does include/generated/uapi/linux/version.h in your kernel directory > contains #define LINUX_VERSION_CODE 197895 or does it contain some other > number? > The problem had been resolved. There is an old LINUX_VERSION_CODE in the version.h. So i clean the kernel tree and make a full compile again. The errors above went away. Another thing is i found the latest compat driver contains some graphics drivers. When i install a wireless driver, such as b43, the graphics drivers also will be installed. That will break my original in-tree graphic drivers dep and caused some issue when X startup. So now, i turn to use latest wireless and graphic in-tree drivers with the latest kernel. They work well. Thanks, again! > Hauke Shuo -- To unsubscribe from this list: send the line "unsubscribe backports" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html