Mediatek FM350-GL wwan module failed to init: Invalid device status 0x1

Bug #2002089 reported by You-Sheng Yang
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HWE Next
Fix Released
Undecided
Unassigned
linux (Ubuntu)
Fix Released
High
You-Sheng Yang
Jammy
Invalid
Undecided
Unassigned
Kinetic
Won't Fix
High
You-Sheng Yang
Lunar
Fix Released
High
You-Sheng Yang
linux-oem-6.0 (Ubuntu)
Invalid
Undecided
Unassigned
Jammy
Fix Released
High
You-Sheng Yang
Kinetic
Invalid
Undecided
Unassigned
Lunar
Invalid
Undecided
Unassigned
linux-oem-6.1 (Ubuntu)
Invalid
Undecided
Unassigned
Jammy
Fix Released
High
You-Sheng Yang
Kinetic
Invalid
Undecided
Unassigned
Lunar
Invalid
Undecided
Unassigned

Bug Description

[SRU Justification]

[Impact]

Mediatek FM350-GL wwan module failed to init: Invalid device status 0x1:

  [ 1.623253] mtk_t7xx 0000:71:00.0: enabling device (0000 -> 0002)
  [ 3.632963] mtk_t7xx 0000:71:00.0: Invalid device status 0x1

[Fix]

The t7xx driver once received following fixes to complete its functions in
v6.1-rc1:

  d20ef656f994 net: wwan: t7xx: Add AP CLDMA
  007f26f0d68e net: wwan: t7xx: Infrastructure for early port configuration
  140424d90165 net: wwan: t7xx: PCIe reset rescan
  87dae9e70bf7 net: wwan: t7xx: Enable devlink based fw flashing and coredump
               collection
  b0bc1709b768 net: wwan: t7xx: Devlink documentation

However it was soon reverted for a second revision. Before that, in bug 1990700
we need the first (reverted) patch "net: wwan: t7xx: Add AP CLDMA" to fix device
suspend in a minimum level for development. Then, in this bug 2002089, a fully
revised resubmission is now available.

