B0323 segmentation fault on Rpi 4B

Hi Purchased a B0323 camera to use with raspberry pi. However I am setting segmentation fault when using libcamera to capture images.

I have followed the instructions here : https://www.uctronics.com/download/Amazon/B0323_Manual.pdf

Driver installtion happens without any problem. I have also installed libcamera by these commands

./install_pivariety_pkgs.sh -p libcamera_dev
./install_pivariety_pkgs.sh -p libcamera_apps

The output of dmesg | grep arducam is correct.

[    8.114768] arducam-pivariety 10-000c: firmware version: 0x10001
[    8.599480] arducam-pivariety 10-000c: Consider updating driver arducam-pivariety to match on endpoints

v4l2ctl also give correct results

Driver Info:
        Driver name      : unicam
        Card type        : unicam
        Bus info         : platform:fe801000.csi
        Driver version   : 5.15.84
        Capabilities     : 0xa5a00001
                Video Capture
                Metadata Capture
                Read/Write
                Streaming
                Extended Pix Format
                Device Capabilities
        Device Caps      : 0x25200001
                Video Capture
                Read/Write
                Streaming
                Extended Pix Format
Media Driver Info:
        Driver name      : unicam
        Model            : unicam
        Serial           : 
        Bus info         : platform:fe801000.csi
        Media version    : 5.15.84
        Hardware revision: 0x00000000 (0)
        Driver version   : 5.15.84
Interface Info:
        ID               : 0x03000005
        Type             : V4L Video
Entity Info:
        ID               : 0x00000003 (3)
        Name             : unicam-image
        Function         : V4L2 I/O
        Flags         : default
        Pad 0x01000004   : 0: Sink
          Link 0x02000007: from remote pad 0x1000002 of entity 'arducam-pivariety 10-000c': Data, Enabled, Immutable
Priority: 2
Video input : 0 (unicam-image: ok)
Format Video Capture:
        Width/Height      : 2320/1732
        Pixel Format      : 'pRAA' (10-bit Bayer RGRG/GBGB Packed)
        Field             : None
        Bytes per Line    : 2912
        Size Image        : 5043584
        Colorspace        : Raw
        Transfer Function : Default (maps to None)
        YCbCr/HSV Encoding: Default (maps to ITU-R 601)
        Quantization      : Default (maps to Full Range)
        Flags             : 

However I am unable to get images using lib-camera. the error is

libcamera-still -t 5000 -o test.jpg
Preview window unavailable
[1:00:27.379063089] [3278]  INFO Camera camera_manager.cpp:299 libcamera v0.0.0+4186-d1dc0373
[1:00:27.397502955] [3280]  WARN CameraSensorProperties camera_sensor_properties.cpp:205 No static properties available for 'arducam-pivariety'
[1:00:27.397594731] [3280]  WARN CameraSensorProperties camera_sensor_properties.cpp:207 Please consider updating the camera sensor properties database
[1:00:27.409033922] [3280] ERROR IPAProxy ipa_proxy.cpp:149 Configuration file 'arducam-pivariety.json' not found for IPA module 'raspberrypi'
[1:00:27.747882278] [3280]  INFO RPI raspberrypi.cpp:1425 Registered camera /base/soc/i2c0mux/i2c@1/arducam_pivariety@c to Unicam device /dev/media3 and ISP device /dev/media0
[1:00:27.748861028] [3278]  INFO Camera camera.cpp:1028 configuring streams: (0) 2328x1748-YUV420
[1:00:27.828233588] [3280]  INFO RPI raspberrypi.cpp:805 Sensor: /base/soc/i2c0mux/i2c@1/arducam_pivariety@c - Selected sensor format: 2320x1732-SRGGB10_1X10 - Selected unicam format: 2320x1732-pRAA
[1:00:27.864381698] [3284]  WARN IPARPI raspberrypi.cpp:810 Could not set AF_MODE - no AF algorithm
Segmentation fault

Without preview same error comes up

@gybh7e

Before, I need some information

Please reboot your device and execute the following command:

wget -O arducam-camera-bug-report https://github.com/ketai-dhr/arducam-camera-bug-report/releases/download/tools/arducam-camera-bug-report
chmod +x ./arducam-camera-bug-report
./arducam-camera-bug-report

This will output an arducam-bug-report.txt in the current directory.

Please send this file to me in google cloud disk.

Thank you for your cooperation and have a nice life.

Hi Edward, I will paste the results here since I cannot upload and share files from my work computer.
Let me know if you need any further information

I will paste as two parts since there is a charector limit

--------------------------------------------------------------------------------
libcamera-apps Bug Report
--------------------------------------------------------------------------------
Date: 02-03-2023 (06:52:20)
Command: ./arducam-camera-bug-report

--------------------------------------------------------------------------------
Hardware information
--------------------------------------------------------------------------------
** hostname **
raspberrypi

** uname -r **
5.15.84-v7l+

** cat /proc/cpuinfo | tail -n 4 **
Hardware	: BCM2711
Revision	: c03111
Serial		: 100000002422ebe4
Model		: Raspberry Pi 4 Model B Rev 1.1

--------------------------------------------------------------------------------
libcamera verison
--------------------------------------------------------------------------------
** sudo dpkg -l | grep libcamera **
ii  libcamera-apps                       0.0.12                           armhf        libcamera-apps
ii  libcamera-dev                        0.0.12                           armhf        libcamera

--------------------------------------------------------------------------------
Camera detect
--------------------------------------------------------------------------------
** ls /dev/video* **
/dev/video0
/dev/video10
/dev/video11
/dev/video12
/dev/video13
/dev/video14
/dev/video15
/dev/video16
/dev/video18
/dev/video19
/dev/video20
/dev/video21
/dev/video22
/dev/video23
/dev/video31

--------------------------------------------------------------------------------
Configuration
--------------------------------------------------------------------------------
** cat /boot/config.txt **
# For more options and information see
# http://rpf.io/configtxt
# Some settings may impact device functionality. See link above for details

