List Info

Thread: Patched 0.2.7 fails to buildon SuSE10.1




Patched 0.2.7 fails to buildon SuSE10.1
user name
2007-05-01 22:12:36
Got 0.2.7, added the INIT_WORK patch cos that's what build
failed for
and it now won;t build because "Modules.symvers"
is expected in src/p80211.

Before I go grab the output of make to post, is this already
fixed?

BTW, SuSE10.1 is kernel 2.6.16.

Currently lwlan-ng does work but the kernel puts out errors
about
something with rrid lengths. Does that with other
"Unsupported by
Novell" usb devices as well.

--
jd
"I'd rather have a bottle in front of me than a frontal
lobotomy."

_______________________________________________
Linux-wlan-user mailing list
Linux-wlan-userlists.linux-wlan.com
http://lists.linux-wlan.com/mailman/listinfo/linux-w
lan-user

Re: Patched 0.2.7 fails to buildon SuSE10.1
user name
2007-05-05 00:00:41
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Solomon Peachy wrote:
> On Tue, May 01, 2007 at 08:12:36PM -0700, jdebert
wrote:
>> Got 0.2.7, added the INIT_WORK patch cos that's
what build failed for
>> and it now won;t build because
"Modules.symvers" is expected in src/p80211.
> 
>> BTW, SuSE10.1 is kernel 2.6.16.
> 
> If it's "stock" 2.6.16, then 0.2.7 should
just work.

It's not stock. Like Red Hat, kernel fixes are backported.
The build failed
after several warnings about INIT_WORK. I did not keep the
output from make.
After patching it got past that and stopped on
"Modules.symvers"

> 
>> Currently lwlan-ng does work but the kernel puts
out errors about
>> something with rrid lengths. Does that with other
"Unsupported by
>> Novell" usb devices as well.
> 
> Are you sure it's supported hardware?  As always, the
actual error 
> messages are far more useful than vague recollections.

Supported by Novell? nope! But they built the modules
anyway. Occurs with all
Prism2 usb devices, Pegasus and Kaweth usb devices as well
so far and a couple
others I can't recall offhand.

Sorry--very tired and easy to forget things.

Here's the outputs from make...

make-config.log:
===BEGIN===

- -------------- Linux WLAN Configuration Script
-------------

The default responses are correct for most users.

Build Prism2.x PCMCIA Card Services (_cs) driver? (y/n) [y]:
Build Prism2
PLX9052 based PCI (_plx) adapter driver? (y/n) [n]: Build
Prism2.5 native PCI
(_pci) driver? (y/n) [n]: Build Prism2.5 USB (_usb) driver?
(y/n) [n]:
Linux source directory
[/lib/modules/2.6.16.27-0.9-default/build]:
The kernel source tree is version 2.6.16.27-0.9-default.
The current kernel build date is Tue Feb 13 09:35:18 2007.

Alternate target install root directory on host []: PCMCIA
script directory
[/etc/pcmcia]:   Module install directory
[/lib/modules/2.6.16.27-0.9-default]:
It looks like you have a System V init file setup.


Prefix for build host compiler? (rarely needed) []:
Build for debugging (see doc/config.debug) (y/n) [n]:

Configuration successful.  Now type 'make' and pray.


====END====

