failed to enable IPU6 camera sensor on kernel >= 6.8: ivsc_ace intel_vsc-5db76cf6-0a68-4ed6-9b78-0361635e2447: switch camera to host failed: -110

Bug #2067364 reported by You-Sheng Yang
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ipu6-drivers (Ubuntu)
Status tracked in Oracular
Noble
Fix Committed
High
You-Sheng Yang
Oracular
Fix Released
High
You-Sheng Yang
linux (Ubuntu)
Status tracked in Oracular
Noble
In Progress
High
You-Sheng Yang
Oracular
Triaged
Undecided
Unassigned
linux-oem-6.10 (Ubuntu)
Status tracked in Oracular
Noble
In Progress
High
You-Sheng Yang
Oracular
Invalid
Undecided
Unassigned
linux-oem-6.8 (Ubuntu)
Status tracked in Oracular
Noble
In Progress
High
You-Sheng Yang
Oracular
Invalid
Undecided
Unassigned

Bug Description

[SRU Justification]

BugLink: https://bugs.launchpad.net/bugs/2067364

[Impact]

With IVSC switched to in-tree driver since 6.8 kernels in bug 2061747, it's still suffering from various problems that blocks camera driver stack being loaded correctly.

The ivsc-ace driver may fail to communicate with the underlying firmware with error messages:
  ```
  ivsc_ace intel_vsc-5db76cf6-0a68-4ed6-9b78-0361635e2447: switch camera to host failed: -110
  ```
This happens after warm reboots. In addition, ivs may block suspend resume, too.

[Fix]

These symptoms are to be addressed by upstream reviewing patchsets:
* https://<email address hidden>/
* https://<email address hidden>/
* commit 9b5e045029d8 ("mei: vsc: Don't stop/restart mei device during system suspend/resume") from v6.10-rc4

[Test Case]

The proposed kernel should have been built along with the updated ipu6-drivers dkms. To verify ipu6-drivers alone, one will need experimental kernels from https://launchpad.net/~canonical-hwe-team/+archive/ubuntu/intermediate-kernel.

Here are steps for verifying kernels from -proposed pocket:

1. test camera after rebooting into a proposed kernel,
2. run suspend/resume stress test plan.
3. verify camera still working

[Where problems could occur]

These fixes are quite limited to ipu6/ivsc platforms, and affected no power-consumption or other notisible problem.

[Other Info]

While some of the fixes are still under upstream review, meaning they're not yet available in any kernel release, linux-unstable/oracular/noble and oem-6.8/6.1x will be nominated for fix.

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

With IVSC switched to in-tree driver since 6.8 kernels in bug 2061747, it's still suffering from various problems that blocks camera driver stack being loaded correctly.

The ivsc-ace driver may fail to communicate with the underlying firmware with error messages:

  ivsc_ace intel_vsc-5db76cf6-0a68-4ed6-9b78-0361635e2447: switch camera to host failed: -110

This happens after warm reboots. In addition, ivs may block suspend resume, too.

These symptoms are to be addressed by upstream reviewing patchsets:
* https://<email address hidden>/
* https://<email address hidden>/
* commit 9b5e045029d8 ("mei: vsc: Don't stop/restart mei device during system suspend/resume") from v6.10-rc4

---
ProblemType: Bug
ApportVersion: 2.28.1-0ubuntu3
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/seq: ubuntu 1798 F.... pipewire
 /dev/snd/controlC0: ubuntu 1798 F.... pipewire
                      ubuntu 1801 F.... wireplumber
CasperMD5CheckMismatches: ./.disk/casper-uuid-generic ./casper/initrd ./casper/minimal.standard.live.hotfix.squashfs ./casper/minimal.standard.hotfix.squashfs ./casper/minimal.hotfix.squashfs ./boot/grub/grub.cfg
CasperMD5CheckResult: fail
DistributionChannelDescriptor:
 # This is the distribution channel descriptor for Ubuntu 24.04 for Dell
 # For more information see http://wiki.ubuntu.com/DistributionChannelDescriptor
 canonical-oem-somerville-noble-hwe-20240530-104
DistroRelease: Ubuntu 24.04
InstallationDate: Installed on 2024-05-31 (25 days ago)
InstallationMedia: Ubuntu OEM 24.04 LTS "Noble Numbat" - Release amd64 (20240530)
IwConfig:
 lo no wireless extensions.

 wlp114s0f0 no wireless extensions.
MachineType: Dell Inc. XPS 13 9340
Package: linux (not installed)
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.8.0-1006-oem root=UUID=d5b7dbbf-8cd9-4ae2-8a58-14c2bf796724 ro debug ignore_log_level hid_sensor_als.dyndbg=+p industrialio.dyndbg=+p hid_sensor_iio_common.dyndbg=+p hid_sensor_trigger.dyndbg=+p
ProcVersionSignature: Ubuntu 6.8.0-1006.6-oem 6.8.4
RelatedPackageVersions:
 linux-restricted-modules-6.8.0-1006-oem N/A
 linux-backports-modules-6.8.0-1006-oem N/A
 linux-firmware 20240318.git3b128b60-0ubuntu2.1
