Closed GlennGeenen closed 4 months ago
Can you send us output of dmesg? Important section about spi /unipi devices.
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 5.10.103-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) #1529 SMP Tue Mar 8 12:24:00 GMT 2022
[ 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.5
[ 0.000000] random: fast init done
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] Reserved memory: created CMA memory pool at 0x000000001a800000, 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] On node 0 totalpages: 1012736
[ 0.000000] DMA zone: 1728 pages used for memmap
[ 0.000000] DMA zone: 0 pages reserved
[ 0.000000] DMA zone: 196608 pages, LIFO batch:63
[ 0.000000] HighMem zone: 816128 pages, LIFO batch:63
[ 0.000000] percpu: Embedded 20 pages/cpu s50828 r8192 d22900 u81920
[ 0.000000] pcpu-alloc: s50828 r8192 d22900 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: 1011008
[ 0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 smsc95xx.macaddr=E4:5F:01:F6:29:B3 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
[ 0.000000] Kernel parameter elevator= does not have any effect anymore.
Please use sysfs to set IO scheduler for individual devices.
[ 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 0x0000000014490000-0x0000000018490000] (64MB)
[ 0.000000] Memory: 3596244K/4050944K available (10240K kernel code, 1366K rwdata, 3196K rodata, 2048K init, 882K bss, 127020K reserved, 327680K cma-reserved, 3264512K highmem)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] ftrace: allocating 34355 entries in 101 pages
[ 0.000000] ftrace: allocated 101 pages with 4 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] GIC: Using split EOI/Deactivate mode
[ 0.000000] random: get_random_bytes called from start_kernel+0x3c8/0x59c with crng_init=1
[ 0.000008] sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 2147483647500ns
[ 0.000035] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275 ns
[ 0.000098] bcm2835: system timer (irq = 25)
[ 0.000767] arch_timer: cp15 timer(s) running at 54.00MHz (phys).
[ 0.000789] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xc743ce346, max_idle_ns: 440795203123 ns
[ 0.000812] sched_clock: 56 bits at 54MHz, resolution 18ns, wraps every 4398046511102ns
[ 0.000830] Switching to timer-based delay loop, resolution 18ns
[ 0.001089] Console: colour dummy device 80x30
[ 0.001845] printk: console [tty1] enabled
[ 0.001914] Calibrating delay loop (skipped), value calculated using timer frequency.. 108.00 BogoMIPS (lpj=540000)
[ 0.001969] pid_max: default: 32768 minimum: 301
[ 0.002150] LSM: Security Framework initializing
[ 0.002348] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[ 0.002394] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[ 0.003876] cgroup: Disabling memory control group subsystem
[ 0.004127] CPU: Testing write buffer coherency: ok
[ 0.004603] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.005833] Setting up static identity map for 0x200000 - 0x20003c
[ 0.006049] rcu: Hierarchical SRCU implementation.
[ 0.006988] smp: Bringing up secondary CPUs ...
[ 0.008226] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.009594] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[ 0.010981] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[ 0.011141] smp: Brought up 1 node, 4 CPUs
[ 0.011188] SMP: Total of 4 processors activated (432.00 BogoMIPS).
[ 0.011218] CPU: All CPU(s) started in HYP mode.
[ 0.011245] CPU: Virtualization extensions available.
[ 0.012114] devtmpfs: initialized
[ 0.026490] VFP support v0.3: implementor 41 architecture 3 part 40 variant 8 rev 0
[ 0.026740] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.026793] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.035016] pinctrl core: initialized pinctrl subsystem
[ 0.036121] NET: Registered protocol family 16
[ 0.040099] DMA: preallocated 1024 KiB pool for atomic coherent allocations
[ 0.040936] audit: initializing netlink subsys (disabled)
[ 0.041213] audit: type=2000 audit(0.040:1): state=initialized audit_enabled=0 res=1
[ 0.041801] thermal_sys: Registered thermal governor 'step_wise'
[ 0.042497] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.042552] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.042974] Serial: AMBA PL011 UART driver
[ 0.077948] bcm2835-mbox fe00b880.mailbox: mailbox enabled
[ 0.090914] raspberrypi-firmware soc:firmware: Attached to firmware from 2021-12-01T15:01:54, variant start
[ 0.100927] raspberrypi-firmware soc:firmware: Firmware hash is 71bd3109023a0c8575585ba87cbb374d2eeb038f
[ 0.141757] Kprobes globally optimized
[ 0.147222] bcm2835-dma fe007000.dma: DMA legacy API manager, dmachans=0x1
[ 0.151455] vgaarb: loaded
[ 0.151928] SCSI subsystem initialized
[ 0.152172] usbcore: registered new interface driver usbfs
[ 0.152249] usbcore: registered new interface driver hub
[ 0.152350] usbcore: registered new device driver usb
[ 0.152724] usb_phy_generic phy: supply vcc not found, using dummy regulator
[ 0.154645] clocksource: Switched to clocksource arch_sys_counter
[ 1.101494] VFS: Disk quotas dquot_6.6.0
[ 1.101614] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 1.101796] FS-Cache: Loaded
[ 1.102027] CacheFiles: Loaded
[ 1.112326] NET: Registered protocol family 2
[ 1.112597] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[ 1.114167] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[ 1.114234] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[ 1.114321] TCP bind hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 1.114408] TCP: Hash tables configured (established 8192 bind 8192)
[ 1.114589] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[ 1.115004] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[ 1.115272] NET: Registered protocol family 1
[ 1.116416] RPC: Registered named UNIX socket transport module.
[ 1.116450] RPC: Registered udp transport module.
[ 1.116479] RPC: Registered tcp transport module.
[ 1.116507] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 1.116544] PCI: CLS 0 bytes, default 64
[ 1.116805] Trying to unpack rootfs image as initramfs...
[ 1.437620] Freeing initrd memory: 4892K
[ 1.440708] Initialise system trusted keyrings
[ 1.441014] workingset: timestamp_bits=14 max_order=20 bucket_order=6
[ 1.449338] zbud: loaded
[ 1.451183] FS-Cache: Netfs 'nfs' registered for caching
[ 1.451955] NFS: Registering the id_resolver key type
[ 1.452030] Key type id_resolver registered
[ 1.452060] Key type id_legacy registered
[ 1.452217] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 1.452250] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[ 1.453322] Key type asymmetric registered
[ 1.453354] Asymmetric key parser 'x509' registered
[ 1.453561] bounce: pool size: 64 pages
[ 1.453619] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[ 1.453849] io scheduler mq-deadline registered
[ 1.453880] io scheduler kyber registered
[ 1.460661] brcm-pcie fd500000.pcie: host bridge /scb/pcie@7d500000 ranges:
[ 1.460717] brcm-pcie fd500000.pcie: No bus range found for /scb/pcie@7d500000, using [bus 00-ff]
[ 1.460820] brcm-pcie fd500000.pcie: MEM 0x0600000000..0x063fffffff -> 0x00c0000000
[ 1.460931] brcm-pcie fd500000.pcie: IB MEM 0x0000000000..0x00ffffffff -> 0x0400000000
[ 1.516753] brcm-pcie fd500000.pcie: link up, 5.0 GT/s PCIe x1 (SSC)
[ 1.517139] brcm-pcie fd500000.pcie: PCI host bridge to bus 0000:00
[ 1.517177] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 1.517213] pci_bus 0000:00: root bus resource [mem 0x600000000-0x63fffffff] (bus address [0xc0000000-0xffffffff])
[ 1.517324] pci 0000:00:00.0: [14e4:2711] type 01 class 0x060400
[ 1.517585] pci 0000:00:00.0: PME# supported from D0 D3hot
[ 1.521183] PCI: bus0: Fast back to back transfers disabled
[ 1.521224] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 1.521619] pci 0000:01:00.0: [1106:3483] type 00 class 0x0c0330
[ 1.521764] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00000fff 64bit]
[ 1.522218] pci 0000:01:00.0: PME# supported from D0 D3hot
[ 1.525844] PCI: bus1: Fast back to back transfers disabled
[ 1.525882] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[ 1.525975] pci 0000:00:00.0: BAR 8: assigned [mem 0x600000000-0x6000fffff]
[ 1.526015] pci 0000:01:00.0: BAR 0: assigned [mem 0x600000000-0x600000fff 64bit]
[ 1.526119] pci 0000:00:00.0: PCI bridge to [bus 01]
[ 1.526159] pci 0000:00:00.0: bridge window [mem 0x600000000-0x6000fffff]
[ 1.526587] pcieport 0000:00:00.0: enabling device (0140 -> 0142)
[ 1.526825] pcieport 0000:00:00.0: PME: Signaling with IRQ 65
[ 1.533330] Serial: 8250/16550 driver, 1 ports, IRQ sharing enabled
[ 1.536502] iproc-rng200 fe104000.rng: hwrng registered
[ 1.536832] vc-mem: phys_addr:0x00000000 mem_base=0x3ec00000 mem_size:0x40000000(1024 MiB)
[ 1.537757] gpiomem-bcm2835 fe200000.gpiomem: Initialised: Registers at 0xfe200000
[ 1.550229] brd: module loaded
[ 1.562555] loop: module loaded
[ 1.564371] Loading iSCSI transport class v2.0-870.
[ 1.569393] bcmgenet fd580000.ethernet: GENET 5.0 EPHY: 0x0000
[ 1.694828] unimac-mdio unimac-mdio.-19: Broadcom UniMAC MDIO bus
[ 1.696039] usbcore: registered new interface driver r8152
[ 1.696137] usbcore: registered new interface driver lan78xx
[ 1.696216] usbcore: registered new interface driver smsc95xx
[ 1.743997] xhci_hcd 0000:01:00.0: xHCI Host Controller
[ 1.744051] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 1
[ 1.747336] xhci_hcd 0000:01:00.0: hcc params 0x002841eb hci version 0x100 quirks 0x0000060000000890
[ 1.748709] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
[ 1.748750] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.748787] usb usb1: Product: xHCI Host Controller
[ 1.748817] usb usb1: Manufacturer: Linux 5.10.103-v7l+ xhci-hcd
[ 1.748849] usb usb1: SerialNumber: 0000:01:00.0
[ 1.749596] hub 1-0:1.0: USB hub found
[ 1.749711] hub 1-0:1.0: 1 port detected
[ 1.750398] xhci_hcd 0000:01:00.0: xHCI Host Controller
[ 1.750443] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 2
[ 1.750489] xhci_hcd 0000:01:00.0: Host supports USB 3.0 SuperSpeed
[ 1.751004] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.10
[ 1.751044] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.751080] usb usb2: Product: xHCI Host Controller
[ 1.751110] usb usb2: Manufacturer: Linux 5.10.103-v7l+ xhci-hcd
[ 1.751141] usb usb2: SerialNumber: 0000:01:00.0
[ 1.751879] hub 2-0:1.0: USB hub found
[ 1.751978] hub 2-0:1.0: 4 ports detected
[ 1.753699] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[ 1.754036] dwc_otg: FIQ enabled
[ 1.754050] dwc_otg: NAK holdoff enabled
[ 1.754065] dwc_otg: FIQ split-transaction FSM enabled
[ 1.754083] Module dwc_common_port init
[ 1.754561] usbcore: registered new interface driver uas
[ 1.754760] usbcore: registered new interface driver usb-storage
[ 1.754998] mousedev: PS/2 mouse device common for all mice
[ 1.756697] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
[ 1.760059] sdhci: Secure Digital Host Controller Interface driver
[ 1.760094] sdhci: Copyright(c) Pierre Ossman
[ 1.760818] mmc-bcm2835 fe300000.mmcnr: could not get clk, deferring probe
[ 1.761455] sdhci-pltfm: SDHCI platform and OF driver helper
[ 1.765624] ledtrig-cpu: registered to indicate activity on CPUs
[ 1.766005] hid: raw HID events driver (C) Jiri Kosina
[ 1.766214] usbcore: registered new interface driver usbhid
[ 1.766244] usbhid: USB HID core driver
[ 1.772148] Initializing XFRM netlink socket
[ 1.772209] NET: Registered protocol family 17
[ 1.772360] Key type dns_resolver registered
[ 1.772744] Registering SWP/SWPB emulation handler
[ 1.772941] registered taskstats version 1
[ 1.772997] Loading compiled-in X.509 certificates
[ 1.773899] Key type ._fscrypt registered
[ 1.773932] Key type .fscrypt registered
[ 1.773960] Key type fscrypt-provisioning registered
[ 1.785729] uart-pl011 fe201000.serial: there is not valid maps for state default
[ 1.786011] uart-pl011 fe201000.serial: cts_event_workaround enabled
[ 1.786116] fe201000.serial: ttyAMA0 at MMIO 0xfe201000 (irq = 36, base_baud = 0) is a PL011 rev2
[ 1.792817] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver
[ 1.793910] mmc-bcm2835 fe300000.mmcnr: mmc_debug:0 mmc_debug2:0
[ 1.793944] mmc-bcm2835 fe300000.mmcnr: DMA channel allocated
[ 1.822114] of_cfs_init
[ 1.822397] of_cfs_init: OK
[ 1.840818] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[ 1.842542] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 1.844441] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 1.847486] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[ 1.849188] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 1.854687] mmc0: SDHCI controller on fe340000.mmc [fe340000.mmc] using ADMA
[ 1.865308] Freeing unused kernel memory: 2048K
[ 1.865699] Run /init as init process
[ 1.865728] with arguments:
[ 1.865742] /init
[ 1.865757] with environment:
[ 1.865771] HOME=/
[ 1.865785] TERM=linux
[ 1.929921] mmc1: new high speed SDIO card at address 0001
[ 1.964755] mmc0: new ultra high speed DDR50 SDHC card at address 0001
[ 1.965863] mmcblk0: mmc0:0001 EB1QT 29.8 GiB
[ 1.967779] mmcblk0: p1 p2
[ 2.054696] usb 1-1: new high-speed USB device number 2 using xhci_hcd
[ 2.257307] usb 1-1: New USB device found, idVendor=2109, idProduct=3431, bcdDevice= 4.21
[ 2.257363] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 2.257398] usb 1-1: Product: USB2.0 Hub
[ 2.259506] hub 1-1:1.0: USB hub found
[ 2.259844] hub 1-1:1.0: 4 ports detected
[ 2.626839] rtc-ds1307 1-006f: registered as rtc0
[ 2.629328] rtc-ds1307 1-006f: setting system clock to 2024-04-05T08:31:23 UTC (1712305883)
[ 2.719028] i2c /dev entries driver
[ 2.786738] process '/usr/bin/fstype' started with executable stack
[ 2.814821] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 2.875864] at24 1-0050: supply vcc not found, using dummy regulator
[ 2.908114] i2c i2c-1: new_device: Instantiated device 24c02 at 0x50
[ 2.908442] i2c i2c-1: delete_device: Deleting device 24c02 at 0x50
[ 2.909791] at24 1-0057: supply vcc not found, using dummy regulator
[ 2.911943] at24 1-0057: 128 byte 24c01 EEPROM, writable, 1 bytes/write
[ 2.912510] i2c i2c-1: new_device: Instantiated device 24c01 at 0x57
[ 3.488743] NET: Registered protocol family 10
[ 3.490103] Segment Routing with IPv6
[ 3.548952] systemd[1]: systemd 241 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid)
[ 3.549718] systemd[1]: Detected architecture arm.
[ 3.607568] systemd[1]: Set hostname to
[ 5.234817] [vc_sm_connected_init]: installed successfully [ 5.287232] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned. [ 5.302458] bcm2835_isp: module is from the staging directory, the quality is unknown, you have been warned. [ 5.322977] [drm] Initialized v3d 1.0.0 20180419 for fec00000.v3d on minor 0 [ 5.328036] bcm2835-isp bcm2835-isp: Device node output[0] registered as /dev/video13 [ 5.329489] bcm2835-isp bcm2835-isp: Device node capture[0] registered as /dev/video14 [ 5.330042] bcm2835-isp bcm2835-isp: Device node capture[1] registered as /dev/video15 [ 5.330352] cfg80211: Loading compiled-in X.509 certificates for regulatory database [ 5.330525] bcm2835-isp bcm2835-isp: Device node stats[2] registered as /dev/video16 [ 5.330567] bcm2835-isp bcm2835-isp: Register output node 0 with media controller [ 5.330598] bcm2835-isp bcm2835-isp: Register capture node 1 with media controller [ 5.330622] bcm2835-isp bcm2835-isp: Register capture node 2 with media controller [ 5.330654] bcm2835-isp bcm2835-isp: Register capture node 3 with media controller [ 5.330912] bcm2835-isp bcm2835-isp: Loaded V4L2 bcm2835-isp [ 5.357953] [drm] No displays found. Consider forcing hotplug if HDMI is attached [ 5.358096] vc4-drm gpu: bound fe600000.firmwarekms (ops vc4_fkms_ops [vc4]) [ 5.358684] [drm] Initialized vc4 0.0.0 20140616 for gpu on minor 1 [ 5.380667] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7' [ 5.486174] brcmfmac: F1 signature read @0x18000000=0x15264345 [ 5.514551] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6 [ 5.517837] usbcore: registered new interface driver brcmfmac [ 5.786937] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6 [ 5.787065] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6 [ 5.796605] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Jan 4 2021 19:56:29 version 7.45.229 (617f1f5 CY) FWID 01-2dbd9d2e [ 5.911992] unipi: loading out-of-tree module taints kernel. [ 5.916931] spi_master spi0: will run message pump with realtime priority [ 5.922949] UNIPISPI: Probe did not detect a valid UniPi device at CS3 [ 5.929362] UNIPISPI: Probe did not detect a valid UniPi device at CS2 [ 5.935582] UNIPISPI: Probe did not detect a valid UniPi device at CS1 [ 5.935744] UNIPISPI: SPI Driver Registered, Major Version: Version 1.112:2022:04:20 [ 5.936444] UNIPISPI: ModBus/SPI interface /dev/unipispi (511:0) created. [ 6.356029] 8021q: 802.1Q VLAN Support v1.8 [ 6.538187] bcmgenet fd580000.ethernet: configuring instance for external RGMII (RX delay) [ 6.538732] bcmgenet fd580000.ethernet eth0: Link is Down [ 7.109211] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled [ 9.790488] random: crng init done [ 9.790510] random: 7 urandom warning(s) missed due to ratelimiting [ 10.714980] bcmgenet fd580000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off [ 10.715046] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
i disabled the wifi so the brcmfmac errors disappeared. No red lines, only a bold message: Kernel parameter elevator= does not have any effect anymore. Please use sysfs to set IO scheduler for individual devices.
Hello It looks like Hardware problem. The device cannot establish a connection with any section. Did this device work with another OS?
You can try beta version with newer drivers.
beta version shows errors on boot: [ 5.906682] unipi-spi spi0.3: spi channel looks empty [ 5.910061] unipi-spi spi0.2: spi channel looks empty [ 5.910789] unipi-spi spi0.1: spi channel looks empty
evok log: INFO:evok:Starting Evok v3.0.1 using config directory '/etc/evok'. INFO:evok:Setting logging level to 'DEBUG'. DEBUG:evok:YAML Definition loaded: /etc/evok/hw_definitions/13.yaml, definition count 0 DEBUG:evok:YAML Definition loaded: /etc/evok/hw_definitions/00.yaml, definition count 1 DEBUG:evok:YAML Definition loaded: /etc/evok/hw_definitions/xS50.yaml, definition count 2 DEBUG:evok:YAML Definition loaded: /etc/evok/hw_definitions/xG18.yaml, definition count 3 DEBUG:evok:YAML Definition loaded: /etc/evok/hw_definitions/07.yaml, definition count 4 DEBUG:evok:YAML Definition loaded: /etc/evok/hw_definitions/08.yaml, definition count 5 DEBUG:evok:YAML Definition loaded: /etc/evok/hw_definitions/xS40.yaml, definition count 6 DEBUG:evok:YAML Definition loaded: /etc/evok/hw_definitions/IAQ-TH.yaml, definition count 7 DEBUG:evok:YAML Definition loaded: /etc/evok/hw_definitions/IAQ-THC.yaml, definition count 8 DEBUG:evok:YAML Definition loaded: /etc/evok/hw_definitions/01.yaml, definition count 9 DEBUG:evok:YAML Definition loaded: /etc/evok/hw_definitions/CUSTOM_MODBUS_DEVICE.yaml, definition count 10 DEBUG:evok:YAML Definition loaded: /etc/evok/hw_definitions/xS51.yaml, definition count 11 DEBUG:evok:YAML Definition loaded: /etc/evok/hw_definitions/0A.yaml, definition count 12 DEBUG:evok:YAML Definition loaded: /etc/evok/hw_definitions/xS11.yaml, definition count 13 DEBUG:evok:YAML Definition loaded: /etc/evok/hw_definitions/xS10.yaml, definition count 14 DEBUG:evok:YAML Definition loaded: /etc/evok/hw_definitions/09.yaml, definition count 15 DEBUG:evok:YAML Definition loaded: /etc/evok/hw_definitions/0F.yaml, definition count 16 DEBUG:evok:YAML Definition loaded: /etc/evok/hw_definitions/xS30.yaml, definition count 17 DEBUG:evok:Load aliases with {} INFO:evok:HTTP server API listening on 127.0.0.1:8080 DEBUG:evok:Registered new device 'tcp_bus' with circuit LOCAL_TCP (<evok.config.TcpBusDevice object at 0xb5c781f0>) DEBUG:evok:Registered new device 'device_info' with circuit Neuron_L203_89 (<evok.config.DeviceInfo object at 0xb5c78e50>) INFO:evok:Creating bus 'LOCAL_TCP' with type 'MODBUSTCP' with devices. INFO:evok:^ Creating device '1' with type 'MODBUSTCP' DEBUG:evok:Registered new device 'modbus_slave' with circuit 1 (<evok.modbus_slave.ModbusSlave object at 0xb5c78750>) INFO:evok:^ Creating device '2' with type 'MODBUSTCP' DEBUG:evok:Registered new device 'modbus_slave' with circuit 2 (<evok.modbus_slave.ModbusSlave object at 0xb5c78cf0>) INFO:evok:^ Creating device '3' with type 'MODBUSTCP' DEBUG:evok:Registered new device 'modbus_slave' with circuit 3 (<evok.modbus_slave.ModbusSlave object at 0xb5c879f0>) DEBUG:evok:Registered new device 'run' with circuit alias (<evok.devices.Aliases object at 0xb5cb6c90>) INFO:evok:Initial reading the Modbus board on Modbus address 1 (1) INFO:evok:Initial reading the Modbus board on Modbus address 2 (2) INFO:evok:Initial reading the Modbus board on Modbus address 3 (3) DEBUG:evok:Registered new device 'input' with circuit 2_01 (<evok.modbus_slave.Input object at 0xb5c87090>) DEBUG:evok:Registered new device 'input' with circuit 2_02 (<evok.modbus_slave.Input object at 0xb5c87d10>) DEBUG:evok:Registered new device 'input' with circuit 2_03 (<evok.modbus_slave.Input object at 0xb5c87f10>) DEBUG:evok:Registered new device 'input' with circuit 2_04 (<evok.modbus_slave.Input object at 0xb5c87970>) DEBUG:evok:Registered new device 'input' with circuit 2_05 (<evok.modbus_slave.Input object at 0xb5c76a10>) DEBUG:evok:Registered new device 'input' with circuit 2_06 (<evok.modbus_slave.Input object at 0xb5c768d0>) DEBUG:evok:Registered new device 'input' with circuit 2_07 (<evok.modbus_slave.Input object at 0xb5c76ab0>) DEBUG:evok:Registered new device 'input' with circuit 2_08 (<evok.modbus_slave.Input object at 0xb5c76c50>) DEBUG:evok:Registered new device 'input' with circuit 2_09 (<evok.modbus_slave.Input object at 0xb5c76c70>) DEBUG:evok:Registered new device 'input' with circuit 2_10 (<evok.modbus_slave.Input object at 0xb5c76cd0>) DEBUG:evok:Registered new device 'input' with circuit 2_11 (<evok.modbus_slave.Input object at 0xb5c76a90>) DEBUG:evok:Registered new device 'input' with circuit 2_12 (<evok.modbus_slave.Input object at 0xb5c76670>) DEBUG:evok:Registered new device 'input' with circuit 2_13 (<evok.modbus_slave.Input object at 0xb5c76a70>) DEBUG:evok:Registered new device 'input' with circuit 2_14 (<evok.modbus_slave.Input object at 0xb5c76130>) DEBUG:evok:Registered new device 'input' with circuit 2_15 (<evok.modbus_slave.Input object at 0xb5c767f0>) DEBUG:evok:Registered new device 'input' with circuit 2_16 (<evok.modbus_slave.Input object at 0xb5c76570>) DEBUG:evok:Registered new device 'relay' with circuit 2_01 (<evok.modbus_slave.Relay object at 0xb5c76bb0>) DEBUG:evok:Registered new device 'relay' with circuit 2_02 (<evok.modbus_slave.Relay object at 0xb5c76eb0>) DEBUG:evok:Registered new device 'relay' with circuit 2_03 (<evok.modbus_slave.Relay object at 0xb5c759d0>) DEBUG:evok:Registered new device 'relay' with circuit 2_04 (<evok.modbus_slave.Relay object at 0xb5c75b50>) DEBUG:evok:Registered new device 'relay' with circuit 2_05 (<evok.modbus_slave.Relay object at 0xb5c752d0>) DEBUG:evok:Registered new device 'relay' with circuit 2_06 (<evok.modbus_slave.Relay object at 0xb5c753f0>) DEBUG:evok:Registered new device 'relay' with circuit 2_07 (<evok.modbus_slave.Relay object at 0xb5c75410>) DEBUG:evok:Registered new device 'relay' with circuit 2_08 (<evok.modbus_slave.Relay object at 0xb5c75c70>) DEBUG:evok:Registered new device 'relay' with circuit 2_09 (<evok.modbus_slave.Relay object at 0xb5c752b0>) DEBUG:evok:Registered new device 'relay' with circuit 2_10 (<evok.modbus_slave.Relay object at 0xb5c75a70>) DEBUG:evok:Registered new device 'relay' with circuit 2_11 (<evok.modbus_slave.Relay object at 0xb5c75db0>) DEBUG:evok:Registered new device 'relay' with circuit 2_12 (<evok.modbus_slave.Relay object at 0xb5c75730>) DEBUG:evok:Registered new device 'relay' with circuit 2_13 (<evok.modbus_slave.Relay object at 0xb5c75190>) DEBUG:evok:Registered new device 'relay' with circuit 2_14 (<evok.modbus_slave.Relay object at 0xb5c754d0>) DEBUG:evok:Registered new device 'watchdog' with circuit 2_01 (<evok.modbus_slave.Watchdog object at 0xb5c753b0>) DEBUG:evok:Registered new device 'input' with circuit 3_01 (<evok.modbus_slave.Input object at 0xb5c87e50>) DEBUG:evok:Registered new device 'input' with circuit 3_02 (<evok.modbus_slave.Input object at 0xb5c75590>) DEBUG:evok:Registered new device 'input' with circuit 3_03 (<evok.modbus_slave.Input object at 0xb5c75030>) DEBUG:evok:Registered new device 'input' with circuit 3_04 (<evok.modbus_slave.Input object at 0xb5c75e70>) DEBUG:evok:Registered new device 'input' with circuit 3_05 (<evok.modbus_slave.Input object at 0xb5c75b70>) DEBUG:evok:Registered new device 'input' with circuit 3_06 (<evok.modbus_slave.Input object at 0xb5c807f0>) DEBUG:evok:Registered new device 'input' with circuit 3_07 (<evok.modbus_slave.Input object at 0xb5c80730>) DEBUG:evok:Registered new device 'input' with circuit 3_08 (<evok.modbus_slave.Input object at 0xb5c80db0>) DEBUG:evok:Registered new device 'input' with circuit 3_09 (<evok.modbus_slave.Input object at 0xb5c80070>) DEBUG:evok:Registered new device 'input' with circuit 3_10 (<evok.modbus_slave.Input object at 0xb5c80fd0>) DEBUG:evok:Registered new device 'input' with circuit 3_11 (<evok.modbus_slave.Input object at 0xb5c80110>) DEBUG:evok:Registered new device 'input' with circuit 3_12 (<evok.modbus_slave.Input object at 0xb5c80ed0>) DEBUG:evok:Registered new device 'input' with circuit 3_13 (<evok.modbus_slave.Input object at 0xb5c80f10>) DEBUG:evok:Registered new device 'input' with circuit 3_14 (<evok.modbus_slave.Input object at 0xb5c801b0>) DEBUG:evok:Registered new device 'input' with circuit 3_15 (<evok.modbus_slave.Input object at 0xb5c80cd0>) DEBUG:evok:Registered new device 'input' with circuit 3_16 (<evok.modbus_slave.Input object at 0xb5c807b0>) DEBUG:evok:Registered new device 'relay' with circuit 3_01 (<evok.modbus_slave.Relay object at 0xb5c80330>) DEBUG:evok:Registered new device 'relay' with circuit 3_02 (<evok.modbus_slave.Relay object at 0xb5c80a70>) DEBUG:evok:Registered new device 'relay' with circuit 3_03 (<evok.modbus_slave.Relay object at 0xb5c80f90>) DEBUG:evok:Registered new device 'relay' with circuit 3_04 (<evok.modbus_slave.Relay object at 0xb5c802f0>) DEBUG:evok:Registered new device 'relay' with circuit 3_05 (<evok.modbus_slave.Relay object at 0xb5c80650>) DEBUG:evok:Registered new device 'relay' with circuit 3_06 (<evok.modbus_slave.Relay object at 0xb5c80210>) DEBUG:evok:Registered new device 'relay' with circuit 3_07 (<evok.modbus_slave.Relay object at 0xb5c85690>) DEBUG:evok:Registered new device 'relay' with circuit 3_08 (<evok.modbus_slave.Relay object at 0xb5c85030>) DEBUG:evok:Registered new device 'relay' with circuit 3_09 (<evok.modbus_slave.Relay object at 0xb5c857d0>) DEBUG:evok:Registered new device 'relay' with circuit 3_10 (<evok.modbus_slave.Relay object at 0xb5c852f0>) DEBUG:evok:Registered new device 'relay' with circuit 3_11 (<evok.modbus_slave.Relay object at 0xb5c85550>) DEBUG:evok:Registered new device 'relay' with circuit 3_12 (<evok.modbus_slave.Relay object at 0xb5c85e50>) DEBUG:evok:Registered new device 'relay' with circuit 3_13 (<evok.modbus_slave.Relay object at 0xb5c85210>) DEBUG:evok:Registered new device 'relay' with circuit 3_14 (<evok.modbus_slave.Relay object at 0xb5c85af0>) DEBUG:evok:Registered new device 'watchdog' with circuit 3_01 (<evok.modbus_slave.Watchdog object at 0xb5c85270>) DEBUG:evok:Registered new device 'input' with circuit 1_01 (<evok.modbus_slave.Input object at 0xb5c87930>) DEBUG:evok:Registered new device 'input' with circuit 1_02 (<evok.modbus_slave.Input object at 0xb5c87890>) DEBUG:evok:Registered new device 'input' with circuit 1_03 (<evok.modbus_slave.Input object at 0xb5c76b70>) DEBUG:evok:Registered new device 'input' with circuit 1_04 (<evok.modbus_slave.Input object at 0xb5c85470>) DEBUG:evok:Registered new device 'output' with circuit 1_01 (<evok.modbus_slave.Output object at 0xb5c853d0>) DEBUG:evok:Registered new device 'output' with circuit 1_02 (<evok.modbus_slave.Output object at 0xb5c85a50>) DEBUG:evok:Registered new device 'output' with circuit 1_03 (<evok.modbus_slave.Output object at 0xb5c85eb0>) DEBUG:evok:Registered new device 'output' with circuit 1_04 (<evok.modbus_slave.Output object at 0xb5c85e90>) DEBUG:evok:Registered new device 'ai' with circuit 1_01 (<evok.modbus_slave.AnalogInput object at 0xb5c85f50>) DEBUG:evok:Registered new device 'ao' with circuit 1_01 (<evok.modbus_slave.AnalogOutputBrain object at 0xb5c85ef0>) DEBUG:evok:Registered new device 'led' with circuit 1_01 (<evok.modbus_slave.ULED object at 0xb5c851d0>) DEBUG:evok:Registered new device 'led' with circuit 1_02 (<evok.modbus_slave.ULED object at 0xb5c85f30>) DEBUG:evok:Registered new device 'led' with circuit 1_03 (<evok.modbus_slave.ULED object at 0xb5c85f90>) DEBUG:evok:Registered new device 'led' with circuit 1_04 (<evok.modbus_slave.ULED object at 0xb5c85710>) DEBUG:evok:Registered new device 'owpower' with circuit 1 (<evok.modbus_slave.OwPower object at 0xb5c85d50>) DEBUG:evok:Registered new device 'watchdog' with circuit 1_01 (<evok.modbus_slave.Watchdog object at 0xb5c85a30>) DEBUG:evok:New WebSocket client connected ERROR:evok:3: Error while scanning: 'NoneType' object has no attribute 'done' Traceback (most recent call last): File "/opt/evok/lib/python3.11/site-packages/evok/modbus_slave.py", line 220, in scan_boards if await self.modbus_cache_map.do_scan(slave=self.modbus_address) is True: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/evok/lib/python3.11/site-packages/evok/modbus_slave.py", line 98, in do_scan vals = await self.modbus_slave.client.read_holding_registers(m_reg_group['start_reg'], m_reg_group['count'], slave=slave) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/evok/lib/python3.11/site-packages/evok/modbus_unipi.py", line 57, in ret return await operation(*args, *kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/evok/lib/python3.11/site-packages/pymodbus/client/base.py", line 206, in async_execute self.close(reconnect=True) File "/opt/evok/lib/python3.11/site-packages/pymodbus/client/base.py", line 153, in close self.connection_lost(asyncio.TimeoutError("Server not responding")) File "/opt/evok/lib/python3.11/site-packages/pymodbus/transport/transport.py", line 307, in connection_lost self.callback_disconnected(reason) File "/opt/evok/lib/python3.11/site-packages/pymodbus/client/base.py", line 224, in callback_disconnected self.raise_future( File "/opt/evok/lib/python3.11/site-packages/pymodbus/client/base.py", line 234, in raise_future if not my_future.done(): ^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'done' WARNING:evok:Slowing down device: '3' ERROR:evok:2: Error while scanning: Modbus Error: [Connection] Connection lost during request Traceback (most recent call last): File "/opt/evok/lib/python3.11/site-packages/evok/modbus_slave.py", line 220, in scan_boards if await self.modbus_cache_map.do_scan(slave=self.modbus_address) is True: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/evok/lib/python3.11/site-packages/evok/modbus_slave.py", line 98, in do_scan vals = await self.modbus_slave.client.read_holding_registers(m_reg_group['start_reg'], m_reg_group['count'], slave=slave) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/evok/lib/python3.11/site-packages/evok/modbus_unipi.py", line 57, in ret return await operation(args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/evok/lib/python3.11/site-packages/pymodbus/client/base.py", line 199, in async_execute resp = await asyncio.wait_for( ^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/asyncio/tasks.py", line 479, in wait_for return fut.result() ^^^^^^^^^^^^ pymodbus.exceptions.ConnectionException: Modbus Error: [Connection] Connection lost during request WARNING:evok:Slowing down device: '2'
Our service department determined that the SPI bus fault was caused by the use of non-original DIN holder mounting screws. The fault was not destructive, the controller is now working properly.
Prerequisites
Log files needed
Description
Inputs/Outputs dashboard empty. Error in the logs when I interact with NodeRed:
Steps to Reproduce