raspberrypi / rpicam-apps

BSD 2-Clause "Simplified" License
365 stars 206 forks source link

[BUG] libcamera apps cannot detect camera(imx219) when running in a docker container using balenaOS #455

Closed pietermarsman closed 1 year ago

pietermarsman commented 1 year ago

Describe the bug

We are experiencing a very similar issue as https://github.com/raspberrypi/libcamera-apps/issues/270. There is only one difference: the solution does not work :cry:.

So the libcamera-hello utility does not detect the camera:

root@125b65bf2320:/monitor# libcamera-hello
Preview window unavailable
[0:15:34.085088533] [191]  INFO Camera camera_manager.cpp:299 libcamera v0.0.0+4171-9b860a66
ERROR: *** no cameras available ***

Bug report

I used:

camera-bug-report -t 5 -o bug.txt -c "libcamera-still -t 1000 -o test.jpg"

The output:

--------------------------------------------------------------------------------
libcamera-apps Bug Report
--------------------------------------------------------------------------------
Date: 02-02-2023 (16:08:02)
Command: /usr/local/bin/camera-bug-report -t 5 -o bug.txt -c libcamera-still -t 1000 -o test.jpg

--------------------------------------------------------------------------------
Hardware information
--------------------------------------------------------------------------------
** hostname **
125b65bf2320

** cat /proc/cpuinfo **
processor   : 0
model name  : ARMv7 Processor rev 4 (v7l)
BogoMIPS    : 70.40
Features    : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32 
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part    : 0xd03
CPU revision    : 4

processor   : 1
model name  : ARMv7 Processor rev 4 (v7l)
BogoMIPS    : 70.40
Features    : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32 
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part    : 0xd03
CPU revision    : 4

processor   : 2
model name  : ARMv7 Processor rev 4 (v7l)
BogoMIPS    : 70.40
Features    : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32 
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part    : 0xd03
CPU revision    : 4

processor   : 3
model name  : ARMv7 Processor rev 4 (v7l)
BogoMIPS    : 70.40
Features    : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32 
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part    : 0xd03
CPU revision    : 4

Hardware    : BCM2835
Revision    : a02100
Serial      : 00000000f4cb0c3b
Model       : Raspberry Pi Compute Module 3 Plus Rev 1.0

--------------------------------------------------------------------------------
Configuration
--------------------------------------------------------------------------------
** cat /boot/cmdline.txt **
cat: /boot/cmdline.txt: No such file or directory

** cat /boot/config.txt **
cat: /boot/config.txt: No such file or directory

--------------------------------------------------------------------------------
Logs
--------------------------------------------------------------------------------
** dmesg **
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.10.95-v7 (oe-user@oe-host) (arm-poky-linux-gnueabi-gcc (GCC) 11.2.0, GNU ld (GNU Binutils) 2.37.20210721) #1 SMP Thu Feb 17 11:43:01 UTC 2022
[    0.000000] CPU: ARMv7 Processor [410fd034] revision 4 (ARMv7), cr=10c5383d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: Raspberry Pi Compute Module 3 Plus Rev 1.0
[    0.000000] random: fast init done
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] Reserved memory: created CMA memory pool at 0x1ec00000, size 256 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000000000-0x0000000033bfffff]
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000033bfffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000033bfffff]
[    0.000000] On node 0 totalpages: 211968
[    0.000000]   DMA zone: 1863 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 211968 pages, LIFO batch:63
[    0.000000] percpu: Embedded 20 pages/cpu s51212 r8192 d22516 u81920
[    0.000000] pcpu-alloc: s51212 r8192 d22516 u81920 alloc=20*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 210105
[    0.000000] Kernel command line: coherent_pool=1M snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 video=HDMI-A-1:1280x800M@60 smsc95xx.macaddr=B8:27:EB:CB:0C:3B vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  dwc_otg.lpm_enable=0 rootfstype=ext4 rootwait dwc_otg.lpm_enable=0 rootwait vt.global_cursor_default=0 console=null cgroup_enable=memory root=UUID=ba1eadef-1610-4aa6-b280-6c437b16ea7d rootwait
[    0.000000] cgroup: Enabling memory control group subsystem
[    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] Memory: 552020K/847872K available (11264K kernel code, 1111K rwdata, 2992K rodata, 8192K init, 857K bss, 33708K reserved, 262144K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] ftrace: allocating 33013 entries in 97 pages
[    0.000000] ftrace: allocated 97 pages with 3 groups
[    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] random: get_random_bytes called from start_kernel+0x3b0/0x598 with crng_init=1
[    0.000000] arch_timer: cp15 timer(s) running at 19.20MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns
[    0.000007] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
[    0.000024] Switching to timer-based delay loop, resolution 52ns
[    0.000328] Console: colour dummy device 80x30
[    0.000391] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=192000)
[    0.000425] pid_max: default: 32768 minimum: 301
[    0.000627] LSM: Security Framework initializing
[    0.000884] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.000913] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.002209] CPU: Testing write buffer coherency: ok
[    0.002729] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.003963] Setting up static identity map for 0x100000 - 0x100060
[    0.004158] rcu: Hierarchical SRCU implementation.
[    0.005109] smp: Bringing up secondary CPUs ...
[    0.006299] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.008064] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.009666] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.010211] smp: Brought up 1 node, 4 CPUs
[    0.010233] SMP: Total of 4 processors activated (153.60 BogoMIPS).
[    0.010250] CPU: All CPU(s) started in HYP mode.
[    0.010265] CPU: Virtualization extensions available.
[    0.011288] devtmpfs: initialized
[    0.028547] VFP support v0.3: implementor 41 architecture 3 part 40 variant 3 rev 4
[    0.028997] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.029032] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.039618] pinctrl core: initialized pinctrl subsystem
[    0.040924] NET: Registered protocol family 16
[    0.044782] DMA: preallocated 1024 KiB pool for atomic coherent allocations
[    0.050657] audit: initializing netlink subsys (disabled)
[    0.050948] audit: type=2000 audit(0.050:1): state=initialized audit_enabled=0 res=1
[    0.051623] thermal_sys: Registered thermal governor 'step_wise'
[    0.052205] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.052231] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.052508] Serial: AMBA PL011 UART driver
[    0.078747] bcm2835-mbox 3f00b880.mailbox: mailbox enabled
[    0.090175] raspberrypi-firmware soc:firmware: Attached to firmware from 2022-01-20T13:58:22, variant start
[    0.100173] raspberrypi-firmware soc:firmware: Firmware hash is bd88f66f8952d34e4e0613a85c7a6d3da49e13e2
[    0.143119] Kprobes globally optimized
[    0.149609] bcm2835-dma 3f007000.dma: DMA legacy API manager, dmachans=0x1
[    0.152104] SCSI subsystem initialized
[    0.152379] usbcore: registered new interface driver usbfs
[    0.152450] usbcore: registered new interface driver hub
[    0.152528] usbcore: registered new device driver usb
[    0.154362] clocksource: Switched to clocksource arch_sys_counter
[    0.260943] VFS: Disk quotas dquot_6.6.0
[    0.261089] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.261299] FS-Cache: Loaded
[    0.261610] CacheFiles: Loaded
[    0.262558] simple-framebuffer 3e428000.framebuffer: framebuffer at 0x3e428000, 0x3e8000 bytes, mapped to 0x(ptrval)
[    0.262583] simple-framebuffer 3e428000.framebuffer: format=a8r8g8b8, mode=800x1280x32, linelength=3200
[    0.279891] Console: switching to colour frame buffer device 100x80
[    0.296593] simple-framebuffer 3e428000.framebuffer: fb0: simplefb registered!
[    0.308190] NET: Registered protocol family 2
[    0.308496] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.310458] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.310524] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.310648] TCP bind hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.310845] TCP: Hash tables configured (established 8192 bind 8192)
[    0.311034] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.311097] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.311378] NET: Registered protocol family 1
[    0.398081] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 7 counters available
[    0.402402] Initialise system trusted keyrings
[    0.402713] workingset: timestamp_bits=14 max_order=18 bucket_order=4
[    0.412793] zbud: loaded
[    0.414768] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.416373] aufs 5.10.82-20220117
[    0.416725] Key type asymmetric registered
[    0.416745] Asymmetric key parser 'x509' registered
[    0.416810] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    0.416830] io scheduler mq-deadline registered
[    0.416847] io scheduler kyber registered
[    0.431561] bcm2835-rng 3f104000.rng: hwrng registered
[    0.432175] vc-mem: phys_addr:0x00000000 mem_base=0x3ec00000 mem_size:0x40000000(1024 MiB)
[    0.433475] gpiomem-bcm2835 3f200000.gpiomem: Initialised: Registers at 0x3f200000
[    0.446844] brd: module loaded
[    0.459331] loop: module loaded
[    0.460052] zram: Added device: zram0
[    0.461842] Loading iSCSI transport class v2.0-870.
[    0.463944] tun: Universal TUN/TAP device driver, 1.6
[    0.464146] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    0.664863] Core Release: 2.80a
[    0.664886] Setting default values for core params
[    0.664922] Finished setting default values for core params
[    0.865282] Using Buffer DMA mode
[    0.865301] Periodic Transfer Interrupt Enhancement - disabled
[    0.865317] Multiprocessor Interrupt Enhancement - disabled
[    0.865335] OTG VER PARAM: 0, OTG VER FLAG: 0
[    0.865414] Dedicated Tx FIFOs mode

