wifi fail after kernel update

Hi, there, one question:

After updating the kernel to 2.6.39, my wifi can not work. I try to emerge iwl500, but it is blocked by some other packages, such as linuxf-fireware… When I go back to kernel 2.6.38, the wireless works fine.

Any solution to this ? THx

To use wifi you’re using a package net-wireless/iwl5000-ucode? Try to reinstall after a kernel upgrade.

i did that, but it does not work, see info below:

  # emerge net-wireless/iwl5000-ucode

Calculating dependencies... done!
[ebuild  N     ] net-wireless/iwl5000-ucode-8.24.2.12 
[blocks B      ] net-wireless/iwl5000-ucode ("net-wireless/iwl5000-ucode" is blocking sys-kernel/linux-firmware-20110731)
[blocks B      ] net-wireless/iwl5000-ucode ("net-wireless/iwl5000-ucode" is blocking app-misc/cl-wireless-meta-11.6-r1)

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  (app-misc/cl-wireless-meta-11.6-r1::calculate, installed) pulled in by
    app-misc/cl-wireless-meta required by (app-misc/cldg-meta-11.6::calculate, installed)

  (sys-kernel/linux-firmware-20110731::gentoo, installed) pulled in by
    sys-kernel/linux-firmware required by (sys-kernel/calckernel-3.4.15-r13::calculate, installed)
    sys-kernel/linux-firmware required by (app-misc/cl-wireless-meta-11.6-r1::calculate, installed)

  (net-wireless/iwl5000-ucode-8.24.2.12::gentoo, ebuild scheduled for merge) pulled in by
    net-wireless/iwl5000-ucode


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

I beg your pardon, iwl5000-ucode is part of the linux-firmware. So try to reinstall the package sys-kernel/linux-firmware.

i tried

emerge sys-kernel/linux-firmware

but the wireless still does not work.

I try

#lspci | grep Wireless
0c:00.0 Network controller: Intel Corporation Wireless WiFi Link 5100

and

#lsmod | grep iwlagn
iwlagn                216723  0 
mac80211              207349  1 iwlagn
cfg80211              140646  2 iwlagn,mac80211

I check Gentoo handbook, It looks that in Gentoo, the next step is to

#emerge  -av net-wireless/iwl5000-ucode

Then it supposed to work, But for me it does not work, and show the mistake as the previous post.

Please show your

eselect kernel list

If an older version of the kernel is selected, select the correct (eselect kernel set #). then do

module-rebuild -X rebuild

net-wireless/iwl5000-ucode package is obsolete and should not be used.

I already did that, but no lucky here.

$eselect kernel list
Available kernel symlink targets:
[1] linux-2.6.38.8-calculate
[2] linux-2.6.39.4-calculate *