** Description changed:

+ SRU Justification:
+ 
+ [ Impact ]
+ 
+ On Ubuntu 26.04 systems using affected generic and OEM kernels, the
+ built-in MIPI camera (Sony IMX471, ACPI SONY471A) is detected, but
+ Intel IPU7 initialization fails.
+ 
+ The IPU bridge attempts to register the "SONY471A-0" software node
+ twice. The second registration fails with -EEXIST, causing IPU bridge
+ initialization and the intel-ipu7 probe to fail:
+ 
+ intel-ipu7 0000:00:05.0: Found supported sensor SONY471A:00
+ sysfs: cannot create duplicate filename '/kernel/software_nodes/SONY471A-0'
+ kobject_add_internal failed for SONY471A-0 with -EEXIST
+ intel-ipu7 0000:00:05.0: error -EEXIST: IPU bridge init failed
+ intel-ipu7 0000:00:05.0: probe with driver intel-ipu7 failed with error -17
+ 
+ [ Fix ]
+ 
+ Upstream commit 84c56e1cb378f ("media: ipu-bridge: Add IMX471 to
+ the list of supported sensors") already provides the SONY471A
+ configuration.
+ 
+ Ubuntu SAUCE commit 2a49c9a148e53 ("UBUNTU: SAUCE: media:
+ ipu-bridge: Support imx471 sensor") was later applied on top of a
+ tree already containing that upstream support, resulting in two
+ identical SONY471A entries.
+ 
+ Remove the redundant Ubuntu-added entry while retaining the
+ upstream sensor configuration.
+ 
+ [ Test Plan ]
+ 
+ Boot a patched kernel on a Lenovo ThinkPad X9-15 Gen 1 equipped
+ with Intel IPU7 and a Sony IMX471 sensor.
+ 
+ Verify that the IPU bridge detects SONY471A, connects one camera,
+ and that the IMX471 and IPU7 probes complete successfully.
+ 
+ Confirm that there is no duplicate SONY471A-0 software-node
+ registration, no -EEXIST / error -17 from intel-ipu7, and no
+ associated refcount warnings or kernel Oopses.
+ 
+ [ Where problems could occur ]
+ 
+ The change affects the IPU supported-sensor table used during
+ camera bridge initialization.
+ 
+ A regression could affect IMX471 sensor detection or registration.
+ The risk is low because the removed SONY471A entry is identical to
+ the remaining upstream entry, so one valid configuration is
+ preserved.
+ 
+ 
  On Kubuntu 26.04 (kernel 7.0.0-27-generic, GENERIC not OEM), the built-in
  MIPI camera (Sony IMX471, ACPI SONY471A) is detected but intel-ipu7 fails
  to probe. The IPU bridge tries to register software node "SONY471A-0",
  which already exists, so registration aborts:
  
-   intel-ipu7 0000:00:05.0: Found supported sensor SONY471A:00
-   sysfs: cannot create duplicate filename '/kernel/software_nodes/SONY471A-0'
-   kobject_add_internal failed for SONY471A-0 with -EEXIST
-   intel-ipu7 0000:00:05.0: error -EEXIST: IPU bridge init failed
-   intel-ipu7 0000:00:05.0: probe with driver intel-ipu7 failed with error -17
+   intel-ipu7 0000:00:05.0: Found supported sensor SONY471A:00
+   sysfs: cannot create duplicate filename '/kernel/software_nodes/SONY471A-0'
+   kobject_add_internal failed for SONY471A-0 with -EEXIST
+   intel-ipu7 0000:00:05.0: error -EEXIST: IPU bridge init failed
+   intel-ipu7 0000:00:05.0: probe with driver intel-ipu7 failed with error -17
  
  Call trace: ipu_bridge_connect_sensor -> software_node_register_node_group
  -> swnode_register -> kobject_init_and_add (EEXIST).
  
  No third-party / DKMS / OEM camera stack is installed. Only the in-tree
  intel_ipu7 and ipu_bridge modules are loaded. dkms is not installed.
  
  Hardware: LENOVO ThinkPad X9-15 Gen 1, model 21Q6004KCL.
  No /dev/video* or working camera device is created as a result.
  
  Expected: IPU7 bridge initializes and the IMX471 camera becomes available.
  Actual: bridge init aborts on duplicate SONY471A-0 software node, probe
  fails with -17.
  
  This appears related to but distinct from bug 2107320 (IMX471 enablement,
  Fix Released) and bug 2121948 (IMX471 suspend/resume, "-5 failed to find
  sensor"). Those concern getting the sensor recognized; here the sensor IS
  recognized and the bridge then fails on a duplicate software-node
  registration (-EEXIST / -17).
  
  ProblemType: Bug
  DistroRelease: Ubuntu 26.04
  Package: linux-image-7.0.0-27-generic 7.0.0-27.27
  ProcVersionSignature: Ubuntu 7.0.0-27.27-generic 7.0.6
  Uname: Linux 7.0.0-27-generic x86_64
  ApportVersion: 2.34.0-0ubuntu2
  Architecture: amd64
  AudioDevicesInUse:
-  USER        PID ACCESS COMMAND
-  /dev/snd/controlC0:  ianri      1959 F.... pipewire
-                       ianri      1965 F.... wireplumber
-  /dev/snd/pcmC0D0p:   ianri      1959 F...m pipewire
-  /dev/snd/seq:        ianri      1959 F.... pipewire
+  USER        PID ACCESS COMMAND
+  /dev/snd/controlC0:  ianri      1959 F.... pipewire
+                       ianri      1965 F.... wireplumber
+  /dev/snd/pcmC0D0p:   ianri      1959 F...m pipewire
+  /dev/snd/seq:        ianri      1959 F.... pipewire
  CasperMD5CheckResult: unknown
  CurrentDesktop: KDE
  Date: Sat Jun 27 18:19:05 2026
  InstallationDate: Installed on 2026-06-20 (8 days ago)
  InstallationMedia: Kubuntu 26.04 "Resolute Raccoon" - Release amd64 (20260423)
  MachineType: LENOVO 21Q6004KCL
  ProcFB: 0 xedrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-7.0.0-27-generic 
root=UUID=3a2c49f3-e5b0-4d8a-ab8a-d8855ef7fe7e ro quiet splash
  PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No 
PulseAudio daemon running, or not running as session daemon.
  SourcePackage: linux
  StagingDrivers: intel_ipu7
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 03/06/2025
  dmi.bios.release: 1.12
  dmi.bios.vendor: LENOVO
  dmi.bios.version: N4CET36W (1.12 )
  dmi.board.asset.tag: Not Available
  dmi.board.name: 21Q6004KCL
  dmi.board.vendor: LENOVO
  dmi.board.version: SDK0T76576 WIN
  dmi.chassis.asset.tag: No Asset Tag
  dmi.chassis.type: 10
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: None
  dmi.ec.firmware.release: 1.8
  dmi.modalias: 
dmi:bvnLENOVO:bvrN4CET36W(1.12):bd03/06/2025:br1.12:efr1.8:svnLENOVO:pn21Q6004KCL:pvrThinkPadX9-15Gen1:rvnLENOVO:rn21Q6004KCL:rvrSDK0T76576WIN:cvnLENOVO:ct10:cvrNone:skuLENOVO_MT_21Q6_BU_Think_FM_ThinkPadX9-15Gen1:pfaThinkPadX9-15Gen1:
  dmi.product.family: ThinkPad X9-15 Gen 1
  dmi.product.name: 21Q6004KCL
  dmi.product.sku: LENOVO_MT_21Q6_BU_Think_FM_ThinkPad X9-15 Gen 1
  dmi.product.version: ThinkPad X9-15 Gen 1
  dmi.sys.vendor: LENOVO

** Description changed:

  SRU Justification:
  
  [ Impact ]
  
  On Ubuntu 26.04 systems using affected generic and OEM kernels, the
  built-in MIPI camera (Sony IMX471, ACPI SONY471A) is detected, but
  Intel IPU7 initialization fails.
  
  The IPU bridge attempts to register the "SONY471A-0" software node
  twice. The second registration fails with -EEXIST, causing IPU bridge
  initialization and the intel-ipu7 probe to fail:
  
  intel-ipu7 0000:00:05.0: Found supported sensor SONY471A:00
  sysfs: cannot create duplicate filename '/kernel/software_nodes/SONY471A-0'
  kobject_add_internal failed for SONY471A-0 with -EEXIST
  intel-ipu7 0000:00:05.0: error -EEXIST: IPU bridge init failed
  intel-ipu7 0000:00:05.0: probe with driver intel-ipu7 failed with error -17
  
  [ Fix ]
  
  Upstream commit 84c56e1cb378f ("media: ipu-bridge: Add IMX471 to
  the list of supported sensors") already provides the SONY471A
  configuration.
  
  Ubuntu SAUCE commit 2a49c9a148e53 ("UBUNTU: SAUCE: media:
  ipu-bridge: Support imx471 sensor") was later applied on top of a
  tree already containing that upstream support, resulting in two
  identical SONY471A entries.
  
  Remove the redundant Ubuntu-added entry while retaining the
  upstream sensor configuration.
  
  [ Test Plan ]
  
  Boot a patched kernel on a Lenovo ThinkPad X9-15 Gen 1 equipped
  with Intel IPU7 and a Sony IMX471 sensor.
  
  Verify that the IPU bridge detects SONY471A, connects one camera,
  and that the IMX471 and IPU7 probes complete successfully.
  
  Confirm that there is no duplicate SONY471A-0 software-node
  registration, no -EEXIST / error -17 from intel-ipu7, and no
  associated refcount warnings or kernel Oopses.
  
  [ Where problems could occur ]
  
  The change affects the IPU supported-sensor table used during
  camera bridge initialization.
  
  A regression could affect IMX471 sensor detection or registration.
  The risk is low because the removed SONY471A entry is identical to
  the remaining upstream entry, so one valid configuration is
  preserved.
- 
- 
+ ------------------------------------------------------------------------------
  On Kubuntu 26.04 (kernel 7.0.0-27-generic, GENERIC not OEM), the built-in
  MIPI camera (Sony IMX471, ACPI SONY471A) is detected but intel-ipu7 fails
  to probe. The IPU bridge tries to register software node "SONY471A-0",
  which already exists, so registration aborts:
  
    intel-ipu7 0000:00:05.0: Found supported sensor SONY471A:00
    sysfs: cannot create duplicate filename '/kernel/software_nodes/SONY471A-0'
    kobject_add_internal failed for SONY471A-0 with -EEXIST
    intel-ipu7 0000:00:05.0: error -EEXIST: IPU bridge init failed
    intel-ipu7 0000:00:05.0: probe with driver intel-ipu7 failed with error -17
  
  Call trace: ipu_bridge_connect_sensor -> software_node_register_node_group
  -> swnode_register -> kobject_init_and_add (EEXIST).
  
  No third-party / DKMS / OEM camera stack is installed. Only the in-tree
  intel_ipu7 and ipu_bridge modules are loaded. dkms is not installed.
  
  Hardware: LENOVO ThinkPad X9-15 Gen 1, model 21Q6004KCL.
  No /dev/video* or working camera device is created as a result.
  
  Expected: IPU7 bridge initializes and the IMX471 camera becomes available.
  Actual: bridge init aborts on duplicate SONY471A-0 software node, probe
  fails with -17.
  
  This appears related to but distinct from bug 2107320 (IMX471 enablement,
  Fix Released) and bug 2121948 (IMX471 suspend/resume, "-5 failed to find
  sensor"). Those concern getting the sensor recognized; here the sensor IS
  recognized and the bridge then fails on a duplicate software-node
  registration (-EEXIST / -17).
  
  ProblemType: Bug
  DistroRelease: Ubuntu 26.04
  Package: linux-image-7.0.0-27-generic 7.0.0-27.27
  ProcVersionSignature: Ubuntu 7.0.0-27.27-generic 7.0.6
  Uname: Linux 7.0.0-27-generic x86_64
  ApportVersion: 2.34.0-0ubuntu2
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  ianri      1959 F.... pipewire
                        ianri      1965 F.... wireplumber
   /dev/snd/pcmC0D0p:   ianri      1959 F...m pipewire
   /dev/snd/seq:        ianri      1959 F.... pipewire
  CasperMD5CheckResult: unknown
  CurrentDesktop: KDE
  Date: Sat Jun 27 18:19:05 2026
  InstallationDate: Installed on 2026-06-20 (8 days ago)
  InstallationMedia: Kubuntu 26.04 "Resolute Raccoon" - Release amd64 (20260423)
  MachineType: LENOVO 21Q6004KCL
  ProcFB: 0 xedrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-7.0.0-27-generic 
root=UUID=3a2c49f3-e5b0-4d8a-ab8a-d8855ef7fe7e ro quiet splash
  PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No 
PulseAudio daemon running, or not running as session daemon.
  SourcePackage: linux
  StagingDrivers: intel_ipu7
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 03/06/2025
  dmi.bios.release: 1.12
  dmi.bios.vendor: LENOVO
  dmi.bios.version: N4CET36W (1.12 )
  dmi.board.asset.tag: Not Available
  dmi.board.name: 21Q6004KCL
  dmi.board.vendor: LENOVO
  dmi.board.version: SDK0T76576 WIN
  dmi.chassis.asset.tag: No Asset Tag
  dmi.chassis.type: 10
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: None
  dmi.ec.firmware.release: 1.8
  dmi.modalias: 
dmi:bvnLENOVO:bvrN4CET36W(1.12):bd03/06/2025:br1.12:efr1.8:svnLENOVO:pn21Q6004KCL:pvrThinkPadX9-15Gen1:rvnLENOVO:rn21Q6004KCL:rvrSDK0T76576WIN:cvnLENOVO:ct10:cvrNone:skuLENOVO_MT_21Q6_BU_Think_FM_ThinkPadX9-15Gen1:pfaThinkPadX9-15Gen1:
  dmi.product.family: ThinkPad X9-15 Gen 1
  dmi.product.name: 21Q6004KCL
  dmi.product.sku: LENOVO_MT_21Q6_BU_Think_FM_ThinkPad X9-15 Gen 1
  dmi.product.version: ThinkPad X9-15 Gen 1
  dmi.sys.vendor: LENOVO

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2158540

Title:
  ThinkPad X9-15 Gen 1: IPU7 camera probe fails — duplicate
  software_node SONY471A-0 (-EEXIST), bridge init failed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2158540/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to