Re: Wifi getting disconnected randomly
On 11/05/2024 10:09, Jeffrey Walton wrote: On Fri, May 10, 2024 at 11:18 AM Max Nikulin wrote: I am not trying to dispute your suggestion, I had a hope to get a data point with a success story. In 2006 I was doing sysadmin work for the Nuclear Energy Institute. NEI performed a hardware refresh, and supplied ~50 employees with new Dell laptops. I don't recall the model, but they had integrated Intel wifi. The laptops would connect via wifi, and disconnect after about 10 minutes. Dell support told us we needed to update the BiOS or UEFI. It fixed the problem. So the data point is unrelated to 72.daa05125.0 cc-a0-72.ucode or to some other recent intel wifi card. It was my fault that I was not clear enough asking for details. I think, 2 decades ago balance between platform firmware and per-device firmware loaded by drivers was different. A few years ago I have seen recommendations of intel wifi cards as reliable ones. In bookworm, driver spits a warning that it can not find a firmware file. Actually it is not available and it is impossible to just download the "missed" file. It is intended for debugging and one has to request it and then has to send gathered data to intel developers. It is discouraging from my point of view.
Re: Wifi getting disconnected randomly
On Fri, May 10, 2024 at 11:18 AM Max Nikulin wrote: > On 10/05/2024 22:09, Jeffrey Walton wrote: > > On Fri, May 10, 2024 at 11:05 AM Max Nikulin wrote: > > On 10/05/2024 06:07, Jeffrey Walton wrote: > > > On Thu, May 9, 2024 at 5:44 PM Unni wrote: > > > [ 278.360447] iwlwifi :09:00.0: Microcode SW error > detected. > > > Restarting 0x0. > > > [ 278.360571] iwlwifi :09:00.0: Loaded firmware version: > > > 72.daa05125.0 cc-a0-72.ucode > > [...] > > > Install the latest UEFI firmware for the machine, and then re-run > > the tests. > > > > I do not mind that it is a useful suggestion in general and should be > > followed, but I am curious if it has ever helped you in specific > cases > > of intel wifi cards. > > > > My bad. I was talking about the manufacturer's UEFI firmware; not a > > linux-firmware package. > > I am not trying to dispute your suggestion, I had a hope to get a data > point with a success story. > Hi Max. Sorry to go off the list. In 2006 I was doing sysadmin work for the Nuclear Energy Institute. NEI performed a hardware refresh, and supplied ~50 employees with new Dell laptops. I don't recall the model, but they had integrated Intel wifi. The laptops would connect via wifi, and disconnect after about 10 minutes. Dell support told us we needed to update the BiOS or UEFI. It fixed the problem. About 6 months ago, I bought a used Intel NUC model NUC5PPYB. It was running Fedora 39 at the time. A `sudo reboot && exit` over SSH would cause the machine to hang on shutdown. I had to walk over to the machine and cycle the power. The NUC had UEFI from 2015. I updated to the 2022 version of the UEFI (version PYBSWCEL.86A.0081.2022.0823.1419), and the hang on reboot was fixed. Apparently there was some problem around ACPI. Jeff
Re: Wifi getting disconnected randomly
On 10/05/2024 22:09, Jeffrey Walton wrote: On Fri, May 10, 2024 at 11:05 AM Max Nikulin wrote: On 10/05/2024 06:07, Jeffrey Walton wrote: > On Thu, May 9, 2024 at 5:44 PM Unni wrote: > [ 278.360447] iwlwifi :09:00.0: Microcode SW error detected. > Restarting 0x0. > [ 278.360571] iwlwifi :09:00.0: Loaded firmware version: > 72.daa05125.0 cc-a0-72.ucode [...] > Install the latest UEFI firmware for the machine, and then re-run the tests. I do not mind that it is a useful suggestion in general and should be followed, but I am curious if it has ever helped you in specific cases of intel wifi cards. My bad. I was talking about the manufacturer's UEFI firmware; not a linux-firmware package. I am not trying to dispute your suggestion, I had a hope to get a data point with a success story. To be precise concerning packages, it is firmware-iwlwifi (src:firmware-nonfree). Even unstable currently have a year old package, so for experiments it is better to take files from an upstream git repository. It requires kernel upgrade since the range of supported firmware versions is hardcoded.
Re: Wifi getting disconnected randomly
On Fri, May 10, 2024 at 11:05 AM Max Nikulin wrote: > On 10/05/2024 06:07, Jeffrey Walton wrote: > > On Thu, May 9, 2024 at 5:44 PM Unni wrote: > > [ 278.360447] iwlwifi :09:00.0: Microcode SW error detected. > > Restarting 0x0. > > [ 278.360571] iwlwifi :09:00.0: Loaded firmware version: > > 72.daa05125.0 cc-a0-72.ucode > [...] > > Install the latest UEFI firmware for the machine, and then re-run the > tests. > > I do not mind that it is a useful suggestion in general and should be > followed, but I am curious if it has ever helped you in specific cases > of intel wifi cards. > My bad. I was talking about the manufacturer's UEFI firmware; not a linux-firmware package. Jeff
Re: Wifi getting disconnected randomly
On 10/05/2024 06:07, Jeffrey Walton wrote: On Thu, May 9, 2024 at 5:44 PM Unni wrote: [ 278.360447] iwlwifi :09:00.0: Microcode SW error detected. Restarting 0x0. [ 278.360571] iwlwifi :09:00.0: Loaded firmware version: 72.daa05125.0 cc-a0-72.ucode [...] Install the latest UEFI firmware for the machine, and then re-run the tests. I do not mind that it is a useful suggestion in general and should be followed, but I am curious if it has ever helped you in specific cases of intel wifi cards. My experience with it is far from being positive. Some days firmware crashes are rare, some periods of time they happen every minute. I have not identified reasons, so results of debugging attempts would be unreliable. Sometimes restarting of the router helps. That is why I suspect that access points around may affect my connection. My impression is that version of driver in backports kernel is more stable, however in addition I downloaded firmware newer than 72. There are enough discussions, bugs, various suggestions concerning parameters of kernel modules. Downgrading firmware did not helped me. I have not noticed any improvements from disabling power save mode. Some links: https://wireless.wiki.kernel.org/en/users/drivers/iwlwifi#about_platform_noise https://bugzilla.kernel.org/show_bug.cgi?id=205123 https://bugs.debian.org/1026906 https://wiki.debian.org/iwlwifi The relevant line from lspci -nn output should help to identify wifi adapter model.
Re: Wifi getting disconnected randomly
On Thu, May 9, 2024 at 5:44 PM Unni wrote: > Hello, > > Wifi is getting disconnected randomly on debian. dmesg shows > > > -- > > [ 278.360346] iwlwifi :09:00.0: Queue 5 is stuck 8 21 > [ 278.360447] iwlwifi :09:00.0: Microcode SW error detected. > Restarting 0x0. > [ 278.360566] iwlwifi :09:00.0: Start IWL Error Log Dump: > [ 278.360568] iwlwifi :09:00.0: Transport status: 0x004A, valid: 6 > [ 278.360571] iwlwifi :09:00.0: Loaded firmware version: > 72.daa05125.0 cc-a0-72.ucode > [ 278.360573] iwlwifi :09:00.0: 0x0084 | NMI_INTERRUPT_UNKNOWN > [ 278.360576] iwlwifi :09:00.0: 0x22F0 | trm_hw_status0 > [ 278.360578] iwlwifi :09:00.0: 0x0001 | trm_hw_status1 > [ 278.360579] iwlwifi :09:00.0: 0x004FBE16 | branchlink2 > [ 278.360581] iwlwifi :09:00.0: 0x004F23FE | interruptlink1 > [ 278.360583] iwlwifi :09:00.0: 0x004F23FE | interruptlink2 > [ 278.360585] iwlwifi :09:00.0: 0x5CEA | data1 > [ 278.360587] iwlwifi :09:00.0: 0x0100 | data2 > [ 278.360589] iwlwifi :09:00.0: 0x | data3 > [ 278.360590] iwlwifi :09:00.0: 0x86C0496C | beacon time > [ 278.360592] iwlwifi :09:00.0: 0x72E106A0 | tsf low > [ 278.360594] iwlwifi :09:00.0: 0x00E2 | tsf hi > [ 278.360596] iwlwifi :09:00.0: 0x | time gp1 > [ 278.360598] iwlwifi :09:00.0: 0x1009BFB7 | time gp2 > [ 278.360600] iwlwifi :09:00.0: 0x0001 | uCode revision type > [ 278.360601] iwlwifi :09:00.0: 0x0048 | uCode version major > [ 278.360603] iwlwifi :09:00.0: 0xDAA05125 | uCode version minor > [ 278.360605] iwlwifi :09:00.0: 0x0340 | hw version > [ 278.360607] iwlwifi :09:00.0: 0x00C89000 | board version > [ 278.360609] iwlwifi :09:00.0: 0x8045FC0B | hcmd > [ 278.360610] iwlwifi :09:00.0: 0x0002 | isr0 > [ 278.360612] iwlwifi :09:00.0: 0x | isr1 > [ 278.360614] iwlwifi :09:00.0: 0x08F2 | isr2 > [ 278.360616] iwlwifi :09:00.0: 0x00C3038C | isr3 > [ 278.360618] iwlwifi :09:00.0: 0x | isr4 > [ 278.360619] iwlwifi :09:00.0: 0x0507001C | last cmd Id > [ 278.360621] iwlwifi :09:00.0: 0x5CEA | wait_event > [ 278.360623] iwlwifi :09:00.0: 0x0080 | l2p_control > [ 278.360625] iwlwifi :09:00.0: 0x0020 | l2p_duration > [ 278.360627] iwlwifi :09:00.0: 0x003F | l2p_mhvalid > [ 278.360629] iwlwifi :09:00.0: 0x0080 | l2p_addr_match > [ 278.360630] iwlwifi :09:00.0: 0x0009 | lmpm_pmg_sel > [ 278.360632] iwlwifi :09:00.0: 0x | timestamp > [ 278.360634] iwlwifi :09:00.0: 0x70D0 | flow_handler > [ 278.360680] iwlwifi :09:00.0: Start IWL Error Log Dump: > [ 278.360682] iwlwifi :09:00.0: Transport status: 0x004A, valid: 7 > [ 278.360684] iwlwifi :09:00.0: 0x2066 | NMI_INTERRUPT_HOST > [ 278.360686] iwlwifi :09:00.0: 0x | umac branchlink1 > [ 278.360688] iwlwifi :09:00.0: 0x80455E3C | umac branchlink2 > [ 278.360690] iwlwifi :09:00.0: 0x80472146 | umac interruptlink1 > [ 278.360692] iwlwifi :09:00.0: 0x80472146 | umac interruptlink2 > [ 278.360693] iwlwifi :09:00.0: 0x0100 | umac data1 > [ 278.360695] iwlwifi :09:00.0: 0x80472146 | umac data2 > [ 278.360697] iwlwifi :09:00.0: 0x | umac data3 > [ 278.360699] iwlwifi :09:00.0: 0x0048 | umac major > [ 278.360701] iwlwifi :09:00.0: 0xDAA05125 | umac minor > [ 278.360702] iwlwifi :09:00.0: 0x1009BFB5 | frame pointer > [ 278.360704] iwlwifi :09:00.0: 0xC0886264 | stack pointer > [ 278.360706] iwlwifi :09:00.0: 0x00E8019C | last host cmd > [ 278.360708] iwlwifi :09:00.0: 0x | isr status reg > [ 278.360722] iwlwifi :09:00.0: IML/ROM dump: > [ 278.360724] iwlwifi :09:00.0: 0x0003 | IML/ROM error/state > [ 278.360738] iwlwifi :09:00.0: 0x578F | IML/ROM data1 > [ 278.360752] iwlwifi :09:00.0: 0x0080 | IML/ROM WFPM_AUTH_KEY_0 > [ 278.360761] iwlwifi :09:00.0: Fseq Registers: > [ 278.360765] iwlwifi :09:00.0: 0x6000 | FSEQ_ERROR_CODE > [ 278.360770] iwlwifi :09:00.0: 0x00290021 | FSEQ_TOP_INIT_VERSION > [ 278.360775] iwlwifi :09:00.0: 0x00050008 | FSEQ_CNVIO_INIT_VERSION > [ 278.360780] iwlwifi :09:00.0: 0xA503 | FSEQ_OTP_VERSION > [ 278.360785] iwlwifi :09:00.0: 0x8003 | FSEQ_TOP_CONTENT_VERSION > [ 278.360790] iwlwifi :09:00.0: 0x4552414E | FSEQ_ALIVE_TOKEN > [ 278.360794] iwlwifi :09:00.0: 0x00100530 | FSEQ_CNVI_ID > [ 278.360799] iwlwifi :09:00.0: 0x0532 | FSEQ_CNVR_ID > [ 278.360804] iwlwifi :09:00.0: 0x00100530 | CNVI_AUX_MISC_CHIP > [ 278.360811] iwlwifi :09:00.0: 0x0532 | CNVR_AUX_MISC_CHIP > [ 278.360818] iwlwifi :09:00.0: 0x05B0905B | > CNVR_SCU_SD_REGS_SD_REG_DIG_DCDC_VTRIM > [ 278.360825] iwlwifi :09:00.0: 0x025B | > CNVR_SCU_SD_REGS_SD_REG_ACTIVE_VDIG_MIRROR > -- > unni-debian:~# cat