ipu6: ov01a1s: failed to init camera

Bug #1956232 reported by You-Sheng Yang
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OEM Priority Project
New
Critical
Shih-Yuan Lee
linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

With proposed oem-5.14 kernel from bug 1955383 and latest middleware installed, cheese no longer gives video streaming.

Installed middleware are:
* linux-firmware: 1.187.24+staging.39
* libipu6: 0~git202112020845.a14b40c-1~ubuntu20.04.1
* libcamhal-common: 0~git202112130639.4585612~ubuntu20.04.1
* libcamhal0: 0~git202112130639.4585612~ubuntu20.04.1
* libgsticamerainterface-1.0-1: 0~git202112230614.eb13eb1~ubuntu20.04.1
* gstreamer1.0-icamera: 0~git202112230614.eb13eb1~ubuntu20.04.1

But when switched back to following ones, same oem-5.14 kernel works just fine:

* libipu6: 0~git202104021802.45905c6-1~ubuntu20.04.1
* libcamhal-common: 0~git202105200731.43dcb4c~ubuntu20.04.1
* libcamhal0: 0~git202105200731.43dcb4c~ubuntu20.04.1
* libgsticamerainterface-1.0-1: 0~git202104021904.aeed9b9~ubuntu20.04.1
* gstreamer1.0-icamera: 0~git202104021904.aeed9b9~ubuntu20.04.1

---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu27.21
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: ubuntu 2171 F.... pulseaudio
CasperMD5CheckResult: skip
Dependencies:

DistributionChannelDescriptor:
 # This is the distribution channel descriptor for the OEM CDs
 # For more information see http://wiki.ubuntu.com/DistributionChannelDescriptor
 canonical-oem-somerville-focal-amd64-20200502-85+fossa-mewtwo+X103
DistroRelease: Ubuntu 20.04
InstallationDate: Installed on 2021-12-17 (17 days ago)
InstallationMedia: Ubuntu 20.04 "Focal" - Build amd64 LIVE Binary 20200502-05:58
MachineType: Dell Inc. Latitude 9420
Package: linux-firmware 1.187.24+staging.39 [origin: LP-PPA-canonical-hwe-team-linux-firmware-staging]
PackageArchitecture: all
ProcFB: 0 i915
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.14.0-2013-oem root=UUID=f010c12a-7bf3-4d44-8e9e-6236b24bdb57 ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 5.14.0-2013.13+lp1955383.1-oem 5.14.20
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions:
 linux-restricted-modules-5.14.0-2013-oem N/A
 linux-backports-modules-5.14.0-2013-oem N/A
 linux-firmware 1.187.24+staging.39
Tags: focal third-party-packages
Uname: Linux 5.14.0-2013-oem x86_64
UnreportableReason: This is not an official Ubuntu package. Please remove any third party package and try again.
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: N/A
_MarkForUpload: True
dmi.bios.date: 01/25/2021
dmi.bios.release: 89.5
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 89.5.23
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 10
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvr89.5.23:bd01/25/2021:br89.5:svnDellInc.:pnLatitude9420:pvr:rvnDellInc.:rn:rvr:cvnDellInc.:ct10:cvr:sku0A32:
dmi.product.family: Latitude
dmi.product.name: Latitude 9420
dmi.product.sku: 0A32
dmi.sys.vendor: Dell Inc.

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

apport information

tags: added: apport-collected focal third-party-packages
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 : 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

summary: - ipu6: failed to init INT3472 on TGL with recent ipu middleware release:
- error: -EBUSY: Failed to map GPIO to check
+ ipu6: ov01a1s: failed to init INT3472 on TGL with recent ipu middleware
+ release: error: -EBUSY: Failed to map GPIO to check
You-Sheng Yang (vicamo)
description: updated
Revision history for this message
You-Sheng Yang (vicamo) wrote : Re: ipu6: ov01a1s: failed to init INT3472 on TGL with recent ipu middleware release: error: -EBUSY: Failed to map GPIO to check

Attach kernel dmesg captured with 202104 middleware installed. Basically there doesn't seem to be anything different from the dmesg captured with latest middleware.

summary: - ipu6: ov01a1s: failed to init INT3472 on TGL with recent ipu middleware
- release: error: -EBUSY: Failed to map GPIO to check
+ ipu6: ov01a1s: failed to init camera
description: updated
Revision history for this message
You-Sheng Yang (vicamo) wrote :

kernel fails to initialize INT3472 from power_logic_ctrl driver dedicated for IPU6 camera:

[ 6.032879] intel_ulpss 3-6:1.0: found: 3-6:1.0 -> INTC1074
[ 6.033122] intel_ulpss 3-6:1.0: Found: 3-6:1.0 -> INTC1075
[ 6.119468] int3472-discrete INT3472:06: error -EBUSY: Failed to map GPIO to clock
[ 6.119583] int3472-discrete: probe of INT3472:06 failed with error -1

But this appears in both cases so it's not the root cause.

Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
You-Sheng Yang (vicamo) wrote : Re: [Bug 1956232] Re: ipu6: ov01a1s: failed to init INT3472 on TGL with recent ipu middleware release: error: -EBUSY: Failed to map GPIO to check

From the media-ctl output, it suggests the source/sink pads formats
might not be initialized correctly.

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

This is most likely a bug in libcamhal-common, not the kernel.

Alex Tu (alextu)
Changed in oem-priority:
assignee: nobody → Shih-Yuan Lee (fourdollars)
importance: Undecided → Critical
Rex Tsai (chihchun)
tags: added: oem-priority
To post a comment you must log in.