Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
madwifi 0.9.4 i AMD64
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish)
View previous topic :: View next topic  
Author Message
Xywa
Veteran
Veteran


Joined: 23 Jul 2005
Posts: 1631
Location: /mnt/Gentoo/Europe

PostPosted: Thu Apr 10, 2008 2:36 pm    Post subject: madwifi 0.9.4 i AMD64 Reply with quote

Witam,

Próbuje od rana uruchomi kartę Netgear WG511T na Gentoo pod AMD64 - niestey bez rezultatu.
Zgodnie z wikipedią, chciałem zainstalować na kernelu 2.6.23 madwifi 0.9.3.3 - niestety wyszły problemy z architekturą podczas kompilacji. zaktualizowałem kernel do 2.6.24 to samo.
Poczytałem bug listę i tam zalecono dla AMD 64i kernela 2.6.24 użyć niestabilnego madwifi 0.9.4
Niestey teraz podczas kompilacji znowu jest bład, tym razem taki (zobacz listing poniżej).

Moje pytanie:
Czy działa komuś madwifi 0.9.4 na amd64?
Czy działa komuś karta Netgear WG511T na Gentoo pod AMD64?

Jeżeli tak prosze o waszą konfiguracje i ewntualnie rady jak zrobic downgrade.

Code:
# emerge madwifi-ng
Calculating dependencies... done!
>>> Verifying ebuild Manifests...

>>> Emerging (1 of 1) net-wireless/madwifi-ng-0.9.4 to /
 * madwifi-0.9.4.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                         [ ok ]
 * checking ebuild checksums ;-) ...                                                                             [ ok ]
 * checking auxfile checksums ;-) ...                                                                            [ ok ]
 * checking miscfile checksums ;-) ...                                                                           [ ok ]
 * checking madwifi-0.9.4.tar.bz2 ;-) ...                                                                        [ ok ]
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found kernel object directory:
 *     /lib/modules/2.6.24-gentoo-r4/build
 * Found sources for kernel version:
 *     2.6.24-gentoo-r4
 * Checking for suitable kernel configuration options...                                                         [ ok ]
>>> Unpacking source...
>>> Unpacking madwifi-0.9.4.tar.bz2 to /var/tmp/portage/net-wireless/madwifi-ng-0.9.4/work
 * Applying madwifi-ng-0.9.3-uudecode-gcda-fix.patch ...                                                         [ ok ]
 * Converting madwifi-0.9.4/ath/Makefile to use M= instead of SUBDIRS= ...                                       [ ok ]
 * Converting madwifi-0.9.4/ath_hal/Makefile to use M= instead of SUBDIRS= ...                                   [ ok ]
 * Converting madwifi-0.9.4/net80211/Makefile to use M= instead of SUBDIRS= ...                                  [ ok ]
 * Converting madwifi-0.9.4/ath_rate/Makefile to use M= instead of SUBDIRS= ...                                  [ ok ]
 * Converting madwifi-0.9.4/ath_rate/amrr/Makefile to use M= instead of SUBDIRS= ...                             [ ok ]
 * Converting madwifi-0.9.4/ath_rate/minstrel/Makefile to use M= instead of SUBDIRS= ...                         [ ok ]
 * Converting madwifi-0.9.4/ath_rate/onoe/Makefile to use M= instead of SUBDIRS= ...                             [ ok ]
 * Converting madwifi-0.9.4/ath_rate/sample/Makefile to use M= instead of SUBDIRS= ...                           [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/net-wireless/madwifi-ng-0.9.4/work/madwifi-0.9.4 ...
 * Preparing ath_hal module
make -C /lib/modules/2.6.24-gentoo-r4/build M=/var/tmp/portage/net-wireless/madwifi-ng-0.9.4/work/madwifi-0.9.4/ath_hal modules
make[1]: Entering directory `/usr/src/linux-2.6.24-gentoo-r4'
  CC [M]  /var/tmp/portage/net-wireless/madwifi-ng-0.9.4/work/madwifi-0.9.4/ath_hal/ah_os.o
  HOSTCC  /var/tmp/portage/net-wireless/madwifi-ng-0.9.4/work/madwifi-0.9.4/ath_hal/uudecode.o
  HOSTLD  /var/tmp/portage/net-wireless/madwifi-ng-0.9.4/work/madwifi-0.9.4/ath_hal/uudecode
/var/tmp/portage/net-wireless/madwifi-ng-0.9.4/work/madwifi-0.9.4/ath_hal/uudecode.o: file not recognized: File format not recognized
collect2: ld returned 1 exit status
make[2]: *** [/var/tmp/portage/net-wireless/madwifi-ng-0.9.4/work/madwifi-0.9.4/ath_hal/uudecode] Error 1
make[2]: *** Waiting for unfinished jobs....
objdump: /var/tmp/portage/net-wireless/madwifi-ng-0.9.4/work/madwifi-0.9.4/ath_hal/.tmp_ah_os.o: File format not recognized
make[1]: *** [_module_/var/tmp/portage/net-wireless/madwifi-ng-0.9.4/work/madwifi-0.9.4/ath_hal] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.24-gentoo-r4'
make: *** [all] Error 2
 *
 * ERROR: net-wireless/madwifi-ng-0.9.4 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3243:  Called linux-mod_src_compile
 *             environment, line 2476:  Called die
 * The specific snippet of code:
 *               eval "emake HOSTCC=\"$(tc-getBUILD_CC)\"                                               CC=\"$(get-KERNEL_CC)\"                                                LDFLAGS=\"$(get_abi_LDFLAGS)\"                                ${BUILD_FIXES}                                           ${BUILD_PARAMS}                                               ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CC="$(get-KERNEL_CC)" LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}";
 *  The die message:
 *   Unable to emake HOSTCC=x86_64-pc-linux-gnu-gcc CC=x86_64-pc-linux-gnu-gcc LDFLAGS=  KERNELPATH=/lib/modules/2.6.24-gentoo-r4/build all
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/net-wireless/madwifi-ng-0.9.4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-wireless/madwifi-ng-0.9.4/temp/environment'.
 *

 * Messages for package net-wireless/madwifi-ng-0.9.4:

 *
 * ERROR: net-wireless/madwifi-ng-0.9.4 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3243:  Called linux-mod_src_compile
 *             environment, line 2476:  Called die
 * The specific snippet of code:
 *               eval "emake HOSTCC=\"$(tc-getBUILD_CC)\"                                               CC=\"$(get-KERNEL_CC)\"                                                LDFLAGS=\"$(get_abi_LDFLAGS)\"                                ${BUILD_FIXES}                                           ${BUILD_PARAMS}                                               ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CC="$(get-KERNEL_CC)" LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}";
 *  The die message:
 *   Unable to emake HOSTCC=x86_64-pc-linux-gnu-gcc CC=x86_64-pc-linux-gnu-gcc LDFLAGS=  KERNELPATH=/lib/modules/2.6.24-gentoo-r4/build all
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/net-wireless/madwifi-ng-0.9.4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-wireless/madwifi-ng-0.9.4/temp/environment'
Back to top
View user's profile Send private message
manwe_
l33t
l33t


Joined: 01 Feb 2006
Posts: 632
Location: Kraków/Cracow, Poland

PostPosted: Thu Apr 10, 2008 2:46 pm    Post subject: Reply with quote

Nie skompiluje się madwifi z jajkiem .24, musiałbyś poszukać patchy [o ile są]. Ale rozwiązanie jest inne [lepsze]. W .24 są już ath5k [nowe madwifi, w pełni opensource]. Pomimo, że wczesna wersja, u mnie działają bezproblemowo. Jedyne co zauważyłem, to podczas bootowania wypisuje
Code:
failed to automatically load module: wlan_scan_sta; errno: -2
unable to load wlan_scan_sta

... ale na nic to nie wpływa. Pewnie poprawią w .25.
Back to top
View user's profile Send private message
Xywa
Veteran
Veteran


Joined: 23 Jul 2005
Posts: 1631
Location: /mnt/Gentoo/Europe

PostPosted: Thu Apr 10, 2008 3:07 pm    Post subject: Reply with quote

manwe_ wrote:
Nie skompiluje się madwifi z jajkiem .24, musiałbyś poszukać patchy


Wg najświezszej buglisty https://bugs.gentoo.org/show_bug.cgi?id=205116
ponoć da się

Quote:
Vladimir G. Ivanovic 2008-03-18 02:14:52 0000 [reply] -------
I just emerged successfully madwifi-ng-0.9.4 and madwifi-ng-tools-0.9.4. It
seems to run just fine with a 2.6.24-gentoo-r3 kernel on AMD64.


Quote:
From Toralf Förster 2008-03-27 09:13:04 0000 [reply] -------
madwifi-ng-0.9.4 and madwifi-ng-tools-0.9.4 compiles + runs fine with
2.6.24-gentoo-r3 at an IBM ThinkPad T41 (x86) :


Mogłbyś podpowiedzieć gdzie znajde w kernelu te ath5k i jak to skonfigurować - albo linka, może być po angielsku.

Znalazłem już info o ath5k http://madwifi.org/wiki/About/ath5k, ale niestey w moim kernelu nie mogę znaleźć
Quote:
Device Drivers --->
[*] Network device support --->
Wireless LAN --->
<M> Atheros 5xxx wireless cards support

:( :(


Last edited by Xywa on Thu Apr 10, 2008 3:30 pm; edited 1 time in total
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum