Page 1 of 1

RevPi Core power led flashing red

Posted: 16 Dec 2020, 20:51
by LuukvanLoon
Hello,

I am programming an application for a RevPi Core with 1 DIO and 1 AIO card.

The application works well, but the power led of the RevPi Core sometimes turns red (without pattern), and then after one second it turns green again.

I have looked up what this means here, this means that the piControl driver resets. Is this true, and how can I check why the driver resets?

With kind regards,

Luuk van Loon

Re: RevPi Core power led flashing red

Posted: 18 Dec 2020, 10:34
by Amar
Firstly, check if you are having the lastes updates

$ sudo apt-get update && sudo apt-get uppgrade && sudo reboot

To verify the upgrade check the kernel version as following:
$ uname -a
Linux RevPi17643 4.19.95-rt38-v7 #1 SMP PREEMPT RT Tue, 03 Nov 2020 10:05:20 +0100 armv7l GNU/Linux

2)Please send me the kernel log when such activity is observed
$ dmesg

Regards,
Amar

Re: RevPi Core power led flashing red

Posted: 21 Dec 2020, 08:29
by LuukvanLoon
Hello Amar,

Thank you for your reaction.
Firstly, check if you are having the lastes updates

$ sudo apt-get update && sudo apt-get uppgrade && sudo reboot
When i do this, i get the following reaction:

Code: Select all

pi@RevPi40427:~ $ uname -a
Linux Revpi40427 4.19.95-rt38+ #1 PREEMPT TR Tue, 16 Jun 2020 13:25:43 +0200 armv6l GNU/Linux
Please send me the kernel log when such activity is observed
$ dmesg
This is the reactor i get when i use the "dmesg" command:

Code: Select all

Linux RevPi40427 4.19.95-rt38+ #1 PREEMPT RT Tue, 16 Jun 2020 13:25:43 +0200 armv6l GNU/Linux
pi@RevPi40427:~ $ dmesg
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.19.95-rt38+ (admin@kunbus.de) (gcc version 8.3.0 (Debian 8.3.0-2)) #1 PREEMPT RT Tue, 16 Jun 2020 13:25:43 +0200
[    0.000000] CPU: ARMv6-compatible processor [410fb767] revision 7 (ARMv7), cr=00c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
[    0.000000] OF: fdt: Machine model: Raspberry Pi Compute Module Rev 1.0
[    0.000000] Memory policy: Data cache writeback
[    0.000000] cma: Reserved 8 MiB at 0x1b400000
[    0.000000] On node 0 totalpages: 114688
[    0.000000]   Normal zone: 1008 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 114688 pages, LIFO batch:31
[    0.000000] random: get_random_bytes called from start_kernel+0x90/0x4c8 with crng_init=0
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 113680
[    0.000000] Kernel command line: coherent_pool=4M bcm2708_fb.fbwidth=640 bcm2708_fb.fbheight=480 bcm2708_fb.fbswap=1 smsc95xx.macaddr=B8:27:EB:79:09:9F vc_mem.mem_base=0x1ec00000 vc_mem.mem_size=0x20000000  dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait nosplash plymouth.ignore-serial-consoles
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 433580K/458752K available (7598K kernel code, 668K rwdata, 2216K rodata, 468K init, 800K bss, 16980K reserved, 8192K cma-reserved)
[    0.000000] Virtual kernel memory layout:
                   vector  : 0xffff0000 - 0xffff1000   (   4 kB)
                   fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
                   vmalloc : 0xdc800000 - 0xff800000   ( 560 MB)
                   lowmem  : 0xc0000000 - 0xdc000000   ( 448 MB)
                   modules : 0xbf000000 - 0xc0000000   (  16 MB)
                     .text : 0x(ptrval) - 0x(ptrval)   (7599 kB)
                     .init : 0x(ptrval) - 0x(ptrval)   ( 468 kB)
                     .data : 0x(ptrval) - 0x(ptrval)   ( 669 kB)
                      .bss : 0x(ptrval) - 0x(ptrval)   ( 801 kB)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] ftrace: allocating 26567 entries in 78 pages
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:     RCU priority boosting: priority 1 delay 500 ms.
[    0.000000]  No expedited grace period (rcu_normal_after_boot).
[    0.000000]  Tasks RCU enabled.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] [Firmware Bug]: Bootloader left irq enabled: bank 1 irq 9
[    0.000030] sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 2147483647500ns
[    0.000078] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275 ns
[    0.000191] bcm2835: system timer (irq = 27)
[    0.000637] Console: colour dummy device 80x30
[    0.001815] console [tty1] enabled
[    0.001874] Calibrating delay loop... 697.95 BogoMIPS (lpj=3489792)
[    0.060341] pid_max: default: 32768 minimum: 301
[    0.060630] Security Framework initialized
[    0.060646] Yama: becoming mindful.
[    0.061014] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.061032] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.062730] CPU: Testing write buffer coherency: ok
[    0.064880] Setting up static identity map for 0x8200 - 0x825c
[    0.065753] rcu: Hierarchical SRCU implementation.
[    0.068838] devtmpfs: initialized
[    0.083841] VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 5
[    0.084734] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.084841] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.086307] pinctrl core: initialized pinctrl subsystem
[    0.088435] NET: Registered protocol family 16
[    0.094668] DMA: preallocated 4096 KiB pool for atomic coherent allocations
[    0.104332] hw-breakpoint: found 6 breakpoint and 1 watchpoint registers.
[    0.104421] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.104624] Serial: AMBA PL011 UART driver
[    0.108863] bcm2835-mbox 2000b880.mailbox: mailbox enabled
[    0.166300] bcm2835-dma 20007000.dma: DMA legacy API manager at (ptrval), dmachans=0x1
[    0.169409] SCSI subsystem initialized
[    0.169815] usbcore: registered new interface driver usbfs
[    0.170014] usbcore: registered new interface driver hub
[    0.170331] usbcore: registered new device driver usb
[    0.191369] raspberrypi-firmware soc:firmware: Attached to firmware from 2019-08-15 12:06, variant start
[    0.201392] raspberrypi-firmware soc:firmware: Firmware hash is 0e6daa5106dd4164474616408e0dc24f997ffcf3
[    0.214481] clocksource: Switched to clocksource timer
[    0.370026] VFS: Disk quotas dquot_6.6.0
[    0.370251] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.371031] FS-Cache: Loaded
[    0.371494] CacheFiles: Loaded
[    0.396798] NET: Registered protocol family 2
[    0.398570] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 7168 bytes)
[    0.398735] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.398878] TCP bind hash table entries: 4096 (order: 4, 98304 bytes)
[    0.399242] TCP: Hash tables configured (established 4096 bind 4096)
[    0.399495] UDP hash table entries: 256 (order: 2, 16384 bytes)
[    0.399619] UDP-Lite hash table entries: 256 (order: 2, 16384 bytes)
[    0.400241] NET: Registered protocol family 1
[    0.401642] RPC: Registered named UNIX socket transport module.
[    0.401718] RPC: Registered udp transport module.
[    0.401756] RPC: Registered tcp transport module.
[    0.401791] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.404819] hw perfevents: no irqs for PMU, sampling events not supported
[    0.404967] hw perfevents: enabled with armv6_1176 PMU driver, 3 counters available
[    0.411519] Initialise system trusted keyrings
[    0.412150] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[    0.431816] FS-Cache: Netfs 'nfs' registered for caching
[    0.433445] NFS: Registering the id_resolver key type
[    0.433573] Key type id_resolver registered
[    0.433620] Key type id_legacy registered
[    0.433688] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.441543] Key type asymmetric registered
[    0.441623] Asymmetric key parser 'x509' registered
[    0.441791] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[    0.442365] io scheduler noop registered
[    0.442430] io scheduler deadline registered (default)
[    0.443147] io scheduler cfq registered
[    0.443209] io scheduler mq-deadline registered (default)
[    0.443255] io scheduler kyber registered
[    0.447049] bcm2708_fb soc:fb: FB found 1 display(s)
[    0.456221] Console: switching to colour frame buffer device 80x30
[    0.461276] bcm2708_fb soc:fb: Registered framebuffer for display 0, size 640x480
[    0.467289] Serial: 8250/16550 driver, 1 ports, IRQ sharing enabled
[    0.472453] bcm2835-rng 20104000.rng: hwrng registered
[    0.475211] vc-mem: phys_addr:0x00000000 mem_base=0x1ec00000 mem_size:0x20000000(512 MiB)
[    0.480321] vc-sm: Videocore shared memory driver
[    0.483075] gpiomem-bcm2835 20200000.gpiomem: Initialised: Registers at 0x20200000
[    0.512320] brd: module loaded
[    0.533199] loop: module loaded
[    0.536432] Loading iSCSI transport class v2.0-870.
[    0.539549] usbcore: registered new interface driver smsc95xx
[    0.541514] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    0.571502] dwc_otg 20980000.usb: base=(ptrval)
[    0.774903] Core Release: 2.80a
[    0.776779] Setting default values for core params
[    0.778558] Finished setting default values for core params
[    0.982149] Using Buffer DMA mode
[    0.984014] Periodic Transfer Interrupt Enhancement - disabled
[    0.985991] Multiprocessor Interrupt Enhancement - disabled
[    0.987841] OTG VER PARAM: 0, OTG VER FLAG: 0
[    0.989692] Dedicated Tx FIFOs mode
[    0.992534] WARN::dwc_otg_hcd_init:1074: FIQ DMA bounce buffers: virt = db814000 dma = 0x5b814000 len=9024
[    0.996531] FIQ FSM acceleration enabled for :
               Non-periodic Split Transactions
               Periodic Split Transactions
               High-Speed Isochronous Endpoints
               Interrupt/Control Split Transaction hack enabled
[    1.005202] dwc_otg: Microframe scheduler enabled
[    1.005322] WARN::hcd_init_fiq:457: FIQ on core 0
[    1.005337] WARN::hcd_init_fiq:458: FIQ ASM at c057ee64 length 36
[    1.005363] WARN::hcd_init_fiq:497: MPHI regs_base at dc810000
[    1.005396] dwc_otg 20980000.usb: DWC OTG Controller
[    1.012026] dwc_otg 20980000.usb: new USB bus registered, assigned bus number 1
[    1.015954] dwc_otg 20980000.usb: irq 56, io mem 0x00000000
[    1.017779] Init: Port Power? op_state=1
[    1.019457] Init: Power Port (0)
[    1.021736] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
[    1.025350] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.028853] usb usb1: Product: DWC OTG Controller
[    1.030647] usb usb1: Manufacturer: Linux 4.19.95-rt38+ dwc_otg_hcd
[    1.032458] usb usb1: SerialNumber: 20980000.usb
[    1.035923] hub 1-0:1.0: USB hub found
[    1.037969] hub 1-0:1.0: 1 port detected
[    1.041205] dwc_otg: FIQ enabled
[    1.041222] dwc_otg: NAK holdoff enabled
[    1.041231] dwc_otg: FIQ split-transaction FSM enabled
[    1.041253] Module dwc_common_port init
[    1.042301] usbcore: registered new interface driver usb-storage
[    1.045017] mousedev: PS/2 mouse device common for all mice
[    1.049415] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
[    1.051940] bcm2835-cpufreq: min=700000 max=700000
[    1.055105] sdhci: Secure Digital Host Controller Interface driver
[    1.057021] sdhci: Copyright(c) Pierre Ossman
[    1.060031] sdhost-bcm2835 20202000.mmc: could not get clk, deferring probe
[    1.062547] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.066812] hidraw: raw HID events driver (C) Jiri Kosina
[    1.069110] usbcore: registered new interface driver usbhid
[    1.071033] usbhid: USB HID core driver
[    1.073985] vchiq: vchiq_init_state: slot_zero = (ptrval), is_master = 0
[    1.078976] [vc_sm_connected_init]: start
[    1.089568] [vc_sm_connected_init]: end - returning 0
[    1.093800] Initializing XFRM netlink socket
[    1.096136] NET: Registered protocol family 17
[    1.098207] Key type dns_resolver registered
[    1.102413] registered taskstats version 1
[    1.104239] Loading compiled-in X.509 certificates
[    1.122043] 20201000.serial: ttyAMA0 at MMIO 0x20201000 (irq = 81, base_baud = 0) is a PL011 rev2
[    1.134234] rtc-pcf2127-i2c 1-0051: rtc core: registered rtc-pcf2127-i2c as rtc0
[    1.140885] rtc-pcf2127-i2c 1-0051: setting system clock to 2020-12-20 13:17:18 UTC (1608470238)
[    1.254813] Indeed it is in host mode hprt0 = 00021501
[    1.324924] random: fast init done
[    1.464823] usb 1-1: new high-speed USB device number 2 using dwc_otg
[    1.471058] Indeed it is in host mode hprt0 = 00001101
[    1.716311] usb 1-1: New USB device found, idVendor=0424, idProduct=9514, bcdDevice= 2.00
[    1.727540] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    1.737920] hub 1-1:1.0: USB hub found
[    1.744176] hub 1-1:1.0: 5 ports detected
[    1.930347] random: crng init done
[    1.972089] sdhost: log_buf @ d8a822b0 (5b813000)
[    2.027510] mmc0: sdhost-bcm2835 loaded - DMA enabled (>1)
[    2.032775] of_cfs_init
[    2.045171] of_cfs_init: OK
[    2.048453] Waiting for root device /dev/mmcblk0p2...
[    2.074824] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[    2.118623] mmc0: new high speed MMC card at address 0001
[    2.122701] mmcblk0: mmc0:0001 4FEACB 3.64 GiB
[    2.126102] mmcblk0boot0: mmc0:0001 4FEACB partition 1 4.00 MiB
[    2.129147] mmcblk0boot1: mmc0:0001 4FEACB partition 2 4.00 MiB
[    2.131615] mmcblk0rpmb: mmc0:0001 4FEACB partition 3 512 KiB, chardev (246:0)
[    2.138155]  mmcblk0: p1 p2
[    2.167734] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem
[    2.171398] EXT4-fs (mmcblk0p2): write access will be enabled during recovery
[    2.206054] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00, bcdDevice= 2.00
[    2.210294] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.221693] smsc95xx v1.0.6
[    2.278889] EXT4-fs (mmcblk0p2): orphan cleanup on readonly fs
[    2.306139] EXT4-fs (mmcblk0p2): 1 orphan inode deleted
[    2.308112] EXT4-fs (mmcblk0p2): recovery complete
[    2.330600] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    2.336716] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-20980000.usb-1.1, smsc95xx USB 2.0 Ethernet, c8:3e:a7:01:86:32
[    2.341263] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[    2.344911] devtmpfs: mounted
[    2.351586] Freeing unused kernel memory: 468K
[    2.353646] This architecture does not have kernel memory protection.
[    2.355903] Run /sbin/init as init process
[    3.140887] NET: Registered protocol family 10
[    3.146613] Segment Routing with IPv6
[    3.244807] systemd[1]: systemd 232 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN)
[    3.252435] systemd[1]: Detected architecture arm.
[    3.281000] systemd[1]: Set hostname to <RevPi40427>.
[    4.707363] systemd[1]: Listening on fsck to fsckd communication Socket.
[    4.751978] systemd[1]: Listening on Journal Socket.
[    4.759980] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[    4.768363] systemd[1]: Listening on Journal Socket (/dev/log).
[    4.774156] systemd[1]: Listening on udev Kernel Socket.
[    4.780651] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    4.788478] systemd[1]: Reached target Swap.
[    5.054832] i2c /dev entries driver
[    5.228024] ks8851 spi0.1: spi0.1 supply vdd-io not found, using dummy regulator
[    5.231950] ks8851 spi0.1: Linked as a consumer to regulator.0
[    5.233853] ks8851 spi0.1: spi0.1 supply vdd not found, using dummy regulator
[    5.334757] ks8851 spi0.1: message enable is 0
[    5.366853] ks8851 spi0.1 pieth0: revision 1, MAC 06:e1:a2:ba:45:75, IRQ 0 (polling), no EEPROM
[    5.385747] ks8851 spi0.0: spi0.0 supply vdd-io not found, using dummy regulator
[    5.389636] ks8851 spi0.0: Linked as a consumer to regulator.0
[    5.391567] ks8851 spi0.0: spi0.0 supply vdd not found, using dummy regulator
[    5.393668] ks8851 spi0.0: message enable is 0
[    5.461564] ks8851 spi0.0 pieth1: revision 1, MAC b2:48:ed:2a:e7:5d, IRQ 0 (polling), no EEPROM
[    5.822089] piControl: loading out-of-tree module taints kernel.
[    5.895776] piControl: built: Tue Jun 16 13:38:04 CEST 2020
[    5.898028] piControl: RevPi Core
[    5.900050] piControl: MAJOR-No.  : 241
[    5.926592] piControl: MAJOR-No.  : 241  MINOR-No.  : 0
[    6.068751] piControl: kernel_read returned 0: da7e37e0, 10108
[    6.070903] piControl: 3 devices found
[    6.072783] piControl: 152 entries in total
[    6.109992] piControl: cl-comp:  0 addr  6  bit ff  len   8
[    6.110012] piControl: cl-comp:  1 addr 81  bit ff  len   8
[    6.110022] piControl: cl-comp:  2 addr 82  bit ff  len   8
[    6.165394] uart-pl011 20201000.serial: no DMA platform data
[    6.167252] piControl: filp_open -629262592
[    6.168933] piControl: set priority of spi0 to 54
[    6.195230] piControl: piIO thread started
[    6.196936] piControl: RevPiDevice_init()
[    6.198451] piControl: Enter Init State
[    6.200251] piControl: PADS 0 = 0x0   slew=0  hyst=0  drive=0
[    6.200266] piControl: PADS 1 = 0x0   slew=0  hyst=0  drive=0
[    6.200746] piControl: Enter PresentSignalling1 State
[    6.214151] piControl: PADS 2 = 0x0   slew=0  hyst=0  drive=0
[    6.214199] piControl: piControlInit done
[    6.240211] piControl: Enter InitialSlaveDetectionRight State
[    6.242368] piControl: Enter ConfigRightStart State
[    6.254736] piControl: Enter ConfigDialogueRight State
[    6.284719] piControl: GetDeviceInfo: Id 96
[    6.314737] piControl: found 2. device on right side. Moduletype 96. Designated address 32
[    6.317579] piControl: input offset     11  len  70
[    6.318991] piControl: output offset    81  len  18
[    6.321015] piControl: Enter SlaveDetectionRight State
[    6.333545] piControl: Enter ConfigDialogueRight State
[    6.364796] piControl: GetDeviceInfo: Id 103
[    6.394778] piControl: found 3. device on right side. Moduletype 103. Designated address 33
[    6.397806] piControl: input offset     99  len  20
[    6.399320] piControl: output offset   119  len   4
[    6.401447] piControl: Enter SlaveDetectionRight State
[    6.413370] piControl: Enter InitialSlaveDetectionLeft State
[    6.415799] piControl: Enter ConfigLeftStart State
[    6.427237] piControl: Enter ConfigDialogueLeft State
[    6.474719] piControl: piIoComm_sendRS485Tel(GetDeviceInfo) failed 2
[    6.524785] piControl: piIoComm_sendRS485Tel(GetDeviceInfo) failed 2
[    6.574812] piControl: piIoComm_sendRS485Tel(GetDeviceInfo) failed 2
[    6.624855] piControl: piIoComm_sendRS485Tel(GetDeviceInfo) failed 2
[    6.627188] piControl: Enter EndOfConfig State

[    6.630312] piControl: Device  0: Addr  0 Type  95  Act 1  In   6 Out   5
[    6.631928] piControl:            input offset      0  len   6
[    6.633495] piControl:            output offset     6  len   5
[    6.635099] piControl:            serial number 1  version 1.2
[    6.636608] piControl: Device  1: Addr 32 Type  96  Act 1  In  70 Out  18
[    6.638148] piControl:            input offset     11  len  70
[    6.639684] piControl:            output offset    81  len  18
[    6.641230] piControl:            serial number 44661  version 1.5
[    6.642786] piControl: Device  2: Addr 33 Type 103  Act 1  In  20 Out   4
[    6.644360] piControl:            input offset     99  len  20
[    6.645995] piControl:            output offset   119  len   4
[    6.647473] piControl:            serial number 44752  version 1.4
[    6.648929] piControl:
[    6.650366] piControl: Adjust: base 0 in 0 out 6 conf 0
[    6.651835] piControl: Adjust: base 11 in 11 out 81 conf 99
[    6.653305] piControl: Adjust: base 124 in 124 out 144 conf 148
[    6.654850] piControl: After Adjustment
[    6.656335] piControl: Device  0: Addr  0 Type  95  Act 1  In   6 Out   5
[    6.657836] piControl:            input offset      0  len   6
[    6.659376] piControl:            output offset     6  len   5
[    6.660866] piControl: Device  1: Addr 32 Type  96  Act 1  In  70 Out  18
[    6.662358] piControl:            input offset     11  len  70
[    6.663890] piControl:            output offset    81  len  18
[    6.665491] piControl: Device  2: Addr 33 Type 103  Act 1  In  20 Out   4
[    6.667049] piControl:            input offset    124  len  20
[    6.668571] piControl:            output offset   144  len   4
[    6.670058] piControl:
[    6.784815] piControl: start data exchange
[    7.027703] piControl: piDIOComm_Init done 0
[    7.040302] piControl: piAIOComm_Init done 0
[    7.047403] piControl: initialization of module not finished (1,0,0) -> retry
[    7.049658] piControl: Enter Initialization Retry
[    8.665356] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[    9.239475] piControl: RevPiDevice_init()
[    9.240101] piControl: Enter Init State
[    9.240728] piControl: Enter PresentSignalling1 State
[    9.280272] piControl: Enter InitialSlaveDetectionRight State
[    9.280918] piControl: Enter ConfigRightStart State
[    9.291354] piControl: Enter ConfigDialogueRight State
[    9.324734] piControl: GetDeviceInfo: Id 96
[    9.354790] piControl: found 2. device on right side. Moduletype 96. Designated address 32
[    9.354814] piControl: input offset     11  len  70
[    9.354824] piControl: output offset    81  len  18
[    9.355465] piControl: Enter SlaveDetectionRight State
[    9.366641] piControl: Enter ConfigDialogueRight State
[    9.394908] piControl: GetDeviceInfo: Id 103
[    9.424788] piControl: found 3. device on right side. Moduletype 103. Designated address 33
[    9.424814] piControl: input offset     99  len  20
[    9.424823] piControl: output offset   119  len   4
[    9.425448] piControl: Enter SlaveDetectionRight State
[    9.436473] piControl: Enter InitialSlaveDetectionLeft State
[    9.437126] piControl: Enter ConfigLeftStart State
[    9.447384] piControl: Enter ConfigDialogueLeft State
[    9.494789] piControl: piIoComm_sendRS485Tel(GetDeviceInfo) failed 2
[    9.544804] piControl: piIoComm_sendRS485Tel(GetDeviceInfo) failed 2
[    9.594726] piControl: piIoComm_sendRS485Tel(GetDeviceInfo) failed 2
[    9.644792] piControl: piIoComm_sendRS485Tel(GetDeviceInfo) failed 2
[    9.645435] piControl: Enter EndOfConfig State

[    9.645468] piControl: Device  0: Addr  0 Type  95  Act 1  In   6 Out   5
[    9.645480] piControl:            input offset      0  len   6
[    9.645489] piControl:            output offset     6  len   5
[    9.645498] piControl:            serial number 1  version 1.2
[    9.645510] piControl: Device  1: Addr 32 Type  96  Act 1  In  70 Out  18
[    9.645518] piControl:            input offset     11  len  70
[    9.645525] piControl:            output offset    81  len  18
[    9.645535] piControl:            serial number 44661  version 1.5
[    9.645546] piControl: Device  2: Addr 33 Type 103  Act 1  In  20 Out   4
[    9.645554] piControl:            input offset     99  len  20
[    9.645562] piControl:            output offset   119  len   4
[    9.645570] piControl:            serial number 44752  version 1.4
[    9.645576] piControl:
[    9.645606] piControl: Adjust: base 0 in 0 out 6 conf 0
[    9.645619] piControl: Adjust: base 11 in 11 out 81 conf 99
[    9.645630] piControl: Adjust: base 124 in 124 out 144 conf 148
[    9.645639] piControl: After Adjustment
[    9.645652] piControl: Device  0: Addr  0 Type  95  Act 1  In   6 Out   5
[    9.645659] piControl:            input offset      0  len   6
[    9.645667] piControl:            output offset     6  len   5
[    9.645678] piControl: Device  1: Addr 32 Type  96  Act 1  In  70 Out  18
[    9.645686] piControl:            input offset     11  len  70
[    9.645694] piControl:            output offset    81  len  18
[    9.645705] piControl: Device  2: Addr 33 Type 103  Act 1  In  20 Out   4
[    9.645714] piControl:            input offset    124  len  20
[    9.645723] piControl:            output offset   144  len   4
[    9.645729] piControl:
[    9.764857] piControl: start data exchange
[    9.776112] systemd-journald[94]: Received request to flush runtime journal from PID 1
[   10.007350] piControl: piDIOComm_Init done 0
[   10.018196] piControl: piAIOComm_Init done 0
[   10.024043] piControl: set BridgeState to running
[   15.016480] ks8851 spi0.1 piright: renamed from pieth0
[   15.041301] ks8851 spi0.0 pileft: renamed from pieth1
[   27.077200] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned.
[   27.088147] media: Linux media interface: v0.10
[   27.147891] bcm2835_vc_sm_cma_probe: Videocore shared memory driver
[   27.147920] [vc_sm_connected_init]: start
[   27.180631] [vc_sm_connected_init]: installed successfully
[   27.562110] videodev: Linux video capture interface: v2.00
[   27.866228] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[   27.902404] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[   27.956670] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
[   28.075791] bcm2835_codec: module is from the staging directory, the quality is unknown, you have been warned.
[   28.197836] bcm2835-codec bcm2835-codec: Device registered as /dev/video10
[   28.197909] bcm2835-codec bcm2835-codec: Loaded V4L2 decode
[   28.241674] bcm2835-codec bcm2835-codec: Device registered as /dev/video11
[   28.241739] bcm2835-codec bcm2835-codec: Loaded V4L2 encode
[   28.304213] bcm2835-codec bcm2835-codec: Device registered as /dev/video12
[   28.304279] bcm2835-codec bcm2835-codec: Loaded V4L2 isp
[   29.834878] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
[   29.997003] bcm2835_audio soc:audio: card created with 8 channels
[   42.350073] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[   42.754994] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[   45.444817] IPv6: ADDRCONF(NETDEV_UP): pileft: link is not ready
[   45.680187] IPv6: ADDRCONF(NETDEV_UP): piright: link is not ready
[   74.219365] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[   75.735051] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xCDE1
With kind regards,

Luuk.

Re: RevPi Core power led flashing red

Posted: 05 Jan 2021, 13:08
by Amar
Hi Luuk,
There seems that PiBridge connection is reinitialised.Could you please try with changing the pictory Configuration.
Place AIO and DIO on left side of RevPiCore and check if the issue reoccurs.

Regards,
Amar