Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deferred probe pending: intel-ipu6: IPU6 bridge init failed #291

Open
bnicolae opened this issue Nov 4, 2024 · 9 comments
Open

Deferred probe pending: intel-ipu6: IPU6 bridge init failed #291

bnicolae opened this issue Nov 4, 2024 · 9 comments

Comments

@bnicolae
Copy link

bnicolae commented Nov 4, 2024

The IPU6 kernel driver does not properly initialize the sensor. I am running the following recent kernel on a Dell XPS 14 9440:
6.11.6-arch1-1 #1 SMP PREEMPT_DYNAMIC
UPDATE: 6.12.1-arch1-1 exibits the same symptom

[    5.073429] intel-ipu6 0000:00:05.0: enabling device (0000 -> 0002)
[    5.073895] intel-ipu6 0000:00:05.0: IPU6 in secure mode touch 0x80000000 mask 0x0
[    5.087818] intel-ipu6 0000:00:05.0: FW version: 20230925
[    5.093275] intel-ipu6 0000:00:05.0: IPU6 in secure mode touch 0x80000000 mask 0x0
[    5.099067] intel-ipu6 0000:00:05.0: FW version: 20230925
[    5.106581] intel-ipu6 0000:00:05.0: IPU6 in secure mode touch 0x80000000 mask 0x0
[    5.109721] intel-ipu6 0000:00:05.0: FW version: 20230925
[    5.112224] intel-ipu6 0000:00:05.0: IPU6 in secure mode touch 0x80000000 mask 0x0
[    5.114954] intel-ipu6 0000:00:05.0: FW version: 20230925
[    5.118321] intel-ipu6 0000:00:05.0: IPU6 in secure mode touch 0x80000000 mask 0x0
[    5.121034] intel-ipu6 0000:00:05.0: FW version: 20230925
[    5.130421] intel-ipu6 0000:00:05.0: IPU6 in secure mode touch 0x80000000 mask 0x0
[    5.133523] intel-ipu6 0000:00:05.0: FW version: 20230925
[    5.141270] intel-ipu6 0000:00:05.0: IPU6 in secure mode touch 0x80000000 mask 0x0
[    5.144274] intel-ipu6 0000:00:05.0: FW version: 20230925
[    5.150025] intel-ipu6 0000:00:05.0: IPU6 in secure mode touch 0x80000000 mask 0x0
[    5.152758] intel-ipu6 0000:00:05.0: FW version: 20230925
[    5.166290] intel-ipu6 0000:00:05.0: IPU6 in secure mode touch 0x80000000 mask 0x0
[    5.169562] intel-ipu6 0000:00:05.0: FW version: 20230925
[    5.172759] intel-ipu6 0000:00:05.0: IPU6 in secure mode touch 0x80000000 mask 0x0
[    5.175878] intel-ipu6 0000:00:05.0: FW version: 20230925
[    5.223814] intel-ipu6 0000:00:05.0: IPU6 in secure mode touch 0x80000000 mask 0x0
[    5.226571] intel-ipu6 0000:00:05.0: FW version: 20230925
[    5.250669] intel-ipu6 0000:00:05.0: IPU6 in secure mode touch 0x80000000 mask 0x0
[    5.253306] intel-ipu6 0000:00:05.0: FW version: 20230925
[    5.254506] intel-ipu6 0000:00:05.0: IPU6 in secure mode touch 0x80000000 mask 0x0
[    5.257363] intel-ipu6 0000:00:05.0: FW version: 20230925
[    5.262313] intel-ipu6 0000:00:05.0: IPU6 in secure mode touch 0x80000000 mask 0x0
[    5.265965] intel-ipu6 0000:00:05.0: FW version: 20230925
[    5.271877] intel-ipu6 0000:00:05.0: IPU6 in secure mode touch 0x80000000 mask 0x0
[    5.275943] intel-ipu6 0000:00:05.0: FW version: 20230925
[    5.325626] intel-ipu6 0000:00:05.0: IPU6 in secure mode touch 0x80000000 mask 0x0
[    5.330049] intel-ipu6 0000:00:05.0: FW version: 20230925
[    5.330508] intel-ipu6 0000:00:05.0: IPU6 in secure mode touch 0x80000000 mask 0x0
[    5.334360] intel-ipu6 0000:00:05.0: FW version: 20230925
[    5.334666] intel-ipu6 0000:00:05.0: IPU6 in secure mode touch 0x80000000 mask 0x0
[    5.337339] intel-ipu6 0000:00:05.0: FW version: 20230925
[    5.342627] intel-ipu6 0000:00:05.0: IPU6 in secure mode touch 0x80000000 mask 0x0
[    5.345604] intel-ipu6 0000:00:05.0: FW version: 20230925
[    5.345916] intel-ipu6 0000:00:05.0: IPU6 in secure mode touch 0x80000000 mask 0x0
[    5.348643] intel-ipu6 0000:00:05.0: FW version: 20230925
[    5.359526] intel-ipu6 0000:00:05.0: IPU6 in secure mode touch 0x80000000 mask 0x0
[    5.362934] intel-ipu6 0000:00:05.0: FW version: 20230925
[    5.364088] intel-ipu6 0000:00:05.0: IPU6 in secure mode touch 0x80000000 mask 0x0
[    5.367566] intel-ipu6 0000:00:05.0: FW version: 20230925
[    5.375836] intel-ipu6 0000:00:05.0: IPU6 in secure mode touch 0x80000000 mask 0x0
[    5.379069] intel-ipu6 0000:00:05.0: FW version: 20230925
[    5.384590] intel-ipu6 0000:00:05.0: IPU6 in secure mode touch 0x80000000 mask 0x0
[    5.388002] intel-ipu6 0000:00:05.0: FW version: 20230925
[    5.389829] intel-ipu6 0000:00:05.0: IPU6 in secure mode touch 0x80000000 mask 0x0
[    5.393326] intel-ipu6 0000:00:05.0: FW version: 20230925
[    5.394925] intel-ipu6 0000:00:05.0: IPU6 in secure mode touch 0x80000000 mask 0x0
[    5.397991] intel-ipu6 0000:00:05.0: FW version: 20230925
[    5.398760] intel-ipu6 0000:00:05.0: IPU6 in secure mode touch 0x80000000 mask 0x0
[    5.402016] intel-ipu6 0000:00:05.0: FW version: 20230925
[    5.426353] intel-ipu6 0000:00:05.0: IPU6 in secure mode touch 0x80000000 mask 0x0
[    5.429870] intel-ipu6 0000:00:05.0: FW version: 20230925
[    5.430845] intel-ipu6 0000:00:05.0: IPU6 in secure mode touch 0x80000000 mask 0x0
[    5.436087] intel-ipu6 0000:00:05.0: FW version: 20230925
[    5.437074] intel-ipu6 0000:00:05.0: IPU6 in secure mode touch 0x80000000 mask 0x0
[    5.443561] intel-ipu6 0000:00:05.0: FW version: 20230925
[    5.488426] intel-ipu6 0000:00:05.0: IPU6 in secure mode touch 0x80000000 mask 0x0
[    5.491322] intel-ipu6 0000:00:05.0: FW version: 20230925
[    5.507740] intel-ipu6 0000:00:05.0: IPU6 in secure mode touch 0x80000000 mask 0x0
[    5.514108] intel-ipu6 0000:00:05.0: FW version: 20230925
[    5.562299] intel-ipu6 0000:00:05.0: IPU6 in secure mode touch 0x80000000 mask 0x0
[    5.573168] intel-ipu6 0000:00:05.0: FW version: 20230925
[    5.573498] intel-ipu6 0000:00:05.0: IPU6 in secure mode touch 0x80000000 mask 0x0
[    5.577025] intel-ipu6 0000:00:05.0: FW version: 20230925
[    5.577442] intel-ipu6 0000:00:05.0: IPU6 in secure mode touch 0x80000000 mask 0x0
[    5.580321] intel-ipu6 0000:00:05.0: FW version: 20230925
[    5.580670] intel-ipu6 0000:00:05.0: IPU6 in secure mode touch 0x80000000 mask 0x0
[    5.583536] intel-ipu6 0000:00:05.0: FW version: 20230925
[    5.589131] intel-ipu6 0000:00:05.0: IPU6 in secure mode touch 0x80000000 mask 0x0
[    5.591947] intel-ipu6 0000:00:05.0: FW version: 20230925
[    5.592398] intel-ipu6 0000:00:05.0: IPU6 in secure mode touch 0x80000000 mask 0x0
[    5.595166] intel-ipu6 0000:00:05.0: FW version: 20230925
[    5.652939] intel-ipu6 0000:00:05.0: IPU6 in secure mode touch 0x80000000 mask 0x0
[    5.657262] intel-ipu6 0000:00:05.0: FW version: 20230925
[    5.703835] intel-ipu6 0000:00:05.0: IPU6 in secure mode touch 0x80000000 mask 0x0
[    5.707334] intel-ipu6 0000:00:05.0: FW version: 20230925
[    5.712695] intel-ipu6 0000:00:05.0: IPU6 in secure mode touch 0x80000000 mask 0x0
[    5.715909] intel-ipu6 0000:00:05.0: FW version: 20230925
[    5.721360] intel-ipu6 0000:00:05.0: IPU6 in secure mode touch 0x80000000 mask 0x0
[    5.724106] intel-ipu6 0000:00:05.0: FW version: 20230925
[    5.725496] intel-ipu6 0000:00:05.0: IPU6 in secure mode touch 0x80000000 mask 0x0
[    5.728300] intel-ipu6 0000:00:05.0: FW version: 20230925
[    5.728626] intel-ipu6 0000:00:05.0: IPU6 in secure mode touch 0x80000000 mask 0x0
[    5.731908] intel-ipu6 0000:00:05.0: FW version: 20230925
[    5.752647] intel-ipu6 0000:00:05.0: IPU6 in secure mode touch 0x80000000 mask 0x0
[    5.756097] intel-ipu6 0000:00:05.0: FW version: 20230925
[    6.934384] intel-ipu6 0000:00:05.0: IPU6 in secure mode touch 0x80000000 mask 0x0
[    6.948783] intel-ipu6 0000:00:05.0: FW version: 20230925
[    9.239331] intel-ipu6 0000:00:05.0: IPU6 in secure mode touch 0x80000000 mask 0x0
[    9.254255] intel-ipu6 0000:00:05.0: FW version: 20230925
[    9.869841] intel-ipu6 0000:00:05.0: IPU6 in secure mode touch 0x80000000 mask 0x0
[    9.883848] intel-ipu6 0000:00:05.0: FW version: 20230925
[   10.272714] intel-ipu6 0000:00:05.0: IPU6 in secure mode touch 0x80000000 mask 0x0
[   10.287590] intel-ipu6 0000:00:05.0: FW version: 20230925
[   10.361541] intel-ipu6 0000:00:05.0: IPU6 in secure mode touch 0x80000000 mask 0x0
[   10.376271] intel-ipu6 0000:00:05.0: FW version: 20230925
[   10.377030] intel-ipu6 0000:00:05.0: IPU6 in secure mode touch 0x80000000 mask 0x0
[   10.380968] intel-ipu6 0000:00:05.0: FW version: 20230925
[   10.453481] intel-ipu6 0000:00:05.0: IPU6 in secure mode touch 0x80000000 mask 0x0
[   10.468357] intel-ipu6 0000:00:05.0: FW version: 20230925
[   10.468889] intel-ipu6 0000:00:05.0: IPU6 in secure mode touch 0x80000000 mask 0x0
[   10.472290] intel-ipu6 0000:00:05.0: FW version: 20230925
[   10.477916] intel-ipu6 0000:00:05.0: IPU6 in secure mode touch 0x80000000 mask 0x0
[   10.480622] intel-ipu6 0000:00:05.0: FW version: 20230925
[   10.480909] intel-ipu6 0000:00:05.0: IPU6 in secure mode touch 0x80000000 mask 0x0
[   10.483660] intel-ipu6 0000:00:05.0: FW version: 20230925
[   10.788188] intel-ipu6 0000:00:05.0: IPU6 in secure mode touch 0x80000000 mask 0x0
[   10.802514] intel-ipu6 0000:00:05.0: FW version: 20230925
[   10.803228] intel-ipu6 0000:00:05.0: IPU6 in secure mode touch 0x80000000 mask 0x0
[   10.806938] intel-ipu6 0000:00:05.0: FW version: 20230925
[   11.050902] intel-ipu6 0000:00:05.0: IPU6 in secure mode touch 0x80000000 mask 0x0
[   11.064712] intel-ipu6 0000:00:05.0: FW version: 20230925
[   11.123009] intel-ipu6 0000:00:05.0: IPU6 in secure mode touch 0x80000000 mask 0x0
[   11.140002] intel-ipu6 0000:00:05.0: FW version: 20230925
[   11.183208] intel-ipu6 0000:00:05.0: IPU6 in secure mode touch 0x80000000 mask 0x0
[   11.186472] intel-ipu6 0000:00:05.0: FW version: 20230925
[   11.186952] intel-ipu6 0000:00:05.0: IPU6 in secure mode touch 0x80000000 mask 0x0
[   11.190272] intel-ipu6 0000:00:05.0: FW version: 20230925
[   11.360072] intel-ipu6 0000:00:05.0: IPU6 in secure mode touch 0x80000000 mask 0x0
[   11.374693] intel-ipu6 0000:00:05.0: FW version: 20230925
[   11.378212] intel-ipu6 0000:00:05.0: IPU6 in secure mode touch 0x80000000 mask 0x0
[   11.381087] intel-ipu6 0000:00:05.0: FW version: 20230925
[   11.381559] intel-ipu6 0000:00:05.0: IPU6 in secure mode touch 0x80000000 mask 0x0
[   11.384373] intel-ipu6 0000:00:05.0: FW version: 20230925
[   11.557586] intel-ipu6 0000:00:05.0: IPU6 in secure mode touch 0x80000000 mask 0x0
[   11.571662] intel-ipu6 0000:00:05.0: FW version: 20230925
[   16.260498] intel-ipu6 0000:00:05.0: IPU6 in secure mode touch 0x80000000 mask 0x0
[   16.275988] intel-ipu6 0000:00:05.0: FW version: 20230925
[   16.276793] pci 0000:00:05.0: deferred probe pending: intel-ipu6: IPU6 bridge init failed
[  187.128318] intel-ipu6 0000:00:05.0: IPU6 in secure mode touch 0x80000000 mask 0x0
[  187.143001] intel-ipu6 0000:00:05.0: FW version: 20230925
[  187.146021] intel-ipu6 0000:00:05.0: IPU6 in secure mode touch 0x80000000 mask 0x0
[  187.149356] intel-ipu6 0000:00:05.0: FW version: 20230925
@sendevent
Copy link