[    0.865965] WARN::dwc_otg_hcd_init:1072: FIQ DMA bounce buffers: virt = 9ed04000 dma = 0xded04000 len=9024
[    0.866008] FIQ FSM acceleration enabled for :
               Non-periodic Split Transactions
               Periodic Split Transactions
               High-Speed Isochronous Endpoints
               Interrupt/Control Split Transaction hack enabled
[    0.866030] dwc_otg: Microframe scheduler enabled

[    0.866110] WARN::hcd_init_fiq:457: FIQ on core 1

[    0.866133] WARN::hcd_init_fiq:458: FIQ ASM at 80839930 length 36

[    0.866155] WARN::hcd_init_fiq:496: MPHI regs_base at b4010000
[    0.866182] dwc_otg 3f980000.usb: DWC OTG Controller
[    0.866230] dwc_otg 3f980000.usb: new USB bus registered, assigned bus number 1
[    0.866288] dwc_otg 3f980000.usb: irq 89, io mem 0x00000000
[    0.866347] Init: Port Power? op_state=1
[    0.866363] Init: Power Port (0)
[    0.866740] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
[    0.866764] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.866783] usb usb1: Product: DWC OTG Controller
[    0.866802] usb usb1: Manufacturer: Linux 5.10.95-v7 dwc_otg_hcd
[    0.866821] usb usb1: SerialNumber: 3f980000.usb
[    0.867612] hub 1-0:1.0: USB hub found
[    0.867684] hub 1-0:1.0: 1 port detected
[    0.869156] dwc_otg: FIQ enabled
[    0.869168] dwc_otg: NAK holdoff enabled
[    0.869179] dwc_otg: FIQ split-transaction FSM enabled
[    0.869199] Module dwc_common_port init
[    0.869547] usbcore: registered new interface driver usb-storage
[    0.869674] usbcore: registered new interface driver usbserial_generic
[    0.869719] usbserial: USB Serial support registered for generic
[    0.869977] mousedev: PS/2 mouse device common for all mice
[    0.871467] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
[    0.874206] sdhci: Secure Digital Host Controller Interface driver
[    0.874225] sdhci: Copyright(c) Pierre Ossman
[    0.875148] sdhost-bcm2835 3f202000.mmc: could not get clk, deferring probe
[    0.875642] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.876205] ledtrig-cpu: registered to indicate activity on CPUs
[    0.876354] hid: raw HID events driver (C) Jiri Kosina
[    0.876448] usbcore: registered new interface driver usbhid
[    0.876456] usbhid: USB HID core driver
[    0.876683] ashmem: initialized
[    0.880251] IPVS: Registered protocols (TCP, UDP, SCTP, AH, ESP)
[    0.880292] IPVS: Connection hash table configured (size=4096, memory=32Kbytes)
[    0.880437] IPVS: ipvs loaded.
[    0.881136] Initializing XFRM netlink socket
[    0.881515] NET: Registered protocol family 10
[    0.882455] Segment Routing with IPv6
[    0.882535] NET: Registered protocol family 17
[    0.882582] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    0.882614] Key type dns_resolver registered
[    0.882735] Registering SWP/SWPB emulation handler
[    0.882830] registered taskstats version 1
[    0.882855] Loading compiled-in X.509 certificates
[    0.883368] Key type ._fscrypt registered
[    0.883378] Key type .fscrypt registered
[    0.883386] Key type fscrypt-provisioning registered
[    0.891688] uart-pl011 3f201000.serial: cts_event_workaround enabled
[    0.891755] 3f201000.serial: ttyAMA0 at MMIO 0x3f201000 (irq = 114, base_baud = 0) is a PL011 rev2
[    0.893075] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver
[    0.894539] sdhost: log_buf @ (ptrval) (ded07000)
[    0.942197] mmc0: sdhost-bcm2835 loaded - DMA enabled (>1)
[    0.965813] of_cfs_init
[    0.965914] of_cfs_init: OK
[    0.966556] Warning: unable to open an initial console.
[    0.978925] Freeing unused kernel memory: 8192K
[    0.979213] Run /init as init process
[    0.979222]   with arguments:
[    0.979227]     /init
[    0.979233]   with environment:
[    0.979238]     HOME=/
[    0.979243]     TERM=linux
[    0.994498] Indeed it is in host mode hprt0 = 00021501
[    1.101674] mmc0: new high speed MMC card at address 0001
[    1.102415] mmcblk0: mmc0:0001 BJTD4R 29.1 GiB
[    1.102766] mmcblk0boot0: mmc0:0001 BJTD4R partition 1 4.00 MiB
[    1.103079] mmcblk0boot1: mmc0:0001 BJTD4R partition 2 4.00 MiB
[    1.103377] mmcblk0rpmb: mmc0:0001 BJTD4R partition 3 4.00 MiB, chardev (246:0)
[    1.106246]  mmcblk0: p1 p2 p3 p4 < p5 p6 >
[    1.204446] usb 1-1: new high-speed USB device number 2 using dwc_otg
[    1.204659] Indeed it is in host mode hprt0 = 00001101
[    1.444980] usb 1-1: New USB device found, idVendor=1a40, idProduct=0101, bcdDevice= 1.11
[    1.445007] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    1.445020] usb 1-1: Product: USB 2.0 Hub
[    1.445763] hub 1-1:1.0: USB hub found
[    1.445853] hub 1-1:1.0: 4 ports detected
[    1.799226] zram0: detected capacity change from 0 to 421048320
[    1.864515] usb 1-1.2: new high-speed USB device number 3 using dwc_otg
[    2.105201] usb 1-1.2: New USB device found, idVendor=0bda, idProduct=8179, bcdDevice= 0.00
[    2.105224] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    2.105234] usb 1-1.2: Product: 802.11n NIC
[    2.105244] usb 1-1.2: Manufacturer: Realtek
[    2.105253] usb 1-1.2: SerialNumber: 70F11C4928DB
[    2.304434] usb 1-1.3: new high-speed USB device number 4 using dwc_otg
[    2.556224] usb 1-1.3: New USB device found, idVendor=05e3, idProduct=0610, bcdDevice=77.32
[    2.556256] usb 1-1.3: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    2.556274] usb 1-1.3: Product: USB2.0 Hub
[    2.557333] hub 1-1.3:1.0: USB hub found
[    2.557680] hub 1-1.3:1.0: 4 ports detected
[    2.754452] usb 1-1.4: new full-speed USB device number 5 using dwc_otg
[    3.001939] usb 1-1.4: New USB device found, idVendor=29bd, idProduct=4101, bcdDevice= 1.20
[    3.001970] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    3.001983] usb 1-1.4: Product: Multi-touch Device
[    3.001994] usb 1-1.4: Manufacturer: Silicon Works
[    3.036441] input: Silicon Works Multi-touch Device Touchscreen as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4/1-1.4:1.0/0003:29BD:4101.0001/input/input0
[    3.036986] input: Silicon Works Multi-touch Device Mouse as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4/1-1.4:1.0/0003:29BD:4101.0001/input/input1
[    3.037564] hid-generic 0003:29BD:4101.0001: input,hiddev96,hidraw0: USB HID v1.00 Mouse [Silicon Works Multi-touch Device] on usb-3f980000.usb-1.4/input0
[    3.084410] usb 1-1.3.4: new high-speed USB device number 6 using dwc_otg
[    3.227760] usb 1-1.3.4: New USB device found, idVendor=0b95, idProduct=772a, bcdDevice= 0.01
[    3.227784] usb 1-1.3.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    3.227799] usb 1-1.3.4: Product: AX88x72A
[    3.227814] usb 1-1.3.4: Manufacturer: ASIX Elec. Corp.
[    3.227828] usb 1-1.3.4: SerialNumber: 000002
[    4.159071] EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: (null)
[    4.195554] EXT4-fs (mmcblk0p5): mounted filesystem with ordered data mode. Opts: (null)
[    7.574388] random: crng init done
[    7.586956] EXT4-fs (mmcblk0p3): re-mounted. Opts: (null)
[    7.602815] aufs au_opts_verify:1611:init[1]: dirperm1 breaks the protection by the permission bits on the lower branch
[    7.628659] EXT4-fs (mmcblk0p6): mounted filesystem with ordered data mode. Opts: (null)
[    7.953236] systemd[1]: System time before build time, advancing clock.
[    8.509997] systemd[1]: /lib/systemd/system/balena-host.socket:5: ListenStream= references a path below legacy directory /var/run/, updating /var/run/balena-host.sock → /run/balena-host.sock; please update the unit file accordingly.
[    8.548187] systemd[1]: /lib/systemd/system/balena-engine.socket:7: ListenStream= references a path below legacy directory /var/run/, updating /var/run/balena-engine.sock → /run/balena-engine.sock; please update the unit file accordingly.
[    8.861236] systemd[1]: /lib/systemd/system/plymouth-start.service:17: 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.
[    9.086801] fuse: init (API version 7.32)
[   10.449876] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned.
[   10.451528] bcm2835_vc_sm_cma_probe: Videocore shared memory driver
[   10.451546] [vc_sm_connected_init]: start
[   10.456017] [vc_sm_connected_init]: installed successfully
[   10.465280] mc: Linux media interface: v0.10
[   10.499616] videodev: Linux video capture interface: v2.00
[   10.516176] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
[   10.521323] bcm2835_audio bcm2835_audio: there is not valid maps for state default
[   10.538564] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[   10.542746] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[   10.551696] bcm2835_isp: module is from the staging directory, the quality is unknown, you have been warned.
[   10.556184] bcm2835_audio bcm2835_audio: card created with 8 channels
[   10.556421] bcm2835_codec: module is from the staging directory, the quality is unknown, you have been warned.
[   10.561988] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
[   10.562779] bcm2835-codec bcm2835-codec: Device registered as /dev/video10
[   10.562820] bcm2835-codec bcm2835-codec: Loaded V4L2 decode
[   10.566315] bcm2835-isp bcm2835-isp: Device node output[0] registered as /dev/video13
[   10.566958] bcm2835-isp bcm2835-isp: Device node capture[0] registered as /dev/video14
[   10.567550] bcm2835-isp bcm2835-isp: Device node capture[1] registered as /dev/video15
[   10.567994] bcm2835-isp bcm2835-isp: Device node stats[2] registered as /dev/video16
[   10.568022] bcm2835-isp bcm2835-isp: Register output node 0 with media controller
[   10.568042] bcm2835-isp bcm2835-isp: Register capture node 1 with media controller
[   10.568064] bcm2835-isp bcm2835-isp: Register capture node 2 with media controller
[   10.568076] bcm2835-isp bcm2835-isp: Register capture node 3 with media controller
[   10.568206] bcm2835-codec bcm2835-codec: Device registered as /dev/video11
[   10.568289] bcm2835-codec bcm2835-codec: Loaded V4L2 encode
[   10.578237] bcm2835-codec bcm2835-codec: Device registered as /dev/video12
[   10.578277] bcm2835-codec bcm2835-codec: Loaded V4L2 isp
[   10.597019] bcm2835-codec bcm2835-codec: Device registered as /dev/video18
[   10.597036] bcm2835-isp bcm2835-isp: Device node output[0] registered as /dev/video20
[   10.597055] bcm2835-codec bcm2835-codec: Loaded V4L2 image_fx
[   10.597517] bcm2835-isp bcm2835-isp: Device node capture[0] registered as /dev/video21
[   10.598340] bcm2835-isp bcm2835-isp: Device node capture[1] registered as /dev/video22
[   10.601281] bcm2835-isp bcm2835-isp: Device node stats[2] registered as /dev/video23
[   10.601308] bcm2835-isp bcm2835-isp: Register output node 0 with media controller
[   10.601322] bcm2835-isp bcm2835-isp: Register capture node 1 with media controller
[   10.601332] bcm2835-isp bcm2835-isp: Register capture node 2 with media controller
[   10.601343] bcm2835-isp bcm2835-isp: Register capture node 3 with media controller
[   10.601480] bcm2835-isp bcm2835-isp: Loaded V4L2 bcm2835-isp
[   10.675808] i2c i2c-11: Added multiplexed i2c bus 0
[   10.675933] i2c i2c-11: Added multiplexed i2c bus 10
[   10.837745] checking generic (3e428000 3e8000) vs hw (0 ffffffff)
[   10.837765] fb0: switching to vc4drmfb from simple
[   10.838183] Console: switching to colour dummy device 80x30
[   10.856822] vc4-drm soc:gpu: bound 3f400000.hvs (ops vc4_hvs_ops [vc4])
[   10.857548] Registered IR keymap rc-cec
[   10.857706] rc rc0: vc4 as /devices/platform/soc/3f902000.hdmi/rc/rc0
[   10.857870] input: vc4 as /devices/platform/soc/3f902000.hdmi/rc/rc0/input2
[   10.942273] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[   10.992350] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[   11.002500] lib80211: common routines for IEEE802.11 drivers
[   11.002518] lib80211_crypt: registered algorithm 'NULL'
[   11.027672] r8188eu: module is from the staging directory, the quality is unknown, you have been warned.
[   11.048465] Chip Version Info: CHIP_8188E_Normal_Chip_TSMC_D_CUT_1T1R_RomVer(0)
[   11.084124] vc4-drm soc:gpu: bound 3f400000.hvs (ops vc4_hvs_ops [vc4])
[   11.085855] usbcore: registered new interface driver r8188eu
[   11.091852] Registered IR keymap rc-cec
[   11.092046] rc rc0: vc4 as /devices/platform/soc/3f902000.hdmi/rc/rc0
[   11.092223] input: vc4 as /devices/platform/soc/3f902000.hdmi/rc/rc0/input3
[   11.152443] input: Silicon Works Multi-touch Device as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4/1-1.4:1.0/0003:29BD:4101.0001/input/input4
[   11.153807] zram: Can't change algorithm for initialized device
[   11.257072] input: Silicon Works Multi-touch Device Mouse as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4/1-1.4:1.0/0003:29BD:4101.0001/input/input5
[   11.257816] hid-multitouch 0003:29BD:4101.0001: input,hiddev96,hidraw0: USB HID v1.00 Mouse [Silicon Works Multi-touch Device] on usb-3f980000.usb-1.4/input0
[   11.260928] vc4-drm soc:gpu: bound 3f400000.hvs (ops vc4_hvs_ops [vc4])
[   11.266738] Registered IR keymap rc-cec
[   11.266945] rc rc0: vc4 as /devices/platform/soc/3f902000.hdmi/rc/rc0
[   11.267101] input: vc4 as /devices/platform/soc/3f902000.hdmi/rc/rc0/input6
[   11.355473] asix 1-1.3.4:1.0 eth0: register 'asix' at usb-3f980000.usb-1.3.4, ASIX AX88772 USB 2.0 Ethernet, 00:90:9e:9a:b1:01
[   11.358515] vc4-drm soc:gpu: bound 3f400000.hvs (ops vc4_hvs_ops [vc4])
[   11.359420] usbcore: registered new interface driver asix
[   11.360552] Registered IR keymap rc-cec
[   11.360744] rc rc0: vc4 as /devices/platform/soc/3f902000.hdmi/rc/rc0
[   11.360924] input: vc4 as /devices/platform/soc/3f902000.hdmi/rc/rc0/input7
[   11.644007] vc4-drm soc:gpu: bound 3f400000.hvs (ops vc4_hvs_ops [vc4])
[   11.655001] Registered IR keymap rc-cec
[   11.655189] rc rc0: vc4 as /devices/platform/soc/3f902000.hdmi/rc/rc0
[   11.655345] input: vc4 as /devices/platform/soc/3f902000.hdmi/rc/rc0/input8
[   11.770247] vc4-drm soc:gpu: bound 3f400000.hvs (ops vc4_hvs_ops [vc4])
[   11.779049] Registered IR keymap rc-cec
[   11.779216] rc rc0: vc4 as /devices/platform/soc/3f902000.hdmi/rc/rc0
[   11.779378] input: vc4 as /devices/platform/soc/3f902000.hdmi/rc/rc0/input9
[   11.865878] imx219 0-0010: failed to get regulators
[   11.936455] imx219 0-0010: failed to get regulators
[   11.939292] vc4-drm soc:gpu: bound 3f400000.hvs (ops vc4_hvs_ops [vc4])
[   11.948884] Registered IR keymap rc-cec
[   11.949066] rc rc0: vc4 as /devices/platform/soc/3f902000.hdmi/rc/rc0
[   11.949242] input: vc4 as /devices/platform/soc/3f902000.hdmi/rc/rc0/input10
[   11.952154] vc4-drm soc:gpu: bound 3f902000.hdmi (ops vc4_hdmi_ops [vc4])
[   11.952402] vc4-drm soc:gpu: bound 3f004000.txp (ops vc4_txp_ops [vc4])
[   11.952560] vc4-drm soc:gpu: bound 3f206000.pixelvalve (ops vc4_crtc_ops [vc4])
[   11.952757] vc4-drm soc:gpu: bound 3f207000.pixelvalve (ops vc4_crtc_ops [vc4])
[   11.953004] vc4-drm soc:gpu: bound 3f807000.pixelvalve (ops vc4_crtc_ops [vc4])
[   11.953176] vc4-drm soc:gpu: bound 3fc00000.v3d (ops vc4_v3d_ops [vc4])
[   11.976878] [drm] Initialized vc4 0.0.0 20140616 for soc:gpu on minor 0
[   11.977594] vc4-drm soc:gpu: [drm] Cannot find any crtc or sizes
[   11.978198] imx219 0-0010: failed to get regulators
[   13.078247] Adding 411176k swap on /dev/zram0.  Priority:-2 extents:1 across:411176k SSFS
[   13.889964] ext4 filesystem being remounted at /run/systemd/unit-root/etc/ssh/hostkeys supports timestamps until 2038 (0x7fffffff)
[   13.890274] ext4 filesystem being remounted at /run/systemd/unit-root/etc/hostname supports timestamps until 2038 (0x7fffffff)
[   13.893833] ext4 filesystem being remounted at /run/systemd/unit-root/etc/machine-id supports timestamps until 2038 (0x7fffffff)
[   13.894055] ext4 filesystem being remounted at /run/systemd/unit-root/etc/udev/rules.d supports timestamps until 2038 (0x7fffffff)
[   13.915941] ext4 filesystem being remounted at /run/systemd/unit-root/etc/docker supports timestamps until 2038 (0x7fffffff)
[   13.916270] ext4 filesystem being remounted at /run/systemd/unit-root/etc/balena-supervisor supports timestamps until 2038 (0x7fffffff)
[   13.916398] ext4 filesystem being remounted at /run/systemd/unit-root/etc/fake-hwclock supports timestamps until 2038 (0x7fffffff)
[   13.916473] ext4 filesystem being remounted at /run/systemd/unit-root/etc/NetworkManager/conf.d supports timestamps until 2038 (0x7fffffff)
[   13.916860] ext4 filesystem being remounted at /run/systemd/unit-root/etc/NetworkManager/system-connections supports timestamps until 2038 (0x7fffffff)
[   13.917484] ext4 filesystem being remounted at /run/systemd/unit-root/var/lib/systemd/linger supports timestamps until 2038 (0x7fffffff)
[   13.917566] ext4 filesystem being remounted at /run/systemd/unit-root/etc/openvpn supports timestamps until 2038 (0x7fffffff)
[   14.006692] ext4 filesystem being remounted at /run/systemd/unit-root/etc/ssh/hostkeys supports timestamps until 2038 (0x7fffffff)
[   14.006814] ext4 filesystem being remounted at /run/systemd/unit-root/etc/machine-id supports timestamps until 2038 (0x7fffffff)
[   14.006884] ext4 filesystem being remounted at /run/systemd/unit-root/etc/hostname supports timestamps until 2038 (0x7fffffff)
[   14.006969] ext4 filesystem being remounted at /run/systemd/unit-root/etc/NetworkManager/system-connections supports timestamps until 2038 (0x7fffffff)
[   14.007043] ext4 filesystem being remounted at /run/systemd/unit-root/etc/openvpn supports timestamps until 2038 (0x7fffffff)
[   14.007118] ext4 filesystem being remounted at /run/systemd/unit-root/etc/NetworkManager/conf.d supports timestamps until 2038 (0x7fffffff)
[   14.007189] ext4 filesystem being remounted at /run/systemd/unit-root/etc/fake-hwclock supports timestamps until 2038 (0x7fffffff)
[   14.007294] ext4 filesystem being remounted at /run/systemd/unit-root/etc/balena-supervisor supports timestamps until 2038 (0x7fffffff)
[   14.007410] ext4 filesystem being remounted at /run/systemd/unit-root/etc/docker supports timestamps until 2038 (0x7fffffff)
[   14.007483] ext4 filesystem being remounted at /run/systemd/unit-root/etc/udev/rules.d supports timestamps until 2038 (0x7fffffff)
[   14.381394] systemd-journald[996]: Received client request to flush runtime journal.
[   14.481021] ext4 filesystem being remounted at /run/systemd/unit-root/var/lib/systemd/linger supports timestamps until 2038 (0x7fffffff)
[   17.015808] i2c /dev entries driver
[   17.829232] ext4 filesystem being remounted at /run/systemd/unit-root/etc/NetworkManager/conf.d supports timestamps until 2038 (0x7fffffff)
[   17.829789] ext4 filesystem being remounted at /run/systemd/unit-root/etc/machine-id supports timestamps until 2038 (0x7fffffff)
[   17.830135] ext4 filesystem being remounted at /run/systemd/unit-root/etc/NetworkManager/system-connections supports timestamps until 2038 (0x7fffffff)
[   17.831174] ext4 filesystem being remounted at /run/systemd/unit-root/etc/balena-supervisor supports timestamps until 2038 (0x7fffffff)
[   17.831632] ext4 filesystem being remounted at /run/systemd/unit-root/etc/udev/rules.d supports timestamps until 2038 (0x7fffffff)
[   17.831838] ext4 filesystem being remounted at /run/systemd/unit-root/etc/hostname supports timestamps until 2038 (0x7fffffff)
[   17.832114] ext4 filesystem being remounted at /run/systemd/unit-root/etc/openvpn supports timestamps until 2038 (0x7fffffff)
[   17.832526] ext4 filesystem being remounted at /run/systemd/unit-root/etc/fake-hwclock supports timestamps until 2038 (0x7fffffff)
[   17.832694] ext4 filesystem being remounted at /run/systemd/unit-root/etc/ssh/hostkeys supports timestamps until 2038 (0x7fffffff)
[   17.833001] ext4 filesystem being remounted at /run/systemd/unit-root/etc/docker supports timestamps until 2038 (0x7fffffff)
[   17.856421] ext4 filesystem being remounted at /run/systemd/unit-root/etc/machine-id supports timestamps until 2038 (0x7fffffff)
[   17.856501] ext4 filesystem being remounted at /run/systemd/unit-root/etc/balena-supervisor supports timestamps until 2038 (0x7fffffff)
[   17.856570] ext4 filesystem being remounted at /run/systemd/unit-root/etc/NetworkManager/conf.d supports timestamps until 2038 (0x7fffffff)
[   17.856632] ext4 filesystem being remounted at /run/systemd/unit-root/etc/fake-hwclock supports timestamps until 2038 (0x7fffffff)
[   17.856697] ext4 filesystem being remounted at /run/systemd/unit-root/etc/docker supports timestamps until 2038 (0x7fffffff)
[   17.856766] ext4 filesystem being remounted at /run/systemd/unit-root/etc/openvpn supports timestamps until 2038 (0x7fffffff)
[   17.856916] ext4 filesystem being remounted at /run/systemd/unit-root/etc/NetworkManager/system-connections supports timestamps until 2038 (0x7fffffff)
[   17.856983] ext4 filesystem being remounted at /run/systemd/unit-root/etc/hostname supports timestamps until 2038 (0x7fffffff)
[   17.857078] ext4 filesystem being remounted at /run/systemd/unit-root/etc/udev/rules.d supports timestamps until 2038 (0x7fffffff)
[   17.857148] ext4 filesystem being remounted at /run/systemd/unit-root/etc/ssh/hostkeys supports timestamps until 2038 (0x7fffffff)
[   18.620902] asix 1-1.3.4:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xC1E1
[   19.084826] MAC Address = 70:f1:1c:49:28:db
[   19.091775] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   19.109305] R8188EU: indicate disassoc
[   22.053327] R8188EU: assoc success
[   22.237227] vc4-drm soc:gpu: [drm] Cannot find any crtc or sizes
[   23.062910] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   24.318169] Bridge firewalling registered
[   26.548387] br-c988ff81c0a6: port 1(veth90625d9) entered blocking state
[   26.548404] br-c988ff81c0a6: port 1(veth90625d9) entered disabled state
[   26.548781] device veth90625d9 entered promiscuous mode
[   26.562210] br-c988ff81c0a6: port 1(veth90625d9) entered blocking state
[   26.562226] br-c988ff81c0a6: port 1(veth90625d9) entered forwarding state
[   26.562602] br-c988ff81c0a6: port 1(veth90625d9) entered disabled state
[   26.692729] br-c988ff81c0a6: port 2(veth5e4979a) entered blocking state
[   26.692744] br-c988ff81c0a6: port 2(veth5e4979a) entered disabled state
[   26.694753] device veth5e4979a entered promiscuous mode
[   26.697929] br-c988ff81c0a6: port 2(veth5e4979a) entered blocking state
[   26.697945] br-c988ff81c0a6: port 2(veth5e4979a) entered forwarding state
[   26.698220] IPv6: ADDRCONF(NETDEV_CHANGE): br-c988ff81c0a6: link becomes ready
[   26.700191] br-c988ff81c0a6: port 2(veth5e4979a) entered disabled state
[   26.909110] br-c988ff81c0a6: port 3(vethb753dc4) entered blocking state
[   26.909124] br-c988ff81c0a6: port 3(vethb753dc4) entered disabled state
[   26.926338] device vethb753dc4 entered promiscuous mode
[   26.959490] supervisor0: port 1(veth16c773a) entered blocking state
[   26.959505] supervisor0: port 1(veth16c773a) entered disabled state
[   26.960184] device veth16c773a entered promiscuous mode
[   26.961559] supervisor0: port 1(veth16c773a) entered blocking state
[   26.961574] supervisor0: port 1(veth16c773a) entered forwarding state
[   26.961805] supervisor0: port 1(veth16c773a) entered disabled state
[   26.967115] br-c988ff81c0a6: port 3(vethb753dc4) entered blocking state
[   26.967130] br-c988ff81c0a6: port 3(vethb753dc4) entered forwarding state
[   26.968088] br-c988ff81c0a6: port 3(vethb753dc4) entered disabled state
[   27.210714] supervisor0: port 2(veth2755dc2) entered blocking state
[   27.210731] supervisor0: port 2(veth2755dc2) entered disabled state
[   27.210957] device veth2755dc2 entered promiscuous mode
[   27.211460] supervisor0: port 2(veth2755dc2) entered blocking state
[   27.211474] supervisor0: port 2(veth2755dc2) entered forwarding state
[   27.211585] IPv6: ADDRCONF(NETDEV_CHANGE): supervisor0: link becomes ready
[   27.212017] supervisor0: port 2(veth2755dc2) entered disabled state
[   28.937009] cgroup: cgroup: disabling cgroup2 socket matching due to net_prio or net_cls activation
[   31.197624] cam-dummy-reg: disabling
[   32.002121] eth0: renamed from vethbeea3a8
[   32.090324] IPv6: ADDRCONF(NETDEV_CHANGE): vethb753dc4: link becomes ready
[   32.090504] br-c988ff81c0a6: port 3(vethb753dc4) entered blocking state
[   32.090514] br-c988ff81c0a6: port 3(vethb753dc4) entered forwarding state
[   32.388612] eth0: renamed from vethbbe9c9c
[   32.449290] eth0: renamed from veth09251d4
[   32.508830] IPv6: ADDRCONF(NETDEV_CHANGE): veth5e4979a: link becomes ready
[   32.508992] br-c988ff81c0a6: port 2(veth5e4979a) entered blocking state
[   32.509008] br-c988ff81c0a6: port 2(veth5e4979a) entered forwarding state
[   32.510197] IPv6: ADDRCONF(NETDEV_CHANGE): veth90625d9: link becomes ready
[   32.510383] br-c988ff81c0a6: port 1(veth90625d9) entered blocking state
[   32.510407] br-c988ff81c0a6: port 1(veth90625d9) entered forwarding state
[   32.690659] eth1: renamed from vethac43766
[   32.748391] eth1: renamed from veth1bbfcff
[   32.828414] IPv6: ADDRCONF(NETDEV_CHANGE): veth2755dc2: link becomes ready
[   32.828598] supervisor0: port 2(veth2755dc2) entered blocking state
[   32.828607] supervisor0: port 2(veth2755dc2) entered forwarding state
[   32.830823] IPv6: ADDRCONF(NETDEV_CHANGE): veth16c773a: link becomes ready
[   32.830988] supervisor0: port 1(veth16c773a) entered blocking state
[   32.831008] supervisor0: port 1(veth16c773a) entered forwarding state
[   33.547039] systemd-udevd[29]: Starting version 241
[   33.979631] udevd[30]: starting version 3.2.11
[   34.036324] udevd[31]: starting eudev-3.2.11
[   62.587616] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[   62.587673] ext4 filesystem being mounted at /mnt/sysroot/inactive supports timestamps until 2038 (0x7fffffff)
[  277.000955] br-c988ff81c0a6: port 3(vethb753dc4) entered disabled state
[  277.001557] vethbeea3a8: renamed from eth0
[  277.135252] br-c988ff81c0a6: port 3(vethb753dc4) entered disabled state
[  277.137730] device vethb753dc4 left promiscuous mode
[  277.137750] br-c988ff81c0a6: port 3(vethb753dc4) entered disabled state
[  277.322570] br-c988ff81c0a6: port 3(vethb6d204d) entered blocking state
[  277.322587] br-c988ff81c0a6: port 3(vethb6d204d) entered disabled state
[  277.323216] device vethb6d204d entered promiscuous mode
[  277.324805] br-c988ff81c0a6: port 3(vethb6d204d) entered blocking state
[  277.324822] br-c988ff81c0a6: port 3(vethb6d204d) entered forwarding state
[  278.067403] br-c988ff81c0a6: port 3(vethb6d204d) entered disabled state
[  278.932382] eth0: renamed from vetha12edc2
[  278.970337] IPv6: ADDRCONF(NETDEV_CHANGE): vethb6d204d: link becomes ready
[  278.970634] br-c988ff81c0a6: port 3(vethb6d204d) entered blocking state
[  278.970650] br-c988ff81c0a6: port 3(vethb6d204d) entered forwarding state
[  279.477960] systemd-udevd[28]: Starting version 241
[  522.824768] br-c988ff81c0a6: port 3(vethb6d204d) entered disabled state
[  522.825421] vetha12edc2: renamed from eth0
[  523.014358] br-c988ff81c0a6: port 3(vethb6d204d) entered disabled state
[  523.016336] device vethb6d204d left promiscuous mode
[  523.016354] br-c988ff81c0a6: port 3(vethb6d204d) entered disabled state
[  523.189699] br-c988ff81c0a6: port 3(vethbdf36c8) entered blocking state
[  523.189716] br-c988ff81c0a6: port 3(vethbdf36c8) entered disabled state
[  523.191580] device vethbdf36c8 entered promiscuous mode
[  523.192627] br-c988ff81c0a6: port 3(vethbdf36c8) entered blocking state
[  523.192641] br-c988ff81c0a6: port 3(vethbdf36c8) entered forwarding state
[  523.896896] br-c988ff81c0a6: port 3(vethbdf36c8) entered disabled state
[  524.815778] eth0: renamed from veth1933fbd
[  524.859783] IPv6: ADDRCONF(NETDEV_CHANGE): vethbdf36c8: link becomes ready
[  524.860065] br-c988ff81c0a6: port 3(vethbdf36c8) entered blocking state
[  524.860081] br-c988ff81c0a6: port 3(vethbdf36c8) entered forwarding state
[  525.388776] systemd-udevd[28]: Starting version 241
[  768.698165] br-c988ff81c0a6: port 3(vethbdf36c8) entered disabled state
[  768.698681] veth1933fbd: renamed from eth0
[  768.891447] br-c988ff81c0a6: port 3(vethbdf36c8) entered disabled state
[  768.893408] device vethbdf36c8 left promiscuous mode
[  768.893431] br-c988ff81c0a6: port 3(vethbdf36c8) entered disabled state
[  769.137508] br-c988ff81c0a6: port 3(veth0e9f59a) entered blocking state
[  769.137525] br-c988ff81c0a6: port 3(veth0e9f59a) entered disabled state
[  769.137834] device veth0e9f59a entered promiscuous mode
[  769.138415] br-c988ff81c0a6: port 3(veth0e9f59a) entered blocking state
[  769.138430] br-c988ff81c0a6: port 3(veth0e9f59a) entered forwarding state
[  769.706343] br-c988ff81c0a6: port 3(veth0e9f59a) entered disabled state
[  770.736036] eth0: renamed from vethc5ddc98
[  770.778944] IPv6: ADDRCONF(NETDEV_CHANGE): veth0e9f59a: link becomes ready
[  770.779229] br-c988ff81c0a6: port 3(veth0e9f59a) entered blocking state
[  770.779248] br-c988ff81c0a6: port 3(veth0e9f59a) entered forwarding state
[  771.304503] systemd-udevd[29]: Starting version 241
[ 1014.697169] br-c988ff81c0a6: port 3(veth0e9f59a) entered disabled state
[ 1014.697864] vethc5ddc98: renamed from eth0
[ 1014.904389] br-c988ff81c0a6: port 3(veth0e9f59a) entered disabled state
[ 1014.907597] device veth0e9f59a left promiscuous mode
[ 1014.907616] br-c988ff81c0a6: port 3(veth0e9f59a) entered disabled state
[ 1015.052651] br-c988ff81c0a6: port 3(vethd7109a7) entered blocking state
[ 1015.052667] br-c988ff81c0a6: port 3(vethd7109a7) entered disabled state
[ 1015.052931] device vethd7109a7 entered promiscuous mode
[ 1015.053549] br-c988ff81c0a6: port 3(vethd7109a7) entered blocking state
[ 1015.053562] br-c988ff81c0a6: port 3(vethd7109a7) entered forwarding state
[ 1015.725772] br-c988ff81c0a6: port 3(vethd7109a7) entered disabled state
[ 1016.771046] eth0: renamed from vethc55c01c
[ 1016.938437] IPv6: ADDRCONF(NETDEV_CHANGE): vethd7109a7: link becomes ready
[ 1016.938629] br-c988ff81c0a6: port 3(vethd7109a7) entered blocking state
[ 1016.938640] br-c988ff81c0a6: port 3(vethd7109a7) entered forwarding state
[ 1017.508917] systemd-udevd[29]: Starting version 241
[ 1267.767331] br-c988ff81c0a6: port 3(vethd7109a7) entered disabled state
[ 1267.768258] vethc55c01c: renamed from eth0
[ 1267.979510] br-c988ff81c0a6: port 3(vethd7109a7) entered disabled state
[ 1267.981415] device vethd7109a7 left promiscuous mode
[ 1267.981441] br-c988ff81c0a6: port 3(vethd7109a7) entered disabled state
[ 1268.202227] br-c988ff81c0a6: port 3(veth2e15ae1) entered blocking state
[ 1268.202243] br-c988ff81c0a6: port 3(veth2e15ae1) entered disabled state
[ 1268.203156] device veth2e15ae1 entered promiscuous mode
[ 1268.204329] br-c988ff81c0a6: port 3(veth2e15ae1) entered blocking state
[ 1268.204359] br-c988ff81c0a6: port 3(veth2e15ae1) entered forwarding state
[ 1268.777226] br-c988ff81c0a6: port 3(veth2e15ae1) entered disabled state
[ 1269.873705] eth0: renamed from veth3a926d4
[ 1269.960542] IPv6: ADDRCONF(NETDEV_CHANGE): veth2e15ae1: link becomes ready
[ 1269.960816] br-c988ff81c0a6: port 3(veth2e15ae1) entered blocking state
[ 1269.960832] br-c988ff81c0a6: port 3(veth2e15ae1) entered forwarding state
[ 1270.620051] systemd-udevd[29]: Starting version 241
[ 1514.105010] br-c988ff81c0a6: port 3(veth2e15ae1) entered disabled state
[ 1514.105656] veth3a926d4: renamed from eth0
[ 1514.286983] br-c988ff81c0a6: port 3(veth2e15ae1) entered disabled state
[ 1514.288900] device veth2e15ae1 left promiscuous mode
[ 1514.288918] br-c988ff81c0a6: port 3(veth2e15ae1) entered disabled state
[ 1514.495051] br-c988ff81c0a6: port 3(veth38ce9e1) entered blocking state
[ 1514.495070] br-c988ff81c0a6: port 3(veth38ce9e1) entered disabled state
[ 1514.495407] device veth38ce9e1 entered promiscuous mode
[ 1514.500705] br-c988ff81c0a6: port 3(veth38ce9e1) entered blocking state
[ 1514.500727] br-c988ff81c0a6: port 3(veth38ce9e1) entered forwarding state
[ 1515.106831] br-c988ff81c0a6: port 3(veth38ce9e1) entered disabled state
[ 1516.261046] eth0: renamed from veth7edcdd6
[ 1516.298837] IPv6: ADDRCONF(NETDEV_CHANGE): veth38ce9e1: link becomes ready
[ 1516.299078] br-c988ff81c0a6: port 3(veth38ce9e1) entered blocking state
[ 1516.299096] br-c988ff81c0a6: port 3(veth38ce9e1) entered forwarding state
[ 1516.832289] systemd-udevd[28]: Starting version 241

