Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
wireless not in ifconfig on thinkpad x220
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
grep_Name
n00b
n00b


Joined: 12 Jan 2016
Posts: 8

PostPosted: Tue Jan 12, 2016 5:04 pm    Post subject: wireless not in ifconfig on thinkpad x220 Reply with quote

Trying to figure out why gentoo won't detect my wireless card. It detected fine with the gentoo liveUSB. It won't list with ifconfig, iwconfig, or ifconfig -a. I've been wandering through the support forum posts trying everything, so at this point I probably have enabled a bunch of wifi stuff in the kernel that doesn't need to be enabled.

My ethernet works and lists fine, no problems so far. According to lspci, my wireless card is Intel Corporation Centrino Advanced-N 6205.

I've tried multiple iwl600x drivers(specifically 6000 and 6005, can't remember the others), but nothings got it so far. At one point I didn't realize that it wasn't showing the card in ifconfig and got started trying to set up networkmanager, so there's that going on as well.

When I modprobe iwlwifi it does not complain, but it still does not recognize the card.

CONFIG_IWLWIFI is set along with the other things I should need for this.

Tried a bunch of unmerging and remerging of firmware, not sure what else to do. Please let me know if anyone has a workaround.

Console output:

****ON INSTALLED GENTOO

uname -r
----------
4.1.12-gentoo

lspci -k
--------
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
Subsystem: Lenovo 2nd Generation Core Processor Family DRAM Controller
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
Subsystem: Lenovo 2nd Generation Core Processor Family Integrated Graphics Controller
Kernel driver in use: i915
00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
Subsystem: Lenovo 6 Series/C200 Series Chipset Family MEI Controller
00:16.3 Serial controller: Intel Corporation 6 Series/C200 Series Chipset Family KT Controller (rev 04)
Subsystem: Lenovo 6 Series/C200 Series Chipset Family KT Controller
Kernel driver in use: serial
00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network Connection (rev 04)
Subsystem: Lenovo 82579LM Gigabit Network Connection
Kernel driver in use: e1000e
00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 04)
Subsystem: Lenovo 6 Series/C200 Series Chipset Family USB Enhanced Host Controller
Kernel driver in use: ehci-pci
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 04)
Subsystem: Lenovo 6 Series/C200 Series Chipset Family High Definition Audio Controller
Kernel driver in use: snd_hda_intel
00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b4)
Kernel driver in use: pcieport
00:1c.1 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 2 (rev b4)
Kernel driver in use: pcieport
00:1c.3 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 4 (rev b4)
Kernel driver in use: pcieport
00:1c.4 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 5 (rev b4)
Kernel driver in use: pcieport
00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 04)
Subsystem: Lenovo 6 Series/C200 Series Chipset Family USB Enhanced Host Controller
Kernel driver in use: ehci-pci
00:1f.0 ISA bridge: Intel Corporation QM67 Express Chipset Family LPC Controller (rev 04)
Subsystem: Lenovo QM67 Express Chipset Family LPC Controller
00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family 6 port SATA AHCI Controller (rev 04)
Subsystem: Lenovo 6 Series/C200 Series Chipset Family 6 port SATA AHCI Controller
Kernel driver in use: ahci
00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 04)
Subsystem: Lenovo 6 Series/C200 Series Chipset Family SMBus Controller
Kernel driver in use: i801_smbus
03:00.0 Network controller: Intel Corporation Centrino Advanced-N 6205 [Taylor Peak] (rev 34)
Subsystem: Intel Corporation Centrino Advanced-N 6205 AGN
0d:00.0 System peripheral: Ricoh Co Ltd PCIe SDXC/MMC Host Controller (rev 04)
Subsystem: Lenovo PCIe SDXC/MMC Host Controller

ifconfig -a
-----------
enp0s25: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 3c:97:0e:15:9c:b9 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 20 memory 0xf2500000-f2520000

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 0 (Local Loopback)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

sit0: flags=193<UP,RUNNING,NOARP> mtu 1480
inet6 ::127.0.0.1 prefixlen 96 scopeid 0x90<compat,host>
sit txqueuelen 0 (IPv6-in-IPv4)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

dmesg | grep wlwifi
----------------------
[ 0.568479] iwlwifi 0000:03:00.0: can't disable ASPM; OS doesn't have ASPM control
[ 0.569717] iwlwifi 0000:03:00.0: Direct firmware load for iwlwifi-6000g2a-6.ucode failed with error -2
[ 0.569751] iwlwifi 0000:03:00.0: Direct firmware load for iwlwifi-6000g2a-5.ucode failed with error -2
[ 0.569755] iwlwifi 0000:03:00.0: request for firmware file 'iwlwifi-6000g2a-5.ucode' failed.
[ 0.569757] iwlwifi 0000:03:00.0: no suitable firmware found!