An additional patch from v6.1, commit bb67012331f7 ("net: devlink:
extend info_get() version put to indicate a flash component"), is
necessary for oem-6.0 backport.

[Test Case]

Modprobe on new platforms that suffers this invalid device status issue,
and run suspend/resume tests to ensure bug 1990700 is still in a good
state.

[Where problems could occur]

This re-introduce the device firmware update support via devlink, so far
it has been tested many times from 3rd party/vendor, but might still
bump into platform compatibility issue as we have here.

[Other Info]

While this is only planned for oem-6.0/oem-6.1 and on, only U/L/OEM-6.x
are nominated for fix.

========== original bug report ==========

[ 1.623253] mtk_t7xx 0000:71:00.0: enabling device (0000 -> 0002)
[ 3.632963] mtk_t7xx 0000:71:00.0: Invalid device status 0x1
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu82.2
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: u 1216 F.... pulseaudio
CRDA: N/A
CasperMD5CheckResult: pass
DistributionChannelDescriptor:
 # This is the distribution channel descriptor for the OEM CDs
 # For more information see http://wiki.ubuntu.com/DistributionChannelDescriptor
 canonical-oem-somerville-jammy-amd64-20220504-33+jellyfish-arcanine-14+X58
DistroRelease: Ubuntu 22.04
InstallationDate: Installed on 2023-01-05 (5 days ago)
InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - somerville-jammy-amd64-20220504-33
IwConfig:
 lo no wireless extensions.

 enp0s31f6 no wireless extensions.

 wwan0 no wireless extensions.
MachineType: Dell Inc. Precision 3480
Package: linux (not installed)
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.0.0-1010-oem root=UUID=0b4b52c5-ca19-4e54-a610-17e965212e64 ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 6.0.0-1010.10-oem 6.0.9
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.0.0-1010-oem N/A
 linux-backports-modules-6.0.0-1010-oem N/A
 linux-firmware 20220329.git681281e4-0ubuntu3.7
Tags: jammy
Uname: Linux 6.0.0-1010-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: 12/22/2022
dmi.bios.release: 0.6
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 0.6.55
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 10
dmi.chassis.vendor: Dell Inc.
dmi.ec.firmware.release: 0.0
dmi.modalias: dmi:bvnDellInc.:bvr0.6.55:bd12/22/2022:br0.6:efr0.0:svnDellInc.:pnPrecision3480:pvr:rvnDellInc.:rn:rvr:cvnDellInc.:ct10:cvr:sku0C02:
dmi.product.family: Latitude
dmi.product.name: Precision 3480
dmi.product.sku: 0C02
dmi.sys.vendor: Dell Inc.

CVE References

You-Sheng Yang (vicamo)
tags: added: oem-priority originate-from-1992733 somerville
Revision history for this message
You-Sheng Yang (vicamo) wrote :

Proposed fixes:

https://patchwork.kernel.org<email address hidden>/ [patchwork.kernel.org] : [v2,net-next,1/5] net: wwan: t7xx: Add AP CLDMA

https://patchwork.kernel.org<email address hidden>/ [patchwork.kernel.org] : [v2,net-next,2/5] net: wwan: t7xx: Infrastructure for early port configuration

https://patchwork.kernel.org<email address hidden>/ [patchwork.kernel.org] : [v2,net-next,3/5] net: wwan: t7xx: PCIe reset rescan

https://patchwork.kernel.org<email address hidden>/ [patchwork.kernel.org] : [v2,net-next,4/5] net: wwan: t7xx: Enable devlink based fw flashing and coredump collection

The first patch duplicates what we had for bug 1990700, so the outdated one has to be reverted first. There is also an 5th patch for documentation. Will include that as well for integrity.

Changed in linux (Ubuntu Jammy):
status: New → Invalid
Changed in linux (Ubuntu Kinetic):
assignee: nobody → You-Sheng Yang (vicamo)
importance: Undecided → High
status: New → Triaged
Changed in linux (Ubuntu Lunar):
assignee: nobody → You-Sheng Yang (vicamo)
importance: Undecided → High
status: New → Triaged
Changed in linux-oem-6.0 (Ubuntu Kinetic):
status: New → Invalid
Changed in linux-oem-6.0 (Ubuntu Lunar):
status: New → Invalid
Changed in linux-oem-6.0 (Ubuntu Jammy):
assignee: nobody → You-Sheng Yang (vicamo)
importance: Undecided → High
status: New → Triaged
Changed in linux-oem-6.1 (Ubuntu Jammy):
assignee: nobody → You-Sheng Yang (vicamo)
importance: Undecided → High
status: New → Triaged
Changed in linux-oem-6.1 (Ubuntu Kinetic):
status: New → Invalid
Changed in linux-oem-6.1 (Ubuntu Lunar):
status: New → Invalid
Revision history for this message
You-Sheng Yang (vicamo) wrote :
Revision history for this message
You-Sheng Yang (vicamo) wrote :

Remark linux/kinetic as WONTFIX. linux/kinetic received a t7xx fix in bug 1990700 via linux-unstable, but it's not intended to support this piece of hw in Kinetic 5.19.

Changed in linux (Ubuntu Kinetic):
status: Triaged → Won't Fix
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 : CurrentDmesg.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

Revision history for this message
You-Sheng Yang (vicamo) wrote :
Changed in linux (Ubuntu Lunar):
status: Triaged → In Progress
Changed in linux-oem-6.0 (Ubuntu Jammy):
status: Triaged → In Progress
Changed in linux-oem-6.1 (Ubuntu Jammy):
status: Triaged → In Progress
description: updated
Timo Aaltonen (tjaalton)
Changed in linux-oem-6.0 (Ubuntu Jammy):
status: In Progress → Fix Committed
Changed in linux-oem-6.1 (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.0/6.0.0-1011.11 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' to 'verification-done-jammy'. If the problem still exists, change the tag 'verification-needed-jammy' to 'verification-failed-jammy'.

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.0 verification-needed-jammy
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the linux-oem-6.1/6.1.0-1006.6 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' to 'verification-done-jammy'. If the problem still exists, change the tag 'verification-needed-jammy' to 'verification-failed-jammy'.

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.1
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux-oem-6.0 - 6.0.0-1011.11

---------------
linux-oem-6.0 (6.0.0-1011.11) jammy; urgency=medium

  * jammy/linux-oem-6.0: 6.0.0-1011.11 -proposed tracker (LP: #2001806)

  * jammy/linux-oem-6.0: 6.0.0-1011.11 -proposed tracker (LP: #2003453)

  * Revoke & rotate to new signing key (LP: #2002812)
    - [Packaging] Revoke and rotate to new signing key

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

  * Fix speaker mute hotkey doesn't work on Dell G16 series (LP: #2003161)
    - SAUCE: platform/x86: dell-wmi: Add a keymap for KEY_MUTE in type 0x0010
      table

  * CVE-2023-0179
    - netfilter: nft_payload: incorrect arithmetics when fetching VLAN header bits

  * Fix headset mic not working issue on Dell Latitude 5340 (LP: #2002013)
    - ALSA: hda - Enable headset mic on another Dell laptop with ALC3254

  * Mediatek FM350-GL wwan module failed to init: Invalid device status 0x1
    (LP: #2002089)
    - SAUCE: Revert "net: wwan: t7xx: Add AP CLDMA"
    - net: devlink: extend info_get() version put to indicate a flash component
    - SAUCE: net: wwan: t7xx: Add AP CLDMA
    - SAUCE: net: wwan: t7xx: Infrastructure for early port configuration
    - SAUCE: net: wwan: t7xx: PCIe reset rescan
    - SAUCE: net: wwan: t7xx: Enable devlink based fw flashing and coredump
      collection
    - SAUCE: net: wwan: t7xx: Devlink documentation

  * Fix flicker display problem on some panels which support PSR2 (LP: #2002968)
    - drm/i915/psr: Add continuous full frame bit together with single

 -- Timo Aaltonen <email address hidden> Mon, 23 Jan 2023 20:30:00 +0200

Changed in linux-oem-6.0 (Ubuntu Jammy):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (77.0 KiB)

This bug was fixed in the package linux-oem-6.1 - 6.1.0-1006.6

---------------
linux-oem-6.1 (6.1.0-1006.6) jammy; urgency=medium

  * jammy/linux-oem-6.1: 6.1.0-1006.6 -proposed tracker (LP: #2003454)

  * Fix for S0i3 resume on GFX11 (LP: #2003369)
    - drm/amdgpu: skip MES for S0ix as well since it's part of GFX

  * Revoke & rotate to new signing key (LP: #2002812)
    - [Packaging] Revoke and rotate to new signing key

  * Mediatek FM350-GL wwan module failed to init: Invalid device status 0x1
    (LP: #2002089)
    - SAUCE: Revert "net: wwan: t7xx: Add AP CLDMA"
    - SAUCE: net: wwan: t7xx: Add AP CLDMA
    - SAUCE: net: wwan: t7xx: Infrastructure for early port configuration
    - SAUCE: net: wwan: t7xx: PCIe reset rescan
    - SAUCE: net: wwan: t7xx: Enable devlink based fw flashing and coredump
      collection
    - SAUCE: net: wwan: t7xx: Devlink documentation

  * Fix flicker display problem on some panels which support PSR2 (LP: #2002968)
    - drm/i915/psr: Add continuous full frame bit together with single

  * Fix speaker mute hotkey doesn't work on Dell G16 series (LP: #2003161)
    - SAUCE: platform/x86: dell-wmi: Add a keymap for KEY_MUTE in type 0x0010
      table

  * CVE-2023-0179
    - netfilter: nft_payload: incorrect arithmetics when fetching VLAN header bits

  * Wireless: Enable RTL8852BE wifi driver (LP: #2002601)
    - wifi: rtw89: 8852b: add BB and RF tables (1 of 2)
    - wifi: rtw89: 8852b: add BB and RF tables (2 of 2)
    - wifi: rtw89: 8852b: add tables for RFK
    - wifi: rtw89: phy: make generic txpwr setting functions
    - wifi: rtw89: debug: txpwr_table considers sign
    - wifi: rtw89: 8852b: add chip_ops::set_txpwr
    - wifi: rtw89: 8852b: add chip_ops to read efuse
    - wifi: rtw89: 8852b: add chip_ops to read phy cap
    - wifi: rtw89: 8852be: add 8852BE PCI entry
    - wifi: rtw89: phy: ignore warning of bb gain cfg_type 4
    - wifi: rtw89: coex: move chip_ops::btc_bt_aci_imp to a generic code
    - wifi: rtw89: parse PHY status only when PPDU is to_self
    - wifi: rtw89: 8852b: set proper configuration before loading NCTL
    - wifi: rtw89: 8852b: add HFC quota arrays
    - wifi: rtw89: make generic functions to convert subband gain index
    - wifi: rtw89: 8852b: add chip_ops::set_channel
    - wifi: rtw89: correct 6 GHz scan behavior
    - wifi: mac80211: add internal handler for wake_tx_queue
    - wifi: rtw89: 8852b: add chip_ops::set_channel_help
    - wifi: rtw89: 8852b: add power on/off functions
    - wifi: rtw89: 8852b: add basic baseband chip_ops
    - wifi: rtw89: 8852b: add chip_ops to get thermal
    - wifi: rtw89: 8852b: add chip_ops related to BT coexistence
    - wifi: rtw89: 8852b: add chip_ops to query PPDU
    - wifi: rtw89: 8852b: add chip_ops to configure TX/RX path
    - wifi: rtw89: 8852b: add functions to control BB to assist RF calibrations
    - wifi: rtw89: 8852b: add basic attributes of chip_info
    - wifi: rtw89: 8852b: rfk: add DACK
    - wifi: rtw89: 8852b: rfk: add RCK
    - wifi: rtw89: 8852b: rfk: add RX DCK
    - wifi: rtw89: 8852b: rfk: add IQK
    - wifi: rtw89: 8852b: rfk: add TSSI
    - wifi: rtw89: 8852b: rfk: add DPK
    - wifi: rtw89: 8852b: add ch...

Changed in linux-oem-6.1 (Ubuntu Jammy):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux - 6.2.0-18.18

---------------
linux (6.2.0-18.18) lunar; urgency=medium

  * lunar/linux: 6.2.0-18.18 -proposed tracker (LP: #2011750)

  * lunar/linux 6.2 fails to boot on arm64 (LP: #2011748)
    - SAUCE: Revert "efi: random: fix NULL-deref when refreshing seed"
    - SAUCE: Revert "efi: random: refresh non-volatile random seed when RNG is
      initialized"

 -- Andrea Righi <email address hidden> Wed, 15 Mar 2023 23:54:18 +0100

Changed in linux (Ubuntu Lunar):
status: In Progress → Fix Released
You-Sheng Yang (vicamo)
Changed in hwe-next:
status: New → Fix Released
tags: added: fixed-linux-oem-6.5
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.