** sudo vcdbg log msg **
debug_sym: vc_mem_copy: Unable to open '/dev/fb0': No such file or directory(2)

debug_sym: vc_mem_copy: Unable to open '/dev/fb0': No such file or directory(2)

debug_sym: vc_mem_copy: Unable to open '/dev/fb0': No such file or directory(2)

debug_sym: vc_mem_copy: Unable to open '/dev/fb0': No such file or directory(2)

debug_sym: vc_mem_copy: Unable to open '/dev/fb0': No such file or directory(2)

debug_sym: vc_mem_copy: Unable to open '/dev/fb0': No such file or directory(2)

debug_sym: vc_mem_copy: Unable to open '/dev/fb0': No such file or directory(2)

[...]

debug_sym: vc_mem_copy: Unable to open '/dev/fb0': No such file or directory(2)

debug_sym: vc_mem_copy: Unable to open '/dev/fb0': No such file or directory(2)

debug_sym: vc_mem_copy: Unable to open '/dev/fb0': No such file or directory(2)

debug_sym: vc_mem_copy: Unable to open '/dev/fb0': No such file or directory(2)

debug_sym: vc_mem_copy: Unable to open '/dev/fb0': No such file or directory(2)

debug_sym: vc_mem_copy: Unable to open '/dev/fb0': No such file or directory(2)

Failed to allocate -201253077 bytes for message buffer

** sudo vcdbg log assert **
debug_sym: vc_mem_copy: Unable to open '/dev/fb0': No such file or directory(2)

debug_sym: vc_mem_copy: Unable to open '/dev/fb0': No such file or directory(2)

debug_sym: vc_mem_copy: Unable to open '/dev/fb0': No such file or directory(2)

debug_sym: vc_mem_copy: Unable to open '/dev/fb0': No such file or directory(2)

debug_sym: vc_mem_copy: Unable to open '/dev/fb0': No such file or directory(2)

debug_sym: vc_mem_copy: Unable to open '/dev/fb0': No such file or directory(2)

[...]

debug_sym: vc_mem_copy: Unable to open '/dev/fb0': No such file or directory(2)

debug_sym: vc_mem_copy: Unable to open '/dev/fb0': No such file or directory(2)

debug_sym: vc_mem_copy: Unable to open '/dev/fb0': No such file or directory(2)

debug_sym: vc_mem_copy: Unable to open '/dev/fb0': No such file or directory(2)

debug_sym: vc_mem_copy: Unable to open '/dev/fb0': No such file or directory(2)

debug_sym: vc_mem_copy: Unable to open '/dev/fb0': No such file or directory(2)

Failed to allocate -201253077 bytes for message buffer

