I did a distribution upgrade today and everything looked good. However on rebooting my wifi is not finding any networks.
Falling back to previous kernel restores my wifi capability.
Should I just wait for a future upgrade to fix this?
I've done a full upgrade and have linux-image-6.11.3-1-siduction-amd64 installed. I didn't have any problem connecting to the network through WiFi. You might need to dig a little deeper to pull out any errors that turn up when you boot into the newest kernel as it doesn't seem like there's a generic problem. Which card you have, whether there were any problems building the modules, errors in dmesg or journalctl, that sort of thing.
dmesg | grep "wifi" gave me the following
[ 3.367288] iwlwifi 0000:00:14.3: Detected crf-id 0x2816, cnv-id 0x2000300 wfpm id 0x80000000
[ 3.367308] iwlwifi 0000:00:14.3: PCI dev 34f0/0234, rev=0x332, rfid=0x105110
[ 3.367312] iwlwifi 0000:00:14.3: Detected Intel(R) Wireless-AC 9560
[ 3.368280] iwlwifi 0000:00:14.3: firmware: failed to load iwlwifi-Qu-c0-jf-b0-77.ucode (-2)
[ 3.368284] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-Qu-c0-jf-b0-77.ucode failed with error -2
[ 3.368288] iwlwifi 0000:00:14.3: no suitable firmware found!
[ 3.416921] iwlwifi 0000:00:14.3: iwlwifi-Qu-c0-jf-b0-77 is required
[ 3.416925] iwlwifi 0000:00:14.3: check git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git
So it seems I need firmware which isn't in the repository.
Not sure if I should install the new firmware or just wait for it to show up.
If your wifi works with the previous kernel, then you must have the Intel firmware installed. Try
$ stat /usr/lib/firmware/iwlwifi-Qu-c0-jf-b0-77.ucode
Here, it shows
$ stat /usr/lib/firmware/iwlwifi-Qu-c0-jf-b0-77.ucode
File: /usr/lib/firmware/iwlwifi-Qu-c0-jf-b0-77.ucode
Size: 1322700 Blocks: 2584 IO Block: 4096 regular file
Device: 8,4 Inode: 267558 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2024-10-08 05:42:01.000000000 -0400
Modify: 2024-10-07 17:52:47.000000000 -0400
Change: 2024-10-08 05:42:10.185984519 -0400
Birth: 2024-10-08 05:42:09.275984494 -0400
Quote from: bad_aptitude on 2024/10/13, 00:38:42
...
So it seems I need firmware which isn't in the repository.
...
What? It's available for sure.
apt policy firmware-iwlwifi
firmware-iwlwifi:
Installiert: 20240909-1
Installationskandidat: 20240909-1
...
/usr/lib/firmware/iwlwifi-Qu-c0-jf-b0-77.ucode
...https://packages.debian.org/de/sid/all/firmware-iwlwifi/filelist
Here are the results of your suggested probes.
stat /usr/lib/firmware/iwlwifi-Qu-c0-jf-b0-77.ucode
stat: cannot statx '/usr/lib/firmware/iwlwifi-Qu-c0-jf-b0-77.ucode': No such file or directory
apt policy firmware-iwlwifi
firmware-iwlwifi:
Installed: 20230210-5
Candidate: 20230210-5
Version table:
*** 20230210-5 500
500 https://deb.debian.org/debian bookworm/non-free-firmware amd64 Packages
500 https://deb.debian.org/debian bookworm/non-free-firmware i386 Packages
100 /var/lib/dpkg/status
Will you kidding us?
siduction is debian unstable, not bookworm.
@Towo.
No I'm not kidding. I don't know what "bookworm" is.
I'm thinking my apt configuration may be corrupted.
Could this be malware?
Sorry.
I forgot bookworm was the Debian version.
I guess I need to review my sources.
Your sources should all be unstable not bookworm or Trixie unless you enabled another source for a specific package but then you should disable it.
I found the following source in my debian.list :
deb https://deb.debian.org/debian bookworm main non-free-firmwar
I commented out this line and performed a dist upgrade. This did not update the wifi firmware
I ran
apt install firmware-linux-nonfree
firmware-linux-nonfree is already the newest version (20230210-5).
firmware-linux-nonfree set to manually installed.
The following packages were automatically installed and are no longer required:
libgit2-1.7 libjim0.82t64 libllvm18 linux-headers-6.10.7-1-siduction-amd64 linux-image-6.10.7-1-siduction-amd64
libhttp-parser2.9 liblept5 libllvm18:i386 linux-headers-6.11.2-1-siduction-amd64 linux-image-6.11.2-1-siduction-amd64
Use 'apt autoremove' to remove them.
Summary:
Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 3
But it said the firmware was up to date.
Any suggestions would be appreciated.
Do you have any debian unstable repo activated?
Did You "apt update" after disabeling the bookwor repo and enabeling which unstable repo and befor trying to dist-upgrade?
There has to be a line like:
"deb http://deb.debian.org/debian/ unstable main contrib non-free non-free-firmware"
show your sources.list
show sources.list.d/*
I did apt update after disabling the bookworm source.
ls sources.list.d/*
sources.list.d/brave-browser-release.list sources.list.d/debian.list sources.list.d/fixes.list
sources.list.d/dbgsym.list sources.list.d/extra.list sources.list.d/protonvpn-beta.list
brave-browser does have a source from "stable"
I do not have the line "deb http://deb.debian.org/debian/ unstable main contrib non-free non-free-firmware" in my sources.
Should I add this source to debian.list?
Yes add the line shown above them apt update and apt dist-upgrade.
I added "deb http://deb.debian.org/debian/ unstable main contrib non-free non-free-firmware" to debian.list.
apt update gave the following:
Warning: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/debian.list:2 and /etc/apt/sources.list.d/debian.list:11
Warning: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list.d/debian.list:2 and /etc/apt/sources.list.d/debian.list:11
Warning: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/debian.list:2 and /etc/apt/sources.list.d/debian.list:11
Warning: Target Translations (main/i18n/Translation-en_CA) is configured multiple times in /etc/apt/sources.list.d/debian.list:2 and /etc/apt/sources.list.d/debian.list:11
Warning: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/debian.list:2 and /etc/apt/sources.list.d/debian.list:11
Warning: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list.d/debian.list:2 and /etc/apt/sources.list.d/debian.list:11
Warning: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list.d/debian.list:2 and /etc/apt/sources.list.d/debian.list:11
Warning: Target DEP-11-icons-small (main/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list.d/debian.list:2 and /etc/apt/sources.list.d/debian.list:11
Warning: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list.d/debian.list:2 and /etc/apt/sources.list.d/debian.list:11
Warning: Target DEP-11-icons-hidpi (main/d
The output of apt update was much longer so I truncated for brevity.
I wonder if I can ignore these warnings ... recognising there are no guarantees!
Going to out of internet range for the next 3 days.
So, to be continued....
Please show whole content without truncating/shortening of file '/etc/apt/sources.list.d/debian.list', those warnings tell you that you probably have some lines doubled ("...is configured multiple times...")
It even states which lines are affected: They are lines 2 and 11!
edlin
show ... debian.list
As edlin suggested the answer is in the warning messages:
Line 2 in my debian.list is:
deb https://deb.debian.org/debian/ unstable main contrib non-free
line 11 which I added at michaa7's suggestion is:
deb http://deb.debian.org/debian/ unstable main contrib non-free non-free-firmware
With line 2 uncommented my firmware doesn't doesn't update.
However; after commenting out line 2 and uncommenting line line 11, my firmware updates correctly with a dist-upgrade.
Problem solved!
Thank you all for your help!
Quote from: bad_aptitude on 2024/10/17, 03:55:39
...
However; after commenting out line 2 and uncommenting line line 11, my firmware updates correctly with a dist-upgrade.
...
Do you understand why? If not, read line 2 and 11 again and again until you do.
Yes. Line 11 is a replacement for line 2 not a supplement.
Sure, but did you understand why the line 2 repo didn't provide the firmware?
Presumably the word "firmware" in line 11 is significant.
However, I'm puzzled that I didn't need line 11 throughout the past 2 years of distribution upgrades.
There was a change which moved non-free (proprietary) firmware out of non-free to the newly created subrepo non-free-firmware. So without this addition you lost those upgrades somewhen along the way ...
Quick question.
What should a proper clean siduction sources.list.d look like?
I notice that after reading this discussion today that I also have Trixie and Bookworm junk in my list.
Thus I figure I' d best get my house in order also!
Thank you, one never ceases to learn here. ;-)
What you *need* is:
debian.list (Whether or not a signed debian repo ist mandatory I don't know)
Quotedeb [ signed-by=/usr/share/keyrings/debian-archive-keyring.gpg] http://deb.debian.org/debian/ unstable main contrib non-free non-free-firmware
extra.list
Quotedeb http://ftp.uni-stuttgart.de/siduction/extra unstable main
For all other repos there has to be a reason known to you (for example: debian "testing" if you like/need to roll back a package).
What is necessary for siduction fixes:
fixes.list
Quotedeb http://packages.siduction.org/fixes unstable main contrib non-free non-free-firmware