mtk_t7xx WWAN module fails to probe with: Invalid device status 0x1

Bug #2049358 reported by You-Sheng Yang
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HWE Next
New
Undecided
Unassigned
OEM Priority Project
New
Undecided
Unassigned
linux (Ubuntu)
Status tracked in Noble
Jammy
Invalid
Undecided
Unassigned
Mantic
In Progress
Undecided
AceLan Kao
Noble
In Progress
Undecided
AceLan Kao
linux-oem-6.5 (Ubuntu)
Status tracked in Noble
Jammy
Fix Released
Undecided
AceLan Kao
Mantic
Invalid
Undecided
Unassigned
Noble
Invalid
Undecided
Unassigned

Bug Description

[Impact]
No modems were found sometimtes after reboot/poweroff
Got below messages when it fails

[ 1.294786] mtk_t7xx 0000:05:00.0: enabling device (0000 -> 0002)
[ 1.298085] mtk_t7xx 0000:05:00.0: PCIe Bus Error: severity=Uncorrected (Non-Fatal), type=Transaction Layer, (Requester ID)
[ 1.298108] mtk_t7xx 0000:05:00.0: device [14c3:4d75] error status/mask=00100000/00400000
[ 1.298123] mtk_t7xx 0000:05:00.0: [20] UnsupReq (First)
[ 1.298136] mtk_t7xx 0000:05:00.0: AER: TLP Header: 40000001 0000000f 88824030 3e800100
[ 1.298460] mtk_t7xx 0000:05:00.0: AER: can't recover (no error_detected callback)
[ 3.302402] mtk_t7xx 0000:05:00.0: Invalid device status 0x1

[Fix]
Fibocom provides a fix for this issue which is included in linux-next now
https://patchwork.kernel.org<email address hidden>/

2dac6381c3da net: wwan: t7xx: Add fastboot WWAN port
d27553c14f06 net: wwan: t7xx: Infrastructure for early port configuration
409c38d4f156 net: wwan: t7xx: Add sysfs attribute for device state machine
e3caf184107a wwan: core: Add WWAN fastboot port type

[Test Case]
1. Boot to OS.
2. Insert sim card to the system.
3. Check the gnome-settings with WWAN settings or check with command mmcli -L
4. Repeat 1, 2, 3 multiple times and make sure WWAN always exists and works well

[Where problems could occur]
Hard to tell, but ODM and us did some tests and confirmed the WWAN doesn't keep working during 1900 reboot stress test.

=============
At booting up:

mtk_t7xx 0000:56:00.0: enabling device (0000 -> 0002)
mtk_t7xx 0000:56:00.0: Invalid device status 0x1
mtk_t7xx 0000:56:00.0: Port AT is not opened, drop packets
mtk_t7xx 0000:56:00.0: Packet drop on channel 0x1004, port not found

And at suspending:

mtk_t7xx 0000:56:00.0: Not ready for system sleep
mtk_t7xx 0000:56:00.0: PM: device_prepare(): pci_pm_prepare+0x0/0x80 returns -110
mtk_t7xx 0000:56:00.0: PM: not prepared for power transition: code -110
PM: Some devices failed to suspend, or early wake event detected
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: ubuntu 1157 F.... pulseaudio
CasperMD5CheckMismatches: ./preseed/project.cfg
CasperMD5CheckResult: fail
DistributionChannelDescriptor:
 # This is the distribution channel descriptor for the OEM CDs
 # For more information see http://wiki.ubuntu.com/DistributionChannelDescriptor
 canonical-oem-stella-jammy-amd64-20231228-670
DistroRelease: Ubuntu 22.04
InstallationDate: Installed on 2023-12-28 (18 days ago)
InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - pc-stella-jammy-amd64-20231228-670
MachineType: HP HP Elite x360 830 13 inch G11 2-in-1 Notebook PC
Package: linux (not installed)
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.5.0-3011-oem root=UUID=34294b64-68b6-4f94-9606-9be6144aa431 ro automatic-oem-config quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 6.5.0-3011.12-oem 6.5.3
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions:
 linux-restricted-modules-6.5.0-3011-oem N/A
 linux-backports-modules-6.5.0-3011-oem N/A
 linux-firmware 20220329.git681281e4-0ubuntu3.24
