Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 31994 - linux-wlan-ng-0.2.1_pre14.ebuild (Upgrade Submit)
Summary: linux-wlan-ng-0.2.1_pre14.ebuild (Upgrade Submit)
Status: RESOLVED DUPLICATE of bug 35564
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Peter Johanson (RETIRED)
URL:
Whiteboard:
Keywords:
: 31993 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-10-25 15:08 UTC by Octavio Ruiz (Ta^3)
Modified: 2005-07-17 13:06 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Diff from linux-wlan-ng-0.2.1_pre11 to linux-wlan-ng-0.2.1_pre14 (linux-wlan-ng-0.2.1_pre11-pre14.ebuild.diff,1.74 KB, patch)
2003-10-25 15:08 UTC, Octavio Ruiz (Ta^3)
Details | Diff
The ebuild (linux-wlan-ng-0.2.1_pre14.ebuild,5.64 KB, application/octet-stream)
2003-10-25 15:09 UTC, Octavio Ruiz (Ta^3)
Details
linux-wlan-ng-0.2.1_pre14.ebuild that works with any version of pcmcia-cs installed (linux-wlan-ng-0.2.1_pre14.ebuild,6.55 KB, text/plain)
2003-10-25 23:22 UTC, Octavio Ruiz (Ta^3)
Details
Diff from linux-wlan-ng-0.2.1_pre11 to linux-wlan-ng-0.2.1_pre14 (linux-wlan-ng-0.2.1_pre14.ebuild,6.55 KB, patch)
2003-10-25 23:28 UTC, Octavio Ruiz (Ta^3)
Details | Diff
Patch to upgrade pcmcia-cs-3.21 to pcmcia-cs-3.25 in tar.gz (pcmcia-cs-3.2.1-3.2.5.diff.gz,313.68 KB, application/octet-stream)
2003-10-25 23:39 UTC, Octavio Ruiz (Ta^3)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Octavio Ruiz (Ta^3) 2003-10-25 15:08:18 UTC
linux-wlan-ng-0.2.1_pre14.ebuild (Upgrade Submit)

Reproducible: Always
Steps to Reproduce:
1. emerge  net-wireless/linux-wlan-ng-0.2.1_pre14



Well, i dont know why the ebuild for linux-wlan-ng use a patched version of
pcmcia-cs 3.2.1+2+3+4. Maybe this ebuild break things cos i'm using pcmcia-cs
3.2.5 for build. Old linux-wlan-ng do not work with the new ebuild
pcmcia-cs-3.2.5.. this ebuilds works cool. 

If you merge linux-wlan-ng-0.2.1_pre11 and pcmcia-cs-3.2.5 you probably have
this issue:

prism2_init: prism2_cs.o: 0.2.1-pre11 Loaded
prism2_init: dev_info is: prism2_cs
prism2_cs: CardServices release does not match!

:)
Comment 1 Octavio Ruiz (Ta^3) 2003-10-25 15:08:43 UTC
Created attachment 19781 [details, diff]
Diff from linux-wlan-ng-0.2.1_pre11 to linux-wlan-ng-0.2.1_pre14
Comment 2 Octavio Ruiz (Ta^3) 2003-10-25 15:09:18 UTC
Created attachment 19782 [details]
The ebuild
Comment 3 Octavio Ruiz (Ta^3) 2003-10-25 16:33:34 UTC
*** Bug 31993 has been marked as a duplicate of this bug. ***
Comment 4 Octavio Ruiz (Ta^3) 2003-10-25 23:22:37 UTC
Created attachment 19800 [details]
linux-wlan-ng-0.2.1_pre14.ebuild that works with any version of pcmcia-cs installed

The other ebuild can not be used with <=pcmcia-cs-3.2.4, because it not patches
pcmcia-3.2.1 to the current version installed of pcmcia-cs. This ebuild do
that.
Comment 5 Octavio Ruiz (Ta^3) 2003-10-25 23:28:28 UTC
Created attachment 19801 [details, diff]
Diff from linux-wlan-ng-0.2.1_pre11 to linux-wlan-ng-0.2.1_pre14

The other ebuild can not be used with <=pcmcia-cs-3.2.4, because it not patches