# uncomment if you get no picture on HDMI for a default "safe" mode
#hdmi_safe=1

# uncomment the following to adjust overscan. Use positive numbers if console
# goes off screen, and negative if there is too much border
#overscan_left=16
#overscan_right=16
#overscan_top=16
#overscan_bottom=16

# uncomment to force a console size. By default it will be display's size minus
# overscan.
#framebuffer_width=1280
#framebuffer_height=720

# uncomment if hdmi display is not detected and composite is being output
#hdmi_force_hotplug=1

# uncomment to force a specific HDMI mode (this will force VGA)
#hdmi_group=1
#hdmi_mode=1

# uncomment to force a HDMI mode rather than DVI. This can make audio work in
# DMT (computer monitor) modes
#hdmi_drive=2

# uncomment to increase signal to HDMI, if you have interference, blanking, or
# no display
#config_hdmi_boost=4

# uncomment for composite PAL
#sdtv_mode=2

#uncomment to overclock the arm. 700 MHz is the default.
#arm_freq=800

# Uncomment some or all of these to enable the optional hardware interfaces
#dtparam=i2c_arm=on
#dtparam=i2s=on
#dtparam=spi=on

# Uncomment this to enable infrared communication.
#dtoverlay=gpio-ir,gpio_pin=17
#dtoverlay=gpio-ir-tx,gpio_pin=18

# Additional overlays and parameters are documented /boot/overlays/README

# Enable audio (loads snd_bcm2835)
dtparam=audio=on

# Automatically load overlays for detected cameras
camera_auto_detect=1

# Automatically load overlays for detected DSI displays
display_auto_detect=1

# Enable DRM VC4 V3D driver
dtoverlay=vc4-kms-v3d
max_framebuffers=2

# Disable compensation for displays with overscan
disable_overscan=1

[cm4]
# Enable host mode on the 2711 built-in XHCI USB controller.
# This line should be removed if the legacy DWC2 controller is required
# (e.g. for USB device mode) or if USB support is not required.
otg_mode=1

[all]

[pi4]
# Run as fast as firmware / board allows
arm_boost=1

[all]
dtoverlay=arducam

