raspberrypi / libcamera

Other
196 stars 74 forks source link

[BUG] libcamera fail with IMX 219 with both latest version linux and 6.1.65 version linux #107

Closed dinhthienkhai closed 5 months ago

dinhthienkhai commented 5 months ago

Hi everybody, I have problems running Camera with IMX219 on Raspberry PI 5 Bookworm OS (64bit). I have been reading issues about libcamera these days, I see that one way to fix it is to downgrade linux version to 6.1.65. I tried that and it still doesn't solve it. Hope everyone will consider and support me.

Case 1: My RPi5 with Bookworm OS as below. (linux version is 6.1.65)

uname -a
Linux pi5c2s 6.1.65-v8-16k+ #1703 SMP PREEMPT Tue Dec  5 16:28:46 GMT 2023 aarch64 GNU/Linux

This is error when I try start Camera.

libcamera-hello --camera 0 -t 0
[0:00:40.850715401] [4427]  INFO Camera camera_manager.cpp:284 libcamera v0.1.0+118-563cd78e
[0:00:40.868266919] [4430]  INFO RPI pisp.cpp:653 libpisp version v1.0.2 fa44a258644a 22-11-2023 (21:59:22)
[0:00:40.894234901] [4430]  INFO RPI pisp.cpp:1112 Registered camera /base/axi/pcie@120000/rp1/i2c@80000/imx219@10 to CFE device /dev/media2 and ISP device /dev/media1 using PiSP variant BCM2712_C0
Made X/EGL preview window
[0:00:41.319305419] [4427]  WARN V4L2 v4l2_pixelformat.cpp:338 Unsupported V4L2 pixel format Y16 
[0:00:41.319420141] [4427]  WARN V4L2 v4l2_pixelformat.cpp:338 Unsupported V4L2 pixel format RGB6
[0:00:41.319438864] [4427]  WARN V4L2 v4l2_pixelformat.cpp:338 Unsupported V4L2 pixel format BGR6
[0:00:41.319525604] [4427]  WARN V4L2 v4l2_pixelformat.cpp:338 Unsupported V4L2 pixel format PC1M
Mode selection for 1640:1232:12:P
    SRGGB10_CSI2P,640x480/0 - Score: 4504.81
    SRGGB10_CSI2P,1640x1232/0 - Score: 1000
    SRGGB10_CSI2P,1920x1080/0 - Score: 1541.48
    SRGGB10_CSI2P,3280x2464/0 - Score: 1718
    SRGGB8,640x480/0 - Score: 5504.81
    SRGGB8,1640x1232/0 - Score: 2000
    SRGGB8,1920x1080/0 - Score: 2541.48
    SRGGB8,3280x2464/0 - Score: 2718
Stream configuration adjusted
[0:00:41.321538827] [4427]  INFO Camera camera.cpp:1183 configuring streams: (0) 1640x1232-YUV420 (1) 1640x1232-BGGR16_PISP_COMP1
[0:00:41.322123790] [4430]  INFO RPI pisp.cpp:1396 Sensor: /base/axi/pcie@120000/rp1/i2c@80000/imx219@10 - Selected sensor format: 1640x1232-SBGGR10_1X10 - Selected CFE format: 1640x1232-PC1B
[0:00:41.361220104] [4430] ERROR V4L2 v4l2_videodevice.cpp:1906 /dev/video6[18:cap]: Failed to start streaming: Input/output error
ERROR: *** failed to start camera ***

Case 2: My RPi5 with Bookworm OS as below. (linux version is 6.1.74)

uname -a
Linux pi5c2s 6.1.74-v8-16k+ #1725 SMP PREEMPT Mon Jan 22 13:38:39 GMT 2024 aarch64 GNU/Linux

This is error when I try start Camera.

libcamera-hello --camera 0 -t 0
[0:01:48.556953240] [4633]  INFO Camera camera_manager.cpp:284 libcamera v0.1.0+118-563cd78e
[0:01:48.566034746] [4636]  INFO RPI pisp.cpp:653 libpisp version v1.0.2 fa44a258644a 22-11-2023 (21:59:22)
[0:01:48.582966511] [4636]  INFO RPI pisp.cpp:1112 Registered camera /base/axi/pcie@120000/rp1/i2c@80000/imx219@10 to CFE device /dev/media4 and ISP device /dev/media0 using PiSP variant BCM2712_C0
Made X/EGL preview window
[0:01:48.947688706] [4633]  WARN V4L2 v4l2_pixelformat.cpp:338 Unsupported V4L2 pixel format Y16 
[0:01:48.947748298] [4633]  WARN V4L2 v4l2_pixelformat.cpp:338 Unsupported V4L2 pixel format RGB6
[0:01:48.947758835] [4633]  WARN V4L2 v4l2_pixelformat.cpp:338 Unsupported V4L2 pixel format BGR6
[0:01:48.947811853] [4633]  WARN V4L2 v4l2_pixelformat.cpp:338 Unsupported V4L2 pixel format PC1M
Mode selection for 1640:1232:12:P
    SRGGB10_CSI2P,640x480/0 - Score: 4504.81
    SRGGB10_CSI2P,1640x1232/0 - Score: 1000
    SRGGB10_CSI2P,1920x1080/0 - Score: 1541.48
    SRGGB10_CSI2P,3280x2464/0 - Score: 1718
    SRGGB8,640x480/0 - Score: 5504.81
    SRGGB8,1640x1232/0 - Score: 2000
    SRGGB8,1920x1080/0 - Score: 2541.48
    SRGGB8,3280x2464/0 - Score: 2718
Stream configuration adjusted
[0:01:48.949312632] [4633]  INFO Camera camera.cpp:1183 configuring streams: (0) 1640x1232-YUV420 (1) 1640x1232-BGGR16_PISP_COMP1
[0:01:48.949521963] [4636]  INFO RPI pisp.cpp:1396 Sensor: /base/axi/pcie@120000/rp1/i2c@80000/imx219@10 - Selected sensor format: 1640x1232-SBGGR10_1X10 - Selected CFE format: 1640x1232-PC1B
[0:01:48.969837621] [4636] ERROR V4L2 v4l2_videodevice.cpp:1906 /dev/video4[16:cap]: Failed to start streaming: Broken pipe
ERROR: *** failed to start camera ***
naushir commented 5 months ago

This was tracked under https://github.com/raspberrypi/libcamera/issues/104. The fix has now been pushed into the kernel tree and eventually make it into the release kernels. In the meantime, you can get the patch with sudo rpi-update pulls/5923.

dinhthienkhai commented 5 months ago

This was tracked under #104. The fix has now been pushed into the kernel tree and eventually make it into the release kernels. In the meantime, you can get the patch with sudo rpi-update pulls/5923.

Thank you for responding me immediately, I tried with your suggestion however it still doesn't work for me :(( Please consider it further.

uname -a
Linux pi5c2s 6.6.14-v8-16k+ #1 SMP PREEMPT Mon Feb  5 12:58:43 UTC 2024 aarch64 GNU/Linux
libcamera-hello --camera 0 -t 0
[0:00:35.517885528] [4153]  INFO Camera camera_manager.cpp:284 libcamera v0.1.0+118-563cd78e
[0:00:35.527639858] [4177]  INFO RPI pisp.cpp:653 libpisp version v1.0.2 fa44a258644a 22-11-2023 (21:59:22)
[0:00:35.552288562] [4177]  INFO RPI pisp.cpp:1112 Registered camera /base/axi/pcie@120000/rp1/i2c@80000/imx219@10 to CFE device /dev/media1 and ISP device /dev/media2 using PiSP variant BCM2712_C0
Made X/EGL preview window
[0:00:36.039435639] [4153]  WARN V4L2 v4l2_pixelformat.cpp:338 Unsupported V4L2 pixel format Y16 
[0:00:36.039490245] [4153]  WARN V4L2 v4l2_pixelformat.cpp:338 Unsupported V4L2 pixel format RGB6
[0:00:36.039499128] [4153]  WARN V4L2 v4l2_pixelformat.cpp:338 Unsupported V4L2 pixel format BGR6
[0:00:36.039505265] [4153]  WARN V4L2 v4l2_pixelformat.cpp:338 Unsupported V4L2 pixel format PC1M
Mode selection for 1640:1232:12:P
    SRGGB10_CSI2P,640x480/0 - Score: 4504.81
    SRGGB10_CSI2P,1640x1232/0 - Score: 1000
    SRGGB10_CSI2P,1920x1080/0 - Score: 1541.48
    SRGGB10_CSI2P,3280x2464/0 - Score: 1718
    SRGGB8,640x480/0 - Score: 5504.81
    SRGGB8,1640x1232/0 - Score: 2000
    SRGGB8,1920x1080/0 - Score: 2541.48
    SRGGB8,3280x2464/0 - Score: 2718