pcmcia-3.2.1 to the current version installed of pcmcia-cs. This ebuild do
that.
Comment 6 Octavio Ruiz (Ta^3) 2003-10-25 23:39:33 UTC
Created attachment 19802 [details]
Patch to upgrade pcmcia-cs-3.21 to pcmcia-cs-3.25 in tar.gz

Needed to patch pcmcia-cs 3.2.1 to pcmcia-cs 3.2.5
Comment 7 Andrea Cerrito 2003-10-26 02:05:49 UTC
I think this ebuild can present same problem as bug 25835 (http://bugs.gentoo.org/show_bug.cgi?id=25835).
Comment 8 Octavio Ruiz (Ta^3) 2003-10-26 10:21:36 UTC
> I think this ebuild can present same problem as bug
> 25835(http://bugs.gentoo.org/show_bug.cgi?id=25835)

Comment 9 Octavio Ruiz (Ta^3) 2003-10-26 10:21:36 UTC
> I think this ebuild can present same problem as bug
> 25835(http://bugs.gentoo.org/show_bug.cgi?id=25835)

¿Did you tested it? Or it's only a supposition since this ebuild is
based on =<pre11? I can't tell you if it is an inherited problem, because
i can't reproduce bug 25835. If you think that, and know how to
reproduce it in you own machine (i guess, you are the reporter of 
that bug), download and test this please. Thanks :D
Comment 10 Andrea Cerrito 2003-10-27 08:26:03 UTC
I guess because it does contains the same "wrong" lines: have a look at that
bug, I (think) solved removing the uneeded "mv default.config config.in".
You can simulate that bug using USE="usb pcmcia".
I'll test asap.
Comment 11 Andrea Cerrito 2003-10-27 09:05:26 UTC
The test were ok even without the patch.
Comment 12 Andrea Cerrito 2003-10-27 09:06:40 UTC
...sorry, the error persist, even it's not relevant anymore.

--snip
Kernel configuration options:
    Kernel-tree PCMCIA support is enabled.
    Symmetric multiprocessing support is disabled.
    Preemptive kernel support is disabled.
    High memory support is disabled.
    PCI BIOS support is enabled.
    Power management (APM) support is enabled.
    SCSI support is enabled.
    IEEE 1394 (FireWire) support is disabled.
    Networking support is enabled.
     Radio network interface support is enabled.
     Token Ring device support is disabled.
     Fast switching is disabled.
     Frame Diverter is disabled.
    Module version checking is disabled.
    Kernel debugging support is disabled.
    Preemptive kernel patch is disabled.
    /proc filesystem support is enabled.
    PAE support is disabled.

System V init script layout (y/n) [n]
The Forms library is not available.

Configuration successful.

** Your kernel is configured with PCMCIA driver support.  Therefore,
** 'make all' will compile the PCMCIA utilities but not the drivers.
** See README-2.4 if this is not what you intended!

mv: impossibile fare stat di `default.config': No such file or directory
---
Comment 13 Priit Laes (IRC: plaes) 2003-10-30 00:56:26 UTC
This doesn't work with development series of kernels...
Decoder linux-wlan-ng # emerge linux-wlan-ng-0.2.1_pre14.ebuild
Calculating dependencies ...done!
>>> emerge (1 of 1) net-wireless/linux-wlan-ng-0.2.1_pre14 to /
>>> md5 src_uri ;-) linux-wlan-ng-0.2.1-pre14.tar.gz
>>> md5 src_uri ;-) linux-wlan-ng-gentoo-init.gz
>>> md5 src_uri ;-) pcmcia-cs-3.2.1.tar.gz
>>> md5 src_uri ;-) pcmcia-cs-3.2.1-3.2.2.diff.gz
>>> md5 src_uri ;-) pcmcia-cs-3.2.1-3.2.3.diff.gz
>>> md5 src_uri ;-) pcmcia-cs-3.2.1-3.2.4.diff.gz
>>> md5 src_uri ;-) pcmcia-cs-3.2.1-3.2.5.diff.gz
>>> Unpacking source...
>>> Unpacking linux-wlan-ng-0.2.1-pre14.tar.gz to /home/tmp/portage/linux-wlan-ng-0.2.1_pre14/work
>>> Unpacking linux-wlan-ng-gentoo-init.gz to /home/tmp/portage/linux-wlan-ng-0.2.1_pre14/work
>>> Unpacking pcmcia-cs-3.2.1.tar.gz to /home/tmp/portage/linux-wlan-ng-0.2.1_pre14/work
 * Applying pcmcia-cs-3.2.1-3.2.5.diff.gz...                            
 [ ok ]>>> Source unpacked.
 
    -------- Linux PCMCIA Configuration Script --------
 
The default responses for each question are correct for most users.
Consult the PCMCIA-HOWTO for additional info about each option.
 
Linux kernel source directory [/usr/src/linux]
 
The kernel source tree is version 2.6.0-test9.
The current kernel build date is Thu Oct 30 10:25:40 2003.
 
Build 'trusting' versions of card utilities (y/n) [y]
Include 32-bit (CardBus) card support (y/n) [y]
Include PnP BIOS resource checking (y/n) [y]
Module install directory [/lib/modules/2.6.0-test9]
 
Kernel configuration options:
    Kernel-tree PCMCIA support is enabled.
    Symmetric multiprocessing support is disabled.
    Preemptive kernel support is enabled.
    High memory support is enabled.
    PCI BIOS support is enabled.
    Power management (APM) support is disabled.
    SCSI support is enabled.
    IEEE 1394 (FireWire) support is disabled.
    Networking support is enabled.
     Radio network interface support is enabled.
     Token Ring device support is disabled.
     Fast switching is disabled.
     Frame Diverter is disabled.
    Module version checking is disabled.
    Kernel debugging support is disabled.
    Preemptive kernel patch is enabled.
    /proc filesystem support is enabled.
    PAE support is disabled.
 
System V init script layout (y/n) [n]
The Forms library is not available.
 
Configuration successful.
 
** Your kernel is configured with PCMCIA driver support.  Therefore,
** 'make all' will compile the PCMCIA utilities but not the drivers.
** See README-2.4 if this is not what you intended!
 
mv: cannot stat `default.config': No such file or directory
 
-------------- 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) [y]
Build Prism2.5 native PCI (_pci) driver? (y/n) [y]
Build Prism2.5 USB (_usb) driver? (y/n) [y]
 
Linux source directory [/usr/src/linux]
make[1]: warning: jobserver unavailable: using -j1.  Add `+' to parent make
rule.
Makefile:405: /usr/src/linux-2.6.0-test9/arch/x86/Makefile: No such file
or directory
make[2]: *** No rule to make target `/usr/src/linux-2.6.0-test9/arch/x86/Makefile'.
 Stop.
make[1]: *** [get_options] Error 2
./Configure: line 240: scripts/make.opts: No such file or directory
 
The kernel source tree is version .
Kernel 2.5/2.6 support is highly experimental.
WARNING: the current running kernel is actually version 2.6.0-test9.
The current kernel build date is Thu Oct 30 10:25:40 2003.
./Configure: line 294: [: too many arguments
 
./Configure: line 332: scripts/make.opts: No such file or directory
Alternate target install root directory on host [/home/tmp/portage/linux-wlan-ng-0.2.1_pre14/image/]
PCMCIA script directory [/etc/pcmcia]
  Module install directory [/lib/modules/]
 
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.
 
set -e; for d in src doc man etc; do make -C $d ; done
make[1]: Entering directory
`/home/tmp/portage/linux-wlan-ng-0.2.1_pre14/work/linux-wlan-ng-0.2.1-pre14/src'
set -e; for d in mkmeta p80211 prism2 shared wlanctl wland nwepgen wlancfg;
do make -C $d ; done
make[2]: Entering directory
`/home/tmp/portage/linux-wlan-ng-0.2.1_pre14/work/linux-wlan-ng-0.2.1-pre14/src/mkmeta'
gcc -E -M -I../include -I/usr/src/linux/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/usr/src/linux/include -D__LINUX_WLAN__ ../shared/p80211types.c
-o obj/p80211types.o
gcc -c  -I../include -I/usr/src/linux/include -D__LINUX_WLAN__ ../shared/p80211metamsg.c
-o obj/p80211metamsg.o
gcc -c  -I../include -I/usr/src/linux/include -D__LINUX_WLAN__ ../shared/p80211metamib.c
-o obj/p80211metamib.o
gcc -c  -I../include -I/usr/src/linux/include -D__LINUX_WLAN__ ../shared/p80211meta.c
-o obj/p80211meta.o
gcc -c  -I../include -I/usr/src/linux/include -D__LINUX_WLAN__ mkmetadef.c
-o obj/mkmetadef.o
gcc -c  -I../include -I/usr/src/linux/include -D__LINUX_WLAN__ mkmetastruct.c
-o obj/mkmetastruct.o
gcc  -o mkmetadef obj/p80211types.o obj/p80211metamsg.o obj/p80211metamib.o
obj/p80211meta.o  obj/mkmetadef.o
gcc  -o mkmetastruct obj/p80211types.o obj/p80211metamsg.o obj/p80211metamib.o
obj/p80211meta.o  obj/mkmetastruct.o
cat mkmetadefhead.txt > ../include/wlan/p80211metadef.h
./mkmetadef >> ../include/wlan/p80211metadef.h
cat mkmetastructhead.txt > ../include/wlan/p80211metastruct.h
echo "#endif" >> ../include/wlan/p80211metadef.h
./mkmetastruct >> ../include/wlan/p80211metastruct.h
echo "#endif" >> ../include/wlan/p80211metastruct.h
make[2]: Leaving directory
`/home/tmp/portage/linux-wlan-ng-0.2.1_pre14/work/linux-wlan-ng-0.2.1-pre14/src/mkmeta'
make[2]: Entering directory
`/home/tmp/portage/linux-wlan-ng-0.2.1_pre14/work/linux-wlan-ng-0.2.1-pre14/src/p80211'
if test ! -d
/home/tmp/portage/linux-wlan-ng-0.2.1_pre14/work/linux-wlan-ng-0.2.1-pre14/src/p80211/../.tmp_versions;
then \
        cp -rf /usr/src/linux/.tmp_versions
/home/tmp/portage/linux-wlan-ng-0.2.1_pre14/work/linux-wlan-ng-0.2.1-pre14/src/p80211/../
; \
fi
make -C /usr/src/linux
SUBDIRS=/home/tmp/portage/linux-wlan-ng-0.2.1_pre14/work/linux-wlan-ng-0.2.1-pre14/src/p80211
WLAN_SRC=/home/tmp/portage/linux-wlan-ng-0.2.1_pre14/work/linux-wlan-ng-0.2.1-pre14/src/p80211/
\
       
MODVERDIR=/home/tmp/portage/linux-wlan-ng-0.2.1_pre14/work/linux-wlan-ng-0.2.1-pre14/src/p80211/../.tmp_versions
modules
make[3]: Entering directory `/usr/src/linux-2.6.0-test9'
Makefile:405: /usr/src/linux-2.6.0-test9/arch/x86/Makefile: No such file
or directory
make[3]: *** No rule to make target `/usr/src/linux-2.6.0-test9/arch/x86/Makefile'.
 Stop.
make[3]: Leaving directory `/usr/src/linux-2.6.0-test9'
make[2]: *** [default] Error 2
make[2]: Leaving directory
`/home/tmp/portage/linux-wlan-ng-0.2.1_pre14/work/linux-wlan-ng-0.2.1-pre14/src/p80211'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/home/tmp/portage/linux-wlan-ng-0.2.1_pre14/work/linux-wlan-ng-0.2.1-pre14/src'
make: *** [all] Error 2
 
!!! ERROR: net-wireless/linux-wlan-ng-0.2.1_pre14 failed.
!!! Function src_compile, Line 173, Exitcode 2
!!! failed compiling
 
Comment 14 fatty 2003-12-05 05:36:31 UTC
I get the same error as Priit Laes, too.

The only difference is, that I'm using kernel-2.6.0-test10 instead of kernel-2.6.0-test9.

Using a older version of linux-wlan-ng doesn't work, neither, because it tells me, that I should use module-init-tools version 2.1.23(!) instead of version 0.9.15.
Comment 15 James W. Dumay 2003-12-10 14:14:49 UTC
linux-wlan-ng works sucessfully with 2.6.x series of test kernels.

Some devices using the prism2_cs driver from _pre11 lock the machine up if network card is in high load. Not sure if problem has been resolved. Be carefull.
Comment 16 Priit Laes (IRC: plaes) 2003-12-10 15:50:17 UTC
Does this thing make it's way into portage anyday?
PS. There's pre15 out there...
Comment 17 Octavio Ruiz (Ta^3) 2003-12-10 17:02:30 UTC

*** This bug has been marked as a duplicate of 35564 ***