* Build compat-wireless for linus tree
@ 2012-11-16 17:20 Shuo
2012-11-17 13:51 ` Hauke Mehrtens
0 siblings, 1 reply; 4+ messages in thread
From: Shuo @ 2012-11-16 17:20 UTC (permalink / raw)
To: backports
Hi list,
How could i get the latest compat-wireless code and compile against
an new kernel which pull from linus' tree?
I am using v3.7-rc4. It seems there is no ready compat-wireless code
for it. Is there any repo for this?
Any comment would be appreciated!
Shuo
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Build compat-wireless for linus tree
2012-11-16 17:20 Build compat-wireless for linus tree Shuo
@ 2012-11-17 13:51 ` Hauke Mehrtens
[not found] ` <50B4C158.3020701@gmail.com>
0 siblings, 1 reply; 4+ messages in thread
From: Hauke Mehrtens @ 2012-11-17 13:51 UTC (permalink / raw)
To: shuox.liu; +Cc: backports
On 11/16/2012 06:20 PM, Shuo wrote:
> Hi list,
> How could i get the latest compat-wireless code and compile against
> an new kernel which pull from linus' tree?
> I am using v3.7-rc4. It seems there is no ready compat-wireless code
> for it. Is there any repo for this?
>
> Any comment would be appreciated!
>
> Shuo
Hi Shuo,
compat-drivers compiles for me against kernel 3.7-rc6 without any
problems. Try out the latest version:
http://www.orbit-lab.org/kernel/compat-wireless/
Hauke
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Build compat-wireless for linus tree
[not found] ` <50B4D99B.8000308@gmail.com>
@ 2012-11-30 14:57 ` Hauke Mehrtens
2012-12-02 16:41 ` Shuo
0 siblings, 1 reply; 4+ messages in thread
From: Hauke Mehrtens @ 2012-11-30 14:57 UTC (permalink / raw)
To: shuox.liu, backports
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?
Hauke
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Build compat-wireless for linus tree
2012-11-30 14:57 ` Hauke Mehrtens
@ 2012-12-02 16:41 ` Shuo
0 siblings, 0 replies; 4+ messages in thread
From: Shuo @ 2012-12-02 16:41 UTC (permalink / raw)
To: Hauke Mehrtens; +Cc: backports
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-12-02 16:42 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-16 17:20 Build compat-wireless for linus tree Shuo
2012-11-17 13:51 ` Hauke Mehrtens
[not found] ` <50B4C158.3020701@gmail.com>
[not found] ` <50B4D99B.8000308@gmail.com>
2012-11-30 14:57 ` Hauke Mehrtens
2012-12-02 16:41 ` Shuo
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.