** sudo vcdbg log ex **
debug_sym: vc_mem_copy: Unable to open '/dev/fb0': No such file or directory(2)

debug_sym: vc_mem_copy: Unable to open '/dev/fb0': No such file or directory(2)

debug_sym: vc_mem_copy: Unable to open '/dev/fb0': No such file or directory(2)

debug_sym: vc_mem_copy: Unable to open '/dev/fb0': No such file or directory(2)

debug_sym: vc_mem_copy: Unable to open '/dev/fb0': No such file or directory(2)

debug_sym: vc_mem_copy: Unable to open '/dev/fb0': No such file or directory(2)

debug_sym: vc_mem_copy: Unable to open '/dev/fb0': No such file or directory(2)

[...]

debug_sym: vc_mem_copy: Unable to open '/dev/fb0': No such file or directory(2)

debug_sym: vc_mem_copy: Unable to open '/dev/fb0': No such file or directory(2)

debug_sym: vc_mem_copy: Unable to open '/dev/fb0': No such file or directory(2)

debug_sym: vc_mem_copy: Unable to open '/dev/fb0': No such file or directory(2)

debug_sym: vc_mem_copy: Unable to open '/dev/fb0': No such file or directory(2)

debug_sym: vc_mem_copy: Unable to open '/dev/fb0': No such file or directory(2)

