Package: kmod Version: 28-1 Severity: important Hello,
I have a laptop with iwlwifi wireless card: $ sudo lspci -nn | grep Net Network controller [0280]: Intel Corporation Wireless 7265 [8086:095a] (rev 59) This hardware requires the firmware-iwlwifi package, and the firmware works fine. However, on nonfree install or nonfree Live, the wireless interface repeatedly dies as soon as it's used with "Microcode SW error detected. Restarting" in dmesg and long firmware dump from the driver. it's not possible to even "apt update" because the interface dies. Ubuntu ships a file in its kmod package with the following contents: # /etc/modprobe.d/iwlwifi.conf # iwlwifi will dyamically load either iwldvm or iwlmvm depending on the # microcode file installed on the system. When removing iwlwifi, first # remove the iwl?vm module and then iwlwifi. remove iwlwifi \ (/sbin/lsmod | grep -o -e ^iwlmvm -e ^iwldvm -e ^iwlwifi | xargs /sbin/rmmod) \ && /sbin/modprobe -r mac80211 Adding this file to Debian resolves the problem. This is a request to include the above iwlwifi.conf file in Debian's kmod package too. I can only assume from the massive Ubuntu install base that this file doesn't cause any problems for devices which don't need the modules loaded in this order, while also resolving whatever problem requires that modules are loaded in the order which the above file forces. I could not find any previous bug with this request. I also couldn't find Ubuntu's history of this package to find why it was included there in the first place. It's been there for a very long time, at least since kmod 9 from over 10 years ago. Given that Ubuntu has shipped this file for so long, the risk of any regression in Debian seems extremely low. Thank you, Jamie -- System Information: Debian Release: 11.6 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 6.1.0-0.deb11.5-amd64 (SMP w/4 CPU threads; PREEMPT) Kernel taint flags: TAINT_FIRMWARE_WORKAROUND Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE=en_AU:en Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages kmod depends on: ii libc6 2.31-13+deb11u5 ii libkmod2 28-1 ii liblzma5 5.2.5-2.1~deb11u1 ii libssl1.1 1.1.1n-0+deb11u4 ii lsb-base 11.1.0 kmod recommends no packages. kmod suggests no packages. -- no debconf information