View previous topic :: View next topic |
Author |
Message |
volca n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 24 Jan 2015 Posts: 24
|
Posted: Sat Aug 15, 2015 7:03 pm Post subject: [Solved] No WIFI after upgrading kernel to 4.0.5 |
|
|
I updated my kernel to 4.0.5, and now my laptop doesn't have wifi.
dmesg says (more on this at the bottom):
Code: | [ 6.206670] iwlwifi 0000:03:00.0: File size way too small!
[ 6.206737] iwlwifi 0000:03:00.0: Direct firmware load for iwlwifi-2000-5.ucode failed with error -2
[ 6.206740] iwlwifi 0000:03:00.0: Falling back to user helper
[ 6.224891] random: nonblocking pool is initialized
[ 6.277253] iwlwifi 0000:03:00.0: request for firmware file 'iwlwifi-2000-5.ucode' failed.
[ 6.277278] iwlwifi 0000:03:00.0: no suitable firmware found!
|
rc.log reports that it can't find any devices (not suprising)
Code: |
* Bringing up interface enp0s25
* ERROR: interface enp0s25 does not exist
* Ensure that you have loaded the correct kernel module for your hardware
* ERROR: net.enp0s25 failed to start
* Bringing up interface wlp3s0
* ERROR: interface wlp3s0 does not exist
* Ensure that you have loaded the correct kernel module for your hardware
* ERROR: net.wlp3s0 failed to start
* Starting wicd daemon ...
[ ok ]
* ERROR: cannot start netmount as net.enp0s25 would not start
|
lspci says (on my working kernel):
Code: | 03:00.0 Network controller: Intel Corporation Centrino Wireless-N 2200 (rev c4)
Subsystem: Intel Corporation Centrino Wireless-N 2200 BGN
Kernel driver in use: iwlwifi
|
I go to emerge linux-firmware, however I'm told:
Code: | [ebuild N ] sys-kernel/linux-firmware-20150206::gentoo USE="-savedconfig" 25,227 KiB
[blocks B ] sys-firmware/iwl2000-ucode ("sys-firmware/iwl2000-ucode" is blocking sys-kernel/linux-firmware-20150206)
|
Alright, so I attempt to emerge sys-firmware/iwl2000-ucode, however it then says Code: | emerge: there are no ebuilds to satisfy "sys-firmware/iwl2000-ucode". |
I'm sure there's a real simple solution I'm missing, but I'm at a loss for what to do
Last edited by volca on Sun Aug 16, 2015 6:05 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Roman_Gruber Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 03 Oct 2006 Posts: 3846 Location: Austro Bavaria
|
Posted: Sat Aug 15, 2015 7:19 pm Post subject: |
|
|
try to check if gthe support has changed for your card.
e.g. my usb mouse suddenly is a holtek usb mouse and got a holtek flag in nwer kernels.
you may just unmerge that firmware package and merge the other firmware package as you already tried.
you should check by hand every wireless related option in the kernel...
Last edited by Roman_Gruber on Sat Aug 15, 2015 7:20 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
MustrumR n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 15 Nov 2011 Posts: 71 Location: Right here
|
Posted: Sat Aug 15, 2015 7:19 pm Post subject: |
|
|
Probably sys-firmware/iwl2000-ucode has been removed from the tree.
Code: |
# emerge --unmerge sys-firmware/iwl2000-ucode
# emerge sys-firmware/linux-firmware
|
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
volca n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 24 Jan 2015 Posts: 24
|
Posted: Sat Aug 15, 2015 7:31 pm Post subject: |
|
|
tw04l124 wrote: | try to check if gthe support has changed for your card.
e.g. my usb mouse suddenly is a holtek usb mouse and got a holtek flag in nwer kernels.
you may just unmerge that firmware package and merge the other firmware package as you already tried.
you should check by hand every wireless related option in the kernel... |
I figured I could try unmerging the old microcode, but I was apprehensive to do so because I don't know if it'll mess up my working kernel. I'll give it a shot and check back in.
MustrumR wrote: |
Probably sys-firmware/iwl2000-ucode has been removed from the tree.
Code: |
# emerge --unmerge sys-firmware/iwl2000-ucode
# emerge sys-firmware/linux-firmware |
|
I was hoping it wasn't the case, oh well |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
volca n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 24 Jan 2015 Posts: 24
|
Posted: Sat Aug 15, 2015 7:49 pm Post subject: |
|
|
Alright, I unmerged sys-firmware/iwl2000-ucode and installed linux-firmware.
It didn't fix my 4.0.5 kernel, but it didn't break my current kernel either.
Next I'll start messing with the kernel parameters. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
volca n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 24 Jan 2015 Posts: 24
|
Posted: Sat Aug 15, 2015 9:02 pm Post subject: |
|
|
Alright, I went through and checked out the Network section in the kernel config. There didn't appear to be anything necessary in there that I didn't already have checked.
Any ideas? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Buffoon Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/1123050365559155c1ec69d.jpg)
Joined: 17 Jun 2015 Posts: 1369 Location: EU or US
|
Posted: Sat Aug 15, 2015 9:52 pm Post subject: |
|
|
Your new kernel requires iwlwifi-2000-5.ucode, my guess is it is not provided by the package you installed. I'm generally against installing anything outside of portage, but firmware is an exception. Just download the file from the net and drop it into /lib/firmware. _________________ Life is a tragedy for those who feel and a comedy for those who think. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
volca n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 24 Jan 2015 Posts: 24
|
Posted: Sun Aug 16, 2015 12:03 am Post subject: |
|
|
I went ahead and downloaded + installed the necessary firmware from Intel's website. I also noticed I had failed to compile iwlwifi as a module in the latest kernel. This has been fixed.
However, I now have no network connectivity period. My old kernel doesn't connect to the internet either.
ifconfig/iwconfig only detect the loopdack/lo and ipv6 passthrough/sit0 devices. Nothing else. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
volca n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 24 Jan 2015 Posts: 24
|
Posted: Sun Aug 16, 2015 4:25 am Post subject: |
|
|
I've just noticed something weird. /lib/firmware doesn't seem to be a directory at all on my machine, rather it's a file of some sort. I just checked on my crunchbang junker laptop (it's a directory on there). This doesn't seem right at all. Or maybe it is? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Buffoon Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/1123050365559155c1ec69d.jpg)
Joined: 17 Jun 2015 Posts: 1369 Location: EU or US
|
Posted: Sun Aug 16, 2015 10:14 am Post subject: |
|
|
It has to be a directory. In your case there should be /lib/firmware/iwlwifi-2000-5.ucode. This is for your new kernel, for older kernel there should be another file. _________________ Life is a tragedy for those who feel and a comedy for those who think. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
volca n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 24 Jan 2015 Posts: 24
|
Posted: Sun Aug 16, 2015 6:05 pm Post subject: |
|
|
Alright, I don't know how or why it was turned into a file, but I made the new firmware directory and copied the firmware to it, rebooted, and now it's working.
Thanks for all your help |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|