Обновился до 2.6.24 - отвалилась WiFi карта и больше не ставиться

# lspci
01:08.0 Network controller: RaLink RT2561/RT61 rev B 802.11g

.config остался от старого ядра. Там все касаемо WiFi включено и раньше работало без проблем.

Драйвер был net-wireless/ralink-rt61

Пытаюсь его перекомпилировать с 2.6.24 и получаю следующее:

------------------------------------------------------------

tux # emerge -av net-wireless/ralink-rt61

These are the packages that would be merged, in order:

Calculating dependencies ... done!
[ebuild R ] net-wireless/ralink-rt61-1.1.1.0 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB

Would you like to merge these packages? [Yes/No]
>>> Verifying ebuild Manifests...

>>> Emerging (1 of 1) net-wireless/ralink-rt61-1.1.1.0 to /
* IS_Linux_STA_6x_D_1.1.1.0.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ]
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
* checking IS_Linux_STA_6x_D_1.1.1.0.tar.gz ;-) ... [ ok ]
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found sources for kernel version:
* 2.6.24-gentoo-r3puh
* Checking for suitable kernel configuration options... [ ok ]
>>> Unpacking source...
>>> Unpacking IS_Linux_STA_6x_D_1.1.1.0.tar.gz to /var/tmp/portage/net-wireless/ralink-rt61-1.1.1.0/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/net-wireless/ralink-rt61-1.1.1.0/work/IS_Linux_STA_6x_D_1.1.1.0 ...
* Applying rtmp_main.diff ... [ ok ]
* Preparing rt61 module
make -C /lib/modules/2.6.24-gentoo-r3puh/build SUBDIRS=/var/tmp/portage/net-wireless/ralink-rt61-1.1.1.0/work/IS_Linux_STA_6x_D_1.1.1.0/Module modules
make[1]: Entering directory `/usr/src/linux-2.6.24-gentoo-r3'
make[1]: предупреждение: сервер задач недоступен: используется -j1.
Добавьте `+' к правилу в родительском make.
scripts/Makefile.build:46: *** CFLAGS was changed in "/var/tmp/portage/net-wireless/ralink-rt61-1.1.1.0/work/IS_Linux_STA_6x_D_1.1.1.0/Module/Makefile". Fix it to use EXTRA_CFLAGS. Останов.
make[1]: *** [_module_/var/tmp/portage/net-wireless/ralink-rt61-1.1.1.0/work/IS_Linux_STA_6x_D_1.1.1.0/Module] Ошибка 2
make[1]: Leaving directory `/usr/src/linux-2.6.24-gentoo-r3'
make: *** [all] Ошибка 2
*
* ERROR: net-wireless/ralink-rt61-1.1.1.0 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 3137: Called linux-mod_src_compile
* environment, line 2401: 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=i686-pc-linux-gnu-gcc CC=i686-pc-linux-gnu-gcc LDFLAGS=
*
* 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/ralink-rt61-1.1.1.0/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/net-wireless/ralink-rt61-1.1.1.0/temp/environment'.
*

* Messages for package net-wireless/ralink-rt61-1.1.1.0:

*
* ERROR: net-wireless/ralink-rt61-1.1.1.0 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 3137: Called linux-mod_src_compile
* environment, line 2401: 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=i686-pc-linux-gnu-gcc CC=i686-pc-linux-gnu-gcc LDFLAGS=
*
* 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/ralink-rt61-1.1.1.0/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/net-wireless/ralink-rt61-1.1.1.0/temp/environment'.
*
tux #

------------------------------------------------------------

Подскажите что можно сделать?

Проверь на

Проверь на всякий случай чтобы в файле /etc/make.conf в переменной CFLAGS между параметрами не было двойных(тройных и.т.д.) пробелов. Некоторые пакеты сбоят из за этого.

берём

берём тут
http://rt2x00.serialmonkey.com/wiki/index.php?title=Downloads
распаковываем и компилим.грузим модуль. теперь у нас не ra0 а wlan0
работает.

Настройки просмотра комментариев

Выберите нужный метод показа комментариев и нажмите "Сохранить установки".