** ls /boot/overlays/* | grep arducam **
/boot/overlays/arducam-64mp.dtbo
/boot/overlays/arducam.dtbo
/boot/overlays/arducam-pivariety.dtbo

** ls /boot/overlays/* | grep imx **
/boot/overlays/imx219.dtbo
/boot/overlays/imx258.dtbo
/boot/overlays/imx290.dtbo
/boot/overlays/imx296.dtbo
/boot/overlays/imx327.dtbo
/boot/overlays/imx378.dtbo
/boot/overlays/imx462.dtbo
/boot/overlays/imx477.dtbo
/boot/overlays/imx519.dtbo
/boot/overlays/imx708.dtbo

** ls /lib/modules/$(uname -r)/kernel/drivers/media/i2c **
ad5398_vcm.ko.xz
adv7180.ko.xz
arducam_64mp.ko.xz
arducam.ko.xz
arducam-pivariety.ko.xz
cs53l32a.ko.xz
cx25840
dw9807-vcm.ko.xz
imx219.ko.xz
imx258.ko.xz
imx290.ko.xz
imx296.ko.xz
imx477.ko.xz
imx519.ko.xz
imx708.ko.xz
ir-kbd-i2c.ko.xz
irs1125.ko.xz
msp3400.ko.xz
mt9v011.ko.xz
ov2311.ko.xz
ov5647.ko.xz
ov7251.ko.xz
ov7640.ko.xz
ov9281.ko.xz
saa7115.ko.xz
sony-btf-mpx.ko.xz
tc358743.ko.xz
tvp5150.ko.xz
tw2804.ko.xz
tw9903.ko.xz
tw9906.ko.xz
uda1342.ko.xz
wm8775.ko.xz

** i2cdetect -y -r 10 **
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:                         -- -- -- -- UU -- -- -- 
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
70: -- -- -- -- -- -- -- --                         

--------------------------------------------------------------------------------
Memory
--------------------------------------------------------------------------------
** cat /proc/meminfo | grep Cma **
CmaTotal:         327680 kB
CmaFree:          309408 kB

--------------------------------------------------------------------------------
Cameras
--------------------------------------------------------------------------------
** libcamera-still --list-cameras **
Available cameras
-----------------
0 : arducam-pivariety [4656x3496] (/base/soc/i2c0mux/i2c@1/arducam_pivariety@c)
    Modes: 'SRGGB10_CSI2P' : 1280x720 [50.02 fps - (0, 0)/4640x3464 crop]
                             1280x800 [45.05 fps - (0, 0)/4640x3464 crop]
                             1920x1080 [30.01 fps - (0, 0)/4640x3464 crop]
                             2320x1732 [20.01 fps - (0, 0)/4640x3464 crop]
                             2592x1944 [20.01 fps - (0, 0)/4640x3464 crop]
                             3264x2464 [15.00 fps - (0, 0)/4640x3464 crop]
                             3840x2160 [15.00 fps - (0, 0)/4640x3464 crop]
                             4640x3472 [10.00 fps - (0, 0)/4640x3472 crop]

--------------------------------------------------------------------------------
Versions
--------------------------------------------------------------------------------
** uname -a **
Linux raspberrypi 5.15.84-v7l+ #1613 SMP Thu Jan 5 12:01:26 GMT 2023 armv7l GNU/Linux

** cat /etc/os-release **
PRETTY_NAME="Raspbian GNU/Linux 11 (bullseye)"
NAME="Raspbian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"

--------------------------------------------------------------------------------
libcamera-still -n -t 1000 -o arducam-test.jpg --width 1920 --height 1080
--------------------------------------------------------------------------------
[0:20:32.947551006] [2682] e[1;32m INFO e[1;37mCamera e[1;34mcamera_manager.cpp:299 e[0mlibcamera v0.0.0+4186-d1dc0373
[0:20:32.967484220] [2685] e[1;33m WARN e[1;37mCameraSensorProperties e[1;34mcamera_sensor_properties.cpp:205 e[0mNo static properties available for 'arducam-pivariety'
[0:20:32.967529405] [2685] e[1;33m WARN e[1;37mCameraSensorProperties e[1;34mcamera_sensor_properties.cpp:207 e[0mPlease consider updating the camera sensor properties database
[0:20:32.987626970] [2685] e[1;31mERROR e[1;37mIPAProxy e[1;34mipa_proxy.cpp:149 e[0mConfiguration file 'arducam-pivariety.json' not found for IPA module 'raspberrypi'
[0:20:33.331764240] [2685] e[1;32m INFO e[1;37mRPI e[1;34mraspberrypi.cpp:1425 e[0mRegistered camera /base/soc/i2c0mux/i2c@1/arducam_pivariety@c to Unicam device /dev/media2 and ISP device /dev/media0
[0:20:33.332694274] [2682] e[1;32m INFO e[1;37mCamera e[1;34mcamera.cpp:1028 e[0mconfiguring streams: (0) 2328x1308-YUV420
[0:20:33.408351865] [2685] e[1;32m INFO e[1;37mRPI e[1;34mraspberrypi.cpp:805 e[0mSensor: /base/soc/i2c0mux/i2c@1/arducam_pivariety@c - Selected sensor format: 3840x2160-SRGGB10_1X10 - Selected unicam format: 3840x2160-pRAA
[0:20:33.452025225] [2689] e[1;33m WARN e[1;37mIPARPI e[1;34mraspberrypi.cpp:810 e[0mCould not set AF_MODE - no AF algorithm

--------------------------------------------------------------------------------
Logs
--------------------------------------------------------------------------------
** ls -lh arducam-test.jpg **
ls: cannot access 'arducam-test.jpg': No such file or directory

** dmesg | grep arducam **
[    9.068759] arducam-pivariety 10-000c: firmware version: 0x10001
[    9.564385] arducam-pivariety 10-000c: Consider updating driver arducam-pivariety to match on endpoints

** dmesg | grep imx **

** dmesg | grep ov9281 **

Bug report part 2

** dmesg **
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.15.84-v7l+ (dom@buildbot) (arm-linux-gnueabihf-gcc-8 (Ubuntu/Linaro 8.4.0-3ubuntu1) 8.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #1613 SMP Thu Jan 5 12:01:26 GMT 2023
[    0.000000] CPU: ARMv7 Processor [410fd083] revision 3 (ARMv7), cr=30c5383d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[    0.000000] OF: fdt: Machine model: Raspberry Pi 4 Model B Rev 1.1
[    0.000000] random: crng init done
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] Reserved memory: created CMA memory pool at 0x000000001ac00000, size 320 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000000000-0x000000002fffffff]
[    0.000000]   Normal   empty
[    0.000000]   HighMem  [mem 0x0000000030000000-0x00000000fbffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000003b3fffff]
[    0.000000]   node   0: [mem 0x0000000040000000-0x00000000fbffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x00000000fbffffff]
[    0.000000] percpu: Embedded 16 pages/cpu s35788 r8192 d21556 u65536
[    0.000000] pcpu-alloc: s35788 r8192 d21556 u65536 alloc=16*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 1011008
[    0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1  smsc95xx.macaddr=DC:A6:32:2F:47:16 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  console=ttyS0,115200 console=tty1 root=PARTUUID=b0d8e74f-02 rootfstype=ext4 fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles
[    0.000000] Unknown kernel command line parameters "splash", will be passed to user space.
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] software IO TLB: mapped [mem 0x0000000014890000-0x0000000018890000] (64MB)
[    0.000000] Memory: 3601324K/4050944K available (10240K kernel code, 1386K rwdata, 3308K rodata, 2048K init, 591K bss, 121940K reserved, 327680K cma-reserved, 3264512K highmem)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] ftrace: allocating 35518 entries in 105 pages
[    0.000000] ftrace: allocated 105 pages with 4 groups
[    0.000000] trace event string verifier disabled
[    0.000000] rcu: Hierarchical RCU implementation.
[    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 10 jiffies.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] irq_brcmstb_l2: registered L2 intc (/soc/interrupt-controller@7ef00100, parent irq: 25)
[    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.000018] Switching to timer-based delay loop, resolution 18ns
[    0.000373] Console: colour dummy device 80x30
[    0.000435] printk: console [tty1] enabled
[    0.000498] Calibrating delay loop (skipped), value calculated using timer frequency.. 108.00 BogoMIPS (lpj=540000)
[    0.000528] pid_max: default: 32768 minimum: 301
[    0.000669] LSM: Security Framework initializing
[    0.000864] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.000893] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.002419] cgroup: Disabling memory control group subsystem
[    0.002651] CPU: Testing write buffer coherency: ok
[    0.002706] CPU0: Spectre BHB: enabling loop workaround for all CPUs
[    0.003141] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.004623] Setting up static identity map for 0x200000 - 0x20003c
[    0.004821] rcu: Hierarchical SRCU implementation.
[    0.005815] smp: Bringing up secondary CPUs ...
[    0.006960] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.008254] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.009510] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.009680] smp: Brought up 1 node, 4 CPUs
[    0.009702] SMP: Total of 4 processors activated (432.00 BogoMIPS).
[    0.009721] CPU: All CPU(s) started in HYP mode.
[    0.009734] CPU: Virtualization extensions available.
[    0.010557] devtmpfs: initialized
[    0.025995] VFP support v0.3: implementor 41 architecture 3 part 40 variant 8 rev 0
[    0.026200] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.026234] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.036192] pinctrl core: initialized pinctrl subsystem
[    0.037410] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.041782] DMA: preallocated 1024 KiB pool for atomic coherent allocations
[    0.042591] audit: initializing netlink subsys (disabled)
[    0.042853] audit: type=2000 audit(0.040:1): state=initialized audit_enabled=0 res=1
[    0.043477] thermal_sys: Registered thermal governor 'step_wise'
[    0.044256] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.044276] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.044669] Serial: AMBA PL011 UART driver
[    0.059304] bcm2835-mbox fe00b880.mailbox: mailbox enabled
[    0.100062] raspberrypi-firmware soc:firmware: Attached to firmware from 2023-01-05T10:46:54, variant start
[    0.110078] raspberrypi-firmware soc:firmware: Firmware hash is 8ba17717fbcedd4c3b6d4bce7e50c7af4155cba9
[    0.170953] Kprobes globally optimized
[    0.176911] bcm2835-dma fe007000.dma: DMA legacy API manager, dmachans=0x1
[    0.181993] vgaarb: loaded
[    0.182456] SCSI subsystem initialized
[    0.182704] usbcore: registered new interface driver usbfs
[    0.182764] usbcore: registered new interface driver hub
[    0.182835] usbcore: registered new device driver usb
[    0.183243] usb_phy_generic phy: supply vcc not found, using dummy regulator
[    0.183423] usb_phy_generic phy: dummy supplies not allowed for exclusive requests
[    0.183752] pps_core: LinuxPPS API ver. 1 registered
[    0.183767] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <[email protected]>
[    0.183794] PTP clock support registered
[    0.185442] clocksource: Switched to clocksource arch_sys_counter
[    0.266129] VFS: Disk quotas dquot_6.6.0
[    0.266234] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.266415] FS-Cache: Loaded
[    0.266595] CacheFiles: Loaded
[    0.275627] NET: Registered PF_INET protocol family
[    0.275867] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.277437] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.277471] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.277497] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.277561] TCP bind hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.277630] TCP: Hash tables configured (established 8192 bind 8192)
[    0.277775] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.277812] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.278071] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.279063] RPC: Registered named UNIX socket transport module.
[    0.279080] RPC: Registered udp transport module.
[    0.279094] RPC: Registered tcp transport module.
[    0.279108] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.279129] PCI: CLS 0 bytes, default 64
[    1.315605] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 7 counters available
[    1.338914] Initialise system trusted keyrings
[    1.339194] workingset: timestamp_bits=14 max_order=20 bucket_order=6
[    1.347952] zbud: loaded
[    1.349864] FS-Cache: Netfs 'nfs' registered for caching
[    1.350727] NFS: Registering the id_resolver key type
[    1.350790] Key type id_resolver registered
[    1.350805] Key type id_legacy registered
[    1.350929] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.350945] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    1.352026] Key type asymmetric registered
[    1.352042] Asymmetric key parser 'x509' registered
[    1.352272] bounce: pool size: 64 pages
[    1.352335] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[    1.352567] io scheduler mq-deadline registered
[    1.352584] io scheduler kyber registered
[    1.362358] brcm-pcie fd500000.pcie: host bridge /scb/pcie@7d500000 ranges:
[    1.362400] brcm-pcie fd500000.pcie:   No bus range found for /scb/pcie@7d500000, using [bus 00-ff]
[    1.362494] brcm-pcie fd500000.pcie:      MEM 0x0600000000..0x063fffffff -> 0x00c0000000
[    1.362600] brcm-pcie fd500000.pcie:   IB MEM 0x0000000000..0x00bfffffff -> 0x0400000000
[    1.417547] brcm-pcie fd500000.pcie: link up, 5.0 GT/s PCIe x1 (SSC)
[    1.417951] brcm-pcie fd500000.pcie: PCI host bridge to bus 0000:00
[    1.417971] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.417992] pci_bus 0000:00: root bus resource [mem 0x600000000-0x63fffffff] (bus address [0xc0000000-0xffffffff])
[    1.418083] pci 0000:00:00.0: [14e4:2711] type 01 class 0x060400
[    1.418330] pci 0000:00:00.0: PME# supported from D0 D3hot
[    1.422075] PCI: bus0: Fast back to back transfers disabled
[    1.422413] pci 0000:01:00.0: [1106:3483] type 00 class 0x0c0330
[    1.422544] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00000fff 64bit]
[    1.422977] pci 0000:01:00.0: PME# supported from D0 D3cold
[    1.426700] PCI: bus1: Fast back to back transfers disabled
[    1.426761] pci 0000:00:00.0: BAR 8: assigned [mem 0x600000000-0x6000fffff]
[    1.426788] pci 0000:01:00.0: BAR 0: assigned [mem 0x600000000-0x600000fff 64bit]
[    1.426874] pci 0000:00:00.0: PCI bridge to [bus 01]
[    1.426900] pci 0000:00:00.0:   bridge window [mem 0x600000000-0x6000fffff]
[    1.427321] pcieport 0000:00:00.0: enabling device (0140 -> 0142)
[    1.427551] pcieport 0000:00:00.0: PME: Signaling with IRQ 79
[    1.441159] iproc-rng200 fe104000.rng: hwrng registered
[    1.441544] vc-mem: phys_addr:0x00000000 mem_base=0x3ec00000 mem_size:0x40000000(1024 MiB)
[    1.443084] gpiomem-bcm2835 fe200000.gpiomem: Initialised: Registers at 0xfe200000
[    1.455604] brd: module loaded
[    1.465756] loop: module loaded
[    1.466489] Loading iSCSI transport class v2.0-870.
[    1.471693] bcmgenet fd580000.ethernet: GENET 5.0 EPHY: 0x0000
[    1.565608] unimac-mdio unimac-mdio.-19: Broadcom UniMAC MDIO bus
[    1.566800] usbcore: registered new interface driver r8152
[    1.566870] usbcore: registered new interface driver lan78xx
[    1.566931] usbcore: registered new interface driver smsc95xx
[    1.568545] xhci_hcd 0000:01:00.0: enabling device (0140 -> 0142)
[    1.568712] xhci_hcd 0000:01:00.0: xHCI Host Controller
[    1.568747] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 1
[    1.574349] xhci_hcd 0000:01:00.0: hcc params 0x002841eb hci version 0x100 quirks 0x0000e40000000890
[    1.575492] xhci_hcd 0000:01:00.0: xHCI Host Controller
[    1.575520] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 2
[    1.575546] xhci_hcd 0000:01:00.0: Host supports USB 3.0 SuperSpeed
[    1.575933] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.15
[    1.575957] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.575975] usb usb1: Product: xHCI Host Controller
[    1.575992] usb usb1: Manufacturer: Linux 5.15.84-v7l+ xhci-hcd
[    1.576008] usb usb1: SerialNumber: 0000:01:00.0
[    1.576722] hub 1-0:1.0: USB hub found
[    1.576802] hub 1-0:1.0: 1 port detected
[    1.577825] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.15
[    1.577848] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.577866] usb usb2: Product: xHCI Host Controller
[    1.577883] usb usb2: Manufacturer: Linux 5.15.84-v7l+ xhci-hcd
[    1.577899] usb usb2: SerialNumber: 0000:01:00.0
[    1.578623] hub 2-0:1.0: USB hub found
[    1.578709] hub 2-0:1.0: 4 ports detected
[    1.580504] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    1.580869] dwc_otg: FIQ enabled
[    1.580883] dwc_otg: NAK holdoff enabled
[    1.580896] dwc_otg: FIQ split-transaction FSM enabled
[    1.580913] Module dwc_common_port init
[    1.581350] usbcore: registered new interface driver uas
[    1.581459] usbcore: registered new interface driver usb-storage
[    1.581666] mousedev: PS/2 mouse device common for all mice
[    1.586916] sdhci: Secure Digital Host Controller Interface driver
[    1.586934] sdhci: Copyright(c) Pierre Ossman
[    1.587668] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.591478] ledtrig-cpu: registered to indicate activity on CPUs
[    1.591809] hid: raw HID events driver (C) Jiri Kosina
[    1.592002] usbcore: registered new interface driver usbhid
[    1.592018] usbhid: USB HID core driver
[    1.598219] Initializing XFRM netlink socket
[    1.598261] NET: Registered PF_PACKET protocol family
[    1.598366] Key type dns_resolver registered
[    1.598831] Registering SWP/SWPB emulation handler
[    1.599629] registered taskstats version 1
[    1.599657] Loading compiled-in X.509 certificates
[    1.600502] Key type .fscrypt registered
[    1.600519] Key type fscrypt-provisioning registered
[    1.612973] uart-pl011 fe201000.serial: there is not valid maps for state default
[    1.613290] uart-pl011 fe201000.serial: cts_event_workaround enabled
[    1.613417] fe201000.serial: ttyAMA0 at MMIO 0xfe201000 (irq = 34, base_baud = 0) is a PL011 rev2
[    1.622698] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
[    1.623245] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver
[    1.624522] mmc-bcm2835 fe300000.mmcnr: mmc_debug:0 mmc_debug2:0
[    1.624542] mmc-bcm2835 fe300000.mmcnr: DMA channel allocated
[    1.657938] of_cfs_init
[    1.658162] of_cfs_init: OK
[    1.689304] mmc0: SDHCI controller on fe340000.mmc [fe340000.mmc] using ADMA
[    1.689638] Waiting for root device PARTUUID=b0d8e74f-02...
[    1.750308] mmc1: new high speed SDIO card at address 0001
[    1.797510] mmc0: new ultra high speed DDR50 SDHC card at address aaaa
[    1.798409] mmcblk0: mmc0:aaaa SS32G 29.7 GiB 
[    1.802263]  mmcblk0: p1 p2
[    1.802810] mmcblk0: mmc0:aaaa SS32G 29.7 GiB (quirks 0x00004000)
[    1.813139] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem
[    1.813161] EXT4-fs (mmcblk0p2): write access will be enabled during recovery
[    1.865484] usb 1-1: new high-speed USB device number 2 using xhci_hcd
[    2.048154] usb 1-1: New USB device found, idVendor=2109, idProduct=3431, bcdDevice= 4.21
[    2.048184] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    2.048204] usb 1-1: Product: USB2.0 Hub
[    2.050385] hub 1-1:1.0: USB hub found
[    2.050688] hub 1-1:1.0: 4 ports detected
[    2.339373] EXT4-fs (mmcblk0p2): orphan cleanup on readonly fs
[    2.339571] EXT4-fs (mmcblk0p2): 1 orphan inode deleted
[    2.339596] EXT4-fs (mmcblk0p2): recovery complete
[    2.353583] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
[    2.353701] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[    2.355485] devtmpfs: mounted
[    2.366493] Freeing unused kernel image (initmem) memory: 2048K
[    2.385772] Run /sbin/init as init process
[    2.385788]   with arguments:
[    2.385800]     /sbin/init
[    2.385813]     splash
[    2.385825]   with environment:
[    2.385837]     HOME=/
[    2.385850]     TERM=linux
[    2.716748] systemd[1]: System time before build time, advancing clock.
[    2.921956] NET: Registered PF_INET6 protocol family
[    2.923607] Segment Routing with IPv6
[    2.923652] In-situ OAM (IOAM) with IPv6
[    3.008500] systemd[1]: systemd 247.3-7+rpi1+deb11u1 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +ZSTD +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-hierarchy=unified)
[    3.009399] systemd[1]: Detected architecture arm.
[    3.022093] systemd[1]: Set hostname to <raspberrypi>.
[    3.720025] systemd[1]: /lib/systemd/system/plymouth-start.service:16: Unit configured to use KillMode=none. This is unsafe, as it disables systemd's process lifecycle management for the service. Please update your service to use a safer KillMode=, such as 'mixed' or 'control-group'. Support for KillMode=none is deprecated and will eventually be removed.
[    3.910016] systemd[1]: Queued start job for default target Graphical Interface.
[    3.917185] systemd[1]: Created slice system-getty.slice.
[    3.918482] systemd[1]: Created slice system-modprobe.slice.
[    3.919451] systemd[1]: Created slice system-systemd\x2dfsck.slice.
[    3.920316] systemd[1]: Created slice User and Session Slice.
[    3.920814] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    3.921910] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[    3.922601] systemd[1]: Reached target Slices.
[    3.922809] systemd[1]: Reached target Swap.
[    3.928131] systemd[1]: Listening on Syslog Socket.
[    3.928938] systemd[1]: Listening on fsck to fsckd communication Socket.
[    3.929347] systemd[1]: Listening on initctl Compatibility Named Pipe.
[    3.930581] systemd[1]: Listening on Journal Audit Socket.
[    3.931322] systemd[1]: Listening on Journal Socket (/dev/log).
[    3.932318] systemd[1]: Listening on Journal Socket.
[    3.937493] systemd[1]: Listening on udev Control Socket.
[    3.938376] systemd[1]: Listening on udev Kernel Socket.
[    3.939289] systemd[1]: Condition check resulted in Huge Pages File System being skipped.
[    3.944583] systemd[1]: Mounting POSIX Message Queue File System...
[    3.950873] systemd[1]: Mounting RPC Pipe File System...
[    3.957900] systemd[1]: Mounting Kernel Debug File System...
[    3.964711] systemd[1]: Mounting Kernel Trace File System...
[    3.965698] systemd[1]: Condition check resulted in Kernel Module supporting RPCSEC_GSS being skipped.
[    3.978369] systemd[1]: Starting Restore / save the current clock...
[    3.985281] systemd[1]: Starting Set the console keyboard layout...
[    3.992650] systemd[1]: Starting Create list of static device nodes for the current kernel...
[    4.000947] systemd[1]: Starting Load Kernel Module configfs...
[    4.008367] systemd[1]: Starting Load Kernel Module drm...
[    4.016585] systemd[1]: Starting Load Kernel Module fuse...
[    4.024680] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped.
[    4.036307] systemd[1]: Starting File System Check on Root Device...
[    4.049414] systemd[1]: Starting Journal Service...
[    4.076911] systemd[1]: Starting Load Kernel Modules...
[    4.088712] systemd[1]: Starting Coldplug All udev Devices...
[    4.108943] fuse: init (API version 7.34)
[    4.128830] systemd[1]: Mounted POSIX Message Queue File System.
[    4.129686] systemd[1]: Mounted RPC Pipe File System.
[    4.130508] systemd[1]: Mounted Kernel Debug File System.
[    4.131290] systemd[1]: Mounted Kernel Trace File System.
[    4.133481] systemd[1]: Finished Restore / save the current clock.
[    4.138943] systemd[1]: Finished Create list of static device nodes for the current kernel.
[    4.148291] systemd[1]: [email protected]: Succeeded.
[    4.149854] systemd[1]: Finished Load Kernel Module configfs.
[    4.151920] systemd[1]: [email protected]: Succeeded.
[    4.153463] systemd[1]: Finished Load Kernel Module fuse.
[    4.160918] systemd[1]: Mounting FUSE Control File System...
[    4.168693] systemd[1]: Mounting Kernel Configuration File System...
[    4.174698] systemd[1]: Started File System Check Daemon to report status.
[    4.183999] i2c_dev: i2c /dev entries driver
[    4.207940] systemd[1]: Finished Load Kernel Modules.
[    4.217578] systemd[1]: Starting Apply Kernel Variables...
[    4.254512] systemd[1]: Mounted FUSE Control File System.
[    4.255340] systemd[1]: Mounted Kernel Configuration File System.
[    4.284028] systemd[1]: [email protected]: Succeeded.
[    4.285923] systemd[1]: Finished Load Kernel Module drm.
[    4.289925] systemd[1]: Finished Apply Kernel Variables.
[    4.343589] systemd[1]: Finished File System Check on Root Device.
[    4.349357] systemd[1]: Starting Remount Root and Kernel File Systems...
[    4.484840] systemd[1]: Started Journal Service.
[    4.544843] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null). Quota mode: none.
[    4.613565] systemd-journald[141]: Received client request to flush runtime journal.
[    4.623319] systemd-journald[141]: File /var/log/journal/fcbc7a6da1d74ec79fe26bfa3308a04a/system.journal corrupted or uncleanly shut down, renaming and replacing.
[    5.764290] mc: Linux media interface: v0.10
[    5.867901] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned.
[    5.870186] bcm2835_vc_sm_cma_probe: Videocore shared memory driver
[    5.870215] [vc_sm_connected_init]: start
[    5.954070] [vc_sm_connected_init]: installed successfully
[    5.960715] videodev: Linux video capture interface: v2.00
[    5.980143] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
[    6.009399] bcm2835_audio bcm2835_audio: card created with 8 channels
[    6.030965] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[    6.059109] brcmstb-i2c fef04500.i2c:  @97500hz registered in polling mode
[    6.060556] bcm2835_isp: module is from the staging directory, the quality is unknown, you have been warned.
[    6.063524] brcmstb-i2c fef09500.i2c:  @97500hz registered in polling mode
[    6.069669] bcm2835-isp bcm2835-isp: Device node output[0] registered as /dev/video13
[    6.070208] bcm2835-isp bcm2835-isp: Device node capture[0] registered as /dev/video14
[    6.070644] bcm2835-isp bcm2835-isp: Device node capture[1] registered as /dev/video15
[    6.070974] bcm2835-isp bcm2835-isp: Device node stats[2] registered as /dev/video16
[    6.071005] bcm2835-isp bcm2835-isp: Register output node 0 with media controller
[    6.071030] bcm2835-isp bcm2835-isp: Register capture node 1 with media controller
[    6.071052] bcm2835-isp bcm2835-isp: Register capture node 2 with media controller
[    6.071074] bcm2835-isp bcm2835-isp: Register capture node 3 with media controller
[    6.074941] bcm2835-isp bcm2835-isp: Device node output[0] registered as /dev/video20
[    6.075576] bcm2835-isp bcm2835-isp: Device node capture[0] registered as /dev/video21
[    6.076058] bcm2835-isp bcm2835-isp: Device node capture[1] registered as /dev/video22
[    6.076461] bcm2835-isp bcm2835-isp: Device node stats[2] registered as /dev/video23
[    6.076491] bcm2835-isp bcm2835-isp: Register output node 0 with media controller
[    6.076528] bcm2835-isp bcm2835-isp: Register capture node 1 with media controller
[    6.085856] bcm2835-isp bcm2835-isp: Register capture node 2 with media controller
[    6.085988] bcm2835-isp bcm2835-isp: Register capture node 3 with media controller
[    6.087793] bcm2835-isp bcm2835-isp: Loaded V4L2 bcm2835-isp
[    6.205875] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
[    6.261583] bcm2835_codec: module is from the staging directory, the quality is unknown, you have been warned.
[    6.277913] i2c i2c-22: Added multiplexed i2c bus 0
[    6.330058] rpivid_hevc: module is from the staging directory, the quality is unknown, you have been warned.
[    6.342056] [drm] Initialized v3d 1.0.0 20180419 for fec00000.v3d on minor 0
[    6.342721] i2c 10-000c: Fixing up cyclic dependency with fe801000.csi
[    6.343609] i2c i2c-22: Added multiplexed i2c bus 10
[    6.352449] bcm2835-codec bcm2835-codec: Device registered as /dev/video10
[    6.352501] bcm2835-codec bcm2835-codec: Loaded V4L2 decode
[    6.385271] bcm2835-codec bcm2835-codec: Device registered as /dev/video11
[    6.385325] bcm2835-codec bcm2835-codec: Loaded V4L2 encode
[    6.387757] rpivid feb10000.codec: Device registered as /dev/video19
[    6.401965] bcm2835-codec bcm2835-codec: Device registered as /dev/video12
[    6.402049] bcm2835-codec bcm2835-codec: Loaded V4L2 isp
[    6.412104] bcm2835-codec bcm2835-codec: Device registered as /dev/video18
[    6.412153] bcm2835-codec bcm2835-codec: Loaded V4L2 image_fx
[    6.569769] bcm2835-codec bcm2835-codec: Device registered as /dev/video31
[    6.569880] bcm2835-codec bcm2835-codec: Loaded V4L2 encode_image
[    6.723605] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    6.760283] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    6.780095] cfg80211: loaded regulatory.db is malformed or signature is missing/invalid
[    6.974030] brcmfmac: F1 signature read @0x18000000=0x15264345
[    7.018964] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[    7.027677] usbcore: registered new interface driver brcmfmac
[    7.316331] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[    7.330031] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Nov  1 2021 00:37:25 version 7.45.241 (1a2f2fa CY) FWID 01-703fd60
[    7.586969] vc4-drm gpu: bound fe400000.hvs (ops vc4_hvs_ops [vc4])
[    7.687403] Registered IR keymap rc-cec
[    7.687621] rc rc0: vc4 as /devices/platform/soc/fef00700.hdmi/rc/rc0
[    7.687896] input: vc4 as /devices/platform/soc/fef00700.hdmi/rc/rc0/input0
[    7.698679] vc4-drm gpu: bound fef00700.hdmi (ops vc4_hdmi_ops [vc4])
[    7.726271] Registered IR keymap rc-cec
[    7.726466] rc rc1: vc4 as /devices/platform/soc/fef05700.hdmi/rc/rc1
[    7.726692] input: vc4 as /devices/platform/soc/fef05700.hdmi/rc/rc1/input1
[    7.794419] vc4-drm gpu: bound fef05700.hdmi (ops vc4_hdmi_ops [vc4])
[    7.794951] vc4-drm gpu: bound fe004000.txp (ops vc4_txp_ops [vc4])
[    7.795587] vc4-drm gpu: bound fe206000.pixelvalve (ops vc4_crtc_ops [vc4])
[    7.796047] vc4-drm gpu: bound fe207000.pixelvalve (ops vc4_crtc_ops [vc4])
[    7.796518] vc4-drm gpu: bound fe20a000.pixelvalve (ops vc4_crtc_ops [vc4])
[    7.796893] vc4-drm gpu: bound fe216000.pixelvalve (ops vc4_crtc_ops [vc4])
[    7.797393] vc4-drm gpu: bound fec12000.pixelvalve (ops vc4_crtc_ops [vc4])
[    7.887638] [drm] Initialized vc4 0.0.0 20140616 for gpu on minor 1
[    7.895661] vc4-drm gpu: [drm] Cannot find any crtc or sizes
[    8.463961] uart-pl011 fe201000.serial: no DMA platform data
[    8.738549] Adding 102396k swap on /var/swap.  Priority:-2 extents:1 across:102396k SSFS
[    9.068759] arducam-pivariety 10-000c: firmware version: 0x10001
[    9.344003] 8021q: 802.1Q VLAN Support v1.8
[    9.564385] arducam-pivariety 10-000c: Consider updating driver arducam-pivariety to match on endpoints
[   10.056517] bcmgenet fd580000.ethernet: configuring instance for external RGMII (RX delay)
[   10.057880] bcmgenet fd580000.ethernet eth0: Link is Down
[   13.205611] bcmgenet fd580000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[   13.205647] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   14.638685] ICMPv6: process `dhcpcd' is using deprecated sysctl (syscall) net.ipv6.neigh.eth0.retrans_time - use net.ipv6.neigh.eth0.retrans_time_ms instead
[   16.162873] Bluetooth: Core ver 2.22
[   16.162944] NET: Registered PF_BLUETOOTH protocol family
[   16.162952] Bluetooth: HCI device and connection manager initialized
[   16.163310] Bluetooth: HCI socket layer initialized
[   16.163326] Bluetooth: L2CAP socket layer initialized
[   16.163347] Bluetooth: SCO socket layer initialized
[   16.183520] Bluetooth: HCI UART driver ver 2.3
[   16.183537] Bluetooth: HCI UART protocol H4 registered
[   16.183603] Bluetooth: HCI UART protocol Three-wire (H5) registered
[   16.187301] Bluetooth: HCI UART protocol Broadcom registered
[   16.429098] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   16.429112] Bluetooth: BNEP filters: protocol multicast
[   16.429126] Bluetooth: BNEP socket layer initialized
[   16.453716] NET: Registered PF_ALG protocol family
[   16.488367] cryptd: max_cpu_qlen set to 1000
[   16.633397] Bluetooth: RFCOMM TTY layer initialized
[   16.633420] Bluetooth: RFCOMM socket layer initialized
[   16.633438] Bluetooth: RFCOMM ver 1.11
[   18.395601] vc4-drm gpu: [drm] Cannot find any crtc or sizes
[   31.835507] cam-dummy-reg: disabling

@gybh7e

Please wait a moment, I found the cause and fixed it. I figured this was a public issue, so I uploaded this part to our documentation site.

Scheduled to finish this job next Monday, please wait a bit.

Thanks Edward,
Let me know once I can try your changes
Hari

@gybh7e

please try this
https://docs.arducam.com/Raspberry-Pi-Camera/Pivariety-Camera/Firmware-Update/

Hi Edward,

This seems fixed now. Thanks for the quick help :slight_smile:

hi @gybh7e

Gald to hear that.

Hi Edward,
The camera has started giving error again.
This is the error. It just gets stuck here

pi@raspberrypi:~ $ libcamera-still -n -o "focus.jpg" --autofocus-mode auto --shutter 10000 
[0:00:52.118933653] [1691]  INFO Camera camera_manager.cpp:299 libcamera v0.0.0+4225-74d023d8
[0:00:52.161205672] [1696]  WARN CameraSensorProperties camera_sensor_properties.cpp:243 No static properties available for 'arducam-pivariety'
[0:00:52.161257894] [1696]  WARN CameraSensorProperties camera_sensor_properties.cpp:245 Please consider updating the camera sensor properties database
[0:00:52.185704338] [1696] ERROR IPAProxy ipa_proxy.cpp:149 Configuration file 'arducam-pivariety.json' not found for IPA module 'raspberrypi'
Read failed
[0:00:57.841847483] [1696]  INFO RPI raspberrypi.cpp:1476 Registered camera /base/soc/i2c0mux/i2c@1/arducam_pivariety@c to Unicam device /dev/media3 and ISP device /dev/media1
[0:00:57.843867298] [1691]  INFO Camera camera.cpp:1028 configuring streams: (0) 2328x1748-YUV420

This time I am unable to run the bugreport binary you shared too. The error is

pi@raspberrypi:~/b0323/libcamera $ ./arducam-camera-bug-report
[0:02:38.002603123] [1844]  INFO Camera camera_manager.cpp:299 libcamera v0.0.0+4225-74d023d8
[0:02:42.160093030] [1846] ERROR V4L2 v4l2_subdevice.cpp:393 'arducam-pivariety 10-000c': Unable to get rectangle 2 on pad 0: Invalid argument
[0:02:42.160164716] [1846]  WARN CameraSensor camera_sensor.cpp:286 'arducam-pivariety 10-000c': The PixelArraySize property has been defaulted to 4640x3472
[0:02:46.310104811] [1846] ERROR V4L2 v4l2_subdevice.cpp:393 'arducam-pivariety 10-000c': Unable to get rectangle 1 on pad 0: Invalid argument
[0:02:46.310168922] [1846]  WARN CameraSensor camera_sensor.cpp:297 'arducam-pivariety 10-000c': The PixelArrayActiveAreas property has been defaulted to (0, 0)/4640x3472
[0:02:50.470102318] [1846] ERROR V4L2 v4l2_subdevice.cpp:393 'arducam-pivariety 10-000c': Unable to get rectangle 0 on pad 0: Invalid argument
[0:02:50.470169004] [1846]  WARN CameraSensor camera_sensor.cpp:305 'arducam-pivariety 10-000c': Failed to retrieve the sensor crop rectangle
[0:02:50.470199559] [1846]  WARN CameraSensor camera_sensor.cpp:311 'arducam-pivariety 10-000c': The sensor kernel driver needs to be fixed
[0:02:50.470222504] [1846]  WARN CameraSensor camera_sensor.cpp:313 'arducam-pivariety 10-000c': See Documentation/sensor_driver_requirements.rst in the libcamera sources for more information
[0:02:50.471096099] [1846]  WARN CameraSensorProperties camera_sensor_properties.cpp:243 No static properties available for 'arducam-pivariety'
[0:02:50.471124673] [1846]  WARN CameraSensorProperties camera_sensor_properties.cpp:245 Please consider updating the camera sensor properties database
[0:02:50.487555201] [1846] ERROR IPAProxy ipa_proxy.cpp:149 Configuration file 'arducam-pivariety.json' not found for IPA module 'raspberrypi'
[0:03:07.110120534] [1846]  WARN RPiController controller.cpp:70 Failed to open tuning file ''
[0:03:07.110177381] [1846] ERROR IPARPI raspberrypi.cpp:268 Failed to load tuning data file 
[0:03:07.110216359] [1846] ERROR RPI raspberrypi.cpp:1352 Failed to load a suitable IPA library
[0:03:07.110348773] [1846] ERROR RPI raspberrypi.cpp:1277 Failed to register camera arducam-pivariety 10-000c: -22
ERROR: *** no cameras available ***

@gybh7e

Did you upgrade your kernel version?

uname -a

i don’t know waht happened

I had flashed a new image to the card.
This is vanila raspbian 32 bit

uname -a
Linux raspberrypi 5.15.84-v7l+ #1613 SMP Thu Jan 5 12:01:26 GMT 2023 armv7l GNU/Linux