ls /lib/firmware | grep wlwifi
-------------------------------
iwlwifi-1000-3.ucode
iwlwifi-1000-5.ucode
iwlwifi-100-5.ucode
iwlwifi-105-6.ucode
iwlwifi-135-6.ucode
iwlwifi-2000-6.ucode
iwlwifi-2030-6.ucode
iwlwifi-3160-10.ucode
iwlwifi-3160-12.ucode
iwlwifi-3160-13.ucode
iwlwifi-3160-16.ucode
iwlwifi-3160-7.ucode
iwlwifi-3160-8.ucode
iwlwifi-3160-9.ucode
iwlwifi-3945-2.ucode
iwlwifi-4965-2.ucode
iwlwifi-5000-1.ucode
iwlwifi-5000-2.ucode
iwlwifi-5000-5.ucode
iwlwifi-5150-2.ucode
iwlwifi-6000-4.ucode
iwlwifi-6000g2a-5.ucode
iwlwifi-6000g2a-6.ucode
iwlwifi-6000g2b-5.ucode
iwlwifi-6000g2b-6.ucode
iwlwifi-6050-4.ucode
iwlwifi-6050-5.ucode
iwlwifi-7260-10.ucode
iwlwifi-7260-12.ucode
iwlwifi-7260-13.ucode
iwlwifi-7260-16.ucode
iwlwifi-7260-7.ucode
iwlwifi-7260-8.ucode
iwlwifi-7260-9.ucode
iwlwifi-7265-10.ucode
iwlwifi-7265-12.ucode
iwlwifi-7265-13.ucode
iwlwifi-7265-16.ucode
iwlwifi-7265-8.ucode
iwlwifi-7265-9.ucode
iwlwifi-7265D-10.ucode
iwlwifi-7265D-12.ucode
iwlwifi-7265D-13.ucode
iwlwifi-7265D-16.ucode
iwlwifi-8000C-13.ucode
iwlwifi-8000C-16.ucode
LICENCE.iwlwifi_firmware

****ON LIVE USB

lspci -k
--------
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
Subsystem: Lenovo 2nd Generation Core Processor Family DRAM Controller
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
Subsystem: Lenovo 2nd Generation Core Processor Family Integrated Graphics Controller
00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
Subsystem: Lenovo 6 Series/C200 Series Chipset Family MEI Controller
00:16.3 Serial controller: Intel Corporation 6 Series/C200 Series Chipset Family KT Controller (rev 04)
Subsystem: Lenovo 6 Series/C200 Series Chipset Family KT Controller
Kernel driver in use: serial
00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network Connection (rev 04)
Subsystem: Lenovo 82579LM Gigabit Network Connection
Kernel driver in use: e1000e
Kernel modules: e1000e
00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 04)
Subsystem: Lenovo 6 Series/C200 Series Chipset Family USB Enhanced Host Controller
Kernel driver in use: ehci-pci
Kernel modules: ehci_pci
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 04)
Subsystem: Lenovo 6 Series/C200 Series Chipset Family High Definition Audio Controller
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b4)
Kernel driver in use: pcieport
00:1c.1 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 2 (rev b4)
Kernel driver in use: pcieport
00:1c.3 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 4 (rev b4)
Kernel driver in use: pcieport
00:1c.4 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 5 (rev b4)
Kernel driver in use: pcieport
00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 04)
Subsystem: Lenovo 6 Series/C200 Series Chipset Family USB Enhanced Host Controller
Kernel driver in use: ehci-pci
Kernel modules: ehci_pci
00:1f.0 ISA bridge: Intel Corporation QM67 Express Chipset Family LPC Controller (rev 04)
Subsystem: Lenovo QM67 Express Chipset Family LPC Controller
00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family 6 port SATA AHCI Controller (rev 04)
Subsystem: Lenovo 6 Series/C200 Series Chipset Family 6 port SATA AHCI Controller
Kernel driver in use: ahci
Kernel modules: ahci
00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 04)
Subsystem: Lenovo 6 Series/C200 Series Chipset Family SMBus Controller
03:00.0 Network controller: Intel Corporation Centrino Advanced-N 6205 [Taylor Peak] (rev 34)
Subsystem: Intel Corporation Centrino Advanced-N 6205 AGN
Kernel driver in use: iwlwifi
Kernel modules: iwlwifi
0d:00.0 System peripheral: Ricoh Co Ltd PCIe SDXC/MMC Host Controller (rev 04)
Subsystem: Lenovo PCIe SDXC/MMC Host Controller
Kernel driver in use: sdhci-pci
Kernel modules: sdhci_pci

