Hi, Ubuntu community.
I've got an issue with the wifi card(Intel Wireless AC 3165) drivers detection on Ubuntu 20.04:
though the device is able to provide internet connection and is powered on(and even has kernel module loaded),
the "Software&Updates" tab "Additional Drivers" is showing "The device is not working" message near the "Intel Corporation: Wireless 3165" driver.
Here's the prerequisites:
1. I've installed Ubuntu 20.04 on my Dual-boot notebook Dell Inspiron 7559 with Windows 10 default OS.
2. After starting to check the system default drivers, I've noticed this error inside "Software&Updates" UI application's tab "Additional Drivers" - Intel Corporation: Wireless 3165; The device is not working.
3. After starting to investigate deeper into the issue fix(and into kernel/drivers of Ubuntu 20.04, which I'm newbie in), I haven't found any EXPLANATION of this message NOR the reason for it, according to current system kernel's driver details output
Question1: Why the driver status inside "Additional Drivers" tab is "The device is not working"(screen.jpeg), but the Wi-Fi connection is working correctly and the module is loaded into kernel?
According to this I need a help regarding specifics of Dell+Intel Wifi <-> Ubuntu Kernel(Modules, Drivers) loading/unloading/troubleshooting.
My assumption is that the driver is working correctly, but the "Software&Updates" have some BUG or incorrect driver status detection, related to Intel Wi-Fi card and Kernel/OS.
Here's why.
My setup:
- Kernel version(`uname -r`): 5.4.0-31-generic
- OS: Ubuntu 20.04 LTS Desktop
- Wifi card - Intel 3165AC + BT4.2 [802.11ac + Bluetooth 4.2, Dual Band 2. 4&5 GHz, 1x1]
- Video: NVIDIA GeForce GTX 960M+Mesa Intel® HD Graphics 530 (SKL GT2) # posting it due to *(see ref. 1 below)
What I've already check:
1. According to Intel driver recommendations(1) and kernel compatibility docs(2) the supported versions of driver are:
- iwlwifi-7265-ucode-25.30.14.0.tgz # with 7265-14.ucode inside. compatible with kernel 4.2+. archive downloaded from www.intel.com table's link(1)
- iwlwifi-7265-ucode-16.242414.0.tgz # with 7265-16.ucode inside. compatible with kernel 4.3+. archive downloaded from wireless.wiki.kernel.org table's link(2)
which I've prepared for setup.
1.1 But before that, I've checked this tutorial related to 18.04 issues, which solves the issue by updating HWE & AC according to Official Ubuntu LTSEnablementStack or by updating kernel.
According to this tutorial, I've:
>sudo apt-get install linux-generic-hwe-20.04 # though it's already included in 20.04 LTS
>sudo apt-get install xserver-xorg-hwe-18.04 # for 20.04 this is the latest version of X(<- using search)
BUT THE ISSUE REMAINS even after reboot.
1.2 According to Ubuntu 20.04 shipped drivers 7265-*.ucode even newer one(iwlwifi-7265-17.ucode) IS ALREADY present by default:
> ls -l /lib/firmware/iwlwifi-7265-*ucode
Code:
-rw-r--r-- 1 root root 736844 бер 19 18:37 /lib/firmware/iwlwifi-7265-10.ucode
-rw-r--r-- 1 root root 880604 бер 19 18:37 /lib/firmware/iwlwifi-7265-12.ucode
-rw-r--r-- 1 root root 885224 бер 19 18:37 /lib/firmware/iwlwifi-7265-13.ucode
-rw-r--r-- 1 root root 1180412 бер 19 18:37 /lib/firmware/iwlwifi-7265-17.ucode
-rw-r--r-- 1 root root 690452 бер 19 18:37 /lib/firmware/iwlwifi-7265-8.ucode
-rw-r--r-- 1 root root 697828 бер 19 18:37 /lib/firmware/iwlwifi-7265-9.ucode
which should be good, but is more strange.
2. my current network hardware output is:
> lshw -C network
Code:
*-network
description: Wireless interface
product: Wireless 3165
vendor: Intel Corporation
physical id: 0
bus info: pci@0000:05:00.0
logical name: wlp5s0
version: 79
serial: --:d4:--:7b:--:--
width: 64 bits
clock: 33MHz
capabilities: bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=iwlwifi driverversion=5.4.0-31-generic firmware=29.1654887522.0 ip=192.168.0.103 latency=0 link=yes multicast=yes wireless=IEEE 802.11
resources: irq:134 memory:df200000-df201fff
and wifi is on(using which I'm writing this post ):
> iwlist wlp5s0 power
Code:
wlp5s0 Current mode:on
where wlp5s0 is my active network interface:
> ifconfig
Code:
...
wlp5s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.0.103 netmask 255.255.255.0 broadcast 192.168.0.255
inet6 fe80::9807:2d2f:1f32:a663 prefixlen 64 scopeid 0x20<link>
ether --:d4:--:7b:--:-- txqueuelen 1000 (Ethernet)
RX packets 26545 bytes 25092442 (25.0 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 16299 bytes 4335368 (4.3 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
and the driver/kernel module/pci is loaded:
> lsmod | grep wifi
Code:
iwlwifi 331776 1 iwlmvm
cfg80211 704512 3 iwlmvm,iwlwifi,mac80211
> modinfo iwlwifi
Code:
filename: /lib/modules/5.4.0-31-generic/kernel/drivers/net/wireless/intel/iwlwifi/iwlwifi.ko
license: GPL
author: Copyright(c) 2003- 2015 Intel Corporation <linuxwifi@intel.com>
description: Intel(R) Wireless WiFi driver for Linux
...
firmware: iwlwifi-7265-17.ucode
...
depends: cfg80211retpoline: Y
intree: Y
name: iwlwifi
vermagic: 5.4.0-31-generic SMP mod_unload
sig_id: PKCS#7
signer: Build time autogenerated kernel key
...
> lspci
Code:
05:00.0 Network controller: Intel Corporation Wireless 3165 (rev 79)
> find /sys | grep drivers.*05:00
Code:
/sys/bus/pci/drivers/iwlwifi/0000:05:00.0
> dmesg | grep iwlwifi
Code:
[ 3.069974] iwlwifi 0000:05:00.0: enabling device (0000 -> 0002)
[ 3.078870] iwlwifi 0000:05:00.0: Found debug destination: EXTERNAL_DRAM
[ 3.078872] iwlwifi 0000:05:00.0: Found debug configuration: 0
[ 3.079032] iwlwifi 0000:05:00.0: loaded firmware version 29.1654887522.0 op_mode iwlmvm
[ 3.157078] iwlwifi 0000:05:00.0: Detected Intel(R) Dual Band Wireless AC 3165, REV=0x210
[ 3.170897] iwlwifi 0000:05:00.0: Applying debug destination EXTERNAL_DRAM
[ 3.171320] iwlwifi 0000:05:00.0: Allocated 0x00400000 bytes for firmware monitor.
[ 3.178016] iwlwifi 0000:05:00.0: base HW address: --:d4:--:7b:--:--
[ 3.460305] iwlwifi 0000:05:00.0 wlp5s0: renamed from wlan0
[ 5.037076] iwlwifi 0000:05:00.0: Applying debug destination EXTERNAL_DRAM
[ 5.126592] iwlwifi 0000:05:00.0: Applying debug destination EXTERNAL_DRAM
[ 5.128097] iwlwifi 0000:05:00.0: FW already configured (0) - re-configuring
[ 1546.190248] iwlwifi 0000:05:00.0: Applying debug destination EXTERNAL_DRAM
[ 1546.270358] iwlwifi 0000:05:00.0: Applying debug destination EXTERNAL_DRAM
[ 1546.272013] iwlwifi 0000:05:00.0: FW already configured (0) - re-configuring
3. After downgrading to 16th - iwlwifi-7265-ucode-25.30.14.0.tgz:
sudo modprobe -r iwlmvm && sudo modprobe -r iwlwifi && sudo mv /lib/firmware/iwlwifi-7265-17.ucode ~/
sudo cp ~/Downloads/iwlwifi-7265-ucode-16.242414.0/iwlwifi-7265-16.ucode /lib/firmware/
sudo modprobe iwlwifi
dmesg | grep iwlwifi
Code:
[14186.506626] iwlwifi 0000:05:00.0: Found debug destination: EXTERNAL_DRAM
[14186.506627] iwlwifi 0000:05:00.0: Found debug configuration: 0
[14186.506806] iwlwifi 0000:05:00.0: loaded firmware version 29.1654887522.0 op_mode iwlmvm
[14186.526517] iwlwifi 0000:05:00.0: Detected Intel(R) Dual Band Wireless AC 3165, REV=0x210
[14186.540705] iwlwifi 0000:05:00.0: Applying debug destination EXTERNAL_DRAM
[14186.541064] iwlwifi 0000:05:00.0: Allocated 0x00400000 bytes for firmware monitor.
[14186.555701] iwlwifi 0000:05:00.0: base HW address: --:d4:--:7b:--:--
[14186.636289] iwlwifi 0000:05:00.0 wlp5s0: renamed from wlan0
[14186.702876] iwlwifi 0000:05:00.0: Applying debug destination EXTERNAL_DRAM
[14186.789316] iwlwifi 0000:05:00.0: Applying debug destination EXTERNAL_DRAM
[14186.790908] iwlwifi 0000:05:00.0: FW already configured (0) - re-configuring
[14186.843296] iwlwifi 0000:05:00.0: Applying debug destination EXTERNAL_DRAM
[14186.922345] iwlwifi 0000:05:00.0: Applying debug destination EXTERNAL_DRAM
[14186.923904] iwlwifi 0000:05:00.0: FW already configured (0) - re-configuring
sudo modprobe -r iwlmvm && sudo modprobe -r iwlwifi && mv ~/iwlwifi-7265-17.ucode /lib/firmware/
sudo rm -rf /lib/firmware/iwlwifi-7265-16.ucode && modprobe iwlwifi
and rebooting, THE ISSUE STILL REMAINS.
3.1. and to 14th - iwlwifi-7265-ucode-25.30.14.0.tgz:
sudo modprobe -r iwlmvm && sudo modprobe -r iwlwifi && sudo mv /lib/firmware/iwlwifi-7265-17.ucode ~/
sudo cp ~/Downloads/iwlwifi-7265-ucode-25.30.14.0/iwlwifi-7265-14.ucode /lib/firmware/
sudo modprobe iwlwifi
dmesg | grep iwlwifi
Code:
[14765.135426] iwlwifi 0000:05:00.0: Found debug destination: EXTERNAL_DRAM
[14765.135428] iwlwifi 0000:05:00.0: Found debug configuration: 0
[14765.135654] iwlwifi 0000:05:00.0: loaded firmware version 29.1654887522.0 op_mode iwlmvm
[14765.156436] iwlwifi 0000:05:00.0: Detected Intel(R) Dual Band Wireless AC 3165, REV=0x210
[14765.170501] iwlwifi 0000:05:00.0: Applying debug destination EXTERNAL_DRAM
[14765.171135] iwlwifi 0000:05:00.0: Allocated 0x00400000 bytes for firmware monitor.
[14765.184093] iwlwifi 0000:05:00.0: base HW address: --:d4:--:7b:--:--
[14765.262389] iwlwifi 0000:05:00.0 wlp5s0: renamed from wlan0
[14765.311863] iwlwifi 0000:05:00.0: Applying debug destination EXTERNAL_DRAM
[14765.389894] iwlwifi 0000:05:00.0: Applying debug destination EXTERNAL_DRAM
[14765.391277] iwlwifi 0000:05:00.0: FW already configured (0) - re-configuring
[14765.436351] iwlwifi 0000:05:00.0: Applying debug destination EXTERNAL_DRAM
[14765.516862] iwlwifi 0000:05:00.0: Applying debug destination EXTERNAL_DRAM
[14765.518472] iwlwifi 0000:05:00.0: FW already configured (0) - re-configuring
sudo modprobe -r iwlmvm && sudo modprobe -r iwlwifi && mv ~/iwlwifi-7265-17.ucode /lib/firmware/
sudo rm -rf /lib/firmware/iwlwifi-7265-14.ucode && modprobe iwlwifi
and rebooting, THE ISSUE STILL REMAINS.
Question2: If the fix with "Additional drivers" tab doesn't relate to kernel drivers, are there any possibility to switch radio-button to "Continue using manually installed driver" and enable "Apply changes" button?
(*) Ref. 1: nVidia/Intel video cards(discrete&integrated one) are working on stock drivers(nvidia-440 proprietary&Mesa with i915 kernel module respectively). Also cuda 10-2 metapackage(for 18.04 as for now) is installed and tested by running samples(though with minor build issues) successfully.
This info is "for general information" regarding another drivers, which operates better. Please take this into account if that is necessary.
UPDATE:
according to
> modinfo iwlwifi | more
filename: /lib/modules/5.4.0-31-generic/kernel/drivers/net/wireless/intel/iwlwifi/iwlwifi.ko
...
firmware: iwlwifi-6000-6.ucode
firmware: iwlwifi-7265D-29.ucode
firmware: iwlwifi-7265-17.ucode # the downloaded firmware isn't detected by iwlwifi module as it isn't present in output of this command, is it?
firmware: iwlwifi-3168-29.ucode
firmware: iwlwifi-3160-17.ucode
firmware: iwlwifi-7260-17.ucode
...
though,
> ls -l /lib/firmware/iwlwifi-7265-*ucode
Code:
-rw-r--r-- 1 root root 736844 бер 19 18:37 /lib/firmware/iwlwifi-7265-10.ucode-rw-r--r-- 1 root root 880604 бер 19 18:37 /lib/firmware/iwlwifi-7265-12.ucode
-rw-r--r-- 1 root root 885224 бер 19 18:37 /lib/firmware/iwlwifi-7265-13.ucode
-rw-r--r-- 1 root root 1180224 тра 21 21:19 /lib/firmware/iwlwifi-7265-14.ucode
-rw-r--r-- 1 root root 690452 бер 19 18:37 /lib/firmware/iwlwifi-7265-8.ucode
-rw-r--r-- 1 root root 697828 бер 19 18:37 /lib/firmware/iwlwifi-7265-9.ucode
firmware was replaced in firmware folder.
Why 14th *.ucode file wasn't loaded by firmware?
Should *ucode files be loaded using special procedure? Eg: using special runlevel or with additional files or by stopping wifi/unloading module?
According to this docs(FOR ANOTHER intel wifi card), see Section "Files Copied to Root", the additional *.ko file should be supplied with Intel card - /lib/modules/<kernel_version>/updates/iwlwifi.ko
But current /lib/modules/5.4.0-31-generic/kernel/drivers/net/wireless/intel/iwlwifi/iwlwifi.ko do exist.
Bookmarks