Closed mortenboye closed 6 months ago
Can you send the dmesg
log?
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd083]
[ 0.000000] Linux version 5.15.34-v8 (oe-user@oe-host) (aarch64-poky-linux-gcc (GCC) 11.3.0, GNU ld (GNU Binutils) 2.38.20220708) #1 SMP PREEMPT Tue Apr 19 19:21:26 UTC 2022
[ 0.000000] random: fast init done
[ 0.000000] Machine model: Raspberry Pi Compute Module 4 Rev 1.0
[ 0.000000] efi: UEFI not found.
[ 0.000000] Reserved memory: created CMA memory pool at 0x000000001ec00000, 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-0x000000003fffffff]
[ 0.000000] DMA32 [mem 0x0000000040000000-0x000000007fffffff]
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x000000003bffffff]
[ 0.000000] node 0: [mem 0x0000000040000000-0x000000007fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000007fffffff]
[ 0.000000] percpu: Embedded 29 pages/cpu s78232 r8192 d32360 u118784
[ 0.000000] pcpu-alloc: s78232 r8192 d32360 u118784 alloc=29*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[ 0.000000] Detected PIPT I-cache on CPU0
[ 0.000000] CPU features: detected: Spectre-v2
[ 0.000000] CPU features: detected: Spectre-v3a
[ 0.000000] CPU features: detected: Spectre-v4
[ 0.000000] CPU features: detected: Spectre-BHB
[ 0.000000] CPU features: kernel page table isolation forced ON by KASLR
[ 0.000000] CPU features: detected: Kernel page table isolation (KPTI)
[ 0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 499968
[ 0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 8250.nr_uarts=1 video=HDMI-A-1:1024x600M@60 smsc95xx.macaddr=E4:5F:01:AB:A2:EC vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 dwc_otg.lpm_enable=0 console=ttyAMA1,115200 rootfstype=ext4 rootwait quiet loglevel=0 logo.nologo root=/dev/mmcblk0p3
[ 0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] software IO TLB: mapped [mem 0x0000000038000000-0x000000003c000000] (64MB)
[ 0.000000] Memory: 1638160K/2031616K available (12736K kernel code, 1994K rwdata, 4552K rodata, 3968K init, 979K bss, 131312K reserved, 262144K cma-reserved)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] ftrace: allocating 40177 entries in 157 pages
[ 0.000000] ftrace: allocated 157 pages with 5 groups
[ 0.000000] trace event string verifier disabled
[ 0.000000] rcu: Preemptible hierarchical RCU implementation.
[ 0.000000] rcu: RCU event tracing is enabled.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
[ 0.000000] Trampoline variant of Tasks RCU enabled.
[ 0.000000] Rude variant of Tasks RCU enabled.
[ 0.000000] Tracing variant of Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] Root IRQ handler: gic_handle_irq
[ 0.000000] GIC: Using split EOI/Deactivate mode
[ 0.000000] random: get_random_bytes called from start_kernel+0x510/0x708 with crng_init=1
[ 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.000001] sched_clock: 56 bits at 54MHz, resolution 18ns, wraps every 4398046511102ns
[ 0.000261] Console: colour dummy device 80x25
[ 0.000333] Calibrating delay loop (skipped), value calculated using timer frequency.. 108.00 BogoMIPS (lpj=216000)
[ 0.000359] pid_max: default: 32768 minimum: 301
[ 0.000479] LSM: Security Framework initializing
[ 0.000672] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[ 0.000711] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[ 0.001927] cgroup: Disabling memory control group subsystem
[ 0.004463] rcu: Hierarchical SRCU implementation.
[ 0.005505] EFI services will not be available.
[ 0.006009] smp: Bringing up secondary CPUs ...
[ 0.007046] Detected PIPT I-cache on CPU1
[ 0.007121] CPU1: Booted secondary processor 0x0000000001 [0x410fd083]
[ 0.008384] Detected PIPT I-cache on CPU2
[ 0.008433] CPU2: Booted secondary processor 0x0000000002 [0x410fd083]
[ 0.009550] Detected PIPT I-cache on CPU3
[ 0.009598] CPU3: Booted secondary processor 0x0000000003 [0x410fd083]
[ 0.009777] smp: Brought up 1 node, 4 CPUs
[ 0.009796] SMP: Total of 4 processors activated.
[ 0.009807] CPU features: detected: 32-bit EL0 Support
[ 0.009817] CPU features: detected: 32-bit EL1 Support
[ 0.009829] CPU features: detected: CRC32 instructions
[ 0.042513] CPU: All CPU(s) started at EL2
[ 0.042588] alternatives: patching kernel code
[ 0.044023] devtmpfs: initialized
[ 0.054419] Enabled cp15_barrier support
[ 0.054458] Enabled setend support
[ 0.054476] KASLR enabled
[ 0.054794] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.054825] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.063430] pinctrl core: initialized pinctrl subsystem
[ 0.064307] DMI not present or invalid.
[ 0.064766] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.068245] DMA: preallocated 1024 KiB GFP_KERNEL pool for atomic allocations
[ 0.068537] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[ 0.069411] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[ 0.069501] audit: initializing netlink subsys (disabled)
[ 0.069782] audit: type=2000 audit(0.068:1): state=initialized audit_enabled=0 res=1
[ 0.070276] thermal_sys: Registered thermal governor 'step_wise'
[ 0.070503] cpuidle: using governor menu
[ 0.070707] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.070892] ASID allocator initialised with 32768 entries
[ 0.071045] Serial: AMBA PL011 UART driver
[ 0.081912] bcm2835-mbox fe00b880.mailbox: mailbox enabled
[ 0.104325] raspberrypi-firmware soc:firmware: Attached to firmware from 2022-08-09T13:44:40, variant start
[ 0.108350] raspberrypi-firmware soc:firmware: Firmware hash is 273b410636cf8854ca35af91fd738a3d5f8b39b6
[ 0.158147] bcm2835-dma fe007000.dma: DMA legacy API manager, dmachans=0x1
[ 0.162175] vgaarb: loaded
[ 0.162579] SCSI subsystem initialized
[ 0.162772] usbcore: registered new interface driver usbfs
[ 0.162823] usbcore: registered new interface driver hub
[ 0.162883] usbcore: registered new device driver usb
[ 0.163202] usb_phy_generic phy: supply vcc not found, using dummy regulator
[ 0.163718] pps_core: LinuxPPS API ver. 1 registered
[ 0.163731] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.163753] PTP clock support registered
[ 0.163980] Advanced Linux Sound Architecture Driver Initialized.
[ 0.165178] clocksource: Switched to clocksource arch_sys_counter
[ 0.245628] VFS: Disk quotas dquot_6.6.0
[ 0.245745] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 0.245905] FS-Cache: Loaded
[ 0.246118] CacheFiles: Loaded
[ 0.247110] simple-framebuffer 3e967000.framebuffer: framebuffer at 0x3e967000, 0x260000 bytes
[ 0.247131] simple-framebuffer 3e967000.framebuffer: format=a8r8g8b8, mode=1024x600x32, linelength=4096
[ 0.247559] Console: switching to colour frame buffer device 128x37
[ 0.250826] simple-framebuffer 3e967000.framebuffer: fb0: simplefb registered!
[ 0.259676] NET: Registered PF_INET protocol family
[ 0.259990] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear)
[ 0.262192] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear)
[ 0.262239] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear)
[ 0.262348] TCP bind hash table entries: 16384 (order: 6, 262144 bytes, linear)
[ 0.262601] TCP: Hash tables configured (established 16384 bind 16384)
[ 0.262805] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)
[ 0.262847] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear)
[ 0.263072] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 0.263916] RPC: Registered named UNIX socket transport module.
[ 0.263931] RPC: Registered udp transport module.
[ 0.263941] RPC: Registered tcp transport module.
[ 0.263950] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.263969] PCI: CLS 0 bytes, default 64
[ 0.266222] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
[ 0.266558] kvm [1]: IPA Size Limit: 44 bits
[ 0.267790] kvm [1]: vgic interrupt IRQ9
[ 0.268048] kvm [1]: Hyp mode initialized successfully
[ 1.177383] Initialise system trusted keyrings
[ 1.177725] workingset: timestamp_bits=46 max_order=19 bucket_order=0
[ 1.184297] zbud: loaded
[ 1.185904] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 1.186157] FS-Cache: Netfs 'nfs' registered for caching
[ 1.186848] NFS: Registering the id_resolver key type
[ 1.186904] Key type id_resolver registered
[ 1.186915] Key type id_legacy registered
[ 1.187024] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 1.187037] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[ 1.188142] Key type asymmetric registered
[ 1.188156] Asymmetric key parser 'x509' registered
[ 1.188242] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[ 1.188486] io scheduler mq-deadline registered
[ 1.188500] io scheduler kyber registered
[ 1.196424] gpio-507 (ant1): hogged as output/high
[ 1.197799] gpio-511 (ant2): hogged as output/low
[ 1.199038] brcm-pcie fd500000.pcie: host bridge /scb/pcie@7d500000 ranges:
[ 1.199074] brcm-pcie fd500000.pcie: No bus range found for /scb/pcie@7d500000, using [bus 00-ff]
[ 1.199159] brcm-pcie fd500000.pcie: MEM 0x0600000000..0x063fffffff -> 0x00c0000000
[ 1.199248] brcm-pcie fd500000.pcie: IB MEM 0x0000000000..0x007fffffff -> 0x0400000000
[ 1.517208] brcm-pcie fd500000.pcie: link down
[ 1.522597] Serial: 8250/16550 driver, 1 ports, IRQ sharing enabled
[ 1.525572] iproc-rng200 fe104000.rng: hwrng registered
[ 1.526033] vc-mem: phys_addr:0x00000000 mem_base=0x3ec00000 mem_size:0x40000000(1024 MiB)
[ 1.527322] gpiomem-bcm2835 fe200000.gpiomem: Initialised: Registers at 0xfe200000
[ 1.534088] checking generic (3e967000 260000) vs hw (0 ffffffffffffffff)
[ 1.534108] fb0: switching to vc4 from simple
[ 1.534493] Console: switching to colour dummy device 80x25
[ 1.535808] vc4-drm gpu: bound fe600000.firmwarekms (ops vc4_fkms_ops)
[ 1.536611] [drm] Initialized vc4 0.0.0 20140616 for gpu on minor 0
[ 1.550679] Console: switching to colour frame buffer device 128x37
[ 1.571087] vc4-drm gpu: [drm] fb0: vc4drmfb frame buffer device
[ 1.583871] brd: module loaded
[ 1.593245] loop: module loaded
[ 1.593964] Loading iSCSI transport class v2.0-870.
[ 1.598772] bcmgenet fd580000.ethernet: GENET 5.0 EPHY: 0x0000
[ 1.657337] unimac-mdio unimac-mdio.-19: Broadcom UniMAC MDIO bus
[ 1.658406] usbcore: registered new interface driver r8152
[ 1.658484] usbcore: registered new interface driver lan78xx
[ 1.658541] usbcore: registered new interface driver smsc95xx
[ 1.659049] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[ 1.659329] dwc_otg: FIQ enabled
[ 1.659339] dwc_otg: NAK holdoff enabled
[ 1.659349] dwc_otg: FIQ split-transaction FSM enabled
[ 1.659360] Module dwc_common_port init
[ 1.659863] usbcore: registered new interface driver uas
[ 1.659928] usbcore: registered new interface driver usb-storage
[ 1.660146] mousedev: PS/2 mouse device common for all mice
[ 1.665379] sdhci: Secure Digital Host Controller Interface driver
[ 1.665396] sdhci: Copyright(c) Pierre Ossman
[ 1.665983] sdhci-pltfm: SDHCI platform and OF driver helper
[ 1.669363] ledtrig-cpu: registered to indicate activity on CPUs
[ 1.669992] hid: raw HID events driver (C) Jiri Kosina
[ 1.670126] usbcore: registered new interface driver usbhid
[ 1.670138] usbhid: USB HID core driver
[ 1.670425] ashmem: initialized
[ 1.676781] Initializing XFRM netlink socket
[ 1.676829] NET: Registered PF_PACKET protocol family
[ 1.676947] Key type dns_resolver registered
[ 1.678171] registered taskstats version 1
[ 1.678203] Loading compiled-in X.509 certificates
[ 1.679178] Key type ._fscrypt registered
[ 1.679193] Key type .fscrypt registered
[ 1.679203] Key type fscrypt-provisioning registered
[ 1.691011] uart-pl011 fe201000.serial: there is not valid maps for state default
[ 1.691299] uart-pl011 fe201000.serial: cts_event_workaround enabled
[ 1.691451] fe201000.serial: ttyAMA0 at MMIO 0xfe201000 (irq = 17, base_baud = 0) is a PL011 rev2
[ 1.692376] fe201600.serial: ttyAMA1 at MMIO 0xfe201600 (irq = 17, base_baud = 0) is a PL011 rev2
[ 1.692549] printk: console [ttyAMA1] enabled
[ 1.701328] fe215040.serial: ttyS0 at MMIO 0xfe215040 (irq = 19, base_baud = 76800000) is a 16550
[ 1.702854] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
[ 1.703336] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver
[ 1.704598] mmc-bcm2835 fe300000.mmcnr: mmc_debug:0 mmc_debug2:0
[ 1.704617] mmc-bcm2835 fe300000.mmcnr: DMA channel allocated
[ 1.734803] of_cfs_init
[ 1.734932] of_cfs_init: OK
[ 1.772285] mmc0: SDHCI controller on fe340000.mmc [fe340000.mmc] using ADMA
[ 1.773071] ALSA device list:
[ 1.773085] No soundcards found.
[ 1.773513] uart-pl011 fe201600.serial: no DMA platform data
[ 1.773855] Waiting for root device /dev/mmcblk0p3...
[ 1.819587] mmc1: new high speed SDIO card at address 0001
[ 1.840718] mmc0: new DDR MMC card at address 0001
[ 1.841722] mmcblk0: mmc0:0001 8GTF4R 7.28 GiB
[ 1.844557] mmcblk0: p1 p2 p3 p4
[ 1.845498] mmcblk0: mmc0:0001 8GTF4R 7.28 GiB
[ 1.846086] mmcblk0boot0: mmc0:0001 8GTF4R 4.00 MiB
[ 1.848606] mmcblk0boot1: mmc0:0001 8GTF4R 4.00 MiB
[ 1.850846] mmcblk0rpmb: mmc0:0001 8GTF4R 512 KiB, chardev (241:0)
[ 1.855769] EXT4-fs (mmcblk0p3): INFO: recovery required on readonly filesystem
[ 1.855787] EXT4-fs (mmcblk0p3): write access will be enabled during recovery
[ 1.869909] EXT4-fs (mmcblk0p3): recovery complete
[ 1.871346] EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
[ 1.871437] VFS: Mounted root (ext4 filesystem) readonly on device 179:3.
[ 1.871893] devtmpfs: mounted
[ 1.879299] Freeing unused kernel memory: 3968K
[ 1.879515] Run /sbin/init as init process
[ 1.879526] with arguments:
[ 1.879535] /sbin/init
[ 1.879544] with environment:
[ 1.879552] HOME=/
[ 1.879560] TERM=linux
[ 2.009342] systemd[1]: System time before build time, advancing clock.
[ 2.151914] NET: Registered PF_INET6 protocol family
[ 2.153749] Segment Routing with IPv6
[ 2.153789] In-situ OAM (IOAM) with IPv6
[ 2.183135] systemd[1]: systemd 250.5+ running in system mode (-PAM -AUDIT -SELINUX -APPARMOR +IMA -SMACK -SECCOMP -GCRYPT -GNUTLS -OPENSSL -ACL +BLKID -CURL -ELFUTILS -FIDO2 -IDN2 -IDN -IPTC +KMOD -LIBCRYPTSETUP +LIBFDISK -PCRE2 -PWQUALITY -P11KIT -QRENCODE -BZIP2 -LZ4 -XZ -ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=hybrid)
[ 2.184116] systemd[1]: Detected architecture arm64.
[ 2.204316] systemd[1]: Hostname set to <mortrix>.
[ 2.262136] systemd-fstab-generator[103]: Failed to create unit file /run/systemd/generator/boot.mount, as it already exists. Duplicate entry in /etc/fstab?
[ 2.281684] systemd[101]: /lib/systemd/system-generators/systemd-fstab-generator failed with exit status 1.
[ 2.493422] systemd[1]: /lib/systemd/system/mdns.service:10: PIDFile= references a path below legacy directory /var/run/, updating /var/run/mdnsd.pid → /run/mdnsd.pid; please update the unit file accordingly.
[ 2.626327] systemd[1]: Queued start job for default target Multi-User System.
[ 2.674610] systemd[1]: Created slice Slice /system/getty.
[ 2.676987] systemd[1]: Created slice Slice /system/modprobe.
[ 2.679087] systemd[1]: Created slice Slice /system/serial-getty.
[ 2.681096] systemd[1]: Created slice Slice /system/systemd-growfs.
[ 2.682978] systemd[1]: Created slice User and Session Slice.
[ 2.683465] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[ 2.683894] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ 2.684329] systemd[1]: Reached target Path Units.
[ 2.684453] systemd[1]: Reached target Remote File Systems.
[ 2.684547] systemd[1]: Reached target Slice Units.
[ 2.684679] systemd[1]: Reached target Swaps.
[ 2.685834] systemd[1]: Listening on Syslog Socket.
[ 2.686285] systemd[1]: Listening on initctl Compatibility Named Pipe.
[ 2.687450] systemd[1]: Listening on Journal Audit Socket.
[ 2.688151] systemd[1]: Listening on Journal Socket (/dev/log).
[ 2.689051] systemd[1]: Listening on Journal Socket.
[ 2.690264] systemd[1]: Listening on Network Service Netlink Socket.
[ 2.691764] systemd[1]: Listening on udev Control Socket.
[ 2.692465] systemd[1]: Listening on udev Kernel Socket.
[ 2.693224] systemd[1]: Listening on User Database Manager Socket.
[ 2.694187] systemd[1]: Huge Pages File System was skipped because of a failed condition check (ConditionPathExists=/sys/kernel/mm/hugepages).
[ 2.699197] systemd[1]: Mounting POSIX Message Queue File System...
[ 2.704805] systemd[1]: Mounting Kernel Debug File System...
[ 2.710657] systemd[1]: Mounting Kernel Trace File System...
[ 2.716961] systemd[1]: Mounting Temporary Directory /tmp...
[ 2.724277] systemd[1]: Starting Create List of Static Device Nodes...
[ 2.730221] systemd[1]: Starting Load Kernel Module configfs...
[ 2.735873] systemd[1]: Starting Load Kernel Module drm...
[ 2.741613] systemd[1]: Starting Load Kernel Module fuse...
[ 2.750173] systemd[1]: Starting Start psplash boot splash screen...
[ 2.755865] systemd[1]: Starting File System Check on Root Device...
[ 2.766189] systemd[1]: Starting Journal Service...
[ 2.774538] systemd[1]: Starting Load Kernel Modules...
[ 2.780532] systemd[1]: Starting Generate network units from Kernel command line...
[ 2.787419] systemd[1]: Starting Coldplug All udev Devices...
[ 2.790594] fuse: init (API version 7.34)
[ 2.813361] systemd[1]: Mounted POSIX Message Queue File System.
[ 2.814296] systemd[1]: Mounted Kernel Debug File System.
[ 2.815232] systemd[1]: Mounted Kernel Trace File System.
[ 2.816018] systemd[1]: Started Start psplash boot splash screen.
[ 2.816663] systemd[1]: Mounted Temporary Directory /tmp.
[ 2.819146] systemd[1]: Finished Create List of Static Device Nodes.
[ 2.821649] systemd[1]: modprobe@configfs.service: Deactivated successfully.
[ 2.823510] systemd[1]: Finished Load Kernel Module configfs.
[ 2.825680] systemd[1]: modprobe@drm.service: Deactivated successfully.
[ 2.827255] systemd[1]: Finished Load Kernel Module drm.
[ 2.830222] systemd[1]: modprobe@fuse.service: Deactivated successfully.
[ 2.881810] systemd[1]: Finished Load Kernel Module fuse.
[ 2.885591] systemd[1]: Finished Generate network units from Kernel command line.
[ 2.892302] systemd[1]: Mounting FUSE Control File System...
[ 2.897424] dwc2 fe980000.usb: supply vusb_d not found, using dummy regulator
[ 2.898138] systemd[1]: Mounting Kernel Configuration File System...
[ 2.902057] dwc2 fe980000.usb: supply vusb_a not found, using dummy regulator
[ 2.906957] systemd[1]: Started Start psplash-systemd progress communication helper.
[ 2.922718] systemd[1]: Finished File System Check on Root Device.
[ 2.927035] systemd[1]: Mounted FUSE Control File System.
[ 2.927821] systemd[1]: Mounted Kernel Configuration File System.
[ 2.933667] systemd[1]: Starting Remount Root and Kernel File Systems...
[ 2.949985] systemd[1]: Started Journal Service.
[ 2.953233] dwc2 fe980000.usb: DWC OTG Controller
[ 2.953285] dwc2 fe980000.usb: new USB bus registered, assigned bus number 1
[ 2.953346] dwc2 fe980000.usb: irq 20, io mem 0xfe980000
[ 2.953819] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.15
[ 2.953844] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.953861] usb usb1: Product: DWC OTG Controller
[ 2.953874] usb usb1: Manufacturer: Linux 5.15.34-v8 dwc2_hsotg
[ 2.953886] usb usb1: SerialNumber: fe980000.usb
[ 2.954815] hub 1-0:1.0: USB hub found
[ 2.954911] hub 1-0:1.0: 1 port detected
[ 2.977062] EXT4-fs (mmcblk0p3): re-mounted. Opts: (null). Quota mode: none.
[ 3.026798] systemd-journald[123]: Received client request to flush runtime journal.
[ 3.076130] audit: type=1334 audit(1651167746.063:2): prog-id=5 op=LOAD
[ 3.076354] audit: type=1334 audit(1651167746.063:3): prog-id=6 op=LOAD
[ 3.265218] usb 1-1: new high-speed USB device number 2 using dwc2
[ 3.470564] rpivid-mem feb00000.hevc-decoder: rpivid-hevcmem initialised: Registers at 0xfeb00000 length 0x00010000
[ 3.471308] rpivid-mem feb10000.rpivid-local-intc: rpivid-intcmem initialised: Registers at 0xfeb10000 length 0x00001000
[ 3.473280] rpivid-mem feb20000.h264-decoder: rpivid-h264mem initialised: Registers at 0xfeb20000 length 0x00010000
[ 3.473673] usb 1-1: New USB device found, idVendor=0424, idProduct=2514, bcdDevice= b.b3
[ 3.473700] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 3.474800] hub 1-1:1.0: USB hub found
[ 3.474928] hub 1-1:1.0: 4 ports detected
[ 3.475559] rpivid-mem feb30000.vp9-decoder: rpivid-vp9mem initialised: Registers at 0xfeb30000 length 0x00010000
[ 3.597427] [drm] Initialized v3d 1.0.0 20180419 for fec00000.v3d on minor 1
[ 3.702702] mc: Linux media interface: v0.10
[ 3.741552] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned.
[ 3.757979] bcm2835_vc_sm_cma_probe: Videocore shared memory driver
[ 3.758028] [vc_sm_connected_init]: start
[ 3.761303] usb 1-1.2: new full-speed USB device number 3 using dwc2
[ 3.777552] [vc_sm_connected_init]: installed successfully
[ 3.834950] videodev: Linux video capture interface: v2.00
[ 3.863854] usb 1-1.2: New USB device found, idVendor=27c0, idProduct=0818, bcdDevice= 5.1b
[ 3.863891] usb 1-1.2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 3.870060] input: HID 27c0:0818 Touchscreen as /devices/platform/soc/fe980000.usb/usb1/1-1/1-1.2/1-1.2:1.0/0003:27C0:0818.0001/input/input0
[ 3.870793] input: HID 27c0:0818 as /devices/platform/soc/fe980000.usb/usb1/1-1/1-1.2/1-1.2:1.0/0003:27C0:0818.0001/input/input1
[ 3.871456] hid-generic 0003:27C0:0818.0001: input,hiddev96,hidraw0: USB HID v1.10 Device [HID 27c0:0818] on usb-fe980000.usb-1.2/input0
[ 3.878427] hid-generic 0003:27C0:0818.0002: hiddev97,hidraw1: USB HID v1.10 Device [HID 27c0:0818] on usb-fe980000.usb-1.2/input1
[ 3.967751] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[ 3.980333] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[ 3.989309] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
[ 4.013423] bcm2835_isp: module is from the staging directory, the quality is unknown, you have been warned.
[ 4.027070] bcm2835_codec: module is from the staging directory, the quality is unknown, you have been warned.
[ 4.036257] bcm2835-isp bcm2835-isp: Device node output[0] registered as /dev/video13
[ 4.038223] bcm2835-isp bcm2835-isp: Device node capture[0] registered as /dev/video14
[ 4.043601] bcm2835-isp bcm2835-isp: Device node capture[1] registered as /dev/video15
[ 4.044815] bcm2835-isp bcm2835-isp: Device node stats[2] registered as /dev/video16
[ 4.044865] bcm2835-isp bcm2835-isp: Register output node 0 with media controller
[ 4.044889] bcm2835-isp bcm2835-isp: Register capture node 1 with media controller
[ 4.044907] bcm2835-isp bcm2835-isp: Register capture node 2 with media controller
[ 4.044924] bcm2835-isp bcm2835-isp: Register capture node 3 with media controller
[ 4.048836] bcm2835-codec bcm2835-codec: Device registered as /dev/video10
[ 4.048901] bcm2835-codec bcm2835-codec: Loaded V4L2 decode
[ 4.059791] bcm2835-isp bcm2835-isp: Device node output[0] registered as /dev/video20
[ 4.059925] bcm2835-codec bcm2835-codec: Device registered as /dev/video11
[ 4.059971] bcm2835-codec bcm2835-codec: Loaded V4L2 encode
[ 4.062297] bcm2835-isp bcm2835-isp: Device node capture[0] registered as /dev/video21
[ 4.063578] bcm2835-isp bcm2835-isp: Device node capture[1] registered as /dev/video22
[ 4.064965] bcm2835-isp bcm2835-isp: Device node stats[2] registered as /dev/video23
[ 4.065017] bcm2835-isp bcm2835-isp: Register output node 0 with media controller
[ 4.065041] bcm2835-isp bcm2835-isp: Register capture node 1 with media controller
[ 4.065059] bcm2835-isp bcm2835-isp: Register capture node 2 with media controller
[ 4.065076] bcm2835-isp bcm2835-isp: Register capture node 3 with media controller
[ 4.067961] bcm2835-isp bcm2835-isp: Loaded V4L2 bcm2835-isp
[ 4.079390] bcm2835-codec bcm2835-codec: Device registered as /dev/video12
[ 4.079449] bcm2835-codec bcm2835-codec: Loaded V4L2 isp
[ 4.086882] bcm2835-codec bcm2835-codec: Device registered as /dev/video18
[ 4.086943] bcm2835-codec bcm2835-codec: Loaded V4L2 image_fx
[ 4.098859] bcm2835-codec bcm2835-codec: Device registered as /dev/video31
[ 4.098928] bcm2835-codec bcm2835-codec: Loaded V4L2 encode_image
[ 4.333382] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 4.362382] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 4.394527] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 4.602051] brcmfmac: F1 signature read @0x18000000=0x15264345
[ 4.636349] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[ 4.637203] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43455-sdio.raspberrypi,4-compute-module.bin failed with error -2
[ 4.643004] usbcore: registered new interface driver brcmfmac
[ 4.763729] random: crng init done
[ 4.889548] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[ 4.889685] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[ 4.895115] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Nov 1 2021 00:37:25 version 7.45.241 (1a2f2fa CY) FWID 01-703fd60
[ 5.000534] input: HID 27c0:0818 as /devices/platform/soc/fe980000.usb/usb1/1-1/1-1.2/1-1.2:1.0/0003:27C0:0818.0001/input/input2
[ 5.001706] hid-multitouch 0003:27C0:0818.0001: input,hiddev96,hidraw0: USB HID v1.10 Device [HID 27c0:0818] on usb-fe980000.usb-1.2/input0
[ 5.184760] EXT4-fs (mmcblk0p4): recovery complete
[ 5.184807] EXT4-fs (mmcblk0p4): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
[ 5.232303] EXT4-fs (mmcblk0p4): resizing filesystem from 166400 to 166400 blocks
[ 5.636997] systemd-journald[123]: Oldest entry in /run/log/journal/802ab4fe843642c5ac4da99ff8274fb8/system.journal is older than the configured file retention duration (1month), suggesting rotation.
[ 5.637044] systemd-journald[123]: /run/log/journal/802ab4fe843642c5ac4da99ff8274fb8/system.journal: Journal header limits reached or header out-of-date, rotating.
[ 5.745072] audit: type=1334 audit(1678367296.632:4): prog-id=7 op=LOAD
[ 5.745380] audit: type=1334 audit(1678367296.636:5): prog-id=8 op=LOAD
[ 6.156052] bcmgenet fd580000.ethernet: configuring instance for external RGMII (RX delay)
[ 6.156513] bcmgenet fd580000.ethernet eth0: Link is Down
[ 6.162158] audit: type=1334 audit(1678367297.052:6): prog-id=9 op=LOAD
[ 6.162806] audit: type=1334 audit(1678367297.052:7): prog-id=10 op=LOAD
[ 6.239770] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
[ 6.667291] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled
[ 7.204393] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled
[ 10.237494] bcmgenet fd580000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[ 10.237571] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 33.757230] cam-dummy-reg: disabling
[ 40.481383] audit: type=1334 audit(1678367331.372:8): prog-id=0 op=UNLOAD
[ 40.481432] audit: type=1334 audit(1678367331.372:9): prog-id=0 op=UNLOAD
[ 412.524479] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled
[ 822.545750] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled
[ 1229.562962] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled
[ 1639.554626] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled
[ 2048.545998] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled
[ 2457.578918] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled
[ 2866.579470] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled
[ 3275.575976] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled
[ 3683.580849] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled
[ 4091.584953] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled
I have an issue opening a serial port using this package.
I have tried in PiOS Lite and a custom Yocto build with same results.
I am running this piece of code
Which logs
After which the application hangs, without any further errors. So it seems the open() call causes this.
Any ideas?