No exceptions found

--------------------------------------------------------------------------------
Memory
--------------------------------------------------------------------------------
** cat /proc/meminfo **
MemTotal:         822356 kB
MemFree:          271048 kB
MemAvailable:     598684 kB
Buffers:           32660 kB
Cached:           297044 kB
SwapCached:          992 kB
Active:           194564 kB
Inactive:         277720 kB
Active(anon):       2008 kB
Inactive(anon):   137732 kB
Active(file):     192556 kB
Inactive(file):   139988 kB
Unevictable:           0 kB
Mlocked:               0 kB
SwapTotal:        411176 kB
SwapFree:         408620 kB
Dirty:                60 kB
Writeback:             0 kB
AnonPages:        141656 kB
Mapped:           109528 kB
Shmem:              1568 kB
KReclaimable:      27860 kB
Slab:              53544 kB
SReclaimable:      27860 kB
SUnreclaim:        25684 kB
KernelStack:        2112 kB
PageTables:         3456 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:      822352 kB
Committed_AS:    1310916 kB
VmallocTotal:    1236992 kB
VmallocUsed:        8112 kB
VmallocChunk:          0 kB
Percpu:             1424 kB
CmaTotal:         262144 kB
CmaFree:          135416 kB

** sudo cat /sys/kernel/debug/dma_buf/bufinfo **