make.log:
===BEGIN===
set -e; for d in src doc man etc; do make -C $d ; done
make[1]: Entering directory
`/home/モビル/builds/linux-wlan-ng-0.2.7/src'
set -e; for d in mkmeta shared wlanctl nwepgen wlancfg
p80211 prism2; do make
WLAN_SRC=/home/モビル/builds/linux-wlan-ng-0.2.7/src/ -C
$d ; done
make[2]: Entering directory
`/home/モビル/builds/linux-wlan-ng-0.2.7/src/mkmeta'
gcc -E -M -I../include
-I/lib/modules/2.6.16.27-0.9-default/build/include
- -D__LINUX_WLAN__ ../shared/p80211types.c
../shared/p80211metamsg.c
../shared/p80211metamib.c ../shared/p80211meta.c 
mkmetadef.c
../shared/p80211types.c ../shared/p80211metamsg.c
../shared/p80211metamib.c
../shared/p80211meta.c  mkmetastruct.c > .depend
mkdir -p obj
gcc -c  -I../include
-I/lib/modules/2.6.16.27-0.9-default/build/include
- -D__LINUX_WLAN__ ../shared/p80211types.c -o
obj/p80211types.o
gcc -c  -I../include
-I/lib/modules/2.6.16.27-0.9-default/build/include
- -D__LINUX_WLAN__ ../shared/p80211metamsg.c -o
obj/p80211metamsg.o
gcc -c  -I../include
-I/lib/modules/2.6.16.27-0.9-default/build/include
- -D__LINUX_WLAN__ ../shared/p80211metamib.c -o
obj/p80211metamib.o
gcc -c  -I../include
-I/lib/modules/2.6.16.27-0.9-default/build/include
- -D__LINUX_WLAN__ ../shared/p80211meta.c -o
obj/p80211meta.o
gcc -c  -I../include
-I/lib/modules/2.6.16.27-0.9-default/build/include
- -D__LINUX_WLAN__ mkmetadef.c -o obj/mkmetadef.o
gcc  -o mkmetadef obj/p80211types.o obj/p80211metamsg.o
obj/p80211metamib.o
obj/p80211meta.o  obj/mkmetadef.o
cat mkmetadefhead.txt > ../include/wlan/p80211metadef.h
./mkmetadef >> ../include/wlan/p80211metadef.h
echo "#endif" >>
../include/wlan/p80211metadef.h
gcc -c  -I../include
-I/lib/modules/2.6.16.27-0.9-default/build/include
- -D__LINUX_WLAN__ mkmetastruct.c -o obj/mkmetastruct.o
gcc  -o mkmetastruct obj/p80211types.o obj/p80211metamsg.o
obj/p80211metamib.o
obj/p80211meta.o  obj/mkmetastruct.o
cat mkmetastructhead.txt >
../include/wlan/p80211metastruct.h
./mkmetastruct >> ../include/wlan/p80211metastruct.h
echo "#endif" >>
../include/wlan/p80211metastruct.h
make[2]: Leaving directory
`/home/モビル/builds/linux-wlan-ng-0.2.7/src/mkmeta'
make[2]: Entering directory
`/home/モビル/builds/linux-wlan-ng-0.2.7/src/shared'
Nothing to do...
make[2]: Leaving directory
`/home/モビル/builds/linux-wlan-ng-0.2.7/src/shared'
make[2]: Entering directory
`/home/モビル/builds/linux-wlan-ng-0.2.7/src/wlanctl'
gcc  -I../include
-I/lib/modules/2.6.16.27-0.9-default/build/include
- -D__LINUX_WLAN__  -c -o wlanctl.o wlanctl.c
gcc  -I../include
-I/lib/modules/2.6.16.27-0.9-default/build/include
- -D__LINUX_WLAN__  -c -o help.o help.c
gcc  -I../include
-I/lib/modules/2.6.16.27-0.9-default/build/include
- -D__LINUX_WLAN__  -c -o ../shared/p80211types.o
../shared/p80211types.c
gcc  -I../include
-I/lib/modules/2.6.16.27-0.9-default/build/include
- -D__LINUX_WLAN__  -c -o ../shared/p80211meta.o
../shared/p80211meta.c
gcc  -I../include
-I/lib/modules/2.6.16.27-0.9-default/build/include
- -D__LINUX_WLAN__  -c -o ../shared/p80211metamsg.o
../shared/p80211metamsg.c
gcc  -I../include
-I/lib/modules/2.6.16.27-0.9-default/build/include
- -D__LINUX_WLAN__  -c -o ../shared/p80211metamib.o
../shared/p80211metamib.c
gcc  -o wlanctl wlanctl.o help.o ../shared/p80211types.o
../shared/p80211meta.o
../shared/p80211metamsg.o ../shared/p80211metamib.o
make[2]: Leaving directory
`/home/モビル/builds/linux-wlan-ng-0.2.7/src/wlanctl'
make[2]: Entering directory
`/home/モビル/builds/linux-wlan-ng-0.2.7/src/nwepgen'
gcc  -I../include
-I/lib/modules/2.6.16.27-0.9-default/build/include
- -D__LINUX_WLAN__  -c -o nwepgen.o nwepgen.c
gcc  -o nwepgen nwepgen.o
make[2]: Leaving directory
`/home/モビル/builds/linux-wlan-ng-0.2.7/src/nwepgen'
make[2]: Entering directory
`/home/モビル/builds/linux-wlan-ng-0.2.7/src/wlancfg'
gcc  -I../include
-I/lib/modules/2.6.16.27-0.9-default/build/include
- -D__LINUX_WLAN__  -c -o wlancfg.o wlancfg.c
gcc  -o wlancfg wlancfg.o ../shared/p80211types.o
../shared/p80211meta.o
../shared/p80211metamsg.o ../shared/p80211metamib.o
make[2]: Leaving directory
`/home/モビル/builds/linux-wlan-ng-0.2.7/src/wlancfg'
make[2]: Entering directory
`/home/モビル/builds/linux-wlan-ng-0.2.7/src/p80211'
make -C /lib/modules/2.6.16.27-0.9-default/build
M='/home/モビル/builds/linux-
wlan-ng-0.2.7/src/
/home/モビル/builds/linux-wlan-ng-0.2.7/src/p80211'
WLAN_SRC=/home/モビル/builds/linux-wlan-ng-0.2.7/src/
modules
make[3]: Entering directory
`/usr/src/linux-2.6.16.27-0.9-obj/i386/default'
make -C ../../../linux-2.6.16.27-0.9
O=../linux-2.6.16.27-0.9-obj/i386/default
modules
  CC [M] 
/home/モビル/builds/linux-wlan-ng-0.2.7/src/p80211/p80211
mod.o
  CC [M] 
/home/モビル/builds/linux-wlan-ng-0.2.7/src/p80211/p80211
conv.o
  CC [M] 
/home/モビル/builds/linux-wlan-ng-0.2.7/src/p80211/p80211
req.o
  CC [M] 
/home/モビル/builds/linux-wlan-ng-0.2.7/src/p80211/p80211
wep.o
  CC [M] 
/home/モビル/builds/linux-wlan-ng-0.2.7/src/p80211/p80211
wext.o
/home/モビル/builds/linux-wlan-ng-0.2.7/src/p80211/p80211
wext.c:172:2: warning:
#warning "make a smarter sharedkey/opensystem auth
decision"
/home/モビル/builds/linux-wlan-ng-0.2.7/src/p80211/p80211
wext.c:442:2: warning:
#warning "get rid of p2mib here"
/home/モビル/builds/linux-wlan-ng-0.2.7/src/p80211/p80211
wext.c:771:2: warning:
#warning "Get rid of p2mib here!"
  CC [M] 
/home/モビル/builds/linux-wlan-ng-0.2.7/src/p80211/p80211
netdev.o
  LD [M] 
/home/モビル/builds/linux-wlan-ng-0.2.7/src/p80211/p80211
.o
  Building modules, stage 2.
  MODPOST
/home/モビル/builds/linux-wlan-ng-0.2.7/src/p80211/Module
s.symvers: No such file
or directory
/bin/sh: line 1: 22701 Aborted                
scripts/mod/modpost -m -a -i
/usr/src/linux-2.6.16.27-0.9-obj/i386/default/Module.symvers
-I /home/モビル
/builds/linux-wlan-ng-0.2.7/src/
/home/モビル/builds/linux-wlan-ng-
0.2.7/src/p80211/Modules.symvers -o
/home/モビル/builds/linux-wlan-ng-0.2.7/src/
/home/モビル/builds/linux-wlan-ng-0.2.7/src/p80211/Module
s.symvers -s /dev/null
/home/モビル/builds/linux-wlan-ng-0.2.7/src/p80211/p80211
.o
make[6]: *** [__modpost] Error 134
make[5]: *** [modules] Error 2
make[4]: *** [modules] Error 2
make[3]: *** [modules] Error 2
make[3]: Leaving directory
`/usr/src/linux-2.6.16.27-0.9-obj/i386/default'
make[2]: *** [default] Error 2
make[2]: Leaving directory
`/home/モビル/builds/linux-wlan-ng-0.2.7/src/p80211'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/home/モビル/builds/linux-wlan-ng-0.2.7/src'
make: *** [all] Error 2

====END====

I had filtered out the usb bus errors from the syslog, which
had made the
logfile too huge, taking up far, far too much disk space.
Here's a line from the
last time I plugged in the prism2 device:

===BEGIN===
May  4 20:17:57 ばかボユ kernel:
usbctlx_rrid_completor_fn: RID len mismatch,
rid=0xfcbe hlen=2 fwlen=-2
====END====
There were quite a few thousands in the syslog.
==
jd
"I have the simplest tastes.  I am always satisfied
with the best."
                -- Oscar Wilde
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFGPA95hpL3F+HeDrIRAhyLAJ9fTwXBrEk2585w3DtRrPo756GHqwCf
daOi
HUEPR2FANdp2JetnLP7RXx4=
=g2Uj
-----END PGP SIGNATURE-----
_______________________________________________
Linux-wlan-user mailing list
Linux-wlan-userlists.linux-wlan.com
http://lists.linux-wlan.com/mailman/listinfo/linux-w
lan-user
Re: Patched 0.2.7 fails to buildon SuSE10.1
user name
2007-05-09 09:58:49
On Wed, May 09, 2007 at 03:27:55PM +0100, Richard Kennedy
wrote:
> > That said, the error you are reporting doesn't
seem to make sense; the 
> > 'Module.symvers' file is created by the kernel
build system as part of 
> > the kernel build.  Do you have it in
/lib/modules/_kernelver_/build/  ?
> 
> We have to copy the Module.symvers from p80211 to get
the prism2 driver
> to build properly under the new kernel build system.

In this case, p80211 was failing to build, apparently
because the 
kernel-supplied Module.symvers was missing.  

 - Solomon
-- 
Solomon Peachy                        solomonlinux-wlan.com
AbsoluteValue Systems                 http://www.linux-wlan.com
721-D North Drive                     +1 (321) 259-0737 
(office)
Melbourne, FL 32934                   +1 (321) 259-0286 
(fax)

_______________________________________________
Linux-wlan-user mailing list
Linux-wlan-userlists.linux-wlan.com
http://lists.linux-wlan.com/mailman/listinfo/linux-w
lan-user
Re: Patched 0.2.7 fails to buildon SuSE10.1
user name
2007-05-09 09:01:53
On Fri, May 04, 2007 at 10:00:41PM -0700, j debert wrote:
> It's not stock. Like Red Hat, kernel fixes are
backported. The build failed
> after several warnings about INIT_WORK. I did not keep
the output from make.
> After patching it got past that and stopped on
"Modules.symvers"

Ugh; if they backported features as well as just
"fixes" that may break 
things -- we use the kernel version to determine which 
back-compatibility things to enable.

That said, the error you are reporting doesn't seem to make
sense; the 
'Module.symvers' file is created by the kernel build system
as part of 
the kernel build.  Do you have it in
/lib/modules/_kernelver_/build/  ?

 - Solomon
-- 
Solomon Peachy                        solomonlinux-wlan.com
AbsoluteValue Systems                 http://www.linux-wlan.com
721-D North Drive                     +1 (321) 259-0737 
(office)
Melbourne, FL 32934                   +1 (321) 259-0286 
(fax)

_______________________________________________
Linux-wlan-user mailing list
Linux-wlan-userlists.linux-wlan.com
http://lists.linux-wlan.com/mailman/listinfo/linux-w
lan-user
Re: Patched 0.2.7 fails to buildon SuSE10.1
user name
2007-05-09 09:27:55
On Wed, 2007-05-09 at 10:01 -0400, Solomon Peachy wrote:
> On Fri, May 04, 2007 at 10:00:41PM -0700, j debert
wrote:
> > It's not stock. Like Red Hat, kernel fixes are
backported. The build failed
> > after several warnings about INIT_WORK. I did not
keep the output from make.
> > After patching it got past that and stopped on
"Modules.symvers"
> 
> Ugh; if they backported features as well as just
"fixes" that may break 
> things -- we use the kernel version to determine which

> back-compatibility things to enable.
> 
> That said, the error you are reporting doesn't seem to
make sense; the 
> 'Module.symvers' file is created by the kernel build
system as part of 
> the kernel build.  Do you have it in
/lib/modules/_kernelver_/build/  ?
> 
>  - Solomon
> _______________________________________________
> Linux-wlan-user mailing list
> Linux-wlan-userlists.linux-wlan.com
> http://lists.linux-wlan.com/mailman/listinfo/linux-w
lan-user

Hi,

We have to copy the Module.symvers from p80211 to get the
prism2 driver
to build properly under the new kernel build system.

we added this to the prism2 Makefile :-

 ifeq ($(KERN_2_6_17), y)
        cp $(WLAN_SRC)/p80211/Module*.symvers .
        $(MAKE) -C $(LINUX_SRC) M='$(PWD)'
WLAN_SRC=$(WLAN_SRC) modules

So I guess if your kernel backported the new build system
you'll need to
do that too. 

Cheers
Richard

_______________________________________________
Linux-wlan-user mailing list
Linux-wlan-userlists.linux-wlan.com
http://lists.linux-wlan.com/mailman/listinfo/linux-w
lan-user

[1-5]

about | contact  Other archives ( Real Estate discussion Medical topics )