Crash de Ubuntu quand on lance le WIFI ( MacBook Air )
-
Sauvegarde de blacklist :
# cat /etc/modprobe.d/blacklist.conf | grep -v "#" | grep -v "^$" blacklist ssb blacklist b43 blacklist evbug blacklist usbmouse blacklist usbkbd blacklist eepro100 blacklist de4x5 blacklist eth1394 blacklist snd_intel8x0m blacklist snd_aw2 blacklist prism54 blacklist bcm43xx blacklist garmin_gps blacklist asus_acpi blacklist snd_pcsp blacklist pcspkr blacklist amd76x_edac `` -
Un exemple de crash :
[ 17.660363] ------------[ cut here ]------------ [ 17.660370] memcpy: detected field-spanning write (size 170) of single field "dst" at src/wl/sys/wl_cfg80211_hybrid.c:3080 (size 0) [ 17.660405] WARNING: CPU: 0 PID: 648 at src/wl/sys/wl_cfg80211_hybrid.c:3080 wl_inform_single_bss+0x268/0x5b0 [wl] [ 17.660497] Modules linked in: rfcomm snd_seq_dummy snd_hrtimer qrtr cmac algif_hash algif_skcipher af_alg bnep snd_hda_codec_hdmi snd_hda_codec_cirrus snd_hda_codec_generic intel_rapl_msr intel_rapl_common x86_pkg_temp_thermal intel_powerclamp coretemp snd_hda_intel snd_intel_dspcfg kvm_intel snd_intel_sdw_acpi snd_hda_codec snd_hda_core snd_hwdep kvm snd_pcm irqbypass snd_seq_midi polyval_clmulni polyval_generic snd_seq_midi_event ghash_clmulni_intel sha256_ssse3 snd_rawmidi sha1_ssse3 btusb aesni_intel snd_seq btrtl crypto_simd btintel i2c_i801 cryptd btbcm snd_seq_device i2c_smbus rapl mei_hdcp mei_pxp applesmc wl(POE) btmtk snd_timer joydev i2c_mux intel_cstate bluetooth binfmt_misc i915 cfg80211 lpc_ich snd sbs nls_iso8859_1 soundcore drm_buddy sbshc ttm acpi_als industrialio_triggered_buffer drm_display_helper kfifo_buf cec industrialio rc_core mei_me bcm5974 i2c_algo_bit mei input_leds apple_mfi_fastcharge mac_hid sch_fq_codel msr parport_pc ppdev lp parport efi_pstore nfnetlink dmi_sysfs ip_tables x_tables [ 17.660592] autofs4 hid_apple hid_logitech_hidpp hid_logitech_dj hid_generic usbhid hid ahci libahci video wmi [ 17.660607] CPU: 0 UID: 0 PID: 648 Comm: wl_event_handle Tainted: P OE 6.14.0-35-generic #35~24.04.1-Ubuntu [ 17.660612] Tainted: [P]=PROPRIETARY_MODULE, [O]=OOT_MODULE, [E]=UNSIGNED_MODULE [ 17.660614] Hardware name: Apple Inc. MacBookAir4,1/Mac-C08A6BB70A942AC2, BIOS 135.0.0.0.0 06/14/2019 [ 17.660617] RIP: 0010:wl_inform_single_bss+0x268/0x5b0 [wl] [ 17.660695] Code: 01 0f 85 38 ff ff ff 31 c9 48 c7 c2 18 24 48 c1 4c 89 ee 4c 89 5d 88 48 c7 c7 70 23 48 c1 c6 05 c2 bf 15 00 01 e8 68 8d fa cb <0f> 0b 4c 8b 5d 88 e9 0a ff ff ff f6 05 a6 bf 15 00 04 75 0a bb f9 [ 17.660699] RSP: 0018:ffffd182407f3d70 EFLAGS: 00010246 [ 17.660702] RAX: 0000000000000000 RBX: ffff89ce4bf6800c RCX: 0000000000000000 [ 17.660705] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 [ 17.660706] RBP: ffffd182407f3e08 R08: 0000000000000000 R09: 0000000000000000 [ 17.660708] R10: 0000000000000000 R11: 0000000000000000 R12: ffff89ce40200000 [ 17.660710] R13: 00000000000000aa R14: ffff89ce46ae2920 R15: 00000000000000aa [ 17.660713] FS: 0000000000000000(0000) GS:ffff89ceaba00000(0000) knlGS:0000000000000000 [ 17.660715] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 17.660718] CR2: 00006074395f8ad0 CR3: 0000000156e40004 CR4: 00000000000626f0 [ 17.660720] Call Trace: [ 17.660723] <TASK> [ 17.660726] ? wlc_set_ratetable+0x2ce/0x3e2 [wl] [ 17.660795] ? wlc_ioctl_internal+0xbc/0x170 [wl] [ 17.660874] wl_notify_scan_status+0x230/0x360 [wl] [ 17.660952] wl_event_handler+0x7b/0x240 [wl] [ 17.661028] ? __pfx_wl_event_handler+0x10/0x10 [wl] [ 17.661105] kthread+0xfe/0x230 [ 17.661110] ? __pfx_kthread+0x10/0x10 [ 17.661113] ret_from_fork+0x47/0x70 [ 17.661116] ? __pfx_kthread+0x10/0x10 [ 17.661119] ret_from_fork_asm+0x1a/0x30 [ 17.661126] </TASK> [ 17.661127] ---[ end trace 0000000000000000 ]--- -
Voir : https://forums.linuxmint.com/viewtopic.php?t=454647 :
# lspci -nnk | grep -iA3 net 02:00.0 Network controller [0280]: Broadcom Inc. and subsidiaries BCM43224 802.11a/b/g/n [14e4:4353] (rev 01) Subsystem: Apple Inc. AirPort Extreme [106b:00e9] Kernel driver in use: wl Kernel modules: bcma, wl -
Dans /etc/default/grub
GRUB_DEFAULT=0 GRUB_TIMEOUT_STYLE=hidden GRUB_TIMEOUT=0 GRUB_DISTRIBUTOR=`( . /etc/os-release; echo ${NAME:-Ubuntu} ) 2>/dev/null || echo Ubuntu` GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi=off" GRUB_CMDLINE_LINUX=""et après :
sudo update-grub -
Dans /etc/default/grub
GRUB_DEFAULT=0 GRUB_TIMEOUT_STYLE=hidden GRUB_TIMEOUT=0 GRUB_DISTRIBUTOR=`( . /etc/os-release; echo ${NAME:-Ubuntu} ) 2>/dev/null || echo Ubuntu` GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi=off" GRUB_CMDLINE_LINUX=""et après :
sudo update-grub@Kali a dit dans Crash de Ubuntu quand on lance le WIFI ( MacBook Air ) :
acpi=off
Crash après la mise en place de acpi=off , incompréhensible.
-
J’ai pas lancé la commande :
$ ubuntu-drivers devices
c’est mieux que lspci -vvvIl faut aussi essayer “noapic” à la place de acpi=off .
Il faut essayer “nomodeset” à la place de acpi=off .
-
J’ai pas lancé la commande :
$ rfkill list all -
Pour le menu recovery il faut appuyer une fois sur ESC ou ALT.
noapic + nomodeset => Blocage.
noapic => Blocage. ( Boot long car DISABLE IRQ 11 ).C’est pas gagné.
-
Audit :
# lshw -C network *-network description: Network controller product: BCM43224 802.11a/b/g/n vendor: Broadcom Inc. and subsidiaries physical id: 0 bus info: pci@0000:02:00.0 version: 01 width: 64 bits clock: 33MHz capabilities: pm msi pciexpress bus_master cap_list configuration: driver=bcma-pci-bridge latency=0 resources: irq:17 memory:a0400000-a0403fff *-network description: Ethernet interface physical id: 6 bus info: usb@2:1.3 logical name: enx9cebe8ed414c serial: 9c:eb:e8:ed:41:4c size: 1Gbit/s capacity: 1Gbit/s capabilities: ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation configuration: autonegotiation=on broadcast=yes driver=r8152 driverversion=v1.12.13 duplex=full firmware=rtl8153a-3 v2 02/07/20 ip=10.3.2.69 link=yes multicast=yes port=MII speed=1Gbit/sAvec lspci :
02:00.0 Network controller: Broadcom Inc. and subsidiaries BCM43224 802.11a/b/g/n (rev 01) Subsystem: Apple Inc. AirPort Extreme Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx+ Latency: 0, Cache Line Size: 256 bytes Interrupt: pin A routed to IRQ 17 Region 0: Memory at a0400000 (64-bit, non-prefetchable) [size=16K] Capabilities: [40] Power Management version 3 Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+) Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=2 PME- Capabilities: [58] Vendor Specific Information: Len=78 <?> Capabilities: [48] MSI: Enable- Count=1/1 Maskable- 64bit+ Address: 0000000000000000 Data: 0000 Capabilities: [d0] Express (v1) Endpoint, MSI 00 DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <4us, L1 unlimited ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset- SlotPowerLimit 10W DevCtl: CorrErr+ NonFatalErr+ FatalErr+ UnsupReq+ RlxdOrd- ExtTag+ PhantFunc- AuxPwr- NoSnoop- MaxPayload 128 bytes, MaxReadReq 128 bytes DevSta: CorrErr+ NonFatalErr- FatalErr- UnsupReq- AuxPwr+ TransPend- LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Exit Latency L0s <4us, L1 <64us ClockPM+ Surprise- LLActRep+ BwNot- ASPMOptComp- LnkCtl: ASPM L0s L1 Enabled; RCB 64 bytes, Disabled- CommClk+ ExtSynch- ClockPM+ AutWidDis- BWInt- AutBWInt- LnkSta: Speed 2.5GT/s, Width x1 TrErr- Train- SlotClk+ DLActive+ BWMgmt- ABWMgmt- Capabilities: [100 v1] Advanced Error Reporting UESta: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol- UEMsk: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol- UESvrt: DLP+ SDES- TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol- CESta: RxErr+ BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr- CEMsk: RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr+ AERCap: First Error Pointer: 14, ECRCGenCap+ ECRCGenEn- ECRCChkCap+ ECRCChkEn- MultHdrRecCap- MultHdrRecEn- TLPPfxPres- HdrLogCap- HeaderLog: 00000000 00000000 00000000 00000000 Capabilities: [13c v1] Virtual Channel Caps: LPEVC=0 RefClk=100ns PATEntryBits=1 Arb: Fixed- WRR32- WRR64- WRR128- Ctrl: ArbSelect=Fixed Status: InProgress- VC0: Caps: PATOffset=00 MaxTimeSlots=1 RejSnoopTrans- Arb: Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256- Ctrl: Enable+ ID=0 ArbSelect=Fixed TC/VC=ff Status: NegoPending- InProgress- Capabilities: [160 v1] Device Serial Number fa-4a-f3-ff-ff-88-10-40 Capabilities: [16c v1] Power Budgeting <?> Kernel driver in use: bcma-pci-bridge Kernel modules: bcmaDrivers est UP :
# lsmod | grep bcma bcma 86016 0 # modinfo bcma filename: /lib/modules/6.14.0-35-generic/kernel/drivers/bcma/bcma.ko.zst license: GPL description: Broadcom's specific AMBA driver srcversion: 3DE20B36E9EAD3169CDBC6F -
Tentative de réinstallation :
# ubuntu-drivers devices udevadm hwdb is deprecated. Use systemd-hwdb instead. == /sys/devices/pci0000:00/0000:00:1c.1/0000:02:00.0 == modalias : pci:v000014E4d00004353sv0000106Bsd000000E9bc02sc80i00 vendor : Broadcom Inc. and subsidiaries model : BCM43224 802.11a/b/g/n (AirPort Extreme) driver : broadcom-sta-dkms - third-party free # apt-get install broadcom-sta-dkms Reading package lists... Done Building dependency tree... Done Reading state information... Done broadcom-sta-dkms is already the newest version (6.30.223.271-23ubuntu1.2). 0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded. -
Rien dans rfkill :
# rfkill unblock wifi # rfkill list 0: hci0: Bluetooth Soft blocked: no Hard blocked: no -
Pas un problème de chargement de driver :
# modprobe -r iwlwifi # modprobe iwlwifi # nmcli device DEVICE TYPE STATE CONNECTION enx9cebe8ed414c ethernet connected Wired connection 1 lo loopback connected (externally) lo # modprobe -r bcma # modprobe bcma # nmcli device DEVICE TYPE STATE CONNECTION enx9cebe8ed414c ethernet connected Wired connection 1 lo loopback connected (externally) lo -
Grub :
GRUB_DEFAULT=0 GRUB_TIMEOUT_STYLE=hidden GRUB_TIMEOUT=0 GRUB_DISTRIBUTOR=`( . /etc/os-release; echo ${NAME:-Ubuntu} ) 2>/dev/null || echo Ubuntu` GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset pci=noaer" GRUB_CMDLINE_LINUX="" -
J’ai l’impression que le crash est après :
[ 11.505875] kernel: hdaudio hdaudioC0D3: Unable to configure, disabling [ 11.506648] kernel: input: HDA Intel PCH Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input8 [ 12.600422] kernel: r8152 3-1.3:1.0 enx9cebe8ed414c: carrier onQuand cela fonctionne il y a deux drivers : bcma, wl
02:00.0 Network controller: Broadcom Inc. and subsidiaries BCM43224 802.11a/b/g/n (rev 01) Subsystem: Apple Inc. AirPort Extreme Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0, Cache Line Size: 256 bytes Interrupt: pin A routed to IRQ 17 Region 0: Memory at a0400000 (64-bit, non-prefetchable) [size=16K] Capabilities: [40] Power Management version 3 Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+) Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=2 PME- Capabilities: [58] Vendor Specific Information: Len=78 <?> Capabilities: [48] MSI: Enable- Count=1/1 Maskable- 64bit+ Address: 0000000000000000 Data: 0000 Capabilities: [d0] Express (v1) Endpoint, MSI 00 DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <4us, L1 unlimited ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset- SlotPowerLimit 10W DevCtl: CorrErr+ NonFatalErr+ FatalErr+ UnsupReq+ RlxdOrd- ExtTag+ PhantFunc- AuxPwr- NoSnoop- MaxPayload 128 bytes, MaxReadReq 128 bytes DevSta: CorrErr+ NonFatalErr- FatalErr- UnsupReq- AuxPwr+ TransPend- LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Exit Latency L0s <4us, L1 <64us ClockPM+ Surprise- LLActRep+ BwNot- ASPMOptComp- LnkCtl: ASPM L0s L1 Enabled; RCB 64 bytes, Disabled- CommClk+ ExtSynch- ClockPM+ AutWidDis- BWInt- AutBWInt- LnkSta: Speed 2.5GT/s, Width x1 TrErr- Train- SlotClk+ DLActive+ BWMgmt- ABWMgmt- Capabilities: [100 v1] Advanced Error Reporting UESta: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol- UEMsk: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol- UESvrt: DLP+ SDES- TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol- CESta: RxErr+ BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr- CEMsk: RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr+ AERCap: First Error Pointer: 14, ECRCGenCap+ ECRCGenEn- ECRCChkCap+ ECRCChkEn- MultHdrRecCap- MultHdrRecEn- TLPPfxPres- HdrLogCap- HeaderLog: 00000000 00000000 00000000 00000000 Capabilities: [13c v1] Virtual Channel Caps: LPEVC=0 RefClk=100ns PATEntryBits=1 Arb: Fixed- WRR32- WRR64- WRR128- Ctrl: ArbSelect=Fixed Status: InProgress- VC0: Caps: PATOffset=00 MaxTimeSlots=1 RejSnoopTrans- Arb: Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256- Ctrl: Enable+ ID=0 ArbSelect=Fixed TC/VC=ff Status: NegoPending- InProgress- Capabilities: [160 v1] Device Serial Number fa-4a-f3-ff-ff-88-10-40 Capabilities: [16c v1] Power Budgeting <?> Kernel driver in use: wl Kernel modules: bcma, wl -
J’ai ajouté un fichier … je vais tester :
# cat /etc/modules-load.d/wifi.conf bcma wl -
Cela semble fonctionner après 3 reboot.
Bonjour ! Vous semblez intéressé par cette conversation, mais vous n’avez pas encore de compte.
Marre de refaire défiler les mêmes messages ? Créez un compte pour retrouver votre position, recevoir des notifications des nouvelles réponses, sauvegarder vos favoris et voter pour les messages que vous appréciez.
Grâce à votre participation, ce message peut devenir encore meilleur 💗
S'inscrire Se connecter