Dma-buf Objects:
size        flags       mode        count       exp_name    ino     

Total 0 objects, 0 bytes

** sudo cat /sys/kernel/debug/vcsm-cma/state **

VC-ServiceHandle     90e9ec52

Resources

Total resource count:   0

--------------------------------------------------------------------------------
Media Devices
--------------------------------------------------------------------------------
** media-ctl -d 0 -p **
Failed to open 0

** media-ctl -d 1 -p **
Failed to open 1

** media-ctl -d 2 -p **
Failed to open 2

** media-ctl -d 3 -p **
Failed to open 3

** media-ctl -d 4 -p **
Failed to open 4

--------------------------------------------------------------------------------
Cameras
--------------------------------------------------------------------------------
** libcamera-still --list-cameras **
No cameras available!

--------------------------------------------------------------------------------
Versions
--------------------------------------------------------------------------------
** uname -a **
Linux 125b65bf2320 5.10.95-v7 #1 SMP Thu Feb 17 11:43:01 UTC 2022 armv7l GNU/Linux

** cat /etc/os-release **
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

** vcgencmd version **
Jan 20 2022 13:58:22 
Copyright (c) 2012 Broadcom
version bd88f66f8952d34e4e0613a85c7a6d3da49e13e2 (clean) (release) (start)

