intel / ipu6-drivers

GNU General Public License v2.0
172 stars 52 forks source link

Suspend/hibernate issue on Thinkpad x1 carbon gen10 #107

Open zemen opened 1 year ago

zemen commented 1 year ago

I got the driver working(both gst-launch and v4l2-relayd) as per comment https://github.com/intel/ipu6-drivers/issues/48#issuecomment-1298596188 with arch linux on kernel 6.0.9.

Unfortunately laptop started to freeze when tried suspend/hibernate. dmesg/journalctl output is empty. After deleting drivers everything works normally.

I tried to compile newer kernels 6.1.7 and 6.2.2 and driver doesn't work(problems with mainline ov2740, I hope the fix is described here https://github.com/intel/ipu6-drivers/issues/55#issuecomment-1458574131 but haven't tried) but the suspend/hibernate issue persists even with camera not working. The same reproduces with mainline arch linux kernel without patches.

polair commented 1 year ago

I don't have lockup on suspend but I do get a segfault of the ipu6-psys module on suspend/resume and have on every kernel that I've tried. I'm currently on 6.3.7 and the only way to restore operation is to reboot the system. Here is the kernel log+stack trace from the suspend request, it fails with "Modprobe Tainted":

[Thu Jun 15 18:09:45 2023] PM: suspend entry (deep)
[Thu Jun 15 18:09:49 2023] Filesystems sync: 3.175 seconds
[Thu Jun 15 18:09:49 2023] Freezing user space processes
[Thu Jun 15 18:09:49 2023] Freezing user space processes completed (elapsed 0.002 seconds)
[Thu Jun 15 18:09:49 2023] OOM killer disabled.
[Thu Jun 15 18:09:49 2023] Freezing remaining freezable tasks
[Thu Jun 15 18:09:49 2023] Freezing remaining freezable tasks completed (elapsed 0.001 seconds)
[Thu Jun 15 18:09:49 2023] printk: Suspending console(s) (use no_console_suspend to debug)
[Thu Jun 15 18:09:49 2023] ACPI: EC: interrupt blocked
[Thu Jun 15 18:09:49 2023] ACPI: PM: Preparing to enter system sleep state S3
[Thu Jun 15 18:09:49 2023] ACPI: EC: event blocked
[Thu Jun 15 18:09:49 2023] ACPI: EC: EC stopped
[Thu Jun 15 18:09:49 2023] ACPI: PM: Saving platform NVS memory
[Thu Jun 15 18:09:49 2023] Disabling non-boot CPUs ...
[Thu Jun 15 18:09:49 2023] smpboot: CPU 1 is now offline
[Thu Jun 15 18:09:49 2023] smpboot: CPU 2 is now offline
[Thu Jun 15 18:09:49 2023] smpboot: CPU 3 is now offline
[Thu Jun 15 18:09:49 2023] smpboot: CPU 4 is now offline
[Thu Jun 15 18:09:49 2023] smpboot: CPU 5 is now offline
[Thu Jun 15 18:09:49 2023] smpboot: CPU 6 is now offline
[Thu Jun 15 18:09:49 2023] smpboot: CPU 7 is now offline
[Thu Jun 15 18:09:49 2023] smpboot: CPU 8 is now offline
[Thu Jun 15 18:09:49 2023] smpboot: CPU 9 is now offline
[Thu Jun 15 18:09:49 2023] smpboot: CPU 10 is now offline
[Thu Jun 15 18:09:49 2023] smpboot: CPU 11 is now offline
[Thu Jun 15 18:09:49 2023] smpboot: CPU 12 is now offline
[Thu Jun 15 18:09:49 2023] smpboot: CPU 13 is now offline
[Thu Jun 15 18:09:49 2023] smpboot: CPU 14 is now offline
[Thu Jun 15 18:09:49 2023] smpboot: CPU 15 is now offline
[Thu Jun 15 18:09:49 2023] smpboot: CPU 16 is now offline
[Thu Jun 15 18:09:49 2023] smpboot: CPU 17 is now offline
[Thu Jun 15 18:09:49 2023] smpboot: CPU 18 is now offline
[Thu Jun 15 18:09:49 2023] smpboot: CPU 19 is now offline
[Thu Jun 15 18:09:49 2023] ACPI: PM: Low-level resume complete
[Thu Jun 15 18:09:49 2023] ACPI: EC: EC started
[Thu Jun 15 18:09:49 2023] ACPI: PM: Restoring platform NVS memory
[Thu Jun 15 18:09:49 2023] Enabling non-boot CPUs ...
[Thu Jun 15 18:09:49 2023] x86: Booting SMP configuration:
[Thu Jun 15 18:09:49 2023] smpboot: Booting Node 0 Processor 1 APIC 0x1
[Thu Jun 15 18:09:49 2023] CPU1 is up
[Thu Jun 15 18:09:49 2023] smpboot: Booting Node 0 Processor 2 APIC 0x8
[Thu Jun 15 18:09:49 2023] CPU2 is up
[Thu Jun 15 18:09:49 2023] smpboot: Booting Node 0 Processor 3 APIC 0x9
[Thu Jun 15 18:09:49 2023] CPU3 is up
[Thu Jun 15 18:09:49 2023] smpboot: Booting Node 0 Processor 4 APIC 0x10
[Thu Jun 15 18:09:49 2023] CPU4 is up
[Thu Jun 15 18:09:49 2023] smpboot: Booting Node 0 Processor 5 APIC 0x11
[Thu Jun 15 18:09:49 2023] CPU5 is up
[Thu Jun 15 18:09:49 2023] smpboot: Booting Node 0 Processor 6 APIC 0x18
[Thu Jun 15 18:09:49 2023] CPU6 is up
[Thu Jun 15 18:09:49 2023] smpboot: Booting Node 0 Processor 7 APIC 0x19
[Thu Jun 15 18:09:49 2023] CPU7 is up
[Thu Jun 15 18:09:49 2023] smpboot: Booting Node 0 Processor 8 APIC 0x20
[Thu Jun 15 18:09:49 2023] CPU8 is up
[Thu Jun 15 18:09:49 2023] smpboot: Booting Node 0 Processor 9 APIC 0x21
[Thu Jun 15 18:09:49 2023] CPU9 is up
[Thu Jun 15 18:09:49 2023] smpboot: Booting Node 0 Processor 10 APIC 0x28
[Thu Jun 15 18:09:49 2023] CPU10 is up
[Thu Jun 15 18:09:49 2023] smpboot: Booting Node 0 Processor 11 APIC 0x29
[Thu Jun 15 18:09:49 2023] CPU11 is up
[Thu Jun 15 18:09:49 2023] smpboot: Booting Node 0 Processor 12 APIC 0x30
[Thu Jun 15 18:09:49 2023] core: cpu_atom PMU driver: PEBS-via-PT 
[Thu Jun 15 18:09:49 2023] ... version:                5
[Thu Jun 15 18:09:49 2023] ... bit width:              48
[Thu Jun 15 18:09:49 2023] ... generic registers:      6
[Thu Jun 15 18:09:49 2023] ... value mask:             0000ffffffffffff
[Thu Jun 15 18:09:49 2023] ... max period:             00007fffffffffff
[Thu Jun 15 18:09:49 2023] ... fixed-purpose events:   3
[Thu Jun 15 18:09:49 2023] ... event mask:             000000070000003f
[Thu Jun 15 18:09:49 2023] CPU12 is up
[Thu Jun 15 18:09:49 2023] smpboot: Booting Node 0 Processor 13 APIC 0x32
[Thu Jun 15 18:09:49 2023] CPU13 is up
[Thu Jun 15 18:09:49 2023] smpboot: Booting Node 0 Processor 14 APIC 0x34
[Thu Jun 15 18:09:49 2023] CPU14 is up
[Thu Jun 15 18:09:49 2023] smpboot: Booting Node 0 Processor 15 APIC 0x36
[Thu Jun 15 18:09:49 2023] CPU15 is up
[Thu Jun 15 18:09:49 2023] smpboot: Booting Node 0 Processor 16 APIC 0x38
[Thu Jun 15 18:09:49 2023] CPU16 is up
[Thu Jun 15 18:09:49 2023] smpboot: Booting Node 0 Processor 17 APIC 0x3a
[Thu Jun 15 18:09:49 2023] CPU17 is up
[Thu Jun 15 18:09:49 2023] smpboot: Booting Node 0 Processor 18 APIC 0x3c
[Thu Jun 15 18:09:49 2023] CPU18 is up
[Thu Jun 15 18:09:49 2023] smpboot: Booting Node 0 Processor 19 APIC 0x3e
[Thu Jun 15 18:09:49 2023] CPU19 is up
[Thu Jun 15 18:09:49 2023] ACPI: PM: Waking up from system sleep state S3
[Thu Jun 15 18:09:49 2023] ACPI: EC: interrupt unblocked
[Thu Jun 15 18:09:49 2023] ACPI: EC: event unblocked
[Thu Jun 15 18:09:49 2023] xhci_hcd 0000:00:0d.0: xHC error in resume, USBSTS 0x401, Reinit
[Thu Jun 15 18:09:49 2023] usb usb1: root hub lost power or was reset
[Thu Jun 15 18:09:49 2023] usb usb2: root hub lost power or was reset
[Thu Jun 15 18:09:49 2023] i915 0000:00:02.0: [drm] GT0: GuC firmware i915/adlp_guc_70.bin version 70.5.1
[Thu Jun 15 18:09:49 2023] i915 0000:00:02.0: [drm] GT0: HuC firmware i915/tgl_huc.bin version 7.9.3
[Thu Jun 15 18:09:49 2023] iwlwifi 0000:00:14.3: WRT: Invalid buffer destination
[Thu Jun 15 18:09:49 2023] nvme nvme0: 20/0/0 default/read/poll queues
[Thu Jun 15 18:09:49 2023] i915 0000:00:02.0: [drm] HuC authenticated
[Thu Jun 15 18:09:49 2023] i915 0000:00:02.0: [drm] GT0: GUC: submission disabled
[Thu Jun 15 18:09:49 2023] i915 0000:00:02.0: [drm] GT0: GUC: SLPC disabled
[Thu Jun 15 18:09:50 2023] iwlwifi 0000:00:14.3: WFPM_UMAC_PD_NOTIFICATION: 0x1f
[Thu Jun 15 18:09:50 2023] iwlwifi 0000:00:14.3: WFPM_LMAC2_PD_NOTIFICATION: 0x1f
[Thu Jun 15 18:09:50 2023] iwlwifi 0000:00:14.3: WFPM_AUTH_KEY_0: 0x80
[Thu Jun 15 18:09:50 2023] iwlwifi 0000:00:14.3: CNVI_SCU_SEQ_DATA_DW9: 0x0
[Thu Jun 15 18:09:50 2023] OOM killer enabled.
[Thu Jun 15 18:09:50 2023] Restarting tasks ... 
[Thu Jun 15 18:09:50 2023] mei_hdcp 0000:00:16.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04: bound 0000:00:02.0 (ops i915_hdcp_component_ops [i915])
[Thu Jun 15 18:09:50 2023] done.
[Thu Jun 15 18:09:50 2023] random: crng reseeded on system resumption
[Thu Jun 15 18:09:50 2023] mei_pxp 0000:00:16.0-fbf6fcf1-96cf-4e2e-a6a6-1bab8cbe36b1: bound 0000:00:02.0 (ops i915_pxp_tee_component_ops [i915])
[Thu Jun 15 18:09:50 2023] PM: suspend exit
[Thu Jun 15 18:09:50 2023] Process accounting resumed
[Thu Jun 15 18:09:50 2023] xhci_hcd 0000:00:14.0: xHCI Host Controller
[Thu Jun 15 18:09:50 2023] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 3
[Thu Jun 15 18:09:50 2023] xhci_hcd 0000:00:14.0: hcc params 0x20007fc1 hci version 0x120 quirks 0x0000100200009810
[Thu Jun 15 18:09:50 2023] xhci_hcd 0000:00:14.0: xHCI Host Controller
[Thu Jun 15 18:09:50 2023] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 4
[Thu Jun 15 18:09:50 2023] xhci_hcd 0000:00:14.0: Host supports USB 3.1 Enhanced SuperSpeed
[Thu Jun 15 18:09:50 2023] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.03
[Thu Jun 15 18:09:50 2023] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[Thu Jun 15 18:09:50 2023] usb usb3: Product: xHCI Host Controller
[Thu Jun 15 18:09:50 2023] usb usb3: Manufacturer: Linux 6.3.7-1-ck xhci-hcd
[Thu Jun 15 18:09:50 2023] usb usb3: SerialNumber: 0000:00:14.0
[Thu Jun 15 18:09:50 2023] hub 3-0:1.0: USB hub found
[Thu Jun 15 18:09:50 2023] hub 3-0:1.0: 12 ports detected
[Thu Jun 15 18:09:50 2023] typec port0: bound usb3-port1 (ops connector_ops)
[Thu Jun 15 18:09:50 2023] typec port0: bound usb2-port1 (ops connector_ops)
[Thu Jun 15 18:09:50 2023] typec port1: bound usb3-port3 (ops connector_ops)
[Thu Jun 15 18:09:50 2023] typec port1: bound usb2-port3 (ops connector_ops)
[Thu Jun 15 18:09:50 2023] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.03
[Thu Jun 15 18:09:50 2023] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[Thu Jun 15 18:09:50 2023] usb usb4: Product: xHCI Host Controller
[Thu Jun 15 18:09:50 2023] usb usb4: Manufacturer: Linux 6.3.7-1-ck xhci-hcd
[Thu Jun 15 18:09:50 2023] usb usb4: SerialNumber: 0000:00:14.0
[Thu Jun 15 18:09:50 2023] hub 4-0:1.0: USB hub found
[Thu Jun 15 18:09:50 2023] hub 4-0:1.0: 4 ports detected
[Thu Jun 15 18:09:51 2023] usb 3-8: new full-speed USB device number 2 using xhci_hcd
[Thu Jun 15 18:09:51 2023] usb 3-8: New USB device found, idVendor=8086, idProduct=0b63, bcdDevice=10.02
[Thu Jun 15 18:09:51 2023] usb 3-8: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[Thu Jun 15 18:09:51 2023] usb 3-8: Product: USB Bridge
[Thu Jun 15 18:09:51 2023] usb 3-8: Manufacturer: MCHP
[Thu Jun 15 18:09:51 2023] gpio gpiochip2: (INTC1096:00): not an immutable chip, please consider fixing it!
[Thu Jun 15 18:09:51 2023] gpio gpiochip2: (INTC1096:00): detected irqchip that is shared with multiple gpiochips: please fix the driver.
[Thu Jun 15 18:09:51 2023] ljca-i2c ljca-i2c.3.auto: hid INTC1097 uid 0 new uid1
[Thu Jun 15 18:09:51 2023] ljca 3-8:1.0: LJCA USB device init success
[Thu Jun 15 18:09:51 2023] usb 3-10: new full-speed USB device number 3 using xhci_hcd
[Thu Jun 15 18:09:51 2023] usb 3-10: New USB device found, idVendor=8087, idProduct=0033, bcdDevice= 0.00
[Thu Jun 15 18:09:51 2023] usb 3-10: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[Thu Jun 15 18:09:51 2023] Bluetooth: hci0: Firmware timestamp 2023.6 buildtype 1 build 59564
[Thu Jun 15 18:09:51 2023] Bluetooth: hci0: Found device firmware: intel/ibt-0040-0041.sfi
[Thu Jun 15 18:09:51 2023] Bluetooth: hci0: Boot Address: 0x100800
[Thu Jun 15 18:09:51 2023] Bluetooth: hci0: Firmware Version: 172-6.23
[Thu Jun 15 18:09:51 2023] Bluetooth: hci0: Firmware already loaded
[Thu Jun 15 18:09:51 2023] Bluetooth: MGMT ver 1.22
[Thu Jun 15 18:09:52 2023] gpio gpiochip1: gpiod_set_value_cansleep: backing chip is gone
[Thu Jun 15 18:09:54 2023] wlp0s20f3: authenticate with 1c:9e:cc:53:0e:fb
[Thu Jun 15 18:09:54 2023] wlp0s20f3: send auth to 1c:9e:cc:53:0e:fb (try 1/3)
[Thu Jun 15 18:09:54 2023] wlp0s20f3: authenticated
[Thu Jun 15 18:09:54 2023] wlp0s20f3: associate with 1c:9e:cc:53:0e:fb (try 1/3)
[Thu Jun 15 18:09:54 2023] wlp0s20f3: RX AssocResp from 1c:9e:cc:53:0e:fb (capab=0x1011 status=0 aid=22)
[Thu Jun 15 18:09:54 2023] wlp0s20f3: associated
[Thu Jun 15 18:09:54 2023] IPv6: ADDRCONF(NETDEV_CHANGE): wlp0s20f3: link becomes ready
[Thu Jun 15 18:09:57 2023] v4l2loopback driver version 0.12.7 loaded
[Thu Jun 15 18:09:57 2023] intel-ipu6 0000:00:05.0: Device 0x465d (rev: 0x2)
[Thu Jun 15 18:09:57 2023] intel-ipu6 0000:00:05.0: physical base address 0x603c000000
[Thu Jun 15 18:09:57 2023] intel-ipu6 0000:00:05.0: mapped as: 0x00000000f2d7f22b
[Thu Jun 15 18:09:57 2023] intel-ipu6 0000:00:05.0: IPU in secure mode
[Thu Jun 15 18:09:57 2023] intel-ipu6 0000:00:05.0: IPU secure touch = 0x0
[Thu Jun 15 18:09:57 2023] intel-ipu6 0000:00:05.0: IPU camera mask = 0xff
[Thu Jun 15 18:09:57 2023] intel-ipu6 0000:00:05.0: IPC reset done
[Thu Jun 15 18:09:57 2023] intel-ipu6 0000:00:05.0: cpd file name: intel/ipu6ep_fw.bin
[Thu Jun 15 18:09:57 2023] intel-ipu6 0000:00:05.0: FW version: 20220510
[Thu Jun 15 18:09:57 2023] intel-ipu6 0000:00:05.0: Sending BOOT_LOAD to CSE
[Thu Jun 15 18:09:57 2023] intel-ipu6 0000:00:05.0: Sending AUTHENTICATE_RUN to CSE
[Thu Jun 15 18:09:57 2023] intel-ipu6 0000:00:05.0: CSE authenticate_run done
[Thu Jun 15 18:09:57 2023] intel-ipu6 0000:00:05.0: IPU6-v3 driver version 1.0
[Thu Jun 15 18:09:57 2023] BUG: kernel NULL pointer dereference, address: 0000000000000000
[Thu Jun 15 18:09:57 2023] #PF: supervisor read access in kernel mode
[Thu Jun 15 18:09:57 2023] #PF: error_code(0x0000) - not-present page
[Thu Jun 15 18:09:57 2023] PGD 0 P4D 0 
[Thu Jun 15 18:09:57 2023] Oops: 0000 [#1] PREEMPT SMP NOPTI
[Thu Jun 15 18:09:57 2023] CPU: 0 PID: 18312 Comm: modprobe Tainted: P SR  U     OE      6.3.7-1-ck #1 de36db804fbf5bd31fdc1f551f8a28a86103720b
[Thu Jun 15 18:09:57 2023] Hardware name: LENOVO 21E8xnano2/21E8xnano2, BIOS N3IET36W (1.16 ) 09/15/2022
[Thu Jun 15 18:09:57 2023] RIP: 0010:software_node_graph_get_port_parent+0x3f/0xa0
[Thu Jun 15 18:09:57 2023] Code: ff ff 77 0a 48 81 7f 08 60 c2 38 a2 74 76 31 ff 48 8b 9f c0 00 00 00 48 85 db 74 48 48 8b 83 80 00 00 00 48 c7 c6 ba fd 80 a2 <48> 8b 38 e8 69 7d 44 00 85 c0 74 38 48 89 dd 48 83 c5 40 74 13 48
[Thu Jun 15 18:09:57 2023] RSP: 0018:ffffbcc2c2befad8 EFLAGS: 00010286
[Thu Jun 15 18:09:57 2023] RAX: 0000000000000000 RBX: ffff92da21f19100 RCX: 0000000000000001
[Thu Jun 15 18:09:57 2023] RDX: ffffffffa238c260 RSI: ffffffffa280fdba RDI: ffff92da21f19500
[Thu Jun 15 18:09:57 2023] RBP: ffffbcc2c2befbd0 R08: ffffbcc2c2befaa8 R09: ffff92dc53b45680
[Thu Jun 15 18:09:57 2023] R10: 0000000000007fc0 R11: 0000000000000000 R12: ffff92dc53b45680
[Thu Jun 15 18:09:57 2023] R13: ffff92da025270d0 R14: ffffbcc2c2befb40 R15: 0000000000000001
[Thu Jun 15 18:09:57 2023] FS:  00007fe3ebd1a740(0000) GS:ffff92e13f200000(0000) knlGS:0000000000000000
[Thu Jun 15 18:09:57 2023] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[Thu Jun 15 18:09:57 2023] CR2: 0000000000000000 CR3: 000000013e71e000 CR4: 0000000000f50ef0
[Thu Jun 15 18:09:57 2023] PKRU: 55555554
[Thu Jun 15 18:09:57 2023] Call Trace:
[Thu Jun 15 18:09:57 2023]  <TASK>
[Thu Jun 15 18:09:57 2023]  ? __die+0x23/0x70
[Thu Jun 15 18:09:57 2023]  ? page_fault_oops+0x171/0x4e0
[Thu Jun 15 18:09:57 2023]  ? exc_page_fault+0x7c/0x180
[Thu Jun 15 18:09:57 2023]  ? asm_exc_page_fault+0x26/0x30
[Thu Jun 15 18:09:57 2023]  ? software_node_graph_get_port_parent+0x3f/0xa0
[Thu Jun 15 18:09:57 2023]  fwnode_graph_get_port_parent+0x65/0xb0
[Thu Jun 15 18:09:57 2023]  fwnode_graph_get_remote_port_parent+0x41/0x90
[Thu Jun 15 18:09:57 2023]  v4l2_async_nf_parse_fwnode_endpoints+0x113/0x390 [v4l2_fwnode fde77c4145e0029aa5badb2aeddb4c87c9cbd12f]
[Thu Jun 15 18:09:57 2023]  ? __pfx_isys_fwnode_parse+0x10/0x10 [intel_ipu6_isys 838d8610573da81f2ee66f6dbedae93a47ecbc08]
[Thu Jun 15 18:09:57 2023]  isys_probe+0x71b/0x950 [intel_ipu6_isys 838d8610573da81f2ee66f6dbedae93a47ecbc08]
[Thu Jun 15 18:09:57 2023]  ipu_bus_probe+0x5c/0xf0 [intel_ipu6 5de0bde4e15af76cbb0210c3c11075bb1da999a5]
[Thu Jun 15 18:09:57 2023]  really_probe+0x19b/0x3e0
[Thu Jun 15 18:09:57 2023]  ? __pfx___driver_attach+0x10/0x10
[Thu Jun 15 18:09:57 2023]  __driver_probe_device+0x78/0x160
[Thu Jun 15 18:09:57 2023]  driver_probe_device+0x1f/0x90
[Thu Jun 15 18:09:57 2023]  __driver_attach+0xd2/0x1c0
[Thu Jun 15 18:09:57 2023]  bus_for_each_dev+0x85/0xd0
[Thu Jun 15 18:09:57 2023]  bus_add_driver+0x116/0x220
[Thu Jun 15 18:09:57 2023]  driver_register+0x59/0x100
[Thu Jun 15 18:09:57 2023]  ? __pfx_init_module+0x10/0x10 [intel_ipu6_isys 838d8610573da81f2ee66f6dbedae93a47ecbc08]
[Thu Jun 15 18:09:57 2023]  do_one_initcall+0x8e/0x270
[Thu Jun 15 18:09:57 2023]  do_init_module+0x4a/0x200
[Thu Jun 15 18:09:57 2023]  __do_sys_init_module+0x17e/0x1b0
[Thu Jun 15 18:09:57 2023]  do_syscall_64+0x5d/0x90
[Thu Jun 15 18:09:57 2023]  ? syscall_exit_to_user_mode+0x1b/0x40
[Thu Jun 15 18:09:57 2023]  ? do_syscall_64+0x6c/0x90
[Thu Jun 15 18:09:57 2023]  ? exc_page_fault+0x7c/0x180
[Thu Jun 15 18:09:57 2023]  entry_SYSCALL_64_after_hwframe+0x72/0xdc
[Thu Jun 15 18:09:57 2023] RIP: 0033:0x7fe3ebe2af9e
[Thu Jun 15 18:09:57 2023] Code: 48 8b 0d bd ed 0c 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 49 89 ca b8 af 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 8a ed 0c 00 f7 d8 64 89 01 48
[Thu Jun 15 18:09:57 2023] RSP: 002b:00007ffe1c7f1918 EFLAGS: 00000246 ORIG_RAX: 00000000000000af
[Thu Jun 15 18:09:57 2023] RAX: ffffffffffffffda RBX: 000055a7a1c9b350 RCX: 00007fe3ebe2af9e
[Thu Jun 15 18:09:57 2023] RDX: 000055a7a0dd3cb2 RSI: 000000000006b06d RDI: 00007fe3eb8a1010
[Thu Jun 15 18:09:57 2023] RBP: 000055a7a0dd3cb2 R08: 000000000008c000 R09: 0000000000000000
[Thu Jun 15 18:09:57 2023] R10: 0000000000017701 R11: 0000000000000246 R12: 0000000000040000
[Thu Jun 15 18:09:57 2023] R13: 000055a7a1c9b100 R14: 0000000000000000 R15: 000055a7a1c9c660
[Thu Jun 15 18:09:57 2023]  </TASK>
[Thu Jun 15 18:09:57 2023] Modules linked in: intel_ipu6_isys(OE+) intel_ipu6(OE) mei_csi(OE) mei_ace(OE) intel_vsc(OE) v4l2loopback(OE) ov2740(OE) rfcomm uhid cmac algif_hash algif_skcipher af_alg bnep snd_seq_dummy snd_hrtimer snd_seq snd_seq_device ccm wireguard curve25519_x86_64 libchacha20poly1305 chacha_x86_64 poly1305_x86_64 libcurve25519_generic libchacha ip6_udp_tunnel udp_tunnel bridge stp llc uinput btusb btrtl gpio_ljca(OE) spi_ljca(OE) i2c_ljca(OE) btbcm btintel btmtk bluetooth ecdh_generic ljca(OE) crc16 snd_ctl_led snd_soc_skl_hda_dsp snd_soc_intel_hda_dsp_common snd_soc_hdac_hdmi snd_sof_probes snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic snd_soc_dmic snd_sof_pci_intel_tgl snd_sof_intel_hda_common soundwire_intel soundwire_generic_allocation soundwire_cadence snd_sof_intel_hda snd_sof_pci snd_sof_xtensa_dsp intel_tcc_cooling snd_sof x86_pkg_temp_thermal intel_powerclamp snd_sof_utils coretemp snd_soc_hdac_hda snd_hda_ext_core snd_soc_acpi_intel_match kvm_intel snd_soc_acpi soundwire_bus snd_soc_core
[Thu Jun 15 18:09:57 2023]  snd_compress kvm iwlmvm joydev ac97_bus mousedev irqbypass snd_pcm_dmaengine crct10dif_pclmul crc32_pclmul mac80211 hid_multitouch crc32c_intel snd_hda_intel polyval_clmulni polyval_generic snd_intel_dspcfg gf128mul snd_intel_sdw_acpi ghash_clmulni_intel libarc4 sha512_ssse3 snd_hda_codec videobuf2_dma_contig aesni_intel videobuf2_memops snd_hda_core iTCO_wdt crypto_simd spi_nor cryptd intel_pmc_bxt snd_hwdep videobuf2_v4l2 pmt_telemetry processor_thermal_device_pci rapl mei_pxp iTCO_vendor_support mtd mei_hdcp mei_wdt intel_rapl_msr pmt_class intel_cstate videobuf2_common snd_pcm iwlwifi thinkpad_acpi think_lmi intel_uncore processor_thermal_device intel_skl_int3472_tps68470 pcspkr psmouse firmware_attributes_class wmi_bmof tps68470_regulator ucsi_acpi processor_thermal_rfim ledtrig_audio spi_intel_pci processor_thermal_mbox clk_tps68470 snd_timer platform_profile cfg80211 i2c_i801 typec_ucsi intel_lpss_pci mei_me processor_thermal_rapl mei_vsc(OE) spi_intel intel_lpss typec snd i2c_hid_acpi i2c_smbus
[Thu Jun 15 18:09:57 2023]  v4l2_fwnode intel_rapl_common thunderbolt rfkill idma64 intel_vsec int3403_thermal igen6_edac mei i2c_hid soundcore int3400_thermal intel_hid roles v4l2_async intel_skl_int3472_discrete soc_button_array acpi_tad acpi_pad int340x_thermal_zone sparse_keymap acpi_thermal_rel mac_hid vboxnetflt(OE) vboxnetadp(OE) vboxdrv(OE) videodev mc dm_multipath i2c_dev sg crypto_user acpi_call(OE) fuse dm_mod loop bpf_preload ip_tables x_tables serio_raw atkbd libps2 vivaldi_fmap xhci_pci xhci_pci_renesas i8042 serio zram i915 i2c_algo_bit drm_buddy video wmi drm_display_helper cec ttm intel_agp intel_gtt zfs(POE) zunicode(POE) zzstd(OE) zlua(OE) zavl(POE) icp(POE) zcommon(POE) znvpair(POE) spl(OE) nvme nvme_core nvme_common
[Thu Jun 15 18:09:57 2023] Unloaded tainted modules: intel_ipu6(OE):1 intel_ipu6_psys(OE):1 intel_ipu6_isys(OE):1 ov2740(OE):1 v4l2loopback(OE):1 [last unloaded: intel_ipu6(OE)]
[Thu Jun 15 18:09:57 2023] CR2: 0000000000000000
[Thu Jun 15 18:09:57 2023] ---[ end trace 0000000000000000 ]---
[Thu Jun 15 18:09:57 2023] RIP: 0010:software_node_graph_get_port_parent+0x3f/0xa0
[Thu Jun 15 18:09:57 2023] Code: ff ff 77 0a 48 81 7f 08 60 c2 38 a2 74 76 31 ff 48 8b 9f c0 00 00 00 48 85 db 74 48 48 8b 83 80 00 00 00 48 c7 c6 ba fd 80 a2 <48> 8b 38 e8 69 7d 44 00 85 c0 74 38 48 89 dd 48 83 c5 40 74 13 48
[Thu Jun 15 18:09:57 2023] RSP: 0018:ffffbcc2c2befad8 EFLAGS: 00010286
[Thu Jun 15 18:09:57 2023] RAX: 0000000000000000 RBX: ffff92da21f19100 RCX: 0000000000000001
[Thu Jun 15 18:09:57 2023] RDX: ffffffffa238c260 RSI: ffffffffa280fdba RDI: ffff92da21f19500
[Thu Jun 15 18:09:57 2023] RBP: ffffbcc2c2befbd0 R08: ffffbcc2c2befaa8 R09: ffff92dc53b45680
[Thu Jun 15 18:09:57 2023] R10: 0000000000007fc0 R11: 0000000000000000 R12: ffff92dc53b45680
[Thu Jun 15 18:09:57 2023] R13: ffff92da025270d0 R14: ffffbcc2c2befb40 R15: 0000000000000001
[Thu Jun 15 18:09:57 2023] FS:  00007fe3ebd1a740(0000) GS:ffff92e13f200000(0000) knlGS:0000000000000000
[Thu Jun 15 18:09:57 2023] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[Thu Jun 15 18:09:57 2023] CR2: 0000000000000000 CR3: 000000013e71e000 CR4: 0000000000f50ef0
[Thu Jun 15 18:09:57 2023] PKRU: 55555554
[Thu Jun 15 18:09:57 2023] note: modprobe[18312] exited with irqs disabled
[Thu Jun 15 18:09:57 2023] intel-ipu6-psys intel-ipu6-psys0: pkg_dir entry count:8
[Thu Jun 15 18:09:57 2023] intel-ipu6-psys intel-ipu6-psys0: psys probe minor: 0

I am willing to help debug this if possible.

HuidaeCho commented 1 year ago

This issue might be related.

polair commented 1 year ago

@HuidaeCho I can confirm that they're likely related. I can re-create the suspend segfault behavior by unloading the i2c_ljca module, after having unloaded the relevant IPU modules. To be clear, the segfault does not occur and everything runs as expected if I remove the i2c_ljca lines. I run the following script to unload/reload the modules:

echo rmmod

sudo systemctl stop v4l2-relayd.service

sudo rmmod -f v4l2loopback
sudo rmmod -f intel_ipu6
sudo rmmod -f intel_ipu6_isys
sudo rmmod -f intel_ipu6_psys
sudo rmmod -f ov2740
sudo rmmod -f mei_vsc
sudo rmmod -f i2c_ljca

sleep 5

sudo modprobe i2c_ljca
sudo modprobe mei_vsc
sudo modprobe v4l2loopback video_nr=1 card_label='Camera' exclusive_caps=1 max_buffers=2
sudo modprobe ov2740
sudo modprobe intel_ipu6
sudo modprobe intel_ipu6_psys enable_suspend_resume=1 async_fw_init=1
sudo modprobe -f -v intel_ipu6_isys

Then in the dmesg log I have:

[Fri Jun 16 13:20:29 2023] intel-ipu6-isys intel-ipu6-isys0: removed
[Fri Jun 16 13:20:29 2023] intel-ipu6-isys intel-ipu6-isys0: unbind ov2740 17-0036
[Fri Jun 16 13:20:29 2023] intel-ipu6-psys intel-ipu6-psys0: removed
[Fri Jun 16 13:20:38 2023] v4l2loopback driver version 0.12.7 loaded
[Fri Jun 16 13:20:38 2023] intel-ipu6 0000:00:05.0: Device 0x465d (rev: 0x2)
[Fri Jun 16 13:20:38 2023] intel-ipu6 0000:00:05.0: physical base address 0x603c000000
[Fri Jun 16 13:20:38 2023] intel-ipu6 0000:00:05.0: mapped as: 0x0000000027ff5c58
[Fri Jun 16 13:20:38 2023] intel-ipu6 0000:00:05.0: IPU in secure mode
[Fri Jun 16 13:20:38 2023] intel-ipu6 0000:00:05.0: IPU secure touch = 0x0
[Fri Jun 16 13:20:38 2023] intel-ipu6 0000:00:05.0: IPU camera mask = 0xff
[Fri Jun 16 13:20:39 2023] intel-ipu6 0000:00:05.0: IPC reset done
[Fri Jun 16 13:20:39 2023] intel-ipu6 0000:00:05.0: cpd file name: intel/ipu6ep_fw.bin
[Fri Jun 16 13:20:39 2023] intel-ipu6 0000:00:05.0: FW version: 20220510
[Fri Jun 16 13:20:39 2023] intel-ipu6 0000:00:05.0: IPU6-v3 driver version 1.0
[Fri Jun 16 13:20:39 2023] intel-ipu6-psys intel-ipu6-psys0: pkg_dir entry count:8
[Fri Jun 16 13:20:39 2023] intel-ipu6-psys intel-ipu6-psys0: FW init done
[Fri Jun 16 13:20:39 2023] intel-ipu6-psys intel-ipu6-psys0: psys probe minor: 0
[Fri Jun 16 13:20:39 2023] intel-ipu6-isys intel-ipu6-isys0: bind ov2740 17-0036 nlanes is 2 port is 1
[Fri Jun 16 13:20:39 2023] intel-ipu6-isys intel-ipu6-isys0: All sensor registration completed.
[Fri Jun 16 13:23:50 2023] intel-ipu6-isys intel-ipu6-isys0: removed
[Fri Jun 16 13:23:50 2023] intel-ipu6-isys intel-ipu6-isys0: unbind ov2740 17-0036
[Fri Jun 16 13:23:50 2023] intel-ipu6-psys intel-ipu6-psys0: removed
[Fri Jun 16 13:23:53 2023] ljca-i2c ljca-i2c.3.auto: hid INTC1097 uid 0 new uid1
[Fri Jun 16 13:23:53 2023] v4l2loopback driver version 0.12.7 loaded
[Fri Jun 16 13:23:53 2023] intel-ipu6 0000:00:05.0: Device 0x465d (rev: 0x2)
[Fri Jun 16 13:23:53 2023] intel-ipu6 0000:00:05.0: physical base address 0x603c000000
[Fri Jun 16 13:23:53 2023] intel-ipu6 0000:00:05.0: mapped as: 0x0000000052731752
[Fri Jun 16 13:23:53 2023] intel-ipu6 0000:00:05.0: IPU in secure mode
[Fri Jun 16 13:23:53 2023] intel-ipu6 0000:00:05.0: IPU secure touch = 0x0
[Fri Jun 16 13:23:53 2023] intel-ipu6 0000:00:05.0: IPU camera mask = 0xff
[Fri Jun 16 13:23:53 2023] intel-ipu6 0000:00:05.0: IPC reset done
[Fri Jun 16 13:23:53 2023] intel-ipu6 0000:00:05.0: cpd file name: intel/ipu6ep_fw.bin
[Fri Jun 16 13:23:53 2023] intel-ipu6 0000:00:05.0: FW version: 20220510
[Fri Jun 16 13:23:53 2023] intel-ipu6 0000:00:05.0: IPU6-v3 driver version 1.0
[Fri Jun 16 13:23:53 2023] intel-ipu6-psys intel-ipu6-psys0: pkg_dir entry count:8
[Fri Jun 16 13:23:53 2023] intel-ipu6-psys intel-ipu6-psys0: FW init done
[Fri Jun 16 13:23:53 2023] intel-ipu6-psys intel-ipu6-psys0: psys probe minor: 0
[Fri Jun 16 13:23:53 2023] general protection fault, probably for non-canonical address 0x522e352a3d26d806: 0000 [#2] PREEMPT SMP NOPTI
[Fri Jun 16 13:23:53 2023] CPU: 0 PID: 22296 Comm: modprobe Tainted: PF R  UD    OE      6.3.7-1-ck #1 de36db804fbf5bd31fdc1f551f8a28a86103720b
[Fri Jun 16 13:23:53 2023] Hardware name: LENOVO 21E8xnano2/21E8xnano2, BIOS N3IET36W (1.16 ) 09/15/2022
[Fri Jun 16 13:23:53 2023] RIP: 0010:software_node_graph_get_port_parent+0x3f/0xa0
[Fri Jun 16 13:23:53 2023] Code: ff ff 77 0a 48 81 7f 08 60 c2 d8 b1 74 76 31 ff 48 8b 9f c0 00 00 00 48 85 db 74 48 48 8b 83 80 00 00 00 48 c7 c6 ba fd 20 b2 <48> 8b 38 e8 69 7d 44 00 85 c0 74 38 48 89 dd 48 83 c5 40 74 13 48
[Fri Jun 16 13:23:53 2023] RSP: 0018:ffffba90002c7ab8 EFLAGS: 00010286
[Fri Jun 16 13:23:53 2023] RAX: 522e352a3d26d806 RBX: ffff9cdeb8ab7800 RCX: 0000000000000001
[Fri Jun 16 13:23:53 2023] RDX: ffffffffb1d8c260 RSI: ffffffffb220fdba RDI: ffff9cde9eda2f00
[Fri Jun 16 13:23:53 2023] RBP: ffffba90002c7bb0 R08: ffffba90002c7a88 R09: ffff9cdff5b6c8c0
[Fri Jun 16 13:23:53 2023] R10: 0000000000007fc0 R11: 0000000000000000 R12: ffff9cdff5b6c8c0
[Fri Jun 16 13:23:53 2023] R13: ffff9cde8292b0d0 R14: ffffba90002c7b20 R15: 0000000000000001
[Fri Jun 16 13:23:53 2023] FS:  00007f80fc851740(0000) GS:ffff9ce5bf200000(0000) knlGS:0000000000000000
[Fri Jun 16 13:23:53 2023] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[Fri Jun 16 13:23:53 2023] CR2: 000055a930cad000 CR3: 000000013a546000 CR4: 0000000000f50ef0
[Fri Jun 16 13:23:53 2023] PKRU: 55555554
[Fri Jun 16 13:23:53 2023] Call Trace:
[Fri Jun 16 13:23:53 2023]  <TASK>
[Fri Jun 16 13:23:53 2023]  ? die_addr+0x36/0x90
[Fri Jun 16 13:23:53 2023]  ? exc_general_protection+0x1be/0x420
[Fri Jun 16 13:23:53 2023]  ? asm_exc_general_protection+0x26/0x30
[Fri Jun 16 13:23:53 2023]  ? software_node_graph_get_port_parent+0x3f/0xa0
[Fri Jun 16 13:23:53 2023]  fwnode_graph_get_port_parent+0x65/0xb0
[Fri Jun 16 13:23:53 2023]  fwnode_graph_get_remote_port_parent+0x41/0x90
[Fri Jun 16 13:23:53 2023]  v4l2_async_nf_parse_fwnode_endpoints+0x113/0x390 [v4l2_fwnode fde77c4145e0029aa5badb2aeddb4c87c9cbd12f]
[Fri Jun 16 13:23:53 2023]  ? __pfx_isys_fwnode_parse+0x10/0x10 [intel_ipu6_isys 838d8610573da81f2ee66f6dbedae93a47ecbc08]
[Fri Jun 16 13:23:53 2023]  isys_probe+0x71b/0x950 [intel_ipu6_isys 838d8610573da81f2ee66f6dbedae93a47ecbc08]
[Fri Jun 16 13:23:53 2023]  ipu_bus_probe+0x5c/0xf0 [intel_ipu6 5de0bde4e15af76cbb0210c3c11075bb1da999a5]
[Fri Jun 16 13:23:53 2023]  really_probe+0x19b/0x3e0
[Fri Jun 16 13:23:53 2023]  ? __pfx___driver_attach+0x10/0x10
[Fri Jun 16 13:23:53 2023]  __driver_probe_device+0x78/0x160
[Fri Jun 16 13:23:53 2023]  driver_probe_device+0x1f/0x90
[Fri Jun 16 13:23:53 2023]  __driver_attach+0xd2/0x1c0
[Fri Jun 16 13:23:53 2023]  bus_for_each_dev+0x85/0xd0
[Fri Jun 16 13:23:53 2023]  bus_add_driver+0x116/0x220
[Fri Jun 16 13:23:53 2023]  driver_register+0x59/0x100
[Fri Jun 16 13:23:53 2023]  ? __pfx_init_module+0x10/0x10 [intel_ipu6_isys 838d8610573da81f2ee66f6dbedae93a47ecbc08]
[Fri Jun 16 13:23:53 2023]  do_one_initcall+0x8e/0x270
[Fri Jun 16 13:23:53 2023]  do_init_module+0x4a/0x200
[Fri Jun 16 13:23:53 2023]  __do_sys_init_module+0x17e/0x1b0
[Fri Jun 16 13:23:53 2023]  do_syscall_64+0x5d/0x90
[Fri Jun 16 13:23:53 2023]  ? do_user_addr_fault+0x1e0/0x720
[Fri Jun 16 13:23:53 2023]  ? do_syscall_64+0x6c/0x90
[Fri Jun 16 13:23:53 2023]  ? exc_page_fault+0x7c/0x180
[Fri Jun 16 13:23:53 2023]  entry_SYSCALL_64_after_hwframe+0x72/0xdc
[Fri Jun 16 13:23:53 2023] RIP: 0033:0x7f80fc961f9e
[Fri Jun 16 13:23:53 2023] Code: 48 8b 0d bd ed 0c 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 49 89 ca b8 af 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 8a ed 0c 00 f7 d8 64 89 01 48
[Fri Jun 16 13:23:53 2023] RSP: 002b:00007ffe1afe2158 EFLAGS: 00000287 ORIG_RAX: 00000000000000af
[Fri Jun 16 13:23:53 2023] RAX: ffffffffffffffda RBX: 000055a930c3f470 RCX: 00007f80fc961f9e
[Fri Jun 16 13:23:53 2023] RDX: 000055a930a42cb2 RSI: 000000000006b06d RDI: 000055a930c43800
[Fri Jun 16 13:23:53 2023] RBP: 000055a930a42cb2 R08: 000055a930c43800 R09: 00007f80fc3edafe
[Fri Jun 16 13:23:53 2023] R10: 0000000000000000 R11: 0000000000000287 R12: 0000000000015aee
[Fri Jun 16 13:23:53 2023] R13: 000055a930c3f220 R14: 000055a930c3c470 R15: 000055a930c40780
[Fri Jun 16 13:23:53 2023]  </TASK>
[Fri Jun 16 13:23:53 2023] Modules linked in: intel_ipu6_isys(FOE+) intel_ipu6_psys(OE) intel_ipu6(OE) v4l2loopback(OE) mei_vsc(OE) ov2740(OE) i2c_ljca(OE) rfcomm uhid cmac algif_hash algif_skcipher af_alg bnep snd_seq_dummy snd_hrtimer snd_seq snd_seq_device ccm wireguard curve25519_x86_64 libchacha20poly1305 chacha_x86_64 poly1305_x86_64 libcurve25519_generic libchacha ip6_udp_tunnel udp_tunnel bridge stp llc uinput spi_ljca(OE) gpio_ljca(OE) btusb btrtl btbcm btintel btmtk bluetooth ecdh_generic ljca(OE) crc16 snd_ctl_led snd_soc_skl_hda_dsp snd_soc_intel_hda_dsp_common snd_sof_probes snd_soc_hdac_hdmi snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic snd_soc_dmic snd_sof_pci_intel_tgl snd_sof_intel_hda_common soundwire_intel soundwire_generic_allocation soundwire_cadence snd_sof_intel_hda snd_sof_pci snd_sof_xtensa_dsp snd_sof snd_sof_utils snd_soc_hdac_hda snd_hda_ext_core intel_tcc_cooling x86_pkg_temp_thermal snd_soc_acpi_intel_match intel_powerclamp iwlmvm snd_soc_acpi joydev coretemp soundwire_bus mousedev
[Fri Jun 16 13:23:53 2023]  snd_soc_core mac80211 kvm_intel snd_compress ac97_bus snd_pcm_dmaengine hid_multitouch libarc4 kvm snd_hda_intel irqbypass iTCO_wdt spi_nor snd_intel_dspcfg crct10dif_pclmul crc32_pclmul snd_intel_sdw_acpi intel_pmc_bxt mtd crc32c_intel iTCO_vendor_support polyval_clmulni polyval_generic snd_hda_codec videobuf2_dma_contig gf128mul mei_pxp snd_hda_core mei_hdcp processor_thermal_device_pci ghash_clmulni_intel videobuf2_memops iwlwifi snd_hwdep pmt_telemetry processor_thermal_device think_lmi mei_wdt videobuf2_v4l2 sha512_ssse3 intel_rapl_msr pmt_class aesni_intel crypto_simd cryptd thinkpad_acpi rapl intel_cstate videobuf2_common intel_uncore psmouse pcspkr wmi_bmof firmware_attributes_class processor_thermal_rfim ucsi_acpi snd_pcm intel_skl_int3472_tps68470 ledtrig_audio intel_lpss_pci processor_thermal_mbox spi_intel_pci i2c_i801 cfg80211 platform_profile tps68470_regulator clk_tps68470 intel_lpss processor_thermal_rapl typec_ucsi rfkill snd_timer i2c_smbus spi_intel mei_me intel_rapl_common idma64
[Fri Jun 16 13:23:53 2023]  i2c_hid_acpi snd typec int3403_thermal v4l2_fwnode intel_hid thunderbolt int3400_thermal intel_vsec roles igen6_edac mei soundcore soc_button_array int340x_thermal_zone i2c_hid sparse_keymap v4l2_async intel_skl_int3472_discrete acpi_thermal_rel acpi_pad acpi_tad mac_hid vboxnetflt(OE) vboxnetadp(OE) vboxdrv(OE) videodev mc dm_multipath i2c_dev sg crypto_user acpi_call(OE) fuse dm_mod loop bpf_preload ip_tables x_tables serio_raw xhci_pci atkbd xhci_pci_renesas libps2 vivaldi_fmap i8042 serio zram i915 i2c_algo_bit drm_buddy video wmi drm_display_helper cec ttm intel_agp intel_gtt zfs(POE) zunicode(POE) zzstd(OE) zlua(OE) zavl(POE) icp(POE) zcommon(POE) znvpair(POE) spl(OE) nvme nvme_core nvme_common
[Fri Jun 16 13:23:53 2023] Unloaded tainted modules: i2c_ljca(OE):1 intel_ipu6(OE):4 mei_vsc(OE):4 ov2740(OE):4 intel_ipu6_psys(OE):4 intel_ipu6_isys(OE):4 v4l2loopback(OE):4 [last unloaded: intel_ipu6(OE)]
[Fri Jun 16 13:23:53 2023] ---[ end trace 0000000000000000 ]---
[Fri Jun 16 13:23:53 2023] RIP: 0010:0xffffffffc217b36d
[Fri Jun 16 13:23:53 2023] Code: c1 ff ff ff ff 10 00 00 00 00 00 00 00 63 28 00 00 12 00 01 00 50 37 b3 c1 ff ff ff ff 10 00 00 00 00 00 00 00 7f 28 00 00 12 <00> 01 00 00 d6 b2 c1 ff ff ff ff 10 00 00 00 00 00 00 00 76 1f 00
[Fri Jun 16 13:23:53 2023] RSP: 0018:ffffba9023ac7d48 EFLAGS: 00010246
[Fri Jun 16 13:23:53 2023] RAX: 0000000000000000 RBX: ffff9cdea55e3440 RCX: 0000000000037588
[Fri Jun 16 13:23:53 2023] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff9cde9ebae400
[Fri Jun 16 13:23:53 2023] RBP: ffff9cdea55e3440 R08: 0000000000000000 R09: 0000000000000000
[Fri Jun 16 13:23:53 2023] R10: 0000000000000001 R11: 0000000000000000 R12: ffff9cdf6cb88028
[Fri Jun 16 13:23:53 2023] R13: ffff9cdf6cb88344 R14: ffff9cde9ebae400 R15: 00000000000003e7
[Fri Jun 16 13:23:53 2023] FS:  00007f80fc851740(0000) GS:ffff9ce5bf200000(0000) knlGS:0000000000000000
[Fri Jun 16 13:23:53 2023] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[Fri Jun 16 13:23:53 2023] CR2: 000055a930cad000 CR3: 000000013a546000 CR4: 0000000000f50ef0
[Fri Jun 16 13:23:53 2023] PKRU: 55555554
Zatvobor commented 5 months ago

https://github.com/intel/ivsc-driver/issues/32#issuecomment-2115275991