Tags: noble
Uname: Linux 6.8.0-1006-oem x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: N/A
_MarkForUpload: True
dmi.bios.date: 03/21/2024
dmi.bios.release: 1.4
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 1.4.1
dmi.board.name: 02395C
dmi.board.vendor: Dell Inc.
dmi.board.version: X04
dmi.chassis.type: 10
dmi.chassis.vendor: Dell Inc.
dmi.ec.firmware.release: 1.8
dmi.modalias: dmi:bvnDellInc.:bvr1.4.1:bd03/21/2024:br1.4:efr1.8:svnDellInc.:pnXPS139340:pvr:rvnDellInc.:rn02395C:rvrX04:cvnDellInc.:ct10:cvr:sku0C87:
dmi.product.family: XPS
dmi.product.name: XPS 13 9340
dmi.product.sku: 0C87
dmi.sys.vendor: Dell Inc.

You-Sheng Yang (vicamo)
Changed in ipu6-drivers (Ubuntu Noble):
status: New → Triaged
Changed in ipu6-drivers (Ubuntu Oracular):
status: New → Triaged
Changed in linux (Ubuntu Noble):
status: New → In Progress
Changed in linux (Ubuntu Oracular):
status: New → Triaged
Changed in linux-oem-6.8 (Ubuntu Noble):
status: New → In Progress
Changed in linux-oem-6.8 (Ubuntu Oracular):
status: New → Invalid
Changed in linux-oem-6.8 (Ubuntu Noble):
importance: Undecided → High
assignee: nobody → You-Sheng Yang (vicamo)
Changed in linux (Ubuntu Noble):
importance: Undecided → High
assignee: nobody → You-Sheng Yang (vicamo)
Revision history for this message
You-Sheng Yang (vicamo) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected noble
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 : 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 : ProcCpuinfo.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

You-Sheng Yang (vicamo)
description: updated
You-Sheng Yang (vicamo)
description: updated
Revision history for this message
You-Sheng Yang (vicamo) wrote :
Changed in linux-oem-6.10 (Ubuntu Noble):
assignee: nobody → You-Sheng Yang (vicamo)
importance: Undecided → High
status: New → In Progress
Changed in linux-oem-6.10 (Ubuntu Oracular):
status: New → Invalid
Revision history for this message
You-Sheng Yang (vicamo) wrote : Re: [Bug 2067364] Re: failed to enable IPU6 camera sensor on kernel >= 6.8: ivsc_ace intel_vsc-5db76cf6-0a68-4ed6-9b78-0361635e2447: switch camera to host failed: -110

Debdiff from ipu6-drivers/noble and oracular.

While this bumps the upstream version to 0~git202406240945.aecec2aa,
source tarball along with prebuilt binaries are also available in
https://launchpad.net/~vicamo/+archive/ubuntu/sru .

Changed in ipu6-drivers (Ubuntu Noble):
assignee: nobody → You-Sheng Yang (vicamo)
importance: Undecided → High
status: Triaged → In Progress
Changed in ipu6-drivers (Ubuntu Oracular):
assignee: nobody → You-Sheng Yang (vicamo)
importance: Undecided → High
status: Triaged → In Progress
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ipu6-drivers - 0~git202406240945.aecec2aa-0ubuntu1

---------------
ipu6-drivers (0~git202406240945.aecec2aa-0ubuntu1) oracular; urgency=medium

  [ You-Sheng Yang ]
  * upstream Release_20240624 release (LP: #2067364)
  * UBUNTU: SAUCE: [IPU6] skip hwcfg checking for platforms with none/broken
    graph port nodes (LP: #2070251)
  * UBUNTU: SAUCE: media: ipu6: Fix compilation with kernels >= 6.10
  * ov08x40: add back driver source (LP: #2060101)

 -- You-Sheng Yang <email address hidden> Mon, 24 Jun 2024 22:01:05 +0800

Changed in ipu6-drivers (Ubuntu Oracular):
status: In Progress → Fix Released
Revision history for this message
Timo Aaltonen (tjaalton) wrote : Please test proposed package

Hello You-Sheng, or anyone else affected,

Accepted ipu6-drivers into noble-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/ipu6-drivers/0~git202406240945.aecec2aa-0ubuntu1~22.04.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-noble to verification-done-noble. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-noble. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in ipu6-drivers (Ubuntu Noble):
status: In Progress → Fix Committed
tags: added: verification-needed verification-needed-noble
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

Hello You-Sheng, or anyone else affected,

Accepted ipu6-drivers into noble-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/ipu6-drivers/0~git202406240945.aecec2aa-0ubuntu1~24.04.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-noble to verification-done-noble. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-noble. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

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.