Interpret `dmesg` errors (`ar0234` + `i2c client`)

We’ve been experiencing some unusual behavior with ZED X camera not loading sometimes (less than 1 in 10, quite rare). Usually resolved by reboot, however, that led us to inspect the logs and noticed the following:

  1. ar0234 issues:
    • zedx_probe: ar0234 initialization failed
  2. i2c client issue:
    • [ 13.408025] i2c i2c-13: Failed to register i2c client eeprom_zedx at 0x54 (-16)

How can we fix these?

We are running Jetpack 6.0 (L4T 36.3.0), latest Quad link drivers (stereolabs-zedlink-quad_1.2.1-SL-MAX96712-all-L4T36.3.0_arm64.deb) and 4.2 ZED SDK

Full dmesg | grep -i zed logs:

[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.074543] devtmpfs: initialized
[    0.115080] pinctrl core: initialized pinctrl subsystem
[    0.120858] audit: type=2000 audit(0.120:1): state=initialized audit_enabled=0 res=1
[    0.175817] SCSI subsystem initialized
[    0.179018] Advanced Linux Sound Architecture Driver Initialized.
[    0.242050] kvm [1]: VHE mode initialized successfully
[    0.288469] SuperH (H)SCI(F) driver initialized
[    0.288806] msm_serial: driver initialized
[    3.879182] optee: initialized driver
[    8.963916] systemd[1]: /etc/systemd/system/zed_x_daemon.service:11: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.
[    8.963931] systemd[1]: /etc/systemd/system/zed_x_daemon.service:13: Unknown key name 'Port' in section 'Service', ignoring.
[    8.963935] systemd[1]: /etc/systemd/system/zed_x_daemon.service:14: Unknown key name 'PortSub' in section 'Service', ignoring.
[   10.039483] pva_iommu_context_dev 16000000.pva0:pva0_niso1_ctx0: initialized (streamid=18, iommu=smmu.0x0000000008000000)
[   10.039914] pva_iommu_context_dev 16000000.pva0:pva0_niso1_ctx1: initialized (streamid=19, iommu=smmu.0x0000000008000000)
[   10.042265] pva_iommu_context_dev 16000000.pva0:pva0_niso1_ctx2: initialized (streamid=20, iommu=smmu.0x0000000008000000)
[   10.056041] pva_iommu_context_dev 16000000.pva0:pva0_niso1_ctx3: initialized (streamid=21, iommu=smmu.0x0000000008000000)
[   10.067537] pva_iommu_context_dev 16000000.pva0:pva0_niso1_ctx4: initialized (streamid=22, iommu=smmu.0x0000000008000000)
[   10.081652] pva_iommu_context_dev 16000000.pva0:pva0_niso1_ctx5: initialized (streamid=23, iommu=smmu.0x0000000008000000)
[   10.092221] pva_iommu_context_dev 16000000.pva0:pva0_niso1_ctx6: initialized (streamid=24, iommu=smmu.0x0000000008000000)
[   10.105169] pva_iommu_context_dev 16000000.pva0:pva0_niso1_ctx7: initialized (streamid=25, iommu=smmu.0x0000000008000000)
[   10.170176] [drm] Initialized tegra 1.0.99 20120330 for drm on minor 0
[   10.740618] sl_max9295 9-0062: probe_serializer: Serializer for zedx detect error
[   10.741660] sl_max9295 9-0044: sl_max9295_probe: zedx-uhd-id 2 found in dts
[   10.776587] sl_max9295 9-0044: probe_serializer: Serializer for zedone4k detect error
[   10.801753] cdi_tsc c6a0000.tsc_sig_gen: cdi_tsc_probe: Successfully initialized the tsc char driver
[   10.812917] sl_max9295 9-0042: probe_serializer: Serializer for zedonegs detect error
[   10.848372] sl_max9295 10-0062: probe_serializer: Serializer for zedx detect error
[   10.848522] sl_max9295 10-0044: sl_max9295_probe: zedx-uhd-id 3 found in dts
[   10.888352] sl_max9295 10-0044: probe_serializer: Serializer for zedone4k detect error
[   10.928462] sl_max9295 10-0042: probe_serializer: Serializer for zedonegs detect error
[   11.152014] sl_max9295 13-0062: probe_serializer: Serializer for zedx detect success
[   11.153154] sl_max9295 13-0044: sl_max9295_probe: zedx-uhd-id 0 found in dts
[   11.189402] sl_max9295 13-0044: probe_serializer: Serializer for zedone4k detect error
[   11.228667] sl_max9295 13-0042: probe_serializer: Serializer for zedonegs detect error
[   11.265231] sl_max9295 14-0062: probe_serializer: Serializer for zedx detect error
[   11.266195] sl_max9295 14-0044: sl_max9295_probe: zedx-uhd-id 1 found in dts
[   11.308394] sl_max9295 14-0044: probe_serializer: Serializer for zedone4k detect error
[   11.349144] sl_max9295 14-0042: probe_serializer: Serializer for zedonegs detect error
[   11.446936] Bluetooth: HCI device and connection manager initialized
[   11.446946] Bluetooth: HCI socket layer initialized
[   11.446950] Bluetooth: L2CAP socket layer initialized
[   11.446957] Bluetooth: SCO socket layer initialized
[   12.231283] sl_max96712 13-0029: sl_max96712_get_camera_model: zedx camera connected to this port
[   12.249526] sl_max96712 13-0029: print_sensor_info: camera zedx
[   12.268362] sl_max96712 13-0029: print_sensor_info: camera zedx
[   12.490259] zedx 9-0010: Driver Version : v1.2.1
[   12.490269] zedx 9-0010: Probing v4l2 sensor.
[   12.511710] zedx 9-0010: tegracam sensor driver:video10_v2.0.6
[   12.511805] zedxone_uhd 9-001a: tegracam sensor driver:video11_v2.0.6
[   12.613137] zedxone_uhd 9-001a: imx678_probe: ZED One UHD detection error
[   12.613215] zedxone_uhd: probe of 9-001a failed with error -1
[   12.646803] zedxone_uhd 10-001a: tegracam sensor driver:video15_v2.0.6
[   12.652355] zedxone_uhd 10-001a: imx678_probe: ZED One UHD detection error
[   12.652419] zedxone_uhd: probe of 10-001a failed with error -1
[   12.653089] zedxone_uhd 13-001a: tegracam sensor driver:video6_v2.0.6
[   12.670084] zedx 9-0010: ZED-X detect error
[   12.670119] zedx 9-0010: zedx_probe: ar0234 initialization failed
[   12.670346] zedx: probe of 9-0010 failed with error -1
[   12.670398] zedx 9-0020: Driver Version : v1.2.1
[   12.670401] zedx 9-0020: Probing v4l2 sensor.
[   12.670528] zedx 9-0020: tegracam sensor driver:video9_v2.0.6
[   12.677252] zedxone_uhd 13-001a: imx678_probe: ZED-X One UHD detect error
[   12.677909] zedxone_uhd: probe of 13-001a failed with error -1
[   12.678188] zedxone_uhd 14-001a: tegracam sensor driver:video7_v2.0.6
[   12.683836] zedxone_uhd 14-001a: imx678_probe: ZED One UHD detection error
[   12.683890] zedxone_uhd: probe of 14-001a failed with error -1
[   12.732900] zedx 9-0020: ZED-X detect error
[   12.732934] zedx 9-0020: zedx_probe: ar0234 initialization failed
[   12.732981] zedx: probe of 9-0020 failed with error -1
[   12.733054] zedx 9-0028: Driver Version : v1.2.1
[   12.733056] zedx 9-0028: Probing v4l2 sensor.
[   12.733160] zedx 9-0028: tegracam sensor driver:video8_v2.0.6
[   12.789124] zedx 9-0028: ZED-X detect error
[   12.789163] zedx 9-0028: zedx_probe: ar0234 initialization failed
[   12.789217] zedx: probe of 9-0028 failed with error -1
[   12.789449] zedx 10-0010: Driver Version : v1.2.1
[   12.789453] zedx 10-0010: Probing v4l2 sensor.
[   12.789605] zedx 10-0010: tegracam sensor driver:video14_v2.0.6
[   12.844817] zedx 10-0010: ZED-X detect error
[   12.844851] zedx 10-0010: zedx_probe: ar0234 initialization failed
[   12.844901] zedx: probe of 10-0010 failed with error -1
[   12.844969] zedx 10-0020: Driver Version : v1.2.1
[   12.844971] zedx 10-0020: Probing v4l2 sensor.
[   12.845083] zedx 10-0020: tegracam sensor driver:video13_v2.0.6
[   12.896430] zedx 10-0020: ZED-X detect error
[   12.896459] zedx 10-0020: zedx_probe: ar0234 initialization failed
[   12.896505] zedx: probe of 10-0020 failed with error -1
[   12.896564] zedx 10-0028: Driver Version : v1.2.1
[   12.896566] zedx 10-0028: Probing v4l2 sensor.
[   12.896676] zedx 10-0028: tegracam sensor driver:video12_v2.0.6
[   12.948643] zedx 10-0028: ZED-X detect error
[   12.948677] zedx 10-0028: zedx_probe: ar0234 initialization failed
[   12.948720] zedx: probe of 10-0028 failed with error -1
[   12.948794] zedx 13-0010: Driver Version : v1.2.1
[   12.948796] zedx 13-0010: Probing v4l2 sensor.
[   12.948905] zedx 13-0010: tegracam sensor driver:video4_v2.0.6
[   12.997070] zedx 13-0010: ZED-X detect error
[   12.997103] zedx 13-0010: zedx_probe: ar0234 initialization failed
[   12.997146] zedx: probe of 13-0010 failed with error -1
[   12.997201] zedx 13-0020: Driver Version : v1.2.1
[   12.997203] zedx 13-0020: Probing v4l2 sensor.
[   12.997320] zedx 13-0020: tegracam sensor driver:video1_v2.0.6
[   13.067413] sl_max9295 13-0062: ZED-X serializer successfully removed
[   13.104995] Modules linked in: lzo_rle lzo_compress zram zsmalloc joydev sl_zedx(OE+) ramoops reed_solomon algif_hash algif_skcipher af_alg bridge stp llc usb_f_ncm usb_f_mass_storage rtk_btusb(O) btusb btrtl btintel btbcm bluetooth ecdh_generic ecc usb_f_acm u_serial usb_f_rndis u_ether libcomposite snd_soc_tegra210_admaif(O) snd_soc_tegra186_asrc(O) snd_soc_tegra210_afc(O) snd_soc_tegra210_mixer(O) snd_soc_tegra_pcm snd_soc_tegra186_arad(O) snd_soc_tegra186_dspk(O) snd_soc_tegra210_ope(O) snd_soc_tegra210_mvc(O) snd_soc_tegra210_adx(O) snd_soc_tegra210_dmic(O) snd_soc_tegra210_amx(O) snd_soc_tegra210_sfc(O) snd_soc_tegra210_i2s(O) snd_soc_tegra210_ahub(O) tegra210_adma spidev nvvrs_pseq_rtc(O) crct10dif_ce snd_soc_tegra_machine_driver(O) snd_soc_tegra_utils(O) snd_soc_simple_card_utils tegra234_oc_event(O) tegra23x_perf_uncore(O) nvpmodel_clk_cap(O) tegra_mce(O) cam_cdi_tsc(O) nv_hawk_owl(O) max96712(O) thermal_trip_event(O) tegra_cactmon_mc_all(O) nvethernet(O) snd_hda_codec_hdmi
[   13.105146]  zedx_fill_eeprom+0xa0/0x170 [sl_zedx]
[   13.105172]  zedx_probe+0x610/0x908 [sl_zedx]
[   13.105199]  zedx_i2c_driver_init+0x30/0x1000 [sl_zedx]
[   13.310977] tegra-camrtc-capture-vi tegra-capture-vi: subdev zedx 13-0020 bound
[   13.318267] zedx 13-0020: Detected ZED-X sensor
[   13.318274] zedx 13-0020: zedx_probe: Serial Number : 43476218
[   13.318574] zedx 13-0028: Driver Version : v1.2.1
[   13.318576] zedx 13-0028: Probing v4l2 sensor.
[   13.318698] zedx 13-0028: tegracam sensor driver:video0_v2.0.6
[   13.344714] sl_max9295 9-0062: probe_serializer: Serializer for zedx detect error
[   13.344885] sl_max9295 9-0044: sl_max9295_probe: zedx-uhd-id 2 found in dts
[   13.388749] sl_max9295 9-0044: probe_serializer: Serializer for zedone4k detect error
[   13.408025] i2c i2c-13: Failed to register i2c client eeprom_zedx at 0x54 (-16)
[   13.408033] zedx 13-0028: zedx_eeprom_device_init: Failed to probe EEPORM at addr = 0x54 
[   13.408036] zedx 13-0028: Failed to allocate eeprom reg map: -19
[   13.408223] zedx 13-0028: zedx_probe_ar0234: use serial number of the first sensor
[   13.414417] tegra-camrtc-capture-vi tegra-capture-vi: subdev zedx 13-0028 bound
[   13.414825] zedx 13-0028: Detected ZED-X sensor
[   13.414828] zedx 13-0028: zedx_probe: Serial Number : 43476218
[   13.414965] zedx 14-0010: Driver Version : v1.2.1
[   13.414966] zedx 14-0010: Probing v4l2 sensor.
[   13.415202] zedx 14-0010: tegracam sensor driver:video5_v2.0.6
[   13.425310] sl_max9295 9-0042: probe_serializer: Serializer for zedonegs detect error
[   13.468482] sl_max9295 10-0062: probe_serializer: Serializer for zedx detect error
[   13.468651] sl_max9295 10-0044: sl_max9295_probe: zedx-uhd-id 3 found in dts
[   13.472432] zedx 14-0010: ZED-X detect error
[   13.472464] zedx 14-0010: zedx_probe: ar0234 initialization failed
[   13.472511] zedx: probe of 14-0010 failed with error -1
[   13.472578] zedx 14-0020: Driver Version : v1.2.1
[   13.472580] zedx 14-0020: Probing v4l2 sensor.
[   13.472679] zedx 14-0020: tegracam sensor driver:video3_v2.0.6
[   13.508850] sl_max9295 10-0044: probe_serializer: Serializer for zedone4k detect error
[   13.528833] zedx 14-0020: ZED-X detect error
[   13.528875] zedx 14-0020: zedx_probe: ar0234 initialization failed
[   13.528928] zedx: probe of 14-0020 failed with error -1
[   13.528996] zedx 14-0028: Driver Version : v1.2.1
[   13.528999] zedx 14-0028: Probing v4l2 sensor.
[   13.529141] zedx 14-0028: tegracam sensor driver:video2_v2.0.6
[   13.544558] sl_max9295 10-0042: probe_serializer: Serializer for zedonegs detect error
[   13.576910] zedx 14-0028: ZED-X detect error
[   13.576947] zedx 14-0028: zedx_probe: ar0234 initialization failed
[   13.576990] zedx: probe of 14-0028 failed with error -1
[   13.579532] zedx 13-0020: zedx_open: Accessing the camera
[   13.579737] zedx 13-0028: zedx_open: Accessing the camera
[   13.764026] sl_max9295 13-0062: probe_serializer: Serializer for zedx detect success
[   13.764293] sl_max9295 13-0044: sl_max9295_probe: zedx-uhd-id 0 found in dts
[   13.801515] sl_max9295 13-0044: probe_serializer: Serializer for zedone4k detect error
[   13.841007] sl_max9295 13-0042: probe_serializer: Serializer for zedonegs detect error
[   13.880408] sl_max9295 14-0062: probe_serializer: Serializer for zedx detect error
[   13.880589] sl_max9295 14-0044: sl_max9295_probe: zedx-uhd-id 1 found in dts
[   13.920423] sl_max9295 14-0044: probe_serializer: Serializer for zedone4k detect error
[   13.956411] sl_max9295 14-0042: probe_serializer: Serializer for zedonegs detect error
[   13.971736] zedxone_uhd 9-001a: tegracam sensor driver:video11_v2.0.6
[   13.973661] zedxone_uhd 9-001a: imx678_probe: ZED One UHD detection error
[   13.973692] zedxone_uhd: probe of 9-001a failed with error -1
[   13.973908] zedxone_uhd 10-001a: tegracam sensor driver:video15_v2.0.6
[   13.975028] zedxone_uhd 10-001a: imx678_probe: ZED One UHD detection error
[   13.975052] zedxone_uhd: probe of 10-001a failed with error -1
[   13.975241] zedxone_uhd 13-001a: tegracam sensor driver:video6_v2.0.6
[   13.975252] i2c i2c-13: Failed to register i2c client eeprom_zedxone_uhd at 0x54 (-16)
[   13.975255] zedxone_uhd 13-001a: Failed to allocate eeprom reg map: -19
[   13.975400] zedxone_uhd 13-001a: imx678_probe: You need an EEPROM for your first device entry
[   13.975401] zedxone_uhd 13-001a: imx678_probe: This might also happen because a ZED X was probbed first for this i2c bus
[   13.976680] zedxone_uhd 13-001a: imx678_probe: ZED-X One UHD detect error
[   13.976715] zedxone_uhd: probe of 13-001a failed with error -1
[   13.976936] zedxone_uhd 14-001a: tegracam sensor driver:video7_v2.0.6
[   13.977939] zedxone_uhd 14-001a: imx678_probe: ZED One UHD detection error
[   13.977964] zedxone_uhd: probe of 14-001a failed with error -1
[   40.078384] zedx 13-0020: zedx_open: Accessing the camera
[   40.078471] zedx 13-0028: zedx_open: Accessing the camera
[   57.027973] zedx 13-0028: zedx_set_mode: setting the device mode
[   57.766722] zedx 13-0020: zedx_set_mode: setting the device mode

Hi @dh662

usually, you do not need a reboot.
You can open a terminal console and launch the command
sudo service zed_x_daemon restart
this will force the ZED X Driver to be reloaded eventually solving temporary communication issues.

Makes sense.

Is there a way I can fix the two issues with ar0234 and i2c client ?

They are not issues. The ZED X Driver searches for a connected camera on all the available GMSL2 ports. If a camera is not connected the driver logs this message which is not necessarily a connection issue in this case.

1 Like