** libcamera-still --version **
libcamera-apps build: 40e001251d04-intree-dirty 02-02-2023 (14:15:04)
libcamera build: v0.0.0+4171-9b860a66

--------------------------------------------------------------------------------
libcamera-still -t 1000 -o test.jpg
--------------------------------------------------------------------------------
Preview window unavailable
[0:26:49.332021818] [364]  INFO Camera camera_manager.cpp:299 libcamera v0.0.0+4171-9b860a66
ERROR: *** no cameras available ***

Additional context

The system is a compute module 3, an imx219 camera, the latest version of the balenaOS (balenaOS 2.108.18+rev1).

I run the libcamera-apps in a docker.

The content of /mnt/boot/config.txt on the host is:

gpu_mem=196
gpu_mem_1024=196
gpu_mem_256=196
gpu_mem_512=196
camera_auto_detect=0
max_framebuffers=2
display_rotate=3
dtoverlay=vc4-kms-v3d
dtoverlay=imx219,cam0
enable_uart=1
start_x=0
avoid_warnings=1
disable_splash=1
dtparam=i2c_arm=on
dtparam=spi=on
dtparam=audio=on

The content of /mnt/boot/cmdline.txt is:

dwc_otg.lpm_enable=0 rootfstype=ext4 rootwait dwc_otg.lpm_enable=0 rootwait vt.global_cursor_default=0 console=null cgroup_enable=memory

I've also tried these:

I've also tried to:

The output of v4l2-ctl:

unicam (platform:3f800000.csi):
        /dev/media1

bcm2835-codec-decode (platform:bcm2835-codec):
        /dev/video10
        /dev/video11
        /dev/video12
        /dev/video18
        /dev/media2

bcm2835-isp (platform:bcm2835-isp):
        /dev/video13
        /dev/video14
        /dev/video15
        /dev/video16
        /dev/video20
        /dev/video21
        /dev/video22
        /dev/video23
        /dev/media0
        /dev/media3

Cannot open device /dev/video0, exiting.

I would lope it if you can help me! :star_struck:

pietermarsman commented 1 year ago

Turned out the /dev/video0 device was missing due to the special port mapping that we were using. The problem was fixed by adding "cam0_reg","cam0_reg_gpio=30" to the DT parameters for the default overlay in balena. From there on the solution was the same as #270.

I'm posting this here as a reference, but I doubt it will be useful for anyone else since this issue was caused by our special port mapping.