Tags: jammy
Uname: Linux 6.5.0-3011-oem x86_64
UnreportableReason: This report is about a package that is not installed.
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: N/A
_MarkForUpload: False
dmi.bios.date: 01/05/2024
dmi.bios.release: 1.1
dmi.bios.vendor: HP
dmi.bios.version: W70 Ver. 01.01.01
dmi.board.name: 8C26
dmi.board.vendor: HP
dmi.board.version: KBC Version 02.35.00
dmi.chassis.type: 31
dmi.chassis.vendor: HP
dmi.ec.firmware.release: 2.53
dmi.modalias: dmi:bvnHP:bvrW70Ver.01.01.01:bd01/05/2024:br1.1:efr2.53:svnHP:pnHPElitex36083013inchG112-in-1NotebookPC:pvrSBKPF:rvnHP:rn8C26:rvrKBCVersion02.35.00:cvnHP:ct31:cvr:sku1234567#ABA:
dmi.product.family: 103C_5336AN HP Elite x360
dmi.product.name: HP Elite x360 830 13 inch G11 2-in-1 Notebook PC
dmi.product.sku: 1234567#ABA
dmi.product.version: SBKPF
dmi.sys.vendor: HP

You-Sheng Yang (vicamo)
tags: added: oem-priority originate-from-2048144 stella
Revision history for this message
You-Sheng Yang (vicamo) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected jammy
description: updated
Revision history for this message
You-Sheng Yang (vicamo) wrote : CRDA.txt

apport information

Revision history for this message
You-Sheng Yang (vicamo) wrote : CurrentDmesg.txt

apport information

Revision history for this message
You-Sheng Yang (vicamo) wrote : IwConfig.txt

apport information

Revision history for this message
You-Sheng Yang (vicamo) wrote : Lspci.txt

apport information

Revision history for this message
You-Sheng Yang (vicamo) wrote : Lspci-vt.txt

apport information

Revision history for this message
You-Sheng Yang (vicamo) wrote : Lsusb.txt

apport information

Revision history for this message
You-Sheng Yang (vicamo) wrote : Lsusb-t.txt

apport information

Revision history for this message
You-Sheng Yang (vicamo) wrote : Lsusb-v.txt

apport information

Revision history for this message
You-Sheng Yang (vicamo) wrote : PaInfo.txt

apport information

Revision history for this message
You-Sheng Yang (vicamo) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
You-Sheng Yang (vicamo) wrote : ProcEnviron.txt

apport information

Revision history for this message
You-Sheng Yang (vicamo) wrote : ProcInterrupts.txt

apport information

Revision history for this message
You-Sheng Yang (vicamo) wrote : ProcModules.txt

apport information

Revision history for this message
You-Sheng Yang (vicamo) wrote : RfKill.txt

apport information

Revision history for this message
You-Sheng Yang (vicamo) wrote : UdevDb.txt

apport information

Revision history for this message
You-Sheng Yang (vicamo) wrote : WifiSyslog.txt

apport information

Revision history for this message
You-Sheng Yang (vicamo) wrote : acpidump.txt

apport information

Andy Chi (andch)
tags: added: originate-from-2047612
Revision history for this message
AceLan Kao (acelankao) wrote :

https://patchwork.kernel.org<email address hidden>/

v9 has been accepted.