The same thing is on the Dell XPS 16 9640 (OV02C10) running 6.12.0-rc2-2-MANJARO

@vauvenal5
Copy link

vauvenal5 commented Nov 8, 2024

I can confirm this on Dell 5480 with Archlinux kernel 6.11.6-arch1-1

@jsenecal
Copy link

Same thing on a Dell Latitude 5430 with 6.11.6-arch1-1 (on Archlinux as well)

Camera chipset is seen as OVTI01AB, if that helps.

@filiurskyi
Copy link

Dell XPS 13 9340, can confirm similar issue on arch. Kernel 6.11.7-arch1-1

@twouters
Copy link

twouters commented Nov 18, 2024

After patching the Arch kernel (6.11.7-arch1-1) with the following patch, i'm getting new results on XPS 9315: https://lore.kernel.org/all/[email protected]/

Nov 18 10:29:33 kernel: intel-ipu6 0000:00:05.0: FW version: 20230925
Nov 18 10:29:33 kernel: intel-ipu6 0000:00:05.0: IPU6 in non-secure mode touch 0x0 mask 0xff
Nov 18 10:29:33 kernel: intel-ipu6 0000:00:05.0: FW version: 20230925
Nov 18 10:29:33 kernel: intel-ipu6 0000:00:05.0: IPU6 in non-secure mode touch 0x0 mask 0xff
Nov 18 10:29:33 kernel: intel-ipu6 0000:00:05.0: FW version: 20230925
Nov 18 10:29:33 kernel: intel-ipu6 0000:00:05.0: Found supported sensor OVTI01A0:00
Nov 18 10:29:33 kernel: intel-ipu6 0000:00:05.0: Connected 1 cameras
Nov 18 10:29:33 kernel: intel-ipu6 0000:00:05.0: IPU6-v3[465d] hardware version 5

