0

I was issued a dell precision 5570 workstation with Ubuntu 22.04 on it. I have noticed that wifi does not work on it until I unload and load the iwlwifi kernel module. In fact, the device doesn't even list as available under the wifi settings in gnome until I do. Once reloaded, wifi works as expected. However, every time I reboot the workstation, I must redo the iwlwifi reload.

sudo modprobe -r iwlwifi
sudo modproble iwlwifi

My question is how, or more precisely what would be the best way to persist this change? I had a similar situation on a dell latitude with Alma Linux 8 where this same problem happened and regenerating the initramfs via dracut after reloading the iwlwifi kernel module was enough to persist that, but when I try the either of the following commands, that does not seem to work:

sudo update-initramfs -c -k $(uname -r)
sudo update-initramfs -c -k all

For more information, here is what lspci shows:

$USER@$HOST:~$ lspci -knn | grep Net -A3
00:14.3 Network controller [0280]: Intel Corporation Alder Lake-P PCH CNVi WiFi [8086:51f0] (rev 01)
    Subsystem: Intel Corporation Device [8086:4090]
    Kernel driver in use: iwlwifi
    Kernel modules: iwlwifi

lsmod shows the following:

$USER@$HOST:~$ lsmod | grep iwl
iwlmvm                610304  0
mac80211             1314816  1 iwlmvm
iwlwifi               503808  1 iwlmvm
cfg80211             1044480  3 iwlmvm,iwlwifi,mac80211

And don't know if this will be helpful, but rfkill shows the following before I reload:

$USER@$HOST:~$ rfkill 
ID TYPE      DEVICE              SOFT      HARD
 0 bluetooth hci0           unblocked unblocked
 1 wlan      dell-wifi      unblocked unblocked
 2 bluetooth dell-bluetooth unblocked unblocked

But show's this after the reload of the module:

$USER@$HOST:~$ rfkill 
ID TYPE      DEVICE              SOFT      HARD
 0 bluetooth hci0           unblocked unblocked
 1 wlan      dell-wifi      unblocked unblocked
 2 bluetooth dell-bluetooth unblocked unblocked
 3 wlan      phy0           unblocked unblocked

For reference as well, I am running the linux-generic-hwe-22.04 kernel, which puts me at 5.19.0-35-generic.

I've also checked the bios settings to make sure the wlan/wwan device wasn't disabled or that power management wasn't disabling wlan/wwan when it detects a wired connection. I also checked to make sure iwlwifi wasn't a blacklisted module.

1 Answers1

0

I notice this line in the log:

PNVM data is missing, please install iwlwifi-so-a0-gf-a0.pnvm

Let's install it and see if the problem is solved. From the terminal:

cd /usr/lib/firmware/
sudo wget https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/iwlwifi-so-a0-gf-a0.pnvm

Reboot and show us again:

journalctl -b | grep iwl

EDIT 1: Your grub boot parameters now read:

ro, quiet, splash, ipv6.disable=1, fastboot, vt.handoff=7

I suspect that the ‘fastboot’ parameter makes the boot process so quick that the iwlwifi driver and firmware don’t fully initialize. Let’s remove it to see if it helps. In a terminal:

sudo nano /etc/default/grub

Find the line that includes the line above. Delete the single word fastboot.

The line should now only include:

ro, quiet, splash, ipv6.disable=1, vt.handoff=7

Proofread carefully. Save (ctrl+o followed by Enter) and exit (Ctrl+x). Follow with:

sudo update-grub

Reboot and tell us if there is any improvement.

chili555
  • 61,330