ifconfig -a
-----------

enp0s25: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 3c:97:0e:15:9c:b9 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 20 memory 0xf2500000-f2520000

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
loop txqueuelen 0 (Local Loopback)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

wlp3s0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 8c:70:5a:f3:32:04 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
Back to top
View user's profile Send private message
bbgermany
Veteran
Veteran


Joined: 21 Feb 2005
Posts: 1792
Location: Oranienburg/Germany

PostPosted: Tue Jan 12, 2016 5:20 pm    Post subject: Reply with quote

Hi,

Did you compile the wireless driver as module or directly into the kernel? If you arent using a module, you need to specify the build in firmware in you kernel config. Otherwise the kernel cannot load the firmware.

greets bb
_________________
1st: i5-4570, 16GB, 1.75TB
2nd: i5-4570, 16GB, 620GB
3rd: i5-4570, 16GB, 10,5TB
4th: Asus N61VN, 8GB, 240GB
5th: C2D T7200, 2GB, 16GB USB + NFS
Back to top
View user's profile Send private message
grep_Name
n00b
n00b


Joined: 12 Jan 2016
Posts: 8

PostPosted: Tue Jan 12, 2016 10:37 pm    Post subject: Reply with quote

Thanks for the tip, indeed they were not compiled as modules. I removed linux-firmware, made everything under wireless LAN a module, and re-emerged linux firmware, and now modprobe iwlwifi returns a could not insert: invalid argument error. Is there anything else that needs to be made modular? (also I noticed the iwlwifi.ucode files are back in the /libs/firmware folder after the emerge)

thanks again
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 2643

PostPosted: Wed Jan 13, 2016 11:13 am    Post subject: Re: wireless not in ifconfig on thinkpad x220 Reply with quote

grep_Name wrote:
dmesg | grep wlwifi
----------------------
[ 0.568479] iwlwifi 0000:03:00.0: can't disable ASPM; OS doesn't have ASPM control
[ 0.569717] iwlwifi 0000:03:00.0: Direct firmware load for iwlwifi-6000g2a-6.ucode failed with error -2
[ 0.569751] iwlwifi 0000:03:00.0: Direct firmware load for iwlwifi-6000g2a-5.ucode failed with error -2
[ 0.569755] iwlwifi 0000:03:00.0: request for firmware file 'iwlwifi-6000g2a-5.ucode' failed.
[ 0.569757] iwlwifi 0000:03:00.0: no suitable firmware found!

Looks very similar to this topic.
Back to top
View user's profile Send private message
bbgermany
Veteran
Veteran


Joined: 21 Feb 2005
Posts: 1792
Location: Oranienburg/Germany

PostPosted: Wed Jan 13, 2016 11:23 am    Post subject: Reply with quote

grep_Name wrote:
Thanks for the tip, indeed they were not compiled as modules. I removed linux-firmware, made everything under wireless LAN a module, and re-emerged linux firmware, and now modprobe iwlwifi returns a could not insert: invalid argument error. Is there anything else that needs to be made modular? (also I noticed the iwlwifi.ucode files are back in the /libs/firmware folder after the emerge)

thanks again


How did you install the new kernel? looks like there is something wrong with the kernel/module combination.

greets bb
_________________
1st: i5-4570, 16GB, 1.75TB
2nd: i5-4570, 16GB, 620GB
3rd: i5-4570, 16GB, 10,5TB
4th: Asus N61VN, 8GB, 240GB
5th: C2D T7200, 2GB, 16GB USB + NFS
Back to top
View user's profile Send private message
grep_Name
n00b
n00b


Joined: 12 Jan 2016
Posts: 8

PostPosted: Wed Jan 13, 2016 5:15 pm    Post subject: Reply with quote

I just changed it in menuconfig and ran make && make modules_install && make install, after adding modules="iwlwifi" to etc/conf.d/modules. I also cleared and emerged the firmware again just in case that would help, but it still seems the same

