#1146149 firmware-mediatek: [Mediatek MT7663] Failed to get patch semaphore / failed to load mediatek/mt7663pr2h_rebb.bin

#1146149#5
Date:
2026-08-30 10:06:28 UTC
From:
To:
Dear Maintainer,

Since upgrading to Debian 13 (trixie), I get the following messages during boot (this wasn't the case in Bookworm):

dmesg | grep mt
[    0.050517] Performance Events: PEBS fmt4+-baseline,  AnyThread deprecated, Icelake events, 32-deep LBR, full-width counters, Intel PMU driver.
[    3.529760] systemd[1]: Set up automount proc-sys-fs-binfmt_misc.automount - Arbitrary Executable File Formats File System Automount Point.
[    4.122709] mt7615e 0000:02:00.0: enabling device (0000 -> 0002)
[    4.126183] mt7615e 0000:02:00.0: registering led 'mt76-phy0'
[    4.156748] mt7615e 0000:02:00.0 wlp2s0: renamed from wlan0
[    4.174824] mt7615e 0000:02:00.0: Failed to get patch semaphore
[    4.176460] mt7615e 0000:02:00.0: mediatek/mt7663pr2h.bin not found, switching to mediatek/mt7663pr2h_rebb.bin
[    4.177359] mt7615e 0000:02:00.0: Failed to get patch semaphore
[    4.178432] mt7615e 0000:02:00.0: failed to load mediatek/mt7663pr2h_rebb.bin
[    4.383721] mt7615e 0000:02:00.0: Failed to get patch semaphore
[    4.383723] mt7615e 0000:02:00.0: mediatek/mt7663pr2h.bin not found, switching to mediatek/mt7663pr2h_rebb.bin
[    4.384719] mt7615e 0000:02:00.0: Failed to get patch semaphore
[    4.385796] mt7615e 0000:02:00.0: failed to load mediatek/mt7663pr2h_rebb.bin
[    4.587537] mt7615e 0000:02:00.0: Failed to get patch semaphore
[    4.588417] mt7615e 0000:02:00.0: mediatek/mt7663pr2h.bin not found, switching to mediatek/mt7663pr2h_rebb.bin
[    4.588718] mt7615e 0000:02:00.0: Failed to get patch semaphore
[    4.589679] mt7615e 0000:02:00.0: failed to load mediatek/mt7663pr2h_rebb.bin
[    4.795866] mt7615e 0000:02:00.0: Failed to get patch semaphore
[    4.796646] mt7615e 0000:02:00.0: mediatek/mt7663pr2h.bin not found, switching to mediatek/mt7663pr2h_rebb.bin
[    4.797097] mt7615e 0000:02:00.0: Failed to get patch semaphore
[    4.798396] mt7615e 0000:02:00.0: failed to load mediatek/mt7663pr2h_rebb.bin
[    5.006850] mt7615e 0000:02:00.0: Failed to get patch semaphore
[    5.006852] mt7615e 0000:02:00.0: mediatek/mt7663pr2h.bin not found, switching to mediatek/mt7663pr2h_rebb.bin
[    5.007108] mt7615e 0000:02:00.0: Failed to get patch semaphore
[    5.007113] mt7615e 0000:02:00.0: failed to load mediatek/mt7663pr2h_rebb.bin
[    5.251434] mt7615e 0000:02:00.0: N9 Firmware Version: 3.1.1, Build Time: 20200604161656
[    5.251437] mt7615e 0000:02:00.0: Region number: 0x4
[    5.251438] mt7615e 0000:02:00.0: Parsing tailer Region: 0
[    5.330622] mt7615e 0000:02:00.0: Region 0, override_addr = 0x00118000
[    5.330625] mt7615e 0000:02:00.0: Parsing tailer Region: 1
[    5.393379] mt7615e 0000:02:00.0: Parsing tailer Region: 2
[    5.398134] mt7615e 0000:02:00.0: Parsing tailer Region: 3
[    5.399884] mt7615e 0000:02:00.0: override_addr = 0x00118000, option = 3

I have both WiFi and Bluetooth connectivity. But sometimes, while browsing on firefox esr without any particular load on the system, the whole system freezes and I lose both WiFi and Bluetooth.
Upgrading the drivers and kernel with backports haven't solve the issue.

I know my internet router tries to negociate WPA2 and WPA3 at the same time if the device is compatible. This device always uses WPA2 -despite being compatible with WPA3.

Please find below further information about my system:

lspci | grep -i mediatek
0000:02:00.0 Network controller: MEDIATEK Corp. MT7663 802.11ac PCI Express Wireless Network Adapter

sudo modinfo mt7615e
filename:       /lib/modules/6.12.107+deb13-amd64/kernel/drivers/net/wireless/mediatek/mt76/mt7615/mt7615e.ko.xz
firmware:       mediatek/mt7663pr2h_rebb.bin
firmware:       mediatek/mt7663_n9_rebb.bin
firmware:       mediatek/mt7663pr2h.bin
firmware:       mediatek/mt7663_n9_v3.bin
firmware:       mediatek/mt7615_rom_patch.bin
firmware:       mediatek/mt7615_n9.bin
firmware:       mediatek/mt7615_cr4.bin
license:        Dual BSD/GPL
description:    MediaTek MT7615E MMIO helpers
alias:          pci:v000014C3d00007611sv*sd*bc*sc*i*
alias:          pci:v000014C3d00007663sv*sd*bc*sc*i*
alias:          pci:v000014C3d00007615sv*sd*bc*sc*i*
depends:        mt76-connac-lib,mt7615-common,mt76,mac80211
intree:         Y
name:           mt7615e
retpoline:      Y
vermagic:       6.12.107+deb13-amd64 SMP preempt mod_unload modversions
sig_id:         PKCS#7
signer:         Build time autogenerated kernel key
sig_key:        21:AA:E9:3D:63:8F:53:3C:3F:5C:B6:AF:2C:11:EC:58:08:82:05:52
sig_hashalgo:   sha256
signature:      30:65:02:30:00:C1:9A:DF:88:4C:D1:53:14:3A:60:65:FE:80:7E:23:
		5E:C9:34:46:D9:DB:68:7C:F9:5C:7D:C9:63:EF:AC:C5:05:A7:15:C2:
		4B:7D:7D:4E:88:E8:A7:8F:69:96:E3:D3:02:31:00:A2:06:85:3D:96:
		CC:CA:AD:95:38:77:91:A6:2F:5F:E0:42:C8:C0:77:E3:7E:14:B9:58:
		92:4F:A3:EF:9C:F0:38:B1:53:8C:71:E7:F6:3F:14:16:F3:7F:85:E5:
		5E:8C:67

Thanks for your help.

Best regards,

#1146149#10
Date:
2026-09-01 19:18:09 UTC
From:
To:
Dear Maintainer,

Sadly, I encountered yet again the global freeze of the system (firefox-esr, task manager, network, bluetooth, dmesg...).
I can confirm this bug occurs when using LTS and backported kernel + drivers.

I managed to extract the following logs:

sudo dmesg | grep -i mt
[    0.000017] MTRR map: 5 entries (3 fixed + 2 variable; max 23), built from 10 variable MTRRs
[    0.008274] ACPI: WSMT 0x0000000044BE9000 000028 (v01 ACRSYS ACRPRDCT 00000002 1025 00040000)
[    0.008318] ACPI: Reserving WSMT table memory at [mem 0x44be9000-0x44be9027]
[    0.048143] mitigations: Enabled attack vectors: user_kernel, user_user, guest_host, guest_guest, SMT mitigations: auto
[    0.051994] Performance Events: PEBS fmt4+-baseline,  AnyThread deprecated, Icelake events, 32-deep LBR, full-width counters, Intel PMU driver.
[    2.664517] systemd[1]: Set up automount proc-sys-fs-binfmt_misc.automount - Arbitrary Executable File Formats File System Automount Point.
[    3.214370] mt7615e 0000:02:00.0: enabling device (0000 -> 0002)
[    3.214644] mt7615e 0000:02:00.0: disabling ASPM L0s L1
[    3.222138] mt7615e 0000:02:00.0: registering led 'mt76-phy0'
[    3.238008] mt7615e 0000:02:00.0 wlp2s0: renamed from wlan0
[    3.254887] mt7615e 0000:02:00.0: Failed to get patch semaphore
[    3.255725] mt7615e 0000:02:00.0: mediatek/mt7663pr2h.bin not found, switching to mediatek/mt7663pr2h_rebb.bin
[    3.256687] mt7615e 0000:02:00.0: Failed to get patch semaphore
[    3.257571] mt7615e 0000:02:00.0: failed to load mediatek/mt7663pr2h_rebb.bin
[    3.458847] mt7615e 0000:02:00.0: Failed to get patch semaphore
[    3.459630] mt7615e 0000:02:00.0: mediatek/mt7663pr2h.bin not found, switching to mediatek/mt7663pr2h_rebb.bin
[    3.459938] mt7615e 0000:02:00.0: Failed to get patch semaphore
[    3.460718] mt7615e 0000:02:00.0: failed to load mediatek/mt7663pr2h_rebb.bin
[    3.666845] mt7615e 0000:02:00.0: Failed to get patch semaphore
[    3.667591] mt7615e 0000:02:00.0: mediatek/mt7663pr2h.bin not found, switching to mediatek/mt7663pr2h_rebb.bin
[    3.667834] mt7615e 0000:02:00.0: Failed to get patch semaphore
[    3.668576] mt7615e 0000:02:00.0: failed to load mediatek/mt7663pr2h_rebb.bin
[    3.871050] mt7615e 0000:02:00.0: Failed to get patch semaphore
[    3.871054] mt7615e 0000:02:00.0: mediatek/mt7663pr2h.bin not found, switching to mediatek/mt7663pr2h_rebb.bin
[    3.871380] mt7615e 0000:02:00.0: Failed to get patch semaphore
[    3.872343] mt7615e 0000:02:00.0: failed to load mediatek/mt7663pr2h_rebb.bin
[    4.078973] mt7615e 0000:02:00.0: Failed to get patch semaphore
[    4.078977] mt7615e 0000:02:00.0: mediatek/mt7663pr2h.bin not found, switching to mediatek/mt7663pr2h_rebb.bin
[    4.079352] mt7615e 0000:02:00.0: Failed to get patch semaphore
[    4.079362] mt7615e 0000:02:00.0: failed to load mediatek/mt7663pr2h_rebb.bin
[    4.325545] mt7615e 0000:02:00.0: N9 Firmware Version: 3.1.1, Build Time: 20200604161656
[    4.325548] mt7615e 0000:02:00.0: Region number: 0x4
[    4.325549] mt7615e 0000:02:00.0: Parsing tailer Region: 0
[    4.326465] mt7615e 0000:02:00.0: Region 0, override_addr = 0x00118000
[    4.326467] mt7615e 0000:02:00.0: Parsing tailer Region: 1
[    4.333245] mt7615e 0000:02:00.0: Parsing tailer Region: 2
[    4.335459] mt7615e 0000:02:00.0: Parsing tailer Region: 3
[    4.338895] mt7615e 0000:02:00.0: override_addr = 0x00118000, option = 3
[    4.662227] Bluetooth: MGMT ver 1.23
[ 7368.579633] mt7615e 0000:02:00.0: Message 00020003 (seq 6) timeout
[ 7389.059387] mt7615e 0000:02:00.0: Message 00020003 (seq 7) timeout
[ 7389.059632] Modules linked in: tun uinput snd_seq_dummy snd_hrtimer snd_seq snd_seq_device xt_MASQUERADE bridge stp llc xfrm_user xfrm_algo xt_set ip_set nft_chain_nat nf_nat ccm xt_multiport xt_cgroup xt_mark xt_owner overlay rfcomm algif_hash algif_skcipher af_alg ip6t_REJECT nf_reject_ipv6 xt_hl ip6t_rt bnep ipt_REJECT nf_reject_ipv4 xt_LOG nf_log_syslog nft_limit xt_limit xt_addrtype xt_tcpudp xt_conntrack nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nft_compat nf_tables binfmt_misc nls_ascii nls_cp437 vfat fat snd_ctl_led snd_soc_skl_hda_dsp snd_soc_intel_sof_board_helpers snd_sof_probes snd_soc_intel_hda_dsp_common snd_hda_codec_intelhdmi snd_hda_codec_hdmi snd_hda_codec_alc269 snd_hda_codec_realtek_lib snd_hda_scodec_component snd_hda_codec_generic snd_soc_dmic snd_hda_intel snd_sof_pci_intel_tgl snd_sof_pci_intel_cnl snd_sof_intel_hda_generic soundwire_intel snd_sof_intel_hda_sdw_bpt snd_sof_intel_hda_common snd_soc_hdac_hda snd_sof_intel_hda_mlink snd_sof_intel_hda soundwire_cadence snd_sof_pci
[ 7389.059722]  snd_sof_xtensa_dsp snd_sof snd_sof_utils snd_soc_acpi_intel_match snd_soc_acpi_intel_sdca_quirks soundwire_generic_allocation snd_soc_sdw_utils intel_rapl_msr snd_soc_acpi intel_rapl_common crc8 soundwire_bus intel_uncore_frequency intel_uncore_frequency_common snd_soc_sdca x86_pkg_temp_thermal intel_powerclamp coretemp snd_soc_avs mt7615e snd_soc_hda_codec kvm_intel mt7615_common snd_hda_ext_core snd_hda_codec btusb mt76_connac_lib mt76 snd_hda_core btmtk snd_intel_dspcfg kvm btrtl snd_intel_sdw_acpi mac80211 btbcm snd_hwdep btintel uvcvideo snd_soc_core bluetooth videobuf2_vmalloc irqbypass uvc snd_compress videobuf2_memops aesni_intel videobuf2_v4l2 snd_pcm_dmaengine gf128mul videodev snd_pcm rapl mei_hdcp cfg80211 mei_pxp ecdh_generic intel_cstate videobuf2_common snd_timer mc intel_uncore acer_wmi snd mei_me rfkill pcspkr wmi_bmof soundcore libarc4 ee1004 mei intel_pmc_core pmt_telemetry ac pmt_discovery intel_hid pmt_class intel_pmc_ssram_telemetry acpi_pad sparse_keymap acer_wireless igen6_edac sg
[ 7409.539105] mt7615e 0000:02:00.0: Message 00020003 (seq 8) timeout
[ 7409.539316] Modules linked in: tun uinput snd_seq_dummy snd_hrtimer snd_seq snd_seq_device xt_MASQUERADE bridge stp llc xfrm_user xfrm_algo xt_set ip_set nft_chain_nat nf_nat ccm xt_multiport xt_cgroup xt_mark xt_owner overlay rfcomm algif_hash algif_skcipher af_alg ip6t_REJECT nf_reject_ipv6 xt_hl ip6t_rt bnep ipt_REJECT nf_reject_ipv4 xt_LOG nf_log_syslog nft_limit xt_limit xt_addrtype xt_tcpudp xt_conntrack nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nft_compat nf_tables binfmt_misc nls_ascii nls_cp437 vfat fat snd_ctl_led snd_soc_skl_hda_dsp snd_soc_intel_sof_board_helpers snd_sof_probes snd_soc_intel_hda_dsp_common snd_hda_codec_intelhdmi snd_hda_codec_hdmi snd_hda_codec_alc269 snd_hda_codec_realtek_lib snd_hda_scodec_component snd_hda_codec_generic snd_soc_dmic snd_hda_intel snd_sof_pci_intel_tgl snd_sof_pci_intel_cnl snd_sof_intel_hda_generic soundwire_intel snd_sof_intel_hda_sdw_bpt snd_sof_intel_hda_common snd_soc_hdac_hda snd_sof_intel_hda_mlink snd_sof_intel_hda soundwire_cadence snd_sof_pci
[ 7409.539406]  snd_sof_xtensa_dsp snd_sof snd_sof_utils snd_soc_acpi_intel_match snd_soc_acpi_intel_sdca_quirks soundwire_generic_allocation snd_soc_sdw_utils intel_rapl_msr snd_soc_acpi intel_rapl_common crc8 soundwire_bus intel_uncore_frequency intel_uncore_frequency_common snd_soc_sdca x86_pkg_temp_thermal intel_powerclamp coretemp snd_soc_avs mt7615e snd_soc_hda_codec kvm_intel mt7615_common snd_hda_ext_core snd_hda_codec btusb mt76_connac_lib mt76 snd_hda_core btmtk snd_intel_dspcfg kvm btrtl snd_intel_sdw_acpi mac80211 btbcm snd_hwdep btintel uvcvideo snd_soc_core bluetooth videobuf2_vmalloc irqbypass uvc snd_compress videobuf2_memops aesni_intel videobuf2_v4l2 snd_pcm_dmaengine gf128mul videodev snd_pcm rapl mei_hdcp cfg80211 mei_pxp ecdh_generic intel_cstate videobuf2_common snd_timer mc intel_uncore acer_wmi snd mei_me rfkill pcspkr wmi_bmof soundcore libarc4 ee1004 mei intel_pmc_core pmt_telemetry ac pmt_discovery intel_hid pmt_class intel_pmc_ssram_telemetry acpi_pad sparse_keymap acer_wireless igen6_edac sg
[ 7430.018859] mt7615e 0000:02:00.0: Message 00020003 (seq 9) timeout
[ 7430.019082] Modules linked in: tun uinput snd_seq_dummy snd_hrtimer snd_seq snd_seq_device xt_MASQUERADE bridge stp llc xfrm_user xfrm_algo xt_set ip_set nft_chain_nat nf_nat ccm xt_multiport xt_cgroup xt_mark xt_owner overlay rfcomm algif_hash algif_skcipher af_alg ip6t_REJECT nf_reject_ipv6 xt_hl ip6t_rt bnep ipt_REJECT nf_reject_ipv4 xt_LOG nf_log_syslog nft_limit xt_limit xt_addrtype xt_tcpudp xt_conntrack nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nft_compat nf_tables binfmt_misc nls_ascii nls_cp437 vfat fat snd_ctl_led snd_soc_skl_hda_dsp snd_soc_intel_sof_board_helpers snd_sof_probes snd_soc_intel_hda_dsp_common snd_hda_codec_intelhdmi snd_hda_codec_hdmi snd_hda_codec_alc269 snd_hda_codec_realtek_lib snd_hda_scodec_component snd_hda_codec_generic snd_soc_dmic snd_hda_intel snd_sof_pci_intel_tgl snd_sof_pci_intel_cnl snd_sof_intel_hda_generic soundwire_intel snd_sof_intel_hda_sdw_bpt snd_sof_intel_hda_common snd_soc_hdac_hda snd_sof_intel_hda_mlink snd_sof_intel_hda soundwire_cadence snd_sof_pci
[ 7430.019172]  snd_sof_xtensa_dsp snd_sof snd_sof_utils snd_soc_acpi_intel_match snd_soc_acpi_intel_sdca_quirks soundwire_generic_allocation snd_soc_sdw_utils intel_rapl_msr snd_soc_acpi intel_rapl_common crc8 soundwire_bus intel_uncore_frequency intel_uncore_frequency_common snd_soc_sdca x86_pkg_temp_thermal intel_powerclamp coretemp snd_soc_avs mt7615e snd_soc_hda_codec kvm_intel mt7615_common snd_hda_ext_core snd_hda_codec btusb mt76_connac_lib mt76 snd_hda_core btmtk snd_intel_dspcfg kvm btrtl snd_intel_sdw_acpi mac80211 btbcm snd_hwdep btintel uvcvideo snd_soc_core bluetooth videobuf2_vmalloc irqbypass uvc snd_compress videobuf2_memops aesni_intel videobuf2_v4l2 snd_pcm_dmaengine gf128mul videodev snd_pcm rapl mei_hdcp cfg80211 mei_pxp ecdh_generic intel_cstate videobuf2_common snd_timer mc intel_uncore acer_wmi snd mei_me rfkill pcspkr wmi_bmof soundcore libarc4 ee1004 mei intel_pmc_core pmt_telemetry ac pmt_discovery intel_hid pmt_class intel_pmc_ssram_telemetry acpi_pad sparse_keymap acer_wireless igen6_edac sg
[ 7450.498582] mt7615e 0000:02:00.0: Message 00020003 (seq 10) timeout
[ 7470.978354] mt7615e 0000:02:00.0: Message 00020003 (seq 11) timeout
[ 7491.458099] mt7615e 0000:02:00.0: Message 00020002 (seq 12) timeout
[ 7511.937766] mt7615e 0000:02:00.0: Message 00003eed (seq 13) timeout
[ 7532.417485] mt7615e 0000:02:00.0: Message 00020006 (seq 14) timeout
[ 7552.897215] mt7615e 0000:02:00.0: Message 000027ed (seq 2) timeout
[ 7571.329589]  mt76_mcu_get_response.part.0+0xef/0x110 [mt76]
[ 7571.329613]  mt76_mcu_skb_send_and_get_msg+0x166/0x2d0 [mt76]
[ 7571.329629]  mt7615_mcu_set_wmm+0x9b/0xc0 [mt7615_common]
[ 7571.329642]  mt7615_conf_tx+0x76/0xd0 [mt7615_common]
[ 7573.376991] mt7615e 0000:02:00.0: Message 000027ed (seq 3) timeout
[ 7593.856618] mt7615e 0000:02:00.0: Message 000027ed (seq 4) timeout
[ 7614.336463] mt7615e 0000:02:00.0: Message 000027ed (seq 5) timeout
[ 7634.816202] mt7615e 0000:02:00.0: Message 000008ed (seq 6) timeout
[ 7655.295889] mt7615e 0000:02:00.0: Message 000500c0 (seq 10) timeout
[ 7675.775577] mt7615e 0000:02:00.0: Message 000500c0 (seq 12) timeout
[ 7696.255222] mt7615e 0000:02:00.0: Message 000500c0 (seq 14) timeout
[ 7716.735132] mt7615e 0000:02:00.0: Message 000500c0 (seq 1) timeout

Thanks again for your help.

Best regards,