Changed in linux (Ubuntu Jammy):
status: New → Invalid
Changed in linux (Ubuntu Mantic):
assignee: nobody → AceLan Kao (acelankao)
status: New → In Progress
Changed in linux (Ubuntu Noble):
assignee: nobody → AceLan Kao (acelankao)
status: New → In Progress
Changed in linux-oem-6.5 (Ubuntu Jammy):
assignee: nobody → AceLan Kao (acelankao)
status: New → In Progress
Changed in linux-oem-6.5 (Ubuntu Mantic):
status: New → Invalid
Changed in linux-oem-6.5 (Ubuntu Noble):
status: New → Invalid
AceLan Kao (acelankao)
description: updated
AceLan Kao (acelankao)
description: updated
Timo Aaltonen (tjaalton)
Changed in linux-oem-6.5 (Ubuntu Jammy):
status: In Progress → Fix Committed
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the linux-oem-6.5/6.5.0-1018.19 kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-jammy-linux-oem-6.5' to 'verification-done-jammy-linux-oem-6.5'. If the problem still exists, change the tag 'verification-needed-jammy-linux-oem-6.5' to 'verification-failed-jammy-linux-oem-6.5'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: kernel-spammed-jammy-linux-oem-6.5-v2 verification-needed-jammy-linux-oem-6.5
AceLan Kao (acelankao)
tags: added: verification-done-jammy-linux-oem-6.5
removed: verification-needed-jammy-linux-oem-6.5
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux-oem-6.5 - 6.5.0-1018.19

---------------
linux-oem-6.5 (6.5.0-1018.19) jammy; urgency=medium

  * jammy/linux-oem-6.5: 6.5.0-1018.19 -proposed tracker (LP: #2057967)

  * Packaging resync (LP: #1786013)
    - debian/dkms-versions -- update from kernel-versions (main/2024.02.05)

  * The screen brightness is unable to adjust on BOE panel DPN#R6FD8
    (LP: #2057430)
    - drm/amd/display: Re-add aux intercept disable delay generically for 2+
      LTTPRs
    - drm/amd/display: Clear dpcd_sink_ext_caps if not set
    - drm/amd/display: Add monitor patch for specific eDP
    - drm/amd/display: Add monitor patch for specific eDP

  * Mute/mic LEDs no function on some HP EliteBook (LP: #2057785)
    - ALSA: hda/realtek: fix mute/micmute LEDs for HP EliteBook

  * mtk_t7xx WWAN module fails to probe with: Invalid device status 0x1
    (LP: #2049358)
    - Revert "UBUNTU: SAUCE: net: wwan: t7xx: PCIe reset rescan"
    - Revert "UBUNTU: SAUCE: net: wwan: t7xx: Add AP CLDMA"
    - net: wwan: t7xx: Add AP CLDMA
    - wwan: core: Add WWAN fastboot port type
    - net: wwan: t7xx: Add sysfs attribute for device state machine
    - net: wwan: t7xx: Infrastructure for early port configuration
    - net: wwan: t7xx: Add fastboot WWAN port

  * Fix headphone mic detection issue on ALC897 (LP: #2056418)
    - SAUCE: ALSA: hda/realtek - Fix headset Mic no show at resume back for Lenovo
      ALC897 platform

  * Simplify kcontrol naming on Intel MTL platforms (LP: #2055866)
    - ASoC: dapm: Add a flag for not having widget name in kcontrol name
    - ASoC: SOF: topology: Add a token for dropping widget name in kcontrol name

  * Fix AMD brightness issue on AUO panel (LP: #2054773)
    - drm/amdgpu: make damage clips support configurable

  [ Ubuntu: 6.5.0-26.26 ]

  * mantic/linux: 6.5.0-26.26 -proposed tracker (LP: #2056049)
  * Packaging resync (LP: #1786013)
    - [Packaging] update annotations scripts
    - debian/dkms-versions -- update from kernel-versions (main/s2024.02.05)
  * CVE-2024-26599
    - pwm: Fix out-of-bounds access in of_pwm_single_xlate()
  * CVE-2024-26597
    - net: qualcomm: rmnet: fix global oob in rmnet_policy
  * CVE-2024-1086
    - netfilter: nf_tables: reject QUEUE/DROP verdict parameters
  * CVE-2024-1085
    - netfilter: nf_tables: check if catch-all set element is active in next
      generation

 -- Timo Aaltonen <email address hidden> Thu, 14 Mar 2024 22:22:07 +0200

Changed in linux-oem-6.5 (Ubuntu Jammy):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.