harmon wrote:And:
- Code: Select all
sabayon harmon # man eix
No manual entry for eix
You have to install the eix utility:
- Code: Select all
# equo install eix
and update its index file:
- Code: Select all
# eix-update
Then you can can use it.
harmon wrote:What I found:
http://www.intellinuxwireless.org/Note: The iwlwifi driver has been merged into mainline kernel since 2.6.24. If you are using kernels after this release, please use the intree (drivers/net/wireless/iwlwifi) driver directly.
?
I'm not using the external iwlwifi driver either. The text you quoted is referring to the obsolete package net-wireless/iwlwifi which used to exist prior to kernel 2.6.24, which was removed from the Portage tree some time ago:
- Code: Select all
# eix iwlwifi
No matches found.
You can still see an old ebuild for it here:
http://gpo.zugaina.org/net-wireless/iwlwifiThe *-ucode package is something different: it's microcode/firmware for the controller. There is different microcode for a range of different controllers:
- Code: Select all
$ eix ucode
[I] net-wireless/ipw3945-ucode
Available versions: (~)1.13 1.14.2
Installed versions: 1.14.2(20:08:54 30/03/10)
Homepage: http://www.bughost.org/ipw3945/
Description: Microcode for the Intel PRO/Wireless 3945ABG miniPCI express adapter
* net-wireless/iwl1000-ucode
Available versions: (~)39.31.5.1 128.50.3.1
Homepage: http://intellinuxwireless.org/?p=iwlwifi
Description: Intel (R) Wireless WiFi Link 1000BGN ucode
* net-wireless/iwl3945-ucode
Available versions:
(0) 2.14.1.5 15.28.1.6 15.28.1.8
(1) (~)15.28.2.8 15.32.2.9
Homepage: http://intellinuxwireless.org/?p=iwlwifi
Description: Intel (R) PRO/Wireless 3945ABG Network Connection ucode
* net-wireless/iwl4965-ucode
Available versions:
(0) (~)4.44.1.18 4.44.1.20 228.57.1.21
(1) 228.57.2.21 228.57.2.23 228.61.2.24
Homepage: http://intellinuxwireless.org/?p=iwlwifi
Description: Intel (R) Wireless WiFi Link 4965AGN ucode
[I] net-wireless/iwl5000-ucode
Available versions:
(0) 5.4.0.11
(1) 8.24.2.12 (~)8.83.5.1
Installed versions: 5.4.0.11(20:08:54 30/03/10) 8.83.5.1(1)(18:08:07 25/06/11)
Homepage: http://intellinuxwireless.org/?p=iwlwifi
Description: Intel (R) Wireless WiFi Link 5100/5300 ucode
* net-wireless/iwl5150-ucode
Available versions: (~)8.24.2.2
Homepage: http://intellinuxwireless.org/?p=iwlwifi
Description: Intel (R) Wireless WiFi Link 5150-AGN ucode
* net-wireless/iwl6000-ucode
Available versions: (~)9.221.4.1
Homepage: http://intellinuxwireless.org/?p=iwlwifi
Description: Intel (R) Wireless WiFi Advanced N 6000 ucode
* net-wireless/iwl6050-ucode
Available versions: (~)9.201.4.1 (~)41.28.5.1
Homepage: http://intellinuxwireless.org/?p=iwlwifi
Description: Intel (R) Wireless WiFi Link 6250-AGN ucode
* sys-kernel/amd-ucode
Available versions: (~)2011.01.11!m
Homepage: http://www.amd64.org/support/microcode.html
Description: AMD Family 10h, 11h and 14h microcode patch data
* x11-drivers/radeon-ucode
Available versions: 20110302 (~)20110531
Homepage: http://people.freedesktop.org/~agd5f/radeon_ucode/
Description: IRQ microcode for r6xx/r7xx/Evergreen/Northern Islands Radeon GPUs and APUs
Found 10 matches.
Thus, one needs to install the microcode even if one is using a kernel module:
- Code: Select all
meshedgedx ~ # lsmod | grep iwl
iwlagn 160149 0
iwlcore 47364 1 iwlagn
mac80211 167330 2 iwlagn,iwlcore
cfg80211 119308 3 iwlagn,iwlcore,mac80211
but, continue reading...
harmon wrote:Part2: Worse luck!
- Code: Select all
sabayon harmon # equo install iwl5000-ucode
>> !!! No match for iwl5000-ucode in repositories.
>> No packages found.
I'm using the Sabayon 2.6.37 kernel, which I've modified in other areas but not in the WiFi area. I expect something has changed in the 2.6.39 kernel config, so let's compare the Sabayon 2.6.37 kernel config with the Sabayon 2.6.39-r7 kernel config:
- Code: Select all
meshedgedx ~ # cd /usr/src
meshedgedx src # ls
linux linux-2.6.37-sabayon linux-2.6.39-sabayon rpm
meshedgedx src # cat linux-2.6.37-sabayon/.config | grep IWL
CONFIG_IWLWIFI=m
# CONFIG_IWLWIFI_DEBUG is not set
CONFIG_IWLAGN=m
CONFIG_IWL4965=y
CONFIG_IWL5000=y
CONFIG_IWL3945=m
meshedgedx src # cat linux-2.6.39-sabayon/.config | grep IWL
CONFIG_IWLAGN=m
# CONFIG_IWLWIFI_DEBUG is not set
CONFIG_IWL_P2P=y
CONFIG_IWLWIFI_LEGACY=m
# CONFIG_IWLWIFI_LEGACY_DEBUG is not set
CONFIG_IWL4965=m
CONFIG_IWL3945=m
meshedgedx src #
"=m" means build a kernel module. "=y" means build it in-kernel.
As you can see above, I have CONFIG_IWL5000 in-kernel, but I still need the microcode installed.
Now, for the 2.6.39 kernel:
http://lxr.linux.no/#linux+v2.6.39/driv ... cy/Kconfigso IWLWIFI_LEGACY covers the Intel 4965 and 3945 WiFi controllers.
And, for the 2.6.39 kernel:
http://lxr.linux.no/#linux+v2.6.39/driv ... fi/Kconfigso IWLWIFI covers the list of Intel WiFi controllers listed on the above-linked page, which includes our 5300AGN controller. Notice what that page states:
In order to use this driver, you will need a microcode (uCode)
image for it. You can obtain the microcode from:
<http://intellinuxwireless.org/>.
The microcode is typically installed in /lib/firmware. You can
look in the hotplug script /etc/hotplug/firmware.agent to
determine which directory FIRMWARE_DIR is set to when the script
runs.
If you want to compile the driver as a module ( = code which can be
inserted in and removed from the running kernel whenever you want),
say M here and read <file:Documentation/kbuild/modules.txt>. The
module will be called iwlagn.
However,
CONFIG_IWL5000 was dropped in the 2.6.39 kernel, which is why you don't see it in the Sabayon 2.6.39-r7 config. So what replaced it? Well, let's see what happens if I were to merge (install) the sources package for the Sabayon 2.6.39-r7 kernel without using the sources_standalone USE flag:
- Code: Select all
meshedgedx src # emerge -1vp =sabayon-sources-2.6.39-r7
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild UD ] sys-devel/make-3.81-r2 [3.82] USE="nls -static" 1,125 kB [0]
[ebuild U ] sys-kernel/genkernel-3.4.17 [3.4.12.2] USE="bash-completion (-ibm) (-selinux)" 1,082 kB [0]
[ebuild N ] sys-kernel/linux-firmware-20110616 USE="-savedconfig" 14,289 kB [1]
[uninstall ] net-wireless/rt61-firmware-1.2 [1]
[blocks b ] net-wireless/rt61-firmware ("net-wireless/rt61-firmware" is blocking sys-kernel/linux-firmware-20110616)
[uninstall ] media-tv/ivtv-firmware-20080701 [0]
[blocks b ] media-tv/ivtv-firmware ("media-tv/ivtv-firmware" is blocking sys-kernel/linux-firmware-20110616)
[uninstall ] media-sound/alsa-firmware-1.0.24.1 ALSA_CARDS="darla20 darla24 emu10k1 gina20 gina24 hdsp hdspm indigo indigoio layla20 layla24 mia mixart mona pcxhr sb16 usb-usx2y vx222 -aica -asihpi -echo3g -emi26 -emu1212 -emu1616 -emu1820 -korg1212 -maestro3 -msnd-pinnacle -wavefront -ymfpci" [0]
[blocks b ] media-sound/alsa-firmware[alsa_cards_sb16] ("media-sound/alsa-firmware[alsa_cards_sb16]" is blocking sys-kernel/linux-firmware-20110616)
[uninstall ] net-wireless/libertas-firmware-5.220.10 [1]
[blocks b ] net-wireless/libertas-firmware ("net-wireless/libertas-firmware" is blocking sys-kernel/linux-firmware-20110616)
[uninstall ] net-wireless/rt73-firmware-1.8-r1 [0]
[blocks b ] net-wireless/rt73-firmware ("net-wireless/rt73-firmware" is blocking sys-kernel/linux-firmware-20110616)
[ebuild N ] sys-kernel/linux-sabayon-2.6.39-r7 USE="dmraid grub splash symlink -build -dracut" 0 kB [1]
[ebuild R ] sys-kernel/sabayon-sources-2.6.39-r7 USE="symlink -build -sources_standalone*" 0 kB [1]
[blocks b ] =sys-kernel/linux-sabayon-2.6.39-r7 ("=sys-kernel/linux-sabayon-2.6.39-r7" is blocking sys-kernel/sabayon-sources-2.6.39-r7)
[blocks B ] net-wireless/iwl5000-ucode ("net-wireless/iwl5000-ucode" is blocking sys-kernel/linux-firmware-20110616)
Total: 5 packages (1 upgrade, 1 downgrade, 2 new, 1 reinstall, 5 uninstalls), Size of downloads: 16,494 kB
Conflict: 7 blocks (1 unsatisfied)
Portage tree and overlays:
[0] /usr/portage
[1] /var/lib/layman/sabayon
* Error: The above package list contains packages which cannot be
* installed at the same time on the same system.
(net-wireless/iwl5000-ucode-8.83.5.1::gentoo, installed) pulled in by
net-wireless/iwl5000-ucode:1 required by @selected
(sys-kernel/linux-firmware-20110616::sabayon, ebuild scheduled for merge) pulled in by
>=sys-kernel/linux-firmware-20110604 required by (sys-kernel/linux-sabayon-2.6.39-r7::sabayon, ebuild scheduled for merge)
sys-kernel/linux-firmware required by (sys-kernel/linux-sabayon-2.6.39-r7::sabayon, ebuild scheduled for merge)
For more information about Blocked Packages, please refer to the following
section of the Gentoo Linux x86 Handbook (architecture is irrelevant):
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked
meshedgedx src #
Notice the following line in the above output:
- Code: Select all
[blocks B ] net-wireless/iwl5000-ucode ("net-wireless/iwl5000-ucode" is blocking sys-kernel/linux-firmware-20110616)
So I reckon you need to install the package linux-firmware:
- Code: Select all
# equo install linux-firmware
Try that. (Reboot after installing.)