I just committed new splitted linux-wlan-ng ebuilds to the tree so please test them and add your keywords if working. The main linux-wlan-ng-0.2.2.ebuild is package.masked at the moment but I will unmask it soon. The new ebuilds are: net-wireless/linux-wlan-ng-utils net-wireless/linux-wlan-ng-firmware net-wireless/linux-wlan-ng-modules
Created attachment 69692 [details, diff] linux-wlan-ng-firmware-0.2.2.ebuild.patch Hi, the splitted ebuilds work great for me (x86 - prism2_usb). The patch includes (what I've found) * just a typo in the post_inst * and var db location
Well I thought about hard coding the path to the ebuild but it is not quarantied to be that way in the future. Maybe some day we will have one variable that will give the location of the ebuild to run configure on. I will fix the typo.
Ok. An other question, what is with the /etc/init.d/wlan script - is it obsolete? It isn't installed by any of these packages. An other question, the /etc/wlan/shared.prism2 file, where is the FIRMWARE_DIR variable set, possible this should be set to the new location /lib/firmware
(In reply to comment #3) > Ok. > > An other question, what is with the /etc/init.d/wlan script - is it obsolete? > It isn't installed by any of these packages. betelgeuse@pena ~ $ qfile /etc/init.d/wlan net-wireless/linux-wlan-ng (/etc/init.d/wlan) So it is installed by the main package. > > An other question, the /etc/wlan/shared.prism2 file, where is the FIRMWARE_DIR > variable set, possible this should be set to the new location /lib/firmware /etc/wlan/shared:FIRMWARE_DIR=/lib/firmware This file is then again sourced by the init script: /etc/init.d/wlan: if [ -f /etc/wlan/shared ] /etc/init.d/wlan: source /etc/wlan/shared
The plan was to obsolete the init script by writing a net module for linux-wlan-ng but I decided to commit the split ebuilds at this point because people needed the version bump for wireless to get working again. The net module is still something I will be doing but there is not anything ready yet.
we're currently testing a new alias system, sorry for the bugspam
Works here on ~ppc with a D-Link DWL-122 Portage 2.0.53_rc5 (default-linux/ppc/2005.1/ppc/G4, gcc-3.4.4, glibc-2.3.5-r2, 2.6.13-gentoo-r4 ppc) ================================================================= System uname: 2.6.13-gentoo-r4 ppc 7447A, altivec supported Gentoo Base System version 1.12.0_pre9 ccache version 2.4 [enabled] dev-lang/python: 2.4.2 sys-apps/sandbox: 1.2.13 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="ppc ~ppc" AUTOCLEAN="yes" CBUILD="powerpc-unknown-linux-gnu" CFLAGS="-O2 -mcpu=G4 -fno-strict-aliasing -fomit-frame-pointer -pipe" CHOST="powerpc-unknown-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-O2 -mcpu=G4 -fno-strict-aliasing -fomit-frame-pointer -pipe" DISTDIR="/mnt/portage/distfiles" FEATURES="autoconfig buildpkg ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://gentoo.digimed.co.uk/ http://pandemonium.tiscali.de/pub/gentoo/ http://mir.zyrianes.net/gentoo/ ftp://mir.zyrianes.net/gentoo/ ftp://mirror.nutsmaas.nl/gentoo" LINGUAS="en_GB" PKGDIR="/mnt/portage/packages/krikkit" PORTAGE_TMPDIR="/mnt/scratch" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/mnt/portage/local" SYNC="rsync://desiato/gentoo" USE="ppc X alsa altivec arts berkdb bitmap-fonts bonobo cddb cdr crypt cups curl dv dvd emboss encode exif fam flac foomaticdb gdbm gif gimpprint gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal ieee1394 imagemagick imlib java jpeg kde kdeenablefinal libwww mad motif mp3 mpeg mysql ncurses offensive ogg oggvorbis opengl pdflib perl png ppds python qt readline sdl slang speex spell ssl tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts unicode usb vhosts vorbis wifi xml xml2 xmms xv zlib linguas_en_GB userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, MAKEOPTS
Marked ~ppc.
Adding ppc back to CC because net-wireless/linux-wlan-ng is not keyworded ~ppc.
Sorry about that, added ~ppc.
Please try to get this marked because the earlier versions do not compile with 2.6.14 kernel sources. I understand that it is hard if no-one has the hardware, but I have been contacted by users wanting to use linux-wlan-ng on amd64. Just too bad that they haven't reported about their progress in this bug.
uhm, yes, that's rather bad. i did minimal testing and added ~amd64. better a maybe-broken ebuild than a for-sure-broken one ;)
(In reply to comment #12) > uhm, yes, that's rather bad. i did minimal testing and added ~amd64. better a > maybe-broken ebuild than a for-sure-broken one ;) http://packages.gentoo.org/search/?sstring=linux-wlan-ng no ~amd64 keywords here
argh, don't know why i missed that one... finally marked ~amd64
hppa: Could you provide some input on how to proceed here? I would like to clean old versions away at some point.
net-wireless/linux-wlan-ng-modules-0.2.3 fails to compile with vanilla 2.6.16 kernel: make[1]: Entering directory `/usr/src/linux-2.6.16' CC [M] /var/tmp/portage/linux-wlan-ng-modules-0.2.3/work/linux-wlan-ng-0.2.3/src/prism2/driver/prism2_cs.o /var/tmp/portage/linux-wlan-ng-modules-0.2.3/work/linux-wlan-ng-0.2.3/src/prism2/driver/prism2_cs.c:137: error: unknown field `attach' specified in initializer /var/tmp/portage/linux-wlan-ng-modules-0.2.3/work/linux-wlan-ng-0.2.3/src/prism2/driver/prism2_cs.c:137: warning: excess elements in struct initializer /var/tmp/portage/linux-wlan-ng-modules-0.2.3/work/linux-wlan-ng-0.2.3/src/prism2/driver/prism2_cs.c:137: warning: (near initialization for `prism2_cs_driver') /var/tmp/portage/linux-wlan-ng-modules-0.2.3/work/linux-wlan-ng-0.2.3/src/prism2/driver/prism2_cs.c:138: error: unknown field `detach' specified in initializer /var/tmp/portage/linux-wlan-ng-modules-0.2.3/work/linux-wlan-ng-0.2.3/src/prism2/driver/prism2_cs.c:138: warning: excess elements in struct initializer /var/tmp/portage/linux-wlan-ng-modules-0.2.3/work/linux-wlan-ng-0.2.3/src/prism2/driver/prism2_cs.c:138: warning: (near initialization for `prism2_cs_driver') /var/tmp/portage/linux-wlan-ng-modules-0.2.3/work/linux-wlan-ng-0.2.3/src/prism2/driver/prism2_cs.c:142: error: unknown field `event' specified in initializer /var/tmp/portage/linux-wlan-ng-modules-0.2.3/work/linux-wlan-ng-0.2.3/src/prism2/driver/prism2_cs.c:142: warning: missing braces around initializer /var/tmp/portage/linux-wlan-ng-modules-0.2.3/work/linux-wlan-ng-0.2.3/src/prism2/driver/prism2_cs.c:142: warning: (near initialization for `prism2_cs_driver.drv') /var/tmp/portage/linux-wlan-ng-modules-0.2.3/work/linux-wlan-ng-0.2.3/src/prism2/driver/prism2_cs.c:142: warning: initialization from incompatible pointer type /var/tmp/portage/linux-wlan-ng-modules-0.2.3/work/linux-wlan-ng-0.2.3/src/prism2/driver/prism2_cs.c: In function `prism2sta_attach': /var/tmp/portage/linux-wlan-ng-modules-0.2.3/work/linux-wlan-ng-0.2.3/src/prism2/driver/prism2_cs.c:237: warning: implicit declaration of function `pcmcia_register_client' /var/tmp/portage/linux-wlan-ng-modules-0.2.3/work/linux-wlan-ng-0.2.3/src/prism2/driver/prism2_cs.c: In function `prism2sta_detach': /var/tmp/portage/linux-wlan-ng-modules-0.2.3/work/linux-wlan-ng-0.2.3/src/prism2/driver/prism2_cs.c:328: warning: implicit declaration of function `pcmcia_deregister_client' make[2]: *** [/var/tmp/portage/linux-wlan-ng-modules-0.2.3/work/linux-wlan-ng-0.2.3/src/prism2/driver/prism2_cs.o] Error 1 make[1]: *** [_module_/var/tmp/portage/linux-wlan-ng-modules-0.2.3/work/linux-wlan-ng-0.2.3/src/prism2/driver] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.16' make: *** [default] Error 2 Portage 2.0.54 (default-linux/x86/2005.0, gcc-3.4.5, glibc-2.3.5-r2, 2.6.15-ck5 i686) ================================================================= System uname: 2.6.15-ck5 i686 Intel(R) Pentium(R) III Mobile CPU 1133MHz Gentoo Base System version 1.6.14 dev-lang/python: 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-mtune=pentium3m -march=pentium3m -pipe -O2 -fomit-frame-pointer -fno-ident" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-mtune=pentium3m -march=pentium3m -pipe -O2 -fomit-frame-pointer -fno-ident -fvisibility-inlines-hidden" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS=" http://gentoo.mirror.sdv.fr http://ftp.snt.utwente.nl/pub/os/linux/gentoo" LC_ALL="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--sort-common -s" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 7zip X a52 aac accessibility acpi alsa apache2 arts asf audiofile avi bash-completion berkdb bitmap-fonts bzip2 cdb cdparanoia cdr crypt css cups curl dga directfb divx4linux dri dts dv dvd dvdr dvdread eds emboss encode exif expat extrafilters fam fame fbcon ffmpeg flac foomaticdb fortran fping gd gdbm gif glut gmp gphoto2 gpm gstreamer gtk gtk2 hal icq idn ieee1394 imagemagick imlib jabber java javascript jpeg kde kdeenablefinal lcms libg++ libwww lirc lua mad matroska mhash mikmod mmap mmx mng motif mp3 mpeg mplayer msn musepack musicbrainz mysql ncurses network nls nptl nsplugin nvidia ogg oggvorbis openal opengl oss pam pcmcia pcre pdf pdflib perl php png python qt quicktime readline recode samba sdl sndfile snmp speex spell sse ssl subtitles svga symlink tcpd theora threads tidy tiff truetype truetype-fonts type1-fonts udev unicode usb v4l v4l2 vcd vorbis win32codecs xanim xine xinerama xml2 xmms xscreensaver xv xvid xvmc yahoo zlib video_cards_nvidia userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LINGUAS let me know if i should attach kernel's config file...
(In reply to comment #16) > net-wireless/linux-wlan-ng-modules-0.2.3 fails to compile with vanilla 2.6.16 > kernel: > This should be fixed now. In the future please report these problems in separate bugs. Sync in a few hours and try emerging linux-wlan-ng-modules-0.2.3 again.
sorry for posting in the wrong bug... i've synced few minutes ago, but it still won't compile
update: it compiles fine with USE="-pcmcia" but breaks otherwise.
Thanks for this ebuild! I've been waiting quite some time ;) It is working pretty on my amd64. A couple of minor issues remain: - shared does not get moved to /etc/wlan, error: /var/tmp/.../etc/wlan is not a directory (had to move it manually to make initscript work) - Inside shared (line 73) there is a test -x `cat ...`. If that cat yields nothing the test fails with an error (too many arguments). The cat should be quoted like "`cat ...`". However this is probably upstream? - emerge --unmerge linux-wlan-ng-modules does not remove the modules, leading to a collision-protect conflict on next emerge. Thanks again!
(In reply to comment #19) > update: it compiles fine with USE="-pcmcia" but breaks otherwise. > Removed support for pcmcia in 0.2.3-r1 as pcmcia users really should use other drivers any way. (In reply to comment #20) > Thanks for this ebuild! I've been waiting quite some time ;) > It is working pretty on my amd64. > A couple of minor issues remain: > - shared does not get moved to /etc/wlan, error: /var/tmp/.../etc/wlan is not a > directory (had to move it manually to make initscript work) It works fine here with shared in /etc/conf.d/ but this probably should be improved. > > - Inside shared (line 73) there is a test -x `cat ...`. If that cat yields > nothing the test fails with an error (too many arguments). The cat should be > quoted like "`cat ...`". However this is probably upstream? This is upstream. > > - emerge --unmerge linux-wlan-ng-modules does not remove the modules, leading > to a collision-protect conflict on next emerge. I added blocks for this. > > Thanks again! >
Hello. I have had some trouble with linux-wlan-ng 0.2.3 and kernel 2.6.15... The kernel hung up giving an error message. I have sent an email to the developers and I got the following answer: === "> I also use a vanilla linux-wlan-ng 0.2.3 on this kernel. The bug is being triggered in add_timer(). Try the development head; the timer code has been rewritten a little bit to be a bit safer." === I have tried the svn code and it worked fine. Is it possible to apply a patch from svn version to 0.2.3-r1 to correct add_timer function behaviour? svn co svn://svn.shaftnet.org/linux-wlan-ng/trunk linux-wlan-ng
Sorry. I must say that the SVN version is not working properly because of some "undefined flags"... The last time it worked for me, maybe because I forgot to clean the old version form /lib/modules. Anyways, the trouble with add_timer() function seems to be solved in SVN code, so I think it would be very helpful if someone makes a fix for that in portage tree, before 0.2.4 happens. Thanks! (In reply to comment #22)
(In reply to comment #22) > Hello. > I have had some trouble with linux-wlan-ng 0.2.3 and kernel 2.6.15... > The kernel hung up giving an error message. > I have sent an email to the developers and I got the following answer: > Again, open new bugs for your issues and do not post to old bugs unless they describe the same issue you are having. If you think your issue prevents keywording, which this bug is about, then you make your bug block this one. Thanks. > > I have tried the svn code and it worked fine. Is it possible to apply a patch > from svn version to 0.2.3-r1 to correct add_timer function behaviour? > > svn co svn://svn.shaftnet.org/linux-wlan-ng/trunk linux-wlan-ng > It is possible to apply a patch. It makes my life easier if you use svn log and svn diff to find the patch for me and open a new bug with it attached. I am in a military hospital atm so my time for Gentoo work is limited.
HPPA KW has been dropped and no HW to test those ebuild with.
(In reply to comment #25) > HPPA KW has been dropped and no HW to test those ebuild with. > Marking as fixed.