Stream configuration adjusted
[0:00:36.039873548] [4153]  INFO Camera camera.cpp:1183 configuring streams: (0) 1640x1232-YUV420 (1) 1640x1232-BGGR16_PISP_COMP1
[0:00:36.040151748] [4177]  INFO RPI pisp.cpp:1396 Sensor: /base/axi/pcie@120000/rp1/i2c@80000/imx219@10 - Selected sensor format: 1640x1232-SBGGR10_1X10 - Selected CFE format: 1640x1232-PC1B
[0:00:36.083920113] [4177] ERROR V4L2 v4l2_videodevice.cpp:1906 /dev/video6[18:cap]: Failed to start streaming: Remote I/O error
ERROR: *** failed to start camera ***
naushir commented 5 months ago

Can you post the output of dmesg when this fails?

dinhthienkhai commented 5 months ago

Can you post the output of dmesg when this fails?

Hi @naushir , This is output of dmesg after this fails.

c2s@pi5c2s:~ $ uname -a
Linux pi5c2s 6.6.14-v8-16k+ #1 SMP PREEMPT Mon Feb  5 12:58:43 UTC 2024 aarch64 GNU/Linux
c2s@pi5c2s:~ $ libcamera-hello --camera 0 -t 0
[0:03:06.239953793] [4756]  INFO Camera camera_manager.cpp:284 libcamera v0.1.0+118-563cd78e
[0:03:06.247953989] [4759]  INFO RPI pisp.cpp:653 libpisp version v1.0.2 fa44a258644a 22-11-2023 (21:59:22)
[0:03:06.264576698] [4759]  INFO RPI pisp.cpp:1112 Registered camera /base/axi/pcie@120000/rp1/i2c@80000/imx219@10 to CFE device /dev/media2 and ISP device /dev/media1 using PiSP variant BCM2712_C0
Made X/EGL preview window
[0:03:06.633820008] [4756]  WARN V4L2 v4l2_pixelformat.cpp:338 Unsupported V4L2 pixel format Y16 
[0:03:06.633854657] [4756]  WARN V4L2 v4l2_pixelformat.cpp:338 Unsupported V4L2 pixel format RGB6
[0:03:06.633860157] [4756]  WARN V4L2 v4l2_pixelformat.cpp:338 Unsupported V4L2 pixel format BGR6
[0:03:06.633866416] [4756]  WARN V4L2 v4l2_pixelformat.cpp:338 Unsupported V4L2 pixel format PC1M
Mode selection for 1640:1232:12:P
    SRGGB10_CSI2P,640x480/0 - Score: 4504.81
    SRGGB10_CSI2P,1640x1232/0 - Score: 1000
    SRGGB10_CSI2P,1920x1080/0 - Score: 1541.48
    SRGGB10_CSI2P,3280x2464/0 - Score: 1718
    SRGGB8,640x480/0 - Score: 5504.81
    SRGGB8,1640x1232/0 - Score: 2000
    SRGGB8,1920x1080/0 - Score: 2541.48
    SRGGB8,3280x2464/0 - Score: 2718