edit: also /lib/modules/4.1.12-gentoo/kernel/drivers/iwlwifi/iwlwifi.ko does show up in find /lib/modules/<kernel version>/ -type f -iname '*.o' -or -iname '*.ko' | less. I chose to add modules="iwlwifi" because that's the driver it said it was using for the card on the liveusb.
Back to top
View user's profile Send private message
bbgermany
Veteran
Veteran


Joined: 21 Feb 2005
Posts: 1792
Location: Oranienburg/Germany

PostPosted: Thu Jan 14, 2016 6:50 am    Post subject: Reply with quote

Please check your syslog for the point when you try to load the kernel module and post the output please. Also, when making the kernel, to make sure everything is compiled correctly, you could to a "make clean" before running "make" in the kernel source dir.

greets bb
_________________
1st: i5-4570, 16GB, 1.75TB
2nd: i5-4570, 16GB, 620GB
3rd: i5-4570, 16GB, 10,5TB
4th: Asus N61VN, 8GB, 240GB
5th: C2D T7200, 2GB, 16GB USB + NFS
Back to top
View user's profile Send private message
grep_Name
n00b
n00b


Joined: 12 Jan 2016
Posts: 8

PostPosted: Fri Jan 15, 2016 1:10 am    Post subject: Reply with quote

cat syslog | grep iwlwifi returns:

Jan 14 14:02:37 x220 kernel: [ 0.439274] iwlwifi 0000:03:00.0: can't disable ASPM; OS doesn't have ASPM control
Jan 14 14:02:37 x220 kernel: [ 0.439769] iwlwifi 0000:03:00.0: Direct firmware load for iwlwifi-6000g2a-6.ucode failed with error -2
Jan 14 14:02:37 x220 kernel: [ 0.439777] iwlwifi 0000:03:00.0: Direct firmware load for iwlwifi-6000g2a-5.ucode failed with error -2
Jan 14 14:02:37 x220 kernel: [ 0.439778] iwlwifi 0000:03:00.0: request for firmware file 'iwlwifi-6000g2a-5.ucode' failed.
Jan 14 14:02:37 x220 kernel: [ 0.439779] iwlwifi 0000:03:00.0: no suitable firmware found!
Jan 14 14:02:37 x220 kernel: [ 7.286946] iwlwifi: module is already loaded
Jan 14 14:02:37 x220 kernel: [ 7.671802] iwlwifi: module is already loaded
Jan 14 20:01:18 x220 kernel: [ 0.441231] iwlwifi 0000:03:00.0: can't disable ASPM; OS doesn't have ASPM control
Jan 14 20:01:18 x220 kernel: [ 0.441641] iwlwifi 0000:03:00.0: Direct firmware load for iwlwifi-6000g2a-6.ucode failed with error -2
Jan 14 20:01:18 x220 kernel: [ 0.441650] iwlwifi 0000:03:00.0: Direct firmware load for iwlwifi-6000g2a-5.ucode failed with error -2
Jan 14 20:01:18 x220 kernel: [ 0.441651] iwlwifi 0000:03:00.0: request for firmware file 'iwlwifi-6000g2a-5.ucode' failed.
Jan 14 20:01:18 x220 kernel: [ 0.441652] iwlwifi 0000:03:00.0: no suitable firmware found!
Jan 14 20:01:18 x220 kernel: [ 7.142388] iwlwifi: module is already loaded
Jan 14 20:01:18 x220 kernel: [ 7.453491] iwlwifi: module is already loaded
Jan 14 20:03:36 x220 kernel: [ 147.421655] iwlwifi: module is already loaded


I'm going to try cleaning and reinstalling the kernel in just a minute
Back to top
View user's profile Send private message
bbgermany
Veteran
Veteran


Joined: 21 Feb 2005
Posts: 1792
Location: Oranienburg/Germany

PostPosted: Fri Jan 15, 2016 8:33 am    Post subject: Reply with quote

This looks like, your kernel didnt get copied to your boot folder. You can verify this by copying it by hand.

greets bb
_________________
1st: i5-4570, 16GB, 1.75TB
2nd: i5-4570, 16GB, 620GB
3rd: i5-4570, 16GB, 10,5TB
4th: Asus N61VN, 8GB, 240GB
5th: C2D T7200, 2GB, 16GB USB + NFS
Back to top
View user's profile Send private message
grep_Name
n00b
n00b


Joined: 12 Jan 2016
Posts: 8

PostPosted: Mon Jan 18, 2016 7:24 am    Post subject: Reply with quote

@bbgermany I just wanted to thank you for your time and patience, I ended up reinstalling the os using genkernel, and so far the card is showing up as it should now. Hope you have a good week
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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