
| Msg # 54 of 1332 on ZZLI4424, Sunday 9-06-25, 12:54 |
| From: ENRIQUE CARRASCO |
| To: ALL |
| Subj: Bug#1114482: mtk_t7xx fails to open AT a |
XPost: linux.debian.bugs.dist From: enry.vwt3@gmail.com Package: src:linux Version: 6.12.41-1 Severity: normal X-Debbugs-Cc: enry.vwt3@gmail.com Dear Maintainer, I am experiencing an issue with the `mtk_t7xx` driver on Debian 13 (Trixie) using kernel 6.12.41+deb13-amd64, where the modem device fails to initialize properly. The kernel logs report that the AT and MBIM ports are not opened, and packets are being dropped: [ 10.332127] mtk_t7xx 0000:72:00.0: Port AT is not opened, drop packets [ 11.008331] mtk_t7xx 0000:72:00.0: Packet drop on channel 0x1004, port not found [ 11.163449] mtk_t7xx 0000:72:00.0: Port MBIM is not opened, drop packets [ 38.845861] mtk_t7xx 0000:72:00.0: Port MBIM is not opened, drop packets [ 38.845897] mtk_t7xx 0000:72:00.0: Port AT is not opened, drop packets This happens consistently at boot. The modem is detected, but the communication ports remain closed, preventing any cellular connection via MBIM or AT commands. The problem appears to be with port initialization in the driver. **System details**: - Debian GNU/Linux 13 (Trixie) - Kernel: 6.12.41+deb13-amd64 (#1 SMP PREEMPT_DYNAMIC Debian 6.12.41-1, built on 2025-08-12) - Architecture: x86_64 - Affected driver: `mtk_t7xx` - Affected hardware: MediaTek T7xx 5G modem (PCI device at 0000:72:00.0) **Expected behavior**: - Ports such as MBIM and AT should be initialized and usable after boot, allowing modem control and WWAN connections. **Additional context**: - A similar bug has been observed on Ubuntu, where the AT port failed to open at startup: https://bugs.launchpad.net/bugs/2049358 - There have also been related upstream issues and CVEs such as: - CVE-2024-39282: Fixes a race condition during driver shutdown - CVE-2024-35909: Fixes a misalignment bug on 64-bit systems - This issue seems related to device/port registration logic within `mtk_t7xx_pci_probe`. Please let me know if further debugging, logs (full dmesg or lspci), or testing patches would help. I would be happy to assist in reproducing or validating any fixes. Thank you for your work on Debian. Best regards, Enrique -- Package-specific info: ** Version: Linux version 6.12.41+deb13-amd64 (debian-kernel@lists.debian.org) (x86_64-linux-gnu-gcc-14 (Debian 14.2.0-19) 14.2.0, GNU ld (GNU Binutils for Debian) 2.44) #1 SMP PREEMPT_DYNAMIC Debian 6.12.41-1 (2025-08-12) ** Command line: BOOT_IMAGE=/boot/vmlinuz-6.12.41+deb13-amd64 root=UUID=71b35125- 27f-4cb2-86cf-79f5fadc937f ro quiet ** Not tainted ** Kernel log: [ 4.842342] input: HDA Intel PCH HDMI/DP,pcm=7 as /devices/pc 0000:00/0000:00:1f.3/sound/card0/input20 [ 4.842390] input: HDA Intel PCH HDMI/DP,pcm=8 as /devices/pc 0000:00/0000:00:1f.3/sound/card0/input21 [ 4.842437] input: HDA Intel PCH HDMI/DP,pcm=9 as /devices/pc 0000:00/0000:00:1f.3/sound/card0/input22 [ 4.869335] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [ 4.869340] Bluetooth: BNEP filters: protocol multicast [ 4.869344] Bluetooth: BNEP socket layer initialized [ 4.889337] iwlwifi 0000:00:14.3: base HW address: c4:3d:1a:63:7e:50 [ 4.904159] mtk_t7xx 0000:72:00.0: Packet drop on channel 0x1004, port not found [ 4.905002] mtk_t7xx 0000:72:00.0: Packet drop on channel 0x1012, port not found [ 4.996402] nvme nvme0: using unchecked data buffer [ 5.003242] block nvme0n1: No UUID available providing old NGUID [ 5.059434] NET: Registered PF_QIPCRTR protocol family [ 5.406942] iwlwifi 0000:00:14.3 wlp0s20f3: renamed from wlan0 [ 5.426753] show_signal: 114 callbacks suppressed [ 5.426756] traps: eg25-manager[1257] trap int3 ip:7f02ca8e5ab7 sp:7ffeb209c300 error:0 in libglib-2.0.so.0.8400.3[66ab7,7f02ca89e000+a1000] [ 5.618324] traps: eg25-manager[1268] trap int3 ip:7ff002b83ab7 sp:7fffdcb164e0 error:0 in libglib-2.0.so.0.8400.3[66ab7,7ff002b3c000+a1000] [ 5.749386] traps: eg25-manager[1273] trap int3 ip:7f8580047ab7 sp:7ffee862aea0 error:0 in libglib-2.0.so.0.8400.3[66ab7,7f8580000000+a1000] [ 5.952104] audit: type=1400 audit(1757115535.987:123): apparmor="DENIED" operation="open" class="file" profile="/usr/sbin/cupsd" name="/etc/paperspecs" pid=1283 comm="cupsd" requested_mask="r" denied_mask="r" fsuid=0 ouid=0 [ 6.042262] Bluetooth: hci0: Failed to send firmware data (-38) [ 6.042982] Bluetooth: hci0: Intel reset sent to retry FW download [ 6.045115] usb 3-10: USB disconnect, device number 3 [ 6.056146] audit: type=1400 audit(1757115536.091:124): apparmor="DENIED" operation="capable" class="cap" profile="/usr/sbin/cupsd" pid=1283 comm="cupsd" capability=12 capname="net_admin" [ 6.084834] iwlwifi 0000:00:14.3: WFPM_UMAC_PD_NOTIFICATION: 0x20 [ 6.084886] iwlwifi 0000:00:14.3: WFPM_LMAC2_PD_NOTIFICATION: 0x1f [ 6.084897] iwlwifi 0000:00:14.3: WFPM_AUTH_KEY_0: 0x90 [ 6.084907] iwlwifi 0000:00:14.3: CNVI_SCU_SEQ_DATA_DW9: 0x0 [ 6.085034] iwlwifi 0000:00:14.3: RFIm is deactivated, reason = 4 [ 6.180183] iwlwifi 0000:00:14.3: Registered PHC clock: iwlwifi-PTP, with index: 1 [ 6.405560] iwlwifi 0000:00:14.3: WFPM_UMAC_PD_NOTIFICATION: 0x20 [ 6.405613] iwlwifi 0000:00:14.3: WFPM_LMAC2_PD_NOTIFICATION: 0x1f [ 6.405621] iwlwifi 0000:00:14.3: WFPM_AUTH_KEY_0: 0x90 [ 6.405631] iwlwifi 0000:00:14.3: CNVI_SCU_SEQ_DATA_DW9: 0x0 [ 6.407201] iwlwifi 0000:00:14.3: RFIm is deactivated, reason = 4 [ 6.500283] usb 3-10: new full-speed USB device number 4 using xhci_hcd [ 6.645524] usb 3-10: New USB device found, idVendor=8087, idProduct=0033, bcdDevice= 0.00 [ 6.645530] usb 3-10: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 6.648790] Bluetooth: hci0: Device revision is 0 [ 6.648794] Bluetooth: hci0: Secure boot is enabled [ 6.648796] Bluetooth: hci0: OTP lock is enabled [ 6.648796] Bluetooth: hci0: API lock is enabled [ 6.648797] Bluetooth: hci0: Debug lock is disabled [ 6.648798] Bluetooth: hci0: Minimum firmware build 1 week 10 2014 [ 6.648799] Bluetooth: hci0: Bootloader timestamp 2019.40 buildtype 1 build 38 [ 6.648990] Bluetooth: hci0: DSM reset method type: 0x00 [continued in next message] --- SoupGate-Win32 v1.05 * Origin: you cannot sedate... all the things you hate (1:229/2) |
328,082 visits
(c) 1994, bbs@darkrealms.ca