Stream configuration adjusted
[0:03:06.634290844] [4756]  INFO Camera camera.cpp:1183 configuring streams: (0) 1640x1232-YUV420 (1) 1640x1232-BGGR16_PISP_COMP1
[0:03:06.634788401] [4759]  INFO RPI pisp.cpp:1396 Sensor: /base/axi/pcie@120000/rp1/i2c@80000/imx219@10 - Selected sensor format: 1640x1232-SBGGR10_1X10 - Selected CFE format: 1640x1232-PC1B
[0:03:06.670343104] [4759] ERROR V4L2 v4l2_videodevice.cpp:1906 /dev/video6[18:cap]: Failed to start streaming: Remote I/O error
ERROR: *** failed to start camera ***
c2s@pi5c2s:~ $ dmesg
[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x414fd0b1]
[    0.000000] Linux version 6.6.14-v8-16k+ (runner@fv-az1499-314) (aarch64-linux-gnu-gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #1 SMP PREEMPT Mon Feb  5 12:58:43 UTC 2024
[    0.000000] KASLR enabled
[    0.000000] random: crng init done
[    0.000000] Machine model: Raspberry Pi 5 Model B Rev 1.0
[    0.000000] efi: UEFI not found.
[    0.000000] Reserved memory: created CMA memory pool at 0x0000000002000000, size 320 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] OF: reserved mem: 0x0000000002000000..0x0000000015ffffff (327680 KiB) map reusable linux,cma
[    0.000000] OF: reserved mem: 0x0000000000000000..0x000000000007ffff (512 KiB) nomap non-reusable atf@0
[    0.000000] OF: reserved mem: 0x000000003fd165e0..0x000000003fd16616 (0 KiB) nomap non-reusable nvram@0
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000000000-0x00000000ffffffff]
[    0.000000]   DMA32    empty
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000000007ffff]
[    0.000000]   node   0: [mem 0x0000000000080000-0x000000003f7fffff]
[    0.000000]   node   0: [mem 0x0000000040000000-0x00000000ffffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x00000000ffffffff]
[    0.000000] On node 0, zone DMA: 512 pages in unavailable ranges
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.1 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.2
[    0.000000] percpu: Embedded 14 pages/cpu s183976 r8192 d37208 u229376
[    0.000000] pcpu-alloc: s183976 r8192 d37208 u229376 alloc=14*16384
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
[    0.000000] Detected PIPT I-cache on CPU0
[    0.000000] CPU features: detected: Virtualization Host Extensions
[    0.000000] CPU features: detected: Hardware dirty bit management
[    0.000000] CPU features: detected: Spectre-v4
[    0.000000] CPU features: detected: Spectre-BHB
[    0.000000] CPU features: kernel page table isolation forced ON by KASLR
[    0.000000] CPU features: detected: Kernel page table isolation (KPTI)
[    0.000000] alternatives: applying boot alternatives
[    0.000000] Kernel command line: reboot=w coherent_pool=1M 8250.nr_uarts=1 pci=pcie_bus_safe snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1  smsc95xx.macaddr=D8:3A:DD:AD:3C:3E vc_mem.mem_base=0x3fc00000 vc_mem.mem_size=0x40000000  console=ttyAMA10,115200 console=tty1 root=PARTUUID=36839dc9-02 rootfstype=ext4 fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles cfg80211.ieee80211_regdom=GB
[    0.000000] Unknown kernel command line parameters "splash", will be passed to user space.
[    0.000000] Dentry cache hash table entries: 524288 (order: 8, 4194304 bytes, linear)
[    0.000000] Inode-cache hash table entries: 262144 (order: 7, 2097152 bytes, linear)
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 260608
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] software IO TLB: area num 4.
[    0.000000] software IO TLB: mapped [mem 0x00000000fb698000-0x00000000ff698000] (64MB)
[    0.000000] Memory: 3722512K/4186112K available (13312K kernel code, 2220K rwdata, 4288K rodata, 5056K init, 1213K bss, 135920K reserved, 327680K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] ftrace: allocating 43131 entries in 43 pages
[    0.000000] ftrace: allocated 43 pages with 4 groups
[    0.000000] trace event string verifier disabled
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:     RCU event tracing is enabled.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
[    0.000000]  Trampoline variant of Tasks RCU enabled.
[    0.000000]  Rude variant of Tasks RCU enabled.
[    0.000000]  Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] Root IRQ handler: gic_handle_irq
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000] arch_timer: cp15 timer(s) running at 54.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xc743ce346, max_idle_ns: 440795203123 ns
[    0.000000] sched_clock: 56 bits at 54MHz, resolution 18ns, wraps every 4398046511102ns
[    0.000174] Console: colour dummy device 80x25
[    0.000178] printk: console [tty1] enabled
[    0.000213] Calibrating delay loop (skipped), value calculated using timer frequency.. 108.00 BogoMIPS (lpj=216000)
[    0.000219] pid_max: default: 32768 minimum: 301
[    0.000241] LSM: initializing lsm=capability,integrity
[    0.000306] Mount-cache hash table entries: 8192 (order: 2, 65536 bytes, linear)
[    0.000327] Mountpoint-cache hash table entries: 8192 (order: 2, 65536 bytes, linear)
[    0.000711] cgroup: Disabling memory control group subsystem
[    0.001151] RCU Tasks: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1.
[    0.001173] RCU Tasks Rude: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1.
[    0.001195] RCU Tasks Trace: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1.
[    0.001253] rcu: Hierarchical SRCU implementation.
[    0.001255] rcu:     Max phase no-delay instances is 1000.
[    0.001792] EFI services will not be available.
[    0.001859] smp: Bringing up secondary CPUs ...
[    0.002013] Detected PIPT I-cache on CPU1
[    0.002053] CPU1: Booted secondary processor 0x0000000100 [0x414fd0b1]
[    0.002222] Detected PIPT I-cache on CPU2
[    0.002256] CPU2: Booted secondary processor 0x0000000200 [0x414fd0b1]
[    0.002412] Detected PIPT I-cache on CPU3
[    0.002442] CPU3: Booted secondary processor 0x0000000300 [0x414fd0b1]
[    0.002468] smp: Brought up 1 node, 4 CPUs
[    0.002472] SMP: Total of 4 processors activated.
[    0.002475] CPU features: detected: 32-bit EL0 Support
[    0.002477] CPU features: detected: Data cache clean to the PoU not required for I/D coherence
[    0.002479] CPU features: detected: Common not Private translations
[    0.002481] CPU features: detected: CRC32 instructions
[    0.002483] CPU features: detected: RCpc load-acquire (LDAPR)
[    0.002485] CPU features: detected: LSE atomic instructions
[    0.002487] CPU features: detected: Privileged Access Never
[    0.002488] CPU features: detected: RAS Extension Support
[    0.002491] CPU features: detected: Speculative Store Bypassing Safe (SSBS)
[    0.002523] CPU: All CPU(s) started at EL2
[    0.002525] alternatives: applying system-wide alternatives
[    0.004461] devtmpfs: initialized
[    0.006988] Enabled cp15_barrier support
[    0.006994] Enabled setend support
[    0.007048] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.007054] futex hash table entries: 1024 (order: 2, 65536 bytes, linear)
[    0.007751] pinctrl core: initialized pinctrl subsystem
[    0.007887] DMI not present or invalid.
[    0.008040] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.008631] DMA: preallocated 1024 KiB GFP_KERNEL pool for atomic allocations
[    0.008678] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.008726] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.008741] audit: initializing netlink subsys (disabled)
[    0.008788] audit: type=2000 audit(0.008:1): state=initialized audit_enabled=0 res=1
[    0.008900] thermal_sys: Registered thermal governor 'step_wise'
[    0.008910] cpuidle: using governor menu
[    0.008964] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.008990] ASID allocator initialised with 32768 entries
[    0.009285] Serial: AMBA PL011 UART driver
[    0.010143] bcm2835-mbox 107c013880.mailbox: mailbox enabled
[    0.010486] 107d001000.serial: ttyAMA10 at MMIO 0x107d001000 (irq = 15, base_baud = 0) is a PL011 rev2
[    0.010497] printk: console [ttyAMA10] enabled
[    0.016107] raspberrypi-firmware soc:firmware: Attached to firmware from 2024-02-05T14:38:34, variant start_cd
[    0.020103] raspberrypi-firmware soc:firmware: Firmware hash is 0e79493d00000000000000000000000000000000
[    0.026321] Modules: 2G module region forced by RANDOMIZE_MODULE_REGION_FULL
[    0.026324] Modules: 0 pages in range for non-PLT usage
[    0.026326] Modules: 129420 pages in range for PLT usage
[    0.034331] bcm2835-dma 1000010000.dma: DMA legacy API manager, dmachans=0x1
[    0.034688] iommu: Default domain type: Translated
[    0.034691] iommu: DMA domain TLB invalidation policy: strict mode
[    0.034787] SCSI subsystem initialized
[    0.034823] usbcore: registered new interface driver usbfs
[    0.034831] usbcore: registered new interface driver hub
[    0.034839] usbcore: registered new device driver usb
[    0.034917] pps_core: LinuxPPS API ver. 1 registered
[    0.034919] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.034923] PTP clock support registered
[    0.035179] vgaarb: loaded
[    0.035450] clocksource: Switched to clocksource arch_sys_counter
[    0.035586] VFS: Disk quotas dquot_6.6.0
[    0.035598] VFS: Dquot-cache hash table entries: 2048 (order 0, 16384 bytes)
[    0.035623] FS-Cache: Loaded
[    0.036123] CacheFiles: Loaded
[    0.037539] NET: Registered PF_INET protocol family
[    0.037638] IP idents hash table entries: 65536 (order: 5, 524288 bytes, linear)
[    0.038914] tcp_listen_portaddr_hash hash table entries: 2048 (order: 1, 32768 bytes, linear)
[    0.038947] Table-perturb hash table entries: 65536 (order: 4, 262144 bytes, linear)
[    0.038951] TCP established hash table entries: 32768 (order: 4, 262144 bytes, linear)
[    0.039087] TCP bind hash table entries: 32768 (order: 6, 1048576 bytes, linear)
[    0.039929] TCP: Hash tables configured (established 32768 bind 32768)
[    0.040054] MPTCP token hash table entries: 4096 (order: 2, 98304 bytes, linear)
[    0.040103] UDP hash table entries: 2048 (order: 2, 65536 bytes, linear)
[    0.040155] UDP-Lite hash table entries: 2048 (order: 2, 65536 bytes, linear)
[    0.040254] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.040375] RPC: Registered named UNIX socket transport module.
[    0.040378] RPC: Registered udp transport module.
[    0.040379] RPC: Registered tcp transport module.
[    0.040381] RPC: Registered tcp-with-tls transport module.
[    0.040382] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.040387] PCI: CLS 0 bytes, default 64
[    0.040501] Trying to unpack rootfs image as initramfs...
[    0.043596] kvm [1]: IPA Size Limit: 40 bits
[    0.043617] kvm [1]: GICV region size/alignment is unsafe, using trapping (reduced performance)
[    0.043644] kvm [1]: vgic interrupt IRQ9
[    0.043658] kvm [1]: VHE mode initialized successfully
[    0.280568] Freeing initrd memory: 16720K
[    0.319072] Initialise system trusted keyrings
[    0.319162] workingset: timestamp_bits=46 max_order=18 bucket_order=0
[    0.319189] zbud: loaded
[    0.319405] NFS: Registering the id_resolver key type
[    0.319412] Key type id_resolver registered
[    0.319413] Key type id_legacy registered
[    0.319420] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.319422] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    0.319490] F2FS not supported on PAGE_SIZE(16384) != 4096
[    0.319551] Key type asymmetric registered
[    0.319554] Asymmetric key parser 'x509' registered
[    0.319572] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[    0.319606] io scheduler mq-deadline registered
[    0.319608] io scheduler kyber registered
[    0.319617] io scheduler bfq registered
[    0.319896] irq_brcmstb_l2: registered L2 intc (/soc/interrupt-controller@7c502000, parent irq: 26)
[    0.319962] irq_brcmstb_l2: registered L2 intc (/soc/intc@7d503000, parent irq: 27)
[    0.320006] irq_brcmstb_l2: registered L2 intc (/soc/intc@7d508380, parent irq: 28)
[    0.320047] irq_brcmstb_l2: registered L2 intc (/soc/intc@7d508400, parent irq: 29)
[    0.320094] irq_brcmstb_l2: registered L2 intc (/soc/interrupt-controller@7d510600, parent irq: 30)
[    0.320145] irq_brcmstb_l2: registered L2 intc (/soc/intc@7d517b00, parent irq: 31)
[    0.321323] simple-framebuffer 3f800000.framebuffer: framebuffer at 0x3f800000, 0x3f4800 bytes
[    0.321327] simple-framebuffer 3f800000.framebuffer: format=r5g6b5, mode=1920x1080x16, linelength=3840
[    0.321455] Console: switching to colour frame buffer device 240x67
[    0.322955] simple-framebuffer 3f800000.framebuffer: fb0: simplefb registered!
[    0.455723] Serial: 8250/16550 driver, 1 ports, IRQ sharing enabled
[    0.456097] 107d50c000.serial: ttyS0 at MMIO 0x107d50c000 (irq = 33, base_baud = 6000000) is a Broadcom BCM7271 UART
[    0.456144] serial serial0: tty port ttyS0 registered
[    0.456421] iproc-rng200 107d208000.rng: hwrng registered
[    0.456470] vc-mem: phys_addr:0x00000000 mem_base=0x3fc00000 mem_size:0x40000000(1024 MiB)
[    0.456683] bcm2712-iommu-cache 1000005b00.iommuc: bcm2712_iommu_cache_probe
[    0.458493] brd: module loaded
[    0.459820] loop: module loaded
[    0.459938] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver
[    0.460062] Loading iSCSI transport class v2.0-870.
[    0.460894] usbcore: registered new device driver r8152-cfgselector
[    0.460902] usbcore: registered new interface driver r8152
[    0.460909] usbcore: registered new interface driver lan78xx
[    0.460915] usbcore: registered new interface driver smsc95xx
[    0.460968] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    0.460989] dwc_otg: FIQ enabled
[    0.460991] dwc_otg: NAK holdoff enabled
[    0.460992] dwc_otg: FIQ split-transaction FSM enabled
[    0.460995] Module dwc_common_port init
[    0.461110] usbcore: registered new interface driver uas
[    0.461117] usbcore: registered new interface driver usb-storage
[    0.461211] mousedev: PS/2 mouse device common for all mice
[    0.468916] rpi-rtc soc:rpi_rtc: registered as rtc0
[    0.470379] rpi-rtc soc:rpi_rtc: setting system clock to 2024-02-08T05:20:58 UTC (1707369658)
[    0.470696] bcm2835-wdt bcm2835-wdt: Poweroff handler already present!
[    0.470699] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
[    0.472967] sdhci: Secure Digital Host Controller Interface driver
[    0.472969] sdhci: Copyright(c) Pierre Ossman
[    0.473007] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.473192] ledtrig-cpu: registered to indicate activity on CPUs
[    0.473233] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
[    0.473244] hid: raw HID events driver (C) Jiri Kosina
[    0.473261] usbcore: registered new interface driver usbhid
[    0.473262] usbhid: USB HID core driver
[    0.473569] hw perfevents: enabled with armv8_cortex_a76 PMU driver, 7 counters available
[    0.473734] NET: Registered PF_PACKET protocol family
[    0.473764] Key type dns_resolver registered
[    0.478657] registered taskstats version 1
[    0.478729] Loading compiled-in X.509 certificates
[    0.481326] Key type .fscrypt registered
[    0.481328] Key type fscrypt-provisioning registered
[    0.482043] brcm-pcie 1000120000.pcie: host bridge /axi/pcie@120000 ranges:
[    0.482050] brcm-pcie 1000120000.pcie:   No bus range found for /axi/pcie@120000, using [bus 00-ff]
[    0.482062] brcm-pcie 1000120000.pcie:      MEM 0x1f00000000..0x1ffffffffb -> 0x0000000000
[    0.482068] brcm-pcie 1000120000.pcie:      MEM 0x1c00000000..0x1effffffff -> 0x0400000000
[    0.482077] brcm-pcie 1000120000.pcie:   IB MEM 0x1f00000000..0x1f003fffff -> 0x0000000000
[    0.482082] brcm-pcie 1000120000.pcie:   IB MEM 0x0000000000..0x0fffffffff -> 0x1000000000
[    0.483453] brcm-pcie 1000120000.pcie: Forcing gen 2
[    0.483651] brcm-pcie 1000120000.pcie: PCI host bridge to bus 0000:00
[    0.483654] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.483658] pci_bus 0000:00: root bus resource [mem 0x1f00000000-0x1ffffffffb] (bus address [0x00000000-0xfffffffb])
[    0.483662] pci_bus 0000:00: root bus resource [mem 0x1c00000000-0x1effffffff pref] (bus address [0x400000000-0x6ffffffff])
[    0.483675] pci 0000:00:00.0: [14e4:2712] type 01 class 0x060400
[    0.483704] pci 0000:00:00.0: PME# supported from D0 D3hot
[    0.484553] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.591454] brcm-pcie 1000120000.pcie: link up, 5.0 GT/s PCIe x4 (!SSC)
[    0.591475] pci 0000:01:00.0: [1de4:0001] type 00 class 0x020000
[    0.591490] pci 0000:01:00.0: reg 0x10: [mem 0xffffc000-0xffffffff]
[    0.591498] pci 0000:01:00.0: reg 0x14: [mem 0xffc00000-0xffffffff]
[    0.591505] pci 0000:01:00.0: reg 0x18: [mem 0xffff0000-0xffffffff]
[    0.591575] pci 0000:01:00.0: supports D1
[    0.591578] pci 0000:01:00.0: PME# supported from D0 D1 D3hot D3cold
[    0.603459] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    0.603469] pci 0000:00:00.0: BAR 8: assigned [mem 0x1f00000000-0x1f005fffff]
[    0.603473] pci 0000:01:00.0: BAR 1: assigned [mem 0x1f00000000-0x1f003fffff]
[    0.603478] pci 0000:01:00.0: BAR 2: assigned [mem 0x1f00400000-0x1f0040ffff]
[    0.603483] pci 0000:01:00.0: BAR 0: assigned [mem 0x1f00410000-0x1f00413fff]
[    0.603488] pci 0000:00:00.0: PCI bridge to [bus 01]
[    0.603492] pci 0000:00:00.0:   bridge window [mem 0x1f00000000-0x1f005fffff]
[    0.603496] pci 0000:00:00.0: Max Payload Size set to  256/ 512 (was  128), Max Read Rq  512
[    0.603505] pci 0000:01:00.0: Max Payload Size set to  256/ 256 (was  128), Max Read Rq  512
[    0.603574] pcieport 0000:00:00.0: enabling device (0000 -> 0002)
[    0.603609] pcieport 0000:00:00.0: PME: Signaling with IRQ 38
[    0.603662] pcieport 0000:00:00.0: AER: enabled with IRQ 38
[    0.603738] rp1 0000:01:00.0: bar0 len 0x4000, start 0x1f00410000, end 0x1f00413fff, flags, 0x40200
[    0.603742] rp1 0000:01:00.0: bar1 len 0x400000, start 0x1f00000000, end 0x1f003fffff, flags, 0x40200
[    0.603751] rp1 0000:01:00.0: enabling device (0000 -> 0002)
[    0.604889] rp1 0000:01:00.0: chip_id 0x20001927
[    0.628385] macb 1f00100000.ethernet eth0: Cadence GEM rev 0x00070109 at 0x1f00100000 irq 106 (d8:3a:dd:ad:3c:3e)
[    0.629128] dw_axi_dmac_platform 1f00188000.dma: DesignWare AXI DMA Controller, 8 channels
[    0.629392] xhci-hcd xhci-hcd.0: xHCI Host Controller
[    0.629400] xhci-hcd xhci-hcd.0: new USB bus registered, assigned bus number 1
[    0.629853] xhci-hcd xhci-hcd.0: hcc params 0x0240fe6d hci version 0x110 quirks 0x0000000000000810
[    0.629864] xhci-hcd xhci-hcd.0: irq 131, io mem 0x1f00200000
[    0.629929] xhci-hcd xhci-hcd.0: xHCI Host Controller
[    0.629932] xhci-hcd xhci-hcd.0: new USB bus registered, assigned bus number 2
[    0.629936] xhci-hcd xhci-hcd.0: Host supports USB 3.0 SuperSpeed
[    0.629984] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.06
[    0.629988] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.629991] usb usb1: Product: xHCI Host Controller
[    0.629993] usb usb1: Manufacturer: Linux 6.6.14-v8-16k+ xhci-hcd
[    0.629995] usb usb1: SerialNumber: xhci-hcd.0
[    0.630113] hub 1-0:1.0: USB hub found
[    0.630126] hub 1-0:1.0: 2 ports detected
[    0.630259] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.06
[    0.630262] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.630265] usb usb2: Product: xHCI Host Controller
[    0.630267] usb usb2: Manufacturer: Linux 6.6.14-v8-16k+ xhci-hcd
[    0.630269] usb usb2: SerialNumber: xhci-hcd.0
[    0.630351] hub 2-0:1.0: USB hub found
[    0.630361] hub 2-0:1.0: 1 port detected
[    0.630628] xhci-hcd xhci-hcd.1: xHCI Host Controller
[    0.630633] xhci-hcd xhci-hcd.1: new USB bus registered, assigned bus number 3
[    0.651245] xhci-hcd xhci-hcd.1: hcc params 0x0240fe6d hci version 0x110 quirks 0x0000000000000810
[    0.651256] xhci-hcd xhci-hcd.1: irq 136, io mem 0x1f00300000
[    0.651316] xhci-hcd xhci-hcd.1: xHCI Host Controller
[    0.651319] xhci-hcd xhci-hcd.1: new USB bus registered, assigned bus number 4
[    0.651322] xhci-hcd xhci-hcd.1: Host supports USB 3.0 SuperSpeed
[    0.651358] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.06
[    0.651361] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.651364] usb usb3: Product: xHCI Host Controller
[    0.651366] usb usb3: Manufacturer: Linux 6.6.14-v8-16k+ xhci-hcd
[    0.651368] usb usb3: SerialNumber: xhci-hcd.1
[    0.651470] hub 3-0:1.0: USB hub found
[    0.651541] hub 3-0:1.0: 2 ports detected
[    0.651664] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.06
[    0.651667] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.651669] usb usb4: Product: xHCI Host Controller
[    0.651672] usb usb4: Manufacturer: Linux 6.6.14-v8-16k+ xhci-hcd
[    0.651674] usb usb4: SerialNumber: xhci-hcd.1
[    0.651754] hub 4-0:1.0: USB hub found
[    0.651764] hub 4-0:1.0: 1 port detected
[    0.652409] bcm2712-iommu 1000005100.iommu: bcm2712_iommu_init: DEBUG_INFO = 0x20804774
[    0.652732] platform 1000800000.codec: bcm2712_iommu_probe_device: MMU 1000005100.iommu
[    0.652737] platform 1000800000.codec: bcm2712_iommu_device_group: MMU 1000005100.iommu
[    0.652742] platform 1000800000.codec: Adding to iommu group 0
[    0.652753] platform 1000880000.pisp_be: bcm2712_iommu_probe_device: MMU 1000005100.iommu
[    0.652757] platform 1000880000.pisp_be: bcm2712_iommu_device_group: MMU 1000005100.iommu
[    0.652761] platform 1000880000.pisp_be: Adding to iommu group 0
[    0.652795] platform 1000800000.codec: bcm2712_iommu_attach_dev: MMU 1000005100.iommu
[    0.652797] platform 1000880000.pisp_be: bcm2712_iommu_attach_dev: MMU 1000005100.iommu
[    0.652802] bcm2712-iommu 1000005100.iommu: bcm2712_iommu_probe: Success
[    0.653154] bcm2712-iommu 1000005200.iommu: bcm2712_iommu_init: DEBUG_INFO = 0x20804774
[    0.653451] platform axi:gpu: bcm2712_iommu_probe_device: MMU 1000005200.iommu
[    0.653455] platform axi:gpu: bcm2712_iommu_device_group: MMU 1000005200.iommu
[    0.653459] platform axi:gpu: Adding to iommu group 1
[    0.653489] platform axi:gpu: bcm2712_iommu_attach_dev: MMU 1000005200.iommu
[    0.653493] bcm2712-iommu 1000005200.iommu: bcm2712_iommu_probe: Success
[    0.653807] bcm2712-iommu 1000005280.iommu: bcm2712_iommu_init: DEBUG_INFO = 0x20804774
[    0.654117] platform 1f00110000.csi: bcm2712_iommu_probe_device: MMU 1000005280.iommu
[    0.654121] platform 1f00110000.csi: bcm2712_iommu_device_group: MMU 1000005280.iommu
[    0.654125] platform 1f00110000.csi: Adding to iommu group 2
[    0.654131] platform 1f00128000.csi: bcm2712_iommu_probe_device: MMU 1000005280.iommu
[    0.654134] platform 1f00128000.csi: bcm2712_iommu_device_group: MMU 1000005280.iommu
[    0.654138] platform 1f00128000.csi: Adding to iommu group 2
[    0.654143] platform 1f00110000.csi: bcm2712_iommu_attach_dev: MMU 1000005280.iommu
[    0.654145] platform 1f00128000.csi: bcm2712_iommu_attach_dev: MMU 1000005280.iommu
[    0.654149] bcm2712-iommu 1000005280.iommu: bcm2712_iommu_probe: Success
[    0.655045] sdhci-brcmstb 1000fff000.mmc: there is not valid maps for state default
[    0.655251] mmc0: CQHCI version 5.10
[    0.655484] mmc1: CQHCI version 5.10
[    0.655720] of_cfs_init
[    0.655761] of_cfs_init: OK
[    0.655838] clk: Disabling unused clocks
[    0.691793] mmc0: SDHCI controller on 1000fff000.mmc [1000fff000.mmc] using ADMA 64-bit
[    0.785003] mmc0: new ultra high speed SDR104 SDHC card at address 1234
[    0.785240] mmcblk0: mmc0:1234 SA32G 29.1 GiB
[    0.786694]  mmcblk0: p1 p2
[    0.786795] mmcblk0: mmc0:1234 SA32G 29.1 GiB
[    0.845988] mmc1: SDHCI controller on 1001100000.mmc [1001100000.mmc] using ADMA 64-bit
[    0.849294] Freeing unused kernel memory: 5056K
[    0.849345] Run /init as init process
[    0.849347]   with arguments:
[    0.849349]     /init
[    0.849350]     splash
[    0.849351]   with environment:
[    0.849353]     HOME=/
[    0.849354]     TERM=linux
[    0.879032] mmc1: new ultra high speed DDR50 SDIO card at address 0001
[    0.907506] usb 3-2: new full-speed USB device number 2 using xhci-hcd
[    1.062883] usb 3-2: New USB device found, idVendor=24ae, idProduct=2013, bcdDevice= 1.10
[    1.062892] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    1.062895] usb 3-2: Product: Rapoo 2.4G Wireless Device
[    1.062898] usb 3-2: Manufacturer: RAPOO
[    1.099420] input: RAPOO Rapoo 2.4G Wireless Device as /devices/platform/axi/1000120000.pcie/1f00300000.usb/xhci-hcd.1/usb3/3-2/3-2:1.0/0003:24AE:2013.0001/input/input0
[    1.099560] hid-generic 0003:24AE:2013.0001: input,hidraw0: USB HID v1.10 Mouse [RAPOO Rapoo 2.4G Wireless Device] on usb-xhci-hcd.1-2/input0
[    1.115473] input: RAPOO Rapoo 2.4G Wireless Device System Control as /devices/platform/axi/1000120000.pcie/1f00300000.usb/xhci-hcd.1/usb3/3-2/3-2:1.1/0003:24AE:2013.0002/input/input2
[    1.175526] input: RAPOO Rapoo 2.4G Wireless Device Consumer Control as /devices/platform/axi/1000120000.pcie/1f00300000.usb/xhci-hcd.1/usb3/3-2/3-2:1.1/0003:24AE:2013.0002/input/input3
[    1.175697] hid-generic 0003:24AE:2013.0002: input,hiddev96,hidraw1: USB HID v1.10 Device [RAPOO Rapoo 2.4G Wireless Device] on usb-xhci-hcd.1-2/input1
[    1.195379] input: RAPOO Rapoo 2.4G Wireless Device as /devices/platform/axi/1000120000.pcie/1f00300000.usb/xhci-hcd.1/usb3/3-2/3-2:1.2/0003:24AE:2013.0003/input/input4
[    1.251750] hid-generic 0003:24AE:2013.0003: input,hidraw2: USB HID v1.10 Keyboard [RAPOO Rapoo 2.4G Wireless Device] on usb-xhci-hcd.1-2/input2
[    1.405626] EXT4-fs (mmcblk0p2): mounted filesystem 4aa56689-dcb4-4759-90e6-179beae559ac ro with ordered data mode. Quota mode: none.
[    1.753332] NET: Registered PF_INET6 protocol family
[    1.753719] Segment Routing with IPv6
[    1.753726] In-situ OAM (IOAM) with IPv6
[    1.785778] systemd[1]: systemd 252.19-1~deb12u1 running in system mode (+PAM +AUDIT +SELINUX +APPARMOR +IMA +SMACK +SECCOMP +GCRYPT -GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP +LIBFDISK +PCRE2 -PWQUALITY +P11KIT +QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified)
[    1.785789] systemd[1]: Detected architecture arm64.
[    1.794062] systemd[1]: Hostname set to <pi5c2s>.
[    1.864671] uart-pl011 107d001000.serial: no DMA platform data
[    2.126800] systemd[1]: Queued start job for default target graphical.target.
[    2.148460] systemd[1]: Created slice system-devmon.slice - Slice /system/devmon.
[    2.148886] systemd[1]: Created slice system-getty.slice - Slice /system/getty.
[    2.149254] systemd[1]: Created slice system-modprobe.slice - Slice /system/modprobe.
[    2.149621] systemd[1]: Created slice system-serial\x2dgetty.slice - Slice /system/serial-getty.
[    2.149994] systemd[1]: Created slice system-systemd\x2dfsck.slice - Slice /system/systemd-fsck.
[    2.150239] systemd[1]: Created slice user.slice - User and Session Slice.
[    2.150319] systemd[1]: Started systemd-ask-password-wall.path - Forward Password Requests to Wall Directory Watch.
[    2.150522] systemd[1]: Set up automount proc-sys-fs-binfmt_misc.automount - Arbitrary Executable File Formats File System Automount Point.
[    2.150601] systemd[1]: Reached target integritysetup.target - Local Integrity Protected Volumes.
[    2.150648] systemd[1]: Reached target nss-user-lookup.target - User and Group Name Lookups.
[    2.150687] systemd[1]: Reached target slices.target - Slice Units.
[    2.150720] systemd[1]: Reached target swap.target - Swaps.
[    2.150754] systemd[1]: Reached target veritysetup.target - Local Verity Protected Volumes.
[    2.150916] systemd[1]: Listening on systemd-fsckd.socket - fsck to fsckd communication Socket.
[    2.150980] systemd[1]: Listening on systemd-initctl.socket - initctl Compatibility Named Pipe.
[    2.151251] systemd[1]: Listening on systemd-journald-audit.socket - Journal Audit Socket.
[    2.151375] systemd[1]: Listening on systemd-journald-dev-log.socket - Journal Socket (/dev/log).
[    2.151520] systemd[1]: Listening on systemd-journald.socket - Journal Socket.
[    2.151682] systemd[1]: Listening on systemd-udevd-control.socket - udev Control Socket.
[    2.151777] systemd[1]: Listening on systemd-udevd-kernel.socket - udev Kernel Socket.
[    2.151945] systemd[1]: dev-hugepages.mount - Huge Pages File System was skipped because of an unmet condition check (ConditionPathExists=/sys/kernel/mm/hugepages).
[    2.152887] systemd[1]: Mounting dev-mqueue.mount - POSIX Message Queue File System...
[    2.154051] systemd[1]: Mounting sys-kernel-debug.mount - Kernel Debug File System...
[    2.155291] systemd[1]: Mounting sys-kernel-tracing.mount - Kernel Trace File System...
[    2.155562] systemd[1]: auth-rpcgss-module.service - Kernel Module supporting RPCSEC_GSS was skipped because of an unmet condition check (ConditionPathExists=/etc/krb5.keytab).
[    2.158448] systemd[1]: Starting fake-hwclock.service - Restore / save the current clock...
[    2.159981] systemd[1]: Starting keyboard-setup.service - Set the console keyboard layout...
[    2.161444] systemd[1]: Starting kmod-static-nodes.service - Create List of Static Device Nodes...
[    2.163479] systemd[1]: Starting modprobe@configfs.service - Load Kernel Module configfs...
[    2.165139] systemd[1]: Starting modprobe@dm_mod.service - Load Kernel Module dm_mod...
[    2.167049] systemd[1]: Starting modprobe@drm.service - Load Kernel Module drm...
[    2.168923] systemd[1]: Starting modprobe@efi_pstore.service - Load Kernel Module efi_pstore...
[    2.170893] systemd[1]: Starting modprobe@fuse.service - Load Kernel Module fuse...
[    2.172427] systemd[1]: Starting modprobe@loop.service - Load Kernel Module loop...
[    2.172727] systemd[1]: systemd-fsck-root.service - File System Check on Root Device was skipped because of an unmet condition check (ConditionPathExists=!/run/initramfs/fsck-root).
[    2.175713] systemd[1]: Starting systemd-journald.service - Journal Service...
[    2.193451] systemd[1]: Starting systemd-modules-load.service - Load Kernel Modules...
[    2.195005] systemd[1]: Starting systemd-remount-fs.service - Remount Root and Kernel File Systems...
[    2.196431] systemd[1]: Starting systemd-udev-trigger.service - Coldplug All udev Devices...
[    2.198635] systemd[1]: Mounted dev-mqueue.mount - POSIX Message Queue File System.
[    2.198938] systemd[1]: Mounted sys-kernel-debug.mount - Kernel Debug File System.
[    2.199183] systemd[1]: Mounted sys-kernel-tracing.mount - Kernel Trace File System.
[    2.199625] systemd[1]: Finished kmod-static-nodes.service - Create List of Static Device Nodes.
[    2.200302] systemd[1]: modprobe@configfs.service: Deactivated successfully.
[    2.200462] systemd[1]: Finished modprobe@configfs.service - Load Kernel Module configfs.
[    2.200766] device-mapper: ioctl: 4.48.0-ioctl (2023-03-01) initialised: dm-devel@redhat.com
[    2.200828] systemd[1]: modprobe@efi_pstore.service: Deactivated successfully.
[    2.200959] systemd[1]: Finished modprobe@efi_pstore.service - Load Kernel Module efi_pstore.
[    2.201262] systemd[1]: modprobe@dm_mod.service: Deactivated successfully.
[    2.201371] systemd[1]: Finished modprobe@dm_mod.service - Load Kernel Module dm_mod.
[    2.201609] systemd[1]: modprobe@loop.service: Deactivated successfully.
[    2.201737] systemd[1]: Finished modprobe@loop.service - Load Kernel Module loop.
[    2.203400] systemd[1]: Mounting sys-kernel-config.mount - Kernel Configuration File System...
[    2.207642] systemd[1]: systemd-repart.service - Repartition Root Disk was skipped because no trigger condition checks were met.
[    2.208980] systemd[1]: Mounted sys-kernel-config.mount - Kernel Configuration File System.
[    2.216716] fuse: init (API version 7.39)
[    2.219920] systemd[1]: modprobe@fuse.service: Deactivated successfully.
[    2.220139] systemd[1]: Finished modprobe@fuse.service - Load Kernel Module fuse.
[    2.222039] systemd[1]: Mounting sys-fs-fuse-connections.mount - FUSE Control File System...
[    2.224577] systemd[1]: Mounted sys-fs-fuse-connections.mount - FUSE Control File System.
[    2.253951] systemd[1]: Finished fake-hwclock.service - Restore / save the current clock.
[    2.262226] systemd[1]: Started systemd-journald.service - Journal Service.
[    2.339912] EXT4-fs (mmcblk0p2): re-mounted 4aa56689-dcb4-4759-90e6-179beae559ac r/w. Quota mode: none.
[    2.343556] i2c_dev: i2c /dev entries driver
[    2.384178] systemd-journald[279]: Received client request to flush runtime journal.
[    7.845515] rpi-gpiomem 107d508500.gpiomem: window base 0x107d508500 size 0x00000040
[    7.849600] rpi-gpiomem 107d508500.gpiomem: initialised 1 regions as /dev/gpiomem1
[    7.851717] rpi-gpiomem 107d517c00.gpiomem: window base 0x107d517c00 size 0x00000040
[    7.851814] rpi-gpiomem 107d517c00.gpiomem: initialised 1 regions as /dev/gpiomem2
[    7.851862] rpi-gpiomem 107d504100.gpiomem: window base 0x107d504100 size 0x00000020
[    7.852322] rpi-gpiomem 107d504100.gpiomem: initialised 1 regions as /dev/gpiomem3
[    7.856653] rpi-gpiomem 107d510700.gpiomem: window base 0x107d510700 size 0x00000020
[    7.873764] rpi-gpiomem 107d510700.gpiomem: initialised 1 regions as /dev/gpiomem4
[    7.880075] rpi-gpiomem 1f000d0000.gpiomem: window base 0x1f000d0000 size 0x00030000
[    7.881436] mc: Linux media interface: v0.10
[    7.883421] rpi-gpiomem 1f000d0000.gpiomem: initialised 1 regions as /dev/gpiomem0
[    7.936365] input: pwr_button as /devices/platform/pwr_button/input/input5
[    7.940019] videodev: Linux video capture interface: v2.00
[    7.956943] [drm] Initialized v3d 1.0.0 20180419 for 1002000000.v3d on minor 0
[    7.977789] brcmstb-i2c 107d508200.i2c:  @200000hz registered in interrupt mode
[    7.978027] brcmstb-i2c 107d508280.i2c:  @200000hz registered in interrupt mode
[    8.058490] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    8.066824] Loaded X.509 cert 'benh@debian.org: 577e021cb980e0e820821ba7b54b4961b8b4fadf'
[    8.067173] Loaded X.509 cert 'romain.perier@gmail.com: 3abbc6ec146e09d1b6016ab9d6cf71dd233f0328'
[    8.067520] Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    8.067845] Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600'
[    8.078182] pispbe 1000880000.pisp_be: bcm2712_iommu_of_xlate: MMU 1000005100.iommu
[    8.078301] pispbe 1000880000.pisp_be: pispbe_probe: HW version:  0x02252700
[    8.078305] pispbe 1000880000.pisp_be: pispbe_probe: BatchStatus: 0x00000000
[    8.078308] pispbe 1000880000.pisp_be: pispbe_probe: Status:      0x00000000
[    8.078310] pispbe 1000880000.pisp_be: Register nodes for group 0
[    8.078770] pispbe 1000880000.pisp_be: input device node registered as /dev/video20
[    8.079374] pispbe 1000880000.pisp_be: tdn_input device node registered as /dev/video21
[    8.083072] pispbe 1000880000.pisp_be: stitch_input device node registered as /dev/video22
[    8.085804] pispbe 1000880000.pisp_be: hog_output device node registered as /dev/video23
[    8.086074] rp1-cfe 1f00110000.csi: bcm2712_iommu_of_xlate: MMU 1000005280.iommu
[    8.086224] pispbe 1000880000.pisp_be: output0 device node registered as /dev/video24
[    8.086493] rp1-cfe 1f00110000.csi: DW dphy Host HW v1.20
[    8.086509] rp1-cfe 1f00110000.csi: PiSP FE HW v0.1
[    8.086913] rp1-cfe 1f00110000.csi: found subdevice /axi/pcie@120000/rp1/i2c@88000/imx219@10
[    8.087034] pispbe 1000880000.pisp_be: output1 device node registered as /dev/video25
[    8.087067] rp1-cfe 1f00128000.csi: bcm2712_iommu_of_xlate: MMU 1000005280.iommu
[    8.087716] pispbe 1000880000.pisp_be: tdn_output device node registered as /dev/video26
[    8.087956] pispbe 1000880000.pisp_be: stitch_output device node registered as /dev/video27
[    8.088689] pispbe 1000880000.pisp_be: config device node registered as /dev/video28
[    8.089984] rp1-cfe 1f00128000.csi: DW dphy Host HW v1.20
[    8.090003] rp1-cfe 1f00128000.csi: PiSP FE HW v0.1
[    8.094488] pispbe 1000880000.pisp_be: Register nodes for group 1
[    8.095006] pispbe 1000880000.pisp_be: input device node registered as /dev/video29
[    8.102356] rp1-cfe 1f00128000.csi: found subdevice /axi/pcie@120000/rp1/i2c@80000/imx219@10
[    8.113043] pispbe 1000880000.pisp_be: tdn_input device node registered as /dev/video30
[    8.123099] pispbe 1000880000.pisp_be: stitch_input device node registered as /dev/video31
[    8.123361] pispbe 1000880000.pisp_be: hog_output device node registered as /dev/video32
[    8.123433] pispbe 1000880000.pisp_be: output0 device node registered as /dev/video33
[    8.123604] pispbe 1000880000.pisp_be: output1 device node registered as /dev/video34
[    8.124629] pispbe 1000880000.pisp_be: tdn_output device node registered as /dev/video35
[    8.124715] pispbe 1000880000.pisp_be: stitch_output device node registered as /dev/video36
[    8.126363] pispbe 1000880000.pisp_be: config device node registered as /dev/video37
[    8.129721] rpivid_hevc: module is from the staging directory, the quality is unknown, you have been warned.
[    8.156474] rpivid 1000800000.codec: bcm2712_iommu_of_xlate: MMU 1000005100.iommu
[    8.167122] rpivid 1000800000.codec: Device registered as /dev/video19
[    8.202220] brcmfmac: F1 signature read @0x18000000=0x15264345
[    8.204052] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[    8.213685] usbcore: registered new interface driver brcmfmac
[    8.227741] Bluetooth: Core ver 2.22
[    8.227784] NET: Registered PF_BLUETOOTH protocol family
[    8.227789] Bluetooth: HCI device and connection manager initialized
[    8.227798] Bluetooth: HCI socket layer initialized
[    8.227804] Bluetooth: L2CAP socket layer initialized
[    8.227816] Bluetooth: SCO socket layer initialized
[    8.249979] Bluetooth: HCI UART driver ver 2.3
[    8.249990] Bluetooth: HCI UART protocol H4 registered
[    8.250034] Bluetooth: HCI UART protocol Three-wire (H5) registered
[    8.250222] hci_uart_bcm serial0-0: supply vbat not found, using dummy regulator
[    8.250286] hci_uart_bcm serial0-0: supply vddio not found, using dummy regulator
[    8.250324] Bluetooth: HCI UART protocol Broadcom registered
[    8.487991] brcmfmac_wcc: brcmf_wcc_attach: executing
[    8.494264] brcmfmac: brcmf_c_process_txcap_blob: no txcap_blob available (err=-2)
[    8.495091] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Apr 15 2021 03:03:20 version 7.45.234 (4ca95bb CY) FWID 01-996384e2
[    8.510645] rp1-cfe 1f00128000.csi: Using sensor imx219 4-0010 for capture
[    8.510742] rp1-cfe 1f00128000.csi: Registered [rp1-cfe-csi2_ch0] node id 0 successfully as /dev/video0
[    8.510778] rp1-cfe 1f00128000.csi: Registered [rp1-cfe-embedded] node id 1 successfully as /dev/video1
[    8.511502] rp1-cfe 1f00128000.csi: Registered [rp1-cfe-csi2_ch2] node id 2 successfully as /dev/video2
[    8.512868] rp1-cfe 1f00128000.csi: Registered [rp1-cfe-csi2_ch3] node id 3 successfully as /dev/video3
[    8.513090] rp1-cfe 1f00128000.csi: Registered [rp1-cfe-fe_image0] node id 4 successfully as /dev/video4
[    8.513153] rp1-cfe 1f00128000.csi: Registered [rp1-cfe-fe_image1] node id 5 successfully as /dev/video5
[    8.513319] rp1-cfe 1f00128000.csi: Registered [rp1-cfe-fe_stats] node id 6 successfully as /dev/video6
[    8.513359] rp1-cfe 1f00128000.csi: Registered [rp1-cfe-fe_config] node id 7 successfully as /dev/video7
[    8.524166] imx219 6-0010: Error reading reg 0x   0: -121
[    8.524176] imx219 6-0010: failed to read chip id 219
[    8.528712] imx219: probe of 6-0010 failed with error -121
[    8.530983] vc4-drm axi:gpu: bcm2712_iommu_of_xlate: MMU 1000005200.iommu
[    8.534624] Console: switching to colour dummy device 80x25
[    8.537211] vc4-drm axi:gpu: bound 107c580000.hvs (ops vc4_hvs_ops [vc4])
[    8.539064] Registered IR keymap rc-cec
[    8.539128] rc rc0: vc4-hdmi-0 as /devices/platform/soc/107c701400.hdmi/rc/rc0
[    8.539181] input: vc4-hdmi-0 as /devices/platform/soc/107c701400.hdmi/rc/rc0/input6
[    8.544295] vc4-drm axi:gpu: bound 107c701400.hdmi (ops vc4_hdmi_ops [vc4])
[    8.548934] Registered IR keymap rc-cec
[    8.549009] rc rc1: vc4-hdmi-1 as /devices/platform/soc/107c706400.hdmi/rc/rc1
[    8.549065] input: vc4-hdmi-1 as /devices/platform/soc/107c706400.hdmi/rc/rc1/input7
[    8.565600] vc4-drm axi:gpu: bound 107c706400.hdmi (ops vc4_hdmi_ops [vc4])
[    8.565772] vc4-drm axi:gpu: bound 107c500000.mop (ops vc4_txp_ops [vc4])
[    8.565871] vc4-drm axi:gpu: bound 107c501000.moplet (ops vc4_txp_ops [vc4])
[    8.566463] vc4-drm axi:gpu: bound 107c410000.pixelvalve (ops vc4_crtc_ops [vc4])
[    8.566563] vc4-drm axi:gpu: bound 107c411000.pixelvalve (ops vc4_crtc_ops [vc4])
[    8.603901] Bluetooth: hci0: BCM: chip id 107
[    8.604112] Bluetooth: hci0: BCM: features 0x2f
[    8.605193] Bluetooth: hci0: BCM4345C0
[    8.605197] Bluetooth: hci0: BCM4345C0 (003.001.025) build 0000
[    8.610046] Bluetooth: hci0: BCM4345C0 'brcm/BCM4345C0.raspberrypi,5-model-b.hcd' Patch
[    8.623860] [drm] Initialized vc4 0.0.0 20140616 for axi:gpu on minor 1
[    8.678510] Console: switching to colour frame buffer device 320x100
[    8.698122] vc4-drm axi:gpu: [drm] fb0: vc4drmfb frame buffer device
[    8.874402] alsactl[685]: memfd_create() called without MFD_EXEC or MFD_NOEXEC_SEAL set
[    8.874402] alsactl[698]: memfd_create() called without MFD_EXEC or MFD_NOEXEC_SEAL set
[    9.319275] Adding 102368k swap on /var/swap.  Priority:-2 extents:1 across:102368k SS
[    9.332093] Bluetooth: hci0: BCM: features 0x2f
[    9.333450] Bluetooth: hci0: BCM43455 37.4MHz Raspberry Pi 3+-0190
[    9.333454] Bluetooth: hci0: BCM4345C0 (003.001.025) build 0382
[    9.333744] Bluetooth: hci0: BCM: Using default device address (43:45:c0:00:1f:ac)
[   10.218456] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   10.218464] Bluetooth: BNEP filters: protocol multicast
[   10.218470] Bluetooth: BNEP socket layer initialized
[   10.221349] Bluetooth: MGMT ver 1.22
[   10.231631] NET: Registered PF_ALG protocol family
[   14.858488] macb 1f00100000.ethernet eth0: PHY [1f00100000.ethernet-ffffffff:01] driver [Broadcom BCM54213PE] (irq=POLL)
[   14.858499] macb 1f00100000.ethernet eth0: configuring for phy/rgmii-id link mode
[   14.862306] pps pps0: new PPS source ptp0
[   14.862398] macb 1f00100000.ethernet: gem-ptp-timer ptp clock registered.
[   14.874591] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled
[   18.952493] macb 1f00100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[   20.955149] Bluetooth: RFCOMM TTY layer initialized
[   20.955167] Bluetooth: RFCOMM socket layer initialized
[   20.955178] Bluetooth: RFCOMM ver 1.11
[   30.147981] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[   30.150914] Bridge firewalling registered
[   30.247355] Initializing XFRM netlink socket
[   30.653689] docker0: port 1(vethfce4e34) entered blocking state
[   30.653697] docker0: port 1(vethfce4e34) entered disabled state
[   30.653710] vethfce4e34: entered allmulticast mode
[   30.653760] vethfce4e34: entered promiscuous mode
[   30.653824] docker0: port 1(vethfce4e34) entered blocking state
[   30.653828] docker0: port 1(vethfce4e34) entered forwarding state
[   30.654548] docker0: port 1(vethfce4e34) entered disabled state
[   30.777765] docker0: port 2(veth31e76b8) entered blocking state
[   30.777773] docker0: port 2(veth31e76b8) entered disabled state
[   30.777782] veth31e76b8: entered allmulticast mode
[   30.777845] veth31e76b8: entered promiscuous mode
[   30.778178] docker0: port 2(veth31e76b8) entered blocking state
[   30.778182] docker0: port 2(veth31e76b8) entered forwarding state
[   30.778478] docker0: port 2(veth31e76b8) entered disabled state
[   30.888251] docker0: port 3(veth6b806d9) entered blocking state
[   30.888259] docker0: port 3(veth6b806d9) entered disabled state
[   30.888274] veth6b806d9: entered allmulticast mode
[   30.888330] veth6b806d9: entered promiscuous mode
[   30.888403] docker0: port 3(veth6b806d9) entered blocking state
[   30.888406] docker0: port 3(veth6b806d9) entered forwarding state
[   31.001276] docker0: port 4(veth9ce5f79) entered blocking state
[   31.001289] docker0: port 4(veth9ce5f79) entered disabled state
[   31.001319] veth9ce5f79: entered allmulticast mode
[   31.001429] veth9ce5f79: entered promiscuous mode
[   31.001646] docker0: port 4(veth9ce5f79) entered blocking state
[   31.001653] docker0: port 4(veth9ce5f79) entered forwarding state
[   31.116688] docker0: port 5(veth9455076) entered blocking state
[   31.116695] docker0: port 5(veth9455076) entered disabled state
[   31.116705] veth9455076: entered allmulticast mode
[   31.116764] veth9455076: entered promiscuous mode
[   31.116836] docker0: port 5(veth9455076) entered blocking state
[   31.116842] docker0: port 5(veth9455076) entered forwarding state
[   31.299565] docker0: port 3(veth6b806d9) entered disabled state
[   31.299633] docker0: port 4(veth9ce5f79) entered disabled state
[   31.299662] docker0: port 5(veth9455076) entered disabled state
[   33.576147] eth0: renamed from vethb77ed65
[   33.613717] docker0: port 1(vethfce4e34) entered blocking state
[   33.613738] docker0: port 1(vethfce4e34) entered forwarding state
[   33.841364] eth0: renamed from veth276e43d
[   33.856313] docker0: port 3(veth6b806d9) entered blocking state
[   33.856323] docker0: port 3(veth6b806d9) entered forwarding state
[   33.874185] eth0: renamed from veth6e9fbd9
[   33.888289] docker0: port 5(veth9455076) entered blocking state
[   33.888302] docker0: port 5(veth9455076) entered forwarding state
[   33.932194] eth0: renamed from veth53daec8
[   33.951909] eth0: renamed from veth94d2966
[   33.975900] docker0: port 4(veth9ce5f79) entered blocking state
[   33.975911] docker0: port 4(veth9ce5f79) entered forwarding state
[   33.976084] docker0: port 2(veth31e76b8) entered blocking state
[   33.976090] docker0: port 2(veth31e76b8) entered forwarding state
[  186.659717] source of link 'rp1-cfe-fe_config':0->'pisp-fe':1 is not a V4L2 sub-device, driver bug!
[  186.659752] rp1-cfe 1f00128000.csi: Using a link rate of 912 Mbps
[  186.671230] imx219 4-0010: Error writing reg 0x 305: -121
[  186.671236] imx219 4-0010: imx219_start_streaming failed to send mfg header
[  186.671244] rp1-cfe 1f00128000.csi: stream on failed in subdev
naushir commented 5 months ago

This looks to be an error communicating with the sensor over I2C. Can you start from a fresh SD card image and reseat the camera board and connectors and try again. If it still fails, it might indicate a hardware issue with the camera board.

dinhthienkhai commented 5 months ago

This looks to be an error communicating with the sensor over I2C. Can you start from a fresh SD card image and reseat the camera board and connectors and try again. If it still fails, it might indicate a hardware issue with the camera board.

Thank you so much, I will try it.