@jwrdegoede fyi

(Edit: I'm even able to get an image with qcam, but probably need to do something about /dev/udmabuf permissions)

@twouters
Copy link

twouters commented Nov 18, 2024

After patching the Arch kernel (6.11.7-arch1-1) with the following patch, i'm getting new results on XPS 9315: https://lore.kernel.org/all/[email protected]/

Nov 18 10:29:33 kernel: intel-ipu6 0000:00:05.0: FW version: 20230925
Nov 18 10:29:33 kernel: intel-ipu6 0000:00:05.0: IPU6 in non-secure mode touch 0x0 mask 0xff
Nov 18 10:29:33 kernel: intel-ipu6 0000:00:05.0: FW version: 20230925
Nov 18 10:29:33 kernel: intel-ipu6 0000:00:05.0: IPU6 in non-secure mode touch 0x0 mask 0xff
Nov 18 10:29:33 kernel: intel-ipu6 0000:00:05.0: FW version: 20230925
Nov 18 10:29:33 kernel: intel-ipu6 0000:00:05.0: Found supported sensor OVTI01A0:00
Nov 18 10:29:33 kernel: intel-ipu6 0000:00:05.0: Connected 1 cameras
Nov 18 10:29:33 kernel: intel-ipu6 0000:00:05.0: IPU6-v3[465d] hardware version 5

@jwrdegoede fyi

(Edit: I'm even able to get an image with qcam, but probably need to do something about /dev/udmabuf permissions)

I tried to reproduce by rebooting and rebuilding the kernel with only mentioned patch (I did have a few others applied, but none of them resulted in the camera becoming available) and each boot since earlier today resulted in an undetected camera, even the kernel I booted from where the camera did work with earlier no longer detects the camera.

So I don't know what caused it to succeed this one time 😞

@twouters
Copy link

One difference I noticed from the boot where the camera worked, but it doesn't tell me much

Nov 18 10:29:22 kernel: vsc-tp spi-INTC1094:00: Probing device: IRQ=183

vs those when it doesn't work

Nov 18 15:55:20 kernel: vsc-tp spi-INTC1094:00: Probing device: IRQ=-517
diff --git a/drivers/misc/mei/vsc-tp.c b/drivers/misc/mei/vsc-tp.c
index 1618cca9a731..fa1d846d27fe 100644
--- a/drivers/misc/mei/vsc-tp.c
+++ b/drivers/misc/mei/vsc-tp.c
@@ -484,6 +484,7 @@ static int vsc_tp_probe(struct spi_device *spi)
                .id = PLATFORM_DEVID_NONE,
        };
        struct device *dev = &spi->dev;
+       dev_info(dev, "Probing device: IRQ=%d\n", spi->irq);
        struct platform_device *pdev;
        struct acpi_device *adev;
        int ret;

@sgruszka
Copy link

sgruszka commented Nov 21, 2024

One difference I noticed from the boot where the camera worked, but it doesn't tell me much
Nov 18 15:55:20 kernel: vsc-tp spi-INTC1094:00: Probing device: IRQ=-517

+       dev_info(dev, "Probing device: IRQ=%d\n", spi->irq);

Hi , for this probing issue I attached proposed fix here:
https://bugzilla.redhat.com/show_bug.cgi?id=2324683#c11

@bnicolae
Copy link
Author

bnicolae commented Dec 9, 2024

Seems like I am hitting on a related issue, mentioned here: https://bugzilla.redhat.com/show_bug.cgi?id=2324683#c13

[    7.483604] intel_vsc intel_vsc: hw_reset failed ret = -110
[    8.390076] intel_vsc intel_vsc: hw_reset failed ret = -110
[    9.300415] intel_vsc intel_vsc: hw_reset failed ret = -110
[    9.300701] intel_vsc intel_vsc: reset: reached maximal consecutive resets: disabling the device
[    9.301068] intel_vsc intel_vsc: reset failed ret = -19
[    9.301357] intel_vsc intel_vsc: link layer initialization failed.
[    9.301653] intel_vsc intel_vsc: error -ENODEV: init hw failed

The same issue was also mentioned in #302.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants