[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Comment recharger un module noyau planté ?



Bonjour,

Ça faisait longtemps que mon module wifi n'avait pas planté, donc pas eu l'occasion d'essayer les remèdes.

Le 14/03/22 à 18:21, Hugues Larrive <hlarrive@pm.me> a écrit :
> Je tenterais une réinitialisation au niveau du bus PCI (remove et rescan) :
> echo 1 > /sys/bus/pci/devices/0000\:02\:00.0/remove

Cette commande a été assez longue a rendre la main, elle a sorti qqchose dans kern.log, mais je
n'ai pas cette trace car

> echo 1 > /sys/bus/pci/rescan

a complètement planté le système, et après le reboot hard qui a suivi y'avait plus les traces
précédentes.

Mar 31 15:26:35 dell kernel: [439827.472935] ath10k_pci 0000:02:00.0: failed to wake target for write32 of 0x000011e5 at 0x0003543c: -110
[…pas mal de lignes comme la précédente…]
Mar 31 15:30:19 dell kernel: [440052.314672] ath10k_pci 0000:02:00.0: failed to wake target for write32 of 0x0000149f at 0x0003543c: -110
Mar 31 15:30:20 dell kernel: [440053.274771] ath10k_pci 0000:02:00.0: failed to receive scan abortion completion: timed out
Mar 31 15:30:20 dell kernel: [440053.274774] ath10k_pci 0000:02:00.0: failed to stop scan: -110
Mar 31 15:30:20 dell kernel: [440053.274776] ath10k_pci 0000:02:00.0: failed to start hw scan: -110
Mar 31 15:30:20 dell kernel: [440053.339999] ath10k_pci 0000:02:00.0: failed to wake target for write32 of 0x000014a1 at 0x0003543c: -110
[…snip…]
Mar 31 15:31:16 dell kernel: [440108.635954] ath10k_pci 0000:02:00.0: failed to wake target for write32 of 0x00001521 at 0x0003543c: -110
Mar 31 15:31:16 dell kernel: [440108.823493] ath10k_pci 0000:02:00.0: wmi command 20482 timeout, restarting hardware
Mar 31 15:31:16 dell kernel: [440108.823503] ath10k_pci 0000:02:00.0: failed to delete WMI vdev 1: -11
Mar 31 15:31:16 dell kernel: [440108.823801] ath10k_pci 0000:02:00.0: failed to set 2g txpower 52: -108
Mar 31 15:31:16 dell kernel: [440108.823803] ath10k_pci 0000:02:00.0: failed to setup tx power 26: -108
Mar 31 15:31:16 dell kernel: [440108.823803] ath10k_pci 0000:02:00.0: failed to recalc tx power: -108
Mar 31 15:31:16 dell kernel: [440108.823810] ath10k_pci 0000:02:00.0: failed to set inactivity time for vdev 0: -108
Mar 31 15:31:16 dell kernel: [440108.823811] ath10k_pci 0000:02:00.0: failed to setup powersave: -108
Mar 31 15:31:16 dell kernel: [440108.823833] wlp2s0: deauthenticating from 7c:8f:de:0b:9f:d7 by local choice (Reason: 3=DEAUTH_LEAVING)
Mar 31 15:31:16 dell kernel: [440108.823839] ath10k_pci 0000:02:00.0: failed to set inactivity time for vdev 0: -108
Mar 31 15:31:16 dell kernel: [440108.823842] ath10k_pci 0000:02:00.0: failed to setup powersave: -108
Mar 31 15:31:21 dell kernel: [440113.667374] ath10k_warn: 133 callbacks suppressed
Mar 31 15:31:21 dell kernel: [440113.667378] ath10k_pci 0000:02:00.0: failed to wake target for write32 of 0xfffdffff at 0x00034c10: -110
[…snip…]
Mar 31 15:31:32 dell kernel: [440125.270874] ath10k_pci 0000:02:00.0: failed to read device register, device is gone
Mar 31 15:31:32 dell kernel: [440125.272438] ieee80211 phy0: Hardware restart was requested
Mar 31 15:31:32 dell kernel: [440125.272774] ------------[ cut here ]------------
Mar 31 15:31:32 dell kernel: [440125.272776] WARNING: CPU: 1 PID: 254476 at net/mac80211/sta_info.c:1096 __sta_info_destroy_part2+0x130/0x160 [mac80211]
Mar 31 15:31:32 dell kernel: [440125.272806] Modules linked in: btrfs(E) blake2b_generic(E) xor(E) raid6_pq(E) zstd_compress(E) ufs(E) qnx4(E) hfsplus(E) hfs(E) minix(E) msdos(E) jfs(E) xfs(E) libcrc32c(E) cpuid
(E) loop(E) rfcomm(E) ctr(E) ccm(E) cmac(E) algif_hash(E) algif_skcipher(E) af_alg(E) bnep(E) binfmt_misc(E) mei_hdcp(E) intel_rapl_msr(E) dell_laptop(E) snd_hda_codec_hdmi(E) dell_smm_hwmon(E) btusb(E) btrtl(E)
 btbcm(E) btintel(E) bluetooth(E) snd_sof_pci_intel_icl(E) snd_ctl_led(E) snd_sof_intel_hda_common(E) soundwire_intel(E) soundwire_generic_allocation(E) soundwire_cadence(E) snd_sof_intel_hda(E) snd_sof_pci(E) s
nd_sof_xtensa_dsp(E) x86_pkg_temp_thermal(E) ath10k_pci(E) intel_powerclamp(E) jitterentropy_rng(E) snd_sof(E) coretemp(E) snd_soc_hdac_hda(E) ath10k_core(E) snd_hda_ext_core(E) ath(E) snd_hda_codec_realtek(E) k
vm_intel(E) sha512_ssse3(E) snd_soc_acpi_intel_match(E) snd_soc_acpi(E) snd_hda_codec_generic(E) sha512_generic(E) mac80211(E) snd_soc_core(E) kvm(E) snd_compress(E) libarc4(E) irqbypass(E)
Mar 31 15:31:32 dell kernel: [440125.272836]  soundwire_bus(E) drbg(E) ledtrig_audio(E) nls_ascii(E) ansi_cprng(E) nls_cp437(E) cfg80211(E) rapl(E) snd_hda_intel(E) intel_cstate(E) vfat(E) snd_intel_dspcfg(E) sn
d_intel_sdw_acpi(E) fat(E) dell_wmi(E) ecdh_generic(E) intel_uncore(E) pcspkr(E) snd_hda_codec(E) dell_smbios(E) dcdbas(E) serio_raw(E) efi_pstore(E) snd_hda_core(E) uvcvideo(E) snd_hwdep(E) dell_wmi_sysman(E) v
ideobuf2_vmalloc(E) firmware_attributes_class(E) snd_pcm(E) videobuf2_memops(E) iTCO_wdt(E) dell_wmi_descriptor(E) videobuf2_v4l2(E) snd_timer(E) intel_pmc_bxt(E) intel_wmi_thunderbolt(E) wmi_bmof(E) videobuf2_c
ommon(E) snd(E) iTCO_vendor_support(E) processor_thermal_device_pci_legacy(E) soundcore(E) watchdog(E) ee1004(E) processor_thermal_device(E) videodev(E) processor_thermal_rfim(E) mei_me(E) processor_thermal_mbox
(E) processor_thermal_rapl(E) joydev(E) mc(E) ecc(E) intel_rapl_common(E) rfkill(E) hid_multitouch(E) sg(E) mei(E) intel_soc_dts_iosf(E) int3403_thermal(E) int340x_thermal_zone(E)
Mar 31 15:31:32 dell kernel: [440125.272889]  int3400_thermal(E) intel_pmc_core(E) intel_hid(E) acpi_thermal_rel(E) evdev(E) sparse_keymap(E) ac(E) acpi_pad(E) acpi_tad(E) msr(E) parport_pc(E) ppdev(E) lp(E) par
port(E) fuse(E) configfs(E) sunrpc(E) efivarfs(E) ip_tables(E) x_tables(E) autofs4(E) ext4(E) crc16(E) mbcache(E) jbd2(E) crc32c_generic(E) dm_crypt(E) dm_mod(E) usbhid(E) crc32_pclmul(E) sr_mod(E) crc32c_intel(
E) cdrom(E) hid_generic(E) sd_mod(E) ghash_clmulni_intel(E) i915(E) nvme(E) ahci(E) i2c_algo_bit(E) xhci_pci(E) ttm(E) libahci(E) psmouse(E) aesni_intel(E) crypto_simd(E) xhci_hcd(E) cryptd(E) libata(E) r8169(E)
 nvme_core(E) realtek(E) t10_pi(E) drm_kms_helper(E) usbcore(E) mdio_devres(E) crc_t10dif(E) scsi_mod(E) crct10dif_generic(E) cec(E) i2c_hid_acpi(E) i2c_hid(E) rc_core(E) i2c_i801(E) crct10dif_pclmul(E) libphy(E
) i2c_smbus(E) intel_lpss_pci(E) crct10dif_common(E) usb_common(E) intel_lpss(E) scsi_common(E) idma64(E) drm(E) fan(E) wmi(E) battery(E) hid(E) video(E) button(E)
Mar 31 15:31:32 dell kernel: [440125.272924] CPU: 1 PID: 254476 Comm: bash Tainted: G     U      E     5.16.0-0.bpo.3-amd64 #1  Debian 5.16.11-1~bpo11+1
Mar 31 15:31:32 dell kernel: [440125.272926] Hardware name: Dell Inc. Inspiron 3793/0C1PF2, BIOS 1.5.0 12/17/2019
Mar 31 15:31:32 dell kernel: [440125.272927] RIP: 0010:__sta_info_destroy_part2+0x130/0x160 [mac80211]
Mar 31 15:31:32 dell kernel: [440125.272943] Code: bd 1c 01 00 00 00 0f 84 72 ff ff ff 45 31 c0 b9 01 00 00 00 48 89 ea 48 89 de 4c 89 e7 e8 38 a4 ff ff 85 c0 0f 84 54 ff ff ff <0f> 0b e9 4d ff ff ff be 03 00 00
 00 48 89 ef e8 3c e6 ff ff 85 c0
Mar 31 15:31:32 dell kernel: [440125.272945] RSP: 0018:ffffa32cc66f77b8 EFLAGS: 00010282
Mar 31 15:31:32 dell kernel: [440125.272946] RAX: 00000000ffffff94 RBX: ffff8ee2ca1c0980 RCX: 0000000000000000
Mar 31 15:31:32 dell kernel: [440125.272947] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff8ee2e1eb35a8
Mar 31 15:31:32 dell kernel: [440125.272948] RBP: ffff8ee2c525c000 R08: 0000000000000000 R09: ffff8ee5ce49a24c
Mar 31 15:31:32 dell kernel: [440125.272949] R10: 0000000000000000 R11: ffff8ee2e1eb2e10 R12: ffff8ee2e1eb0840
Mar 31 15:31:32 dell kernel: [440125.272949] R13: 0000000000000000 R14: ffff8ee2e1eb0f78 R15: ffff8ee2e1eb0f78
Mar 31 15:31:32 dell kernel: [440125.272950] FS:  00007f59e20a9740(0000) GS:ffff8ee63f640000(0000) knlGS:0000000000000000
Mar 31 15:31:32 dell kernel: [440125.272951] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Mar 31 15:31:32 dell kernel: [440125.272952] CR2: 00007f3090738000 CR3: 000000012132e003 CR4: 0000000000770ee0
Mar 31 15:31:32 dell kernel: [440125.272953] PKRU: 55555554
Mar 31 15:31:32 dell kernel: [440125.272954] Call Trace:
[…]
Mar 31 15:31:42 dell kernel: [440135.066544] ath10k_pci 0000:02:00.0: failed to read device register, device is gone
^@^@^@^@^@^@^@^@^@^@^@^@^@^[…ça continue, signe de la perte de mes traces précédentes…]
[puis le reboot]

La prochaine fois j'essaie le rmmod + modprobe.

-- 
Daniel

Les hommes naissent libres et égaux en droits,
ensuite ils se mettent à boire.
Cavanna


Reply to: