Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Problem z uruchomieniem WiFi w laptopie
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) Instalacja i sprzęt
View previous topic :: View next topic  
Author Message
kamild
n00b
n00b


Joined: 24 Jan 2008
Posts: 56

PostPosted: Fri Jun 27, 2008 11:54 am    Post subject: [SOLVED] Problem z uruchomieniem WiFi w laptopie Reply with quote

Witam! :D
Zachciało mi się WiFi w lapku i mam mały problem z kompilacją sterowników do mojej karty. Ale po kolei. Może na początek podam wynik polecenia lspci.
Code:
lspci | grep Ethernet
05:03.0 Ethernet controller: Atheros Communications, Inc. AR5005G 802.11abg NIC (rev 01)
05:05.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)

Jak więc widać powyżej, karta jest wykrywana. Więc co? Tylko skompilować stery. Ale nie wiem czemu, przy próbie kompilacji madwifi-ng, wywala mi takie coś:
Code:
KDpc kamil # emerge madwifi-ng
Calculating dependencies... done!
>>> Verifying ebuild Manifests...

>>> Emerging (1 of 1) net-wireless/madwifi-ng-0.9.3.3 to /
 * madwifi-0.9.3.3.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...               [ ok ]
 * checking ebuild checksums ;-) ...                                     [ ok ]
 * checking auxfile checksums ;-) ...                                    [ ok ]
 * checking miscfile checksums ;-) ...                                   [ ok ]
 * checking madwifi-0.9.3.3.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-tuxonice-r9/build
 * Found sources for kernel version:
 *     2.6.24-tuxonice-r9
 * Checking for suitable kernel configuration options...                 [ ok ]
>>> Unpacking source...
>>> Unpacking madwifi-0.9.3.3.tar.bz2 to /var/tmp/portage/net-wireless/madwifi-ng-0.9.3.3/work
 * Applying madwifi-ng-0.9.3-uudecode-gcda-fix.patch ...                 [ ok ]
 * Converting madwifi-0.9.3.3/ath/Makefile to use M= instead of SUBDIRS  [ ok ]
 * Converting madwifi-0.9.3.3/ath_hal/Makefile to use M= instead of SUBDIRS= ...                                                                        [ ok ]
 * Converting madwifi-0.9.3.3/net80211/Makefile to use M= instead of SUBDIRS= ...                                                                       [ ok ]
 * Converting madwifi-0.9.3.3/ath_rate/Makefile to use M= instead of SUBDIRS= ...                                                                       [ ok ]
 * Converting madwifi-0.9.3.3/ath_rate/amrr/Makefile to use M= instead of SUBDIRS= ...                                                                  [ ok ]
 * Converting madwifi-0.9.3.3/ath_rate/onoe/Makefile to use M= instead of SUBDIRS= ...                                                                  [ ok ]
 * Converting madwifi-0.9.3.3/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.3.3/work/madwifi-0.9.3.3 ...
 * Preparing ath_hal module
../scripts/get_arch.mk:44: *** ARCH mismatch: supplied "x86", determined "x86_64". Stop.
 *
 * ERROR: net-wireless/madwifi-ng-0.9.3.3 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3241:  Called linux-mod_src_compile
 *             environment, line 2481:  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-tuxonice-r9/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.3.3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-wireless/madwifi-ng-0.9.3.3/temp/environment'.
 *

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

 *
 * ERROR: net-wireless/madwifi-ng-0.9.3.3 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3241:  Called linux-mod_src_compile
 *             environment, line 2481:  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-tuxonice-r9/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.3.3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-wireless/madwifi-ng-0.9.3.3/temp/environment'.

I co o tym myślicie? Na początku myślałem, że coś z jajkiem nie tak, ale przekompilowywałem je już 2 razy i raczej wszystko jest w porządku.
Sądząc po "die message" coś nie tak z hostem, czyżby więc madwifi nie działało na amd64 :?: Niemożliwe.
Ja już nie mam pomysłów, proszę więc o pomoc.
PS. Z góry dziękuję za odpowiedzi. ;)


Last edited by kamild on Mon Jun 30, 2008 7:54 am; edited 1 time in total
Back to top
View user's profile Send private message
Arfrever
Bodhisattva
Bodhisattva


Joined: 29 Apr 2006
Posts: 2463
Location: 異世界

PostPosted: Fri Jun 27, 2008 4:14 pm    Post subject: Reply with quote

Pokaż wynik:
Code:
emerge --info
Back to top
View user's profile Send private message
kamild
n00b
n00b


Joined: 24 Jan 2008
Posts: 56

PostPosted: Fri Jun 27, 2008 4:35 pm    Post subject: Reply with quote

Mogłem dać na samym początku, ale jakoś nie pomyślałem. Ale to nic - poniżej zamieszczam wynik tego polecenia.
Code:
KDpc kamil # emerge --info
Portage 2.1.4.4 (default/linux/amd64/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-tuxonice-r9 x86_64)
=================================================================
System uname: 2.6.24-tuxonice-r9 x86_64 AMD Turion(tm) 64 X2 Mobile Technology TL-50
Timestamp of tree: Tue, 24 Jun 2008 19:45:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O3 -pipe -mmmx -m3dnow -msse"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT=""
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=k8 -O3 -pipe -mmmx -m3dnow -msse"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://src.gentoo.pl http://gentoo.prz.rzeszow.pl "
LANG="pl_PL"
LC_ALL="pl_PL.UTF-8"
LINGUAS="pl en"
MAKEOPTS="-j3 -s"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow X acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dbus directfb dri dvd dvdr dvdread eds emboss encode esd evo fam ffmpeg firefox fortran gdbm gif gpm gstreamer hal iconv ipv6 isdnlog java jpeg kde kerberos ldap libnotify mad midi mikmod mmx mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection sdl session spell spl sse sse2 ssl startup-notification svg tcpd tiff truetype unicode vcd visualization vorbis wifi xine xml xorg xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl en" USERLAND="GNU" VIDEO_CARDS="fglrx"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Back to top
View user's profile Send private message
Arfrever
Bodhisattva
Bodhisattva


Joined: 29 Apr 2006
Posts: 2463
Location: 異世界

PostPosted: Fri Jun 27, 2008 4:53 pm    Post subject: Reply with quote

W związku z Błędem 205116 spróbuj zainstalować "madwifi-ng-0.9.4".
Code:
echo "~net-wireless/madwifi-ng-0.9.4" >> /etc/portage/package.keywords
echo "~net-wireless/madwifi-ng-tools-0.9.4" >> /etc/portage/package.keywords
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) Instalacja i sprzęt 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