Thewonderer Posted March 7, 2019 Posted March 7, 2019 Hi, my rock64 (rev2) with the latest build of Armbian randomly looses its network connection. I couldn't use the armbianmonitor -u as it had no network connection, but when i use ifconfig, I can see it's still got it's settings and is the NIC lights are on. ifconfig showed 6 TX errors. My NIC is set to DHCP with static reserved IP address to an ASUS router. I leave it on 24/7 and check it once a while as it pretty much is used as a NAS with a single USB 3 drive. This morning I connected up via HDMI and a USB keyboard and logged in successfully. I don't have much Linux experience so wasn't sure how to capture the logs to SD card so i could copy them up here later. The NIC dropouts occur about once a week at random days and times. I have tried use ifup and ifdown to try and re-enable the NIC, but when I did this I got a stack dump and I couldn't enter any further commands into Ubuntu. Next time the NIC fails, what command(s) should I use? I've had this issue before on the later ayufun arm64 ubuntu builds too. I see the kernel has been updated to v5 over at ayufun's github, maybe there are some code changes that might help. I did read that dropping the MTU down from 1500 to 1492 might help, but don't really want to make random changes. Any suggestions much appreciated.
TonyMac32 Posted March 7, 2019 Posted March 7, 2019 Output of uname -a and dmesg if you can save it to a stick would be helpful. I have a rev1, which has a different network chip, so I can't do much to diagnose.Sent from my Pixel using Tapatalk
Thewonderer Posted March 8, 2019 Author Posted March 8, 2019 Thanks. I'll capture the information on the next failure (which shouldn't be more than a week).
TonyMac32 Posted March 8, 2019 Posted March 8, 2019 Well you don't have to wait, it's just general system infoSent from my Pixel using Tapatalk
Thewonderer Posted March 8, 2019 Author Posted March 8, 2019 (edited) Hi TonyMac32, hope this info helps uname -a Linux rock64 4.4.174-rockchip64 #6 SMP Sun Feb 10 10:43:16 CET 2019 aarch64 aarch64 aarch64 GNU/Linux dmesg Spoiler [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Initializing cgroup subsys cpuacct [ 0.000000] Linux version 4.4.174-rockchip64 (root@armbian.com) (gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11) ) #6 SMP Sun Feb 10 10:43:16 CET 2019 [ 0.000000] Boot CPU: AArch64 Processor [410fd034] [ 0.000000] earlycon: Early serial console at MMIO32 0xff130000 (options '') [ 0.000000] bootconsole [uart0] enabled [ 0.000000] On node 0 totalpages: 523776 [ 0.000000] DMA zone: 8184 pages used for memmap [ 0.000000] DMA zone: 0 pages reserved [ 0.000000] DMA zone: 523776 pages, LIFO batch:31 [ 0.000000] psci: probing for conduit method from DT. [ 0.000000] psci: PSCIv1.0 detected in firmware. [ 0.000000] psci: Using standard PSCI v0.2 function IDs [ 0.000000] psci: MIGRATE_INFO_TYPE not supported. [ 0.000000] PERCPU: Embedded 21 pages/cpu @ffffffc07ff36000 s46312 r8192 d31512 u86016 [ 0.000000] pcpu-alloc: s46312 r8192 d31512 u86016 alloc=21*4096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [ 0.000000] Detected VIPT I-cache on CPU0 [ 0.000000] CPU features: enabling workaround for ARM erratum 845719 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 515592 [ 0.000000] Kernel command line: earlycon=uart8250,mmio32,0xff130000 swiotlb=1 kpti=0 root=UUID=0a4bcd30-3a00-47c5-9a2c-cf2c33b62e68 rootwait rootfstype=ext4 console=ttyS2,1500000 console=tty1 panic=10 consoleblank=0 loglevel=1 ubootpart=c8138777-01 usb-storage.quirks=0x2537:0x1066:u,0x2537:0x1068:u,0x0bc2:0x2320:u cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory swapaccount=1 [ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes) [ 0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes) [ 0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes) [ 0.000000] software IO TLB: mapped [mem 0x7fdb4000-0x7fdf4000] (0MB) [ 0.000000] Memory: 2031320K/2095104K available (11390K kernel code, 1526K rwdata, 4036K rodata, 1216K init, 712K bss, 63784K reserved, 0K cma-reserved) [ 0.000000] Virtual kernel memory layout: modules : 0xffffff8000000000 - 0xffffff8008000000 ( 128 MB) vmalloc : 0xffffff8008000000 - 0xffffffbdbfff0000 ( 246 GB) .init : 0xffffff8008fa0000 - 0xffffff80090d0000 ( 1216 KB) .text : 0xffffff8008080000 - 0xffffff8008ba0000 ( 11392 KB) .rodata : 0xffffff8008ba0000 - 0xffffff8008fa0000 ( 4096 KB) .data : 0xffffff80090d0000 - 0xffffff800924d808 ( 1527 KB) vmemmap : 0xffffffbdc0000000 - 0xffffffbfc0000000 ( 8 GB maximum) 0xffffffbdc0008000 - 0xffffffbdc2000000 ( 31 MB actual) fixed : 0xffffffbffe7fb000 - 0xffffffbffec00000 ( 4116 KB) PCI I/O : 0xffffffbffee00000 - 0xffffffbfffe00000 ( 16 MB) memory : 0xffffffc000200000 - 0xffffffc080000000 ( 2046 MB) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 [ 0.000000] Hierarchical RCU implementation. [ 0.000000] Build-time adjustment of leaf fanout to 64. [ 0.000000] RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4. [ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=64, nr_cpu_ids=4 [ 0.000000] NR_IRQS:64 nr_irqs:64 0 [ 0.000000] GIC: Using split EOI/Deactivate mode [ 0.000000] rockchip_mmc_get_phase: invalid clk rate [ 0.000000] rockchip_mmc_get_phase: invalid clk rate [ 0.000000] rockchip_mmc_get_phase: invalid clk rate [ 0.000000] rockchip_mmc_get_phase: invalid clk rate [ 0.000000] rockchip_mmc_get_phase: invalid clk rate [ 0.000000] rockchip_mmc_get_phase: invalid clk rate [ 0.000000] rockchip_mmc_get_phase: invalid clk rate [ 0.000000] rockchip_mmc_get_phase: invalid clk rate [ 0.000000] Architected cp15 timer(s) running at 24.00MHz (phys). [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns [ 0.000006] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns [ 0.001149] Console: colour dummy device 80x25 [ 0.001164] console [tty1] enabled [ 0.001175] bootconsole [uart0] disabled [ 0.001202] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000) [ 0.001220] pid_max: default: 32768 minimum: 301 [ 0.001353] Security Framework initialized [ 0.001366] Yama: becoming mindful. [ 0.001390] AppArmor: AppArmor disabled by boot time parameter [ 0.001456] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes) [ 0.001472] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes) [ 0.002335] Initializing cgroup subsys io [ 0.002359] Initializing cgroup subsys memory [ 0.002398] Initializing cgroup subsys devices [ 0.002416] Initializing cgroup subsys freezer [ 0.002433] Initializing cgroup subsys net_cls [ 0.002454] Initializing cgroup subsys perf_event [ 0.002472] Initializing cgroup subsys net_prio [ 0.002494] Initializing cgroup subsys hugetlb [ 0.002508] Initializing cgroup subsys pids [ 0.002560] ftrace: allocating 43611 entries in 171 pages [ 0.130851] sched-energy: CPU device node has no sched-energy-costs [ 0.130872] Invalid sched_group_energy for CPU0 [ 0.130883] CPU0: update cpu_capacity 1024 [ 0.130949] ASID allocator initialised with 32768 entries [ 0.133843] Detected VIPT I-cache on CPU1 [ 0.133901] Invalid sched_group_energy for CPU1 [ 0.133907] CPU1: update cpu_capacity 1024 [ 0.133912] CPU1: Booted secondary processor [410fd034] [ 0.134665] Detected VIPT I-cache on CPU2 [ 0.134713] Invalid sched_group_energy for CPU2 [ 0.134719] CPU2: update cpu_capacity 1024 [ 0.134724] CPU2: Booted secondary processor [410fd034] [ 0.135397] Detected VIPT I-cache on CPU3 [ 0.135440] Invalid sched_group_energy for CPU3 [ 0.135445] CPU3: update cpu_capacity 1024 [ 0.135450] CPU3: Booted secondary processor [410fd034] [ 0.135554] Brought up 4 CPUs [ 0.135617] SMP: Total of 4 processors activated. [ 0.135631] CPU features: kernel page table isolation forced OFF by command line option [ 0.135646] CPU: All CPU(s) started at EL2 [ 0.135685] alternatives: patching kernel code [ 0.135930] Invalid sched_group_energy for CPU3 [ 0.135943] Invalid sched_group_energy for Cluster3 [ 0.135952] Invalid sched_group_energy for CPU2 [ 0.135962] Invalid sched_group_energy for Cluster2 [ 0.135971] Invalid sched_group_energy for CPU1 [ 0.135981] Invalid sched_group_energy for Cluster1 [ 0.135989] Invalid sched_group_energy for CPU0 [ 0.135998] Invalid sched_group_energy for Cluster0 [ 0.136751] devtmpfs: initialized [ 0.159564] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 0.159600] futex hash table entries: 1024 (order: 4, 65536 bytes) [ 0.160183] xor: measuring software checksum speed [ 0.198772] 8regs : 1080.000 MB/sec [ 0.238858] 8regs_prefetch: 968.000 MB/sec [ 0.278947] 32regs : 1458.000 MB/sec [ 0.319036] 32regs_prefetch: 1224.000 MB/sec [ 0.319047] xor: using function: 32regs (1458.000 MB/sec) [ 0.319088] pinctrl core: initialized pinctrl subsystem [ 0.319449] regulator-dummy: no parameters [ 0.320415] NET: Registered protocol family 16 [ 0.331118] cpuidle: using governor ladder [ 0.342228] cpuidle: using governor menu [ 0.342268] Registered FIQ tty driver [ 0.343076] vdso: 2 pages (1 code @ ffffff8008ba6000, 1 data @ ffffff80090d4000) [ 0.343117] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers. [ 0.343981] DMA: preallocated 2048 KiB pool for atomic allocations [ 0.360872] gpiochip_add_data: registered GPIOs 0 to 31 on device: gpio0 [ 0.361009] gpiochip_add_data: registered GPIOs 32 to 63 on device: gpio1 [ 0.361133] gpiochip_add_data: registered GPIOs 64 to 95 on device: gpio2 [ 0.361262] gpiochip_add_data: registered GPIOs 96 to 127 on device: gpio3 [ 0.467421] raid6: int64x1 gen() 201 MB/s [ 0.535568] raid6: int64x1 xor() 172 MB/s [ 0.603666] raid6: int64x2 gen() 323 MB/s [ 0.671779] raid6: int64x2 xor() 262 MB/s [ 0.739896] raid6: int64x4 gen() 478 MB/s [ 0.807965] raid6: int64x4 xor() 327 MB/s [ 0.876057] raid6: int64x8 gen() 386 MB/s [ 0.944256] raid6: int64x8 xor() 304 MB/s [ 1.012372] raid6: neonx1 gen() 360 MB/s [ 1.080477] raid6: neonx1 xor() 354 MB/s [ 1.148597] raid6: neonx2 gen() 548 MB/s [ 1.216702] raid6: neonx2 xor() 458 MB/s [ 1.284816] raid6: neonx4 gen() 744 MB/s [ 1.352908] raid6: neonx4 xor() 559 MB/s [ 1.421043] raid6: neonx8 gen() 763 MB/s [ 1.489128] raid6: neonx8 xor() 569 MB/s [ 1.489140] raid6: using algorithm neonx8 gen() 763 MB/s [ 1.489149] raid6: .... xor() 569 MB/s, rmw enabled [ 1.489158] raid6: using intx1 recovery algorithm [ 1.489632] mpp venc_srv: mpp_probe enter [ 1.489668] mpp venc_srv: init success [ 1.490534] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/vcc-phy-regulator[0]' [ 1.490569] vcc_phy: no parameters [ 1.490858] reg-fixed-voltage vcc-phy-regulator: vcc_phy supplying 0uV [ 1.490950] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/vcc-sys[0]' [ 1.490978] vcc_sys: 5000 mV [ 1.491264] reg-fixed-voltage vcc-sys: vcc_sys supplying 5000000uV [ 1.491562] of_get_named_gpiod_flags: parsed 'gpio' property of node '/sdmmc-regulator[0]' - status (0) [ 1.491628] reg-fixed-voltage sdmmc-regulator: Looking up vin-supply from device tree [ 1.491652] vcc_sd: unable to resolve supply [ 1.491665] vcc_sd: 3300 mV [ 1.491899] reg-fixed-voltage sdmmc-regulator: Looking up vin-supply from device tree [ 1.491923] vcc_sd: regulator get failed, ret=-517 [ 1.491940] reg-fixed-voltage sdmmc-regulator: Looking up vin-supply from device tree [ 1.491958] vcc_sd: unable to resolve supply [ 1.491974] reg-fixed-voltage sdmmc-regulator: vcc_sd supplying 3300000uV [ 1.492209] of_get_named_gpiod_flags: parsed 'gpio' property of node '/vcc-host-5v-regulator[0]' - status (0) [ 1.492266] reg-fixed-voltage vcc-host-5v-regulator: Looking up vin-supply from device tree [ 1.492324] vcc_host_5v: supplied by vcc_sys [ 1.492340] vcc_sys: could not add device link regulator.4 err -2 [ 1.492402] vcc_host_5v: at 5000 mV [ 1.492701] reg-fixed-voltage sdmmc-regulator: Looking up vin-supply from device tree [ 1.492726] vcc_sd: unable to resolve supply [ 1.492744] reg-fixed-voltage vcc-host-5v-regulator: vcc_host_5v supplying 0uV [ 1.493522] iommu: Adding device ff350000.vpu_service to group 0 [ 1.493612] iommu: Adding device ff351000.avsd to group 1 [ 1.493698] iommu: Adding device ff360000.rkvdec to group 2 [ 1.493796] iommu: Adding device ff330000.h265e to group 3 [ 1.493887] iommu: Adding device ff340000.vepu to group 4 [ 1.493992] iommu: Adding device ff370000.vop to group 5 [ 1.495003] rk_iommu ff360480.iommu: can't get aclk [ 1.495025] rk_iommu ff360480.iommu: can't get hclk [ 1.496465] SCSI subsystem initialized [ 1.496731] libata version 3.00 loaded. [ 1.497087] usbcore: registered new interface driver usbfs [ 1.497161] usbcore: registered new interface driver hub [ 1.497265] usbcore: registered new device driver usb [ 1.497429] media: Linux media interface: v0.10 [ 1.497491] Linux video capture interface: v2.00 [ 1.497691] pps_core: LinuxPPS API ver. 1 registered [ 1.497702] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 1.497738] PTP clock support registered [ 1.499498] Advanced Linux Sound Architecture Driver Initialized. [ 1.500978] NetLabel: Initializing [ 1.500993] NetLabel: domain hash size = 128 [ 1.501001] NetLabel: protocols = UNLABELED CIPSOv4 [ 1.501077] NetLabel: unlabeled traffic allowed by default [ 1.501639] rockchip-cpuinfo cpuinfo: Serial : 636501f0f923b0c1 [ 1.502881] clocksource: Switched to clocksource arch_sys_counter [ 1.609286] NET: Registered protocol family 2 [ 1.610063] TCP established hash table entries: 16384 (order: 5, 131072 bytes) [ 1.610311] TCP bind hash table entries: 16384 (order: 7, 524288 bytes) [ 1.611091] TCP: Hash tables configured (established 16384 bind 16384) [ 1.611209] UDP hash table entries: 1024 (order: 4, 98304 bytes) [ 1.611345] UDP-Lite hash table entries: 1024 (order: 4, 98304 bytes) [ 1.611774] NET: Registered protocol family 1 [ 1.612267] RPC: Registered named UNIX socket transport module. [ 1.612280] RPC: Registered udp transport module. [ 1.612290] RPC: Registered tcp transport module. [ 1.612299] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 1.612381] PCI: CLS 0 bytes, default 64 [ 1.612657] Trying to unpack rootfs image as initramfs... [ 2.182323] Freeing initrd memory: 7284K [ 2.183530] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available [ 2.184762] kvm [1]: 8-bit VMID [ 2.184773] kvm [1]: Hyp mode initialized successfully [ 2.185259] kvm [1]: interrupt-controller@ff814000 IRQ44 [ 2.185597] kvm [1]: timer IRQ3 [ 2.189788] audit: initializing netlink subsys (disabled) [ 2.189845] audit: type=2000 audit(2.112:1): initialized [ 2.190425] Initialise system trusted keyring [ 2.191191] HugeTLB registered 2 MB page size, pre-allocated 0 pages [ 2.204499] VFS: Disk quotas dquot_6.6.0 [ 2.204771] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 2.207298] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 2.209493] NFS: Registering the id_resolver key type [ 2.209542] Key type id_resolver registered [ 2.209552] Key type id_legacy registered [ 2.209586] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 2.209622] Installing knfsd (copyright (C) 1996 okir@monad.swb.de). [ 2.210725] fuse init (API version 7.23) [ 2.212063] JFS: nTxBlock = 8192, nTxLock = 65536 [ 2.219148] SGI XFS with ACLs, security attributes, realtime, no debug enabled [ 2.221979] Key type big_key registered [ 2.222084] TEE Core Framework initialization (ver 1:0.1) [ 2.222124] TEE armv7 Driver initialization [ 2.222585] tz_tee_probe: name="armv7sec", id=0, pdev_name="armv7sec.0" [ 2.222601] TEE core: Alloc the misc device "opteearmtz00" (id=0) [ 2.222965] TEE Core: Register the misc device "opteearmtz00" (id=0,minor=62) [ 2.228910] NET: Registered protocol family 38 [ 2.228965] Key type asymmetric registered [ 2.228984] Asymmetric key parser 'x509' registered [ 2.229314] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245) [ 2.229537] io scheduler noop registered [ 2.229560] io scheduler deadline registered (default) [ 2.229636] io scheduler cfq registered [ 2.231059] phy phy-ff450000.syscon:usb2-phy@100.0: Looking up phy-supply from device tree [ 2.231082] phy phy-ff450000.syscon:usb2-phy@100.0: Looking up phy-supply property in node /syscon@ff450000/usb2-phy@100/host-port failed [ 2.231554] phy phy-ff450000.syscon:usb2-phy@100.1: Looking up phy-supply from device tree [ 2.231575] phy phy-ff450000.syscon:usb2-phy@100.1: Looking up phy-supply property in node /syscon@ff450000/usb2-phy@100/otg-port failed [ 2.231948] phy phy-ff450000.syscon:usb2-phy@100.1: Looking up vbus-supply from device tree [ 2.231968] phy phy-ff450000.syscon:usb2-phy@100.1: Looking up vbus-supply property in node /syscon@ff450000/usb2-phy@100/otg-port failed [ 2.231990] phy phy-ff450000.syscon:usb2-phy@100.1: Failed to get VBUS supply regulator [ 2.233001] rockchip-u3phy ff470000.usb3-phy: Looking up vbus-supply from device tree [ 2.233024] rockchip-u3phy ff470000.usb3-phy: Looking up vbus-supply property in node /usb3-phy@ff470000 failed [ 2.233048] rockchip-u3phy ff470000.usb3-phy: Failed to get VBUS supply regulator [ 2.233490] phy phy-ff470000.usb3-phy.2: Looking up phy-supply from device tree [ 2.233508] phy phy-ff470000.usb3-phy.2: Looking up phy-supply property in node /usb3-phy@ff470000/utmi@ff470000 failed [ 2.233920] phy phy-ff470000.usb3-phy.3: Looking up phy-supply from device tree [ 2.233940] phy phy-ff470000.usb3-phy.3: Looking up phy-supply property in node /usb3-phy@ff470000/pipe@ff478000 failed [ 2.235694] rockchip-u3phy ff470000.usb3-phy: Rockchip u3phy initialized successfully [ 2.236251] phy phy-ff430000.hdmiphy.4: Looking up phy-supply from device tree [ 2.236270] phy phy-ff430000.hdmiphy.4: Looking up phy-supply property in node /hdmiphy@ff430000 failed [ 2.239884] probe device ff330000.h265e [ 2.240255] mpp_dev ff330000.h265e: try to get iommu dev ffffffc07c439c10 [ 2.240738] mpp_dev ff330000.h265e: resource ready, register device [ 2.241214] probe device ff340000.vepu [ 2.241572] mpp_dev ff340000.vepu: try to get iommu dev ffffffc07c43a410 [ 2.241946] mpp_dev ff340000.vepu: resource ready, register device [ 2.245056] dma-pl330 ff1f0000.dmac: Loaded driver for PL330 DMAC-241330 [ 2.245078] dma-pl330 ff1f0000.dmac: DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16 [ 2.246087] Serial: 8250/16550 driver, 5 ports, IRQ sharing disabled [ 2.248801] console [ttyS2] disabled [ 2.248878] ff130000.serial: ttyS2 at MMIO 0xff130000 (irq = 13, base_baud = 1500000) is a 16550A [ 2.249988] console [ttyS2] enabled [ 2.251631] [drm] Initialized drm 1.1.0 20060810 [ 2.255357] [drm] Rockchip DRM driver version: v1.0.1 [ 2.255618] rockchip-drm display-subsystem: devfreq is not set [ 2.256322] rockchip-drm display-subsystem: bound ff370000.vop (ops 0xffffff8008c70018) [ 2.256723] i2c i2c-4: of_i2c: modalias failure on /hdmi@ff3c0000/ports [ 2.256748] dwhdmi-rockchip ff3c0000.hdmi: registered DesignWare HDMI I2C bus driver [ 2.256886] dwhdmi-rockchip ff3c0000.hdmi: Detected HDMI TX controller v2.11a with HDCP (inno_dw_hdmi_phy2) [ 2.258005] rockchip-drm display-subsystem: bound ff3c0000.hdmi (ops 0xffffff8008c66b40) [ 2.258022] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). [ 2.258032] [drm] No driver support for vblank timestamp query. [ 2.258130] rockchip-drm display-subsystem: failed to parse display resources [ 2.888101] rockchip-vop ff370000.vop: [drm:vop_crtc_enable] Update mode to 1920x1080p60, type: 11 [ 2.971910] Console: switching to colour frame buffer device 240x67 [ 3.021858] rockchip-drm display-subsystem: fb0: frame buffer device [ 3.032645] usbcore: registered new interface driver udl [ 3.035498] Registered IR keymap rc-cec [ 3.036081] input: RC for dw_hdmi as /devices/platform/ff3c0000.hdmi/rc/rc0/input0 [ 3.036102] rc0: RC for dw_hdmi as /devices/platform/ff3c0000.hdmi/rc/rc0 [ 3.036628] Unable to detect cache hierarchy for CPU 0 [ 3.037831] brd: module loaded [ 3.046778] loop: module loaded [ 3.047210] lkdtm: No crash points registered, enable through debugfs [ 3.049582] rockchip-spi ff190000.spi: no high_speed pinctrl state [ 3.050538] m25p80 spi32766.0: gd25q128 (16384 Kbytes) [ 3.050571] 1 ofpart partitions found on MTD device spi32766.0 [ 3.050581] Creating 1 MTD partitions on "spi32766.0": [ 3.050596] 0x000000008000-0x0000003f8000 : "loader" [ 3.054536] force_sf_dma_mode is ignored if force_thresh_dma_mode is set. [ 3.054566] rk_gmac-dwmac ff540000.ethernet: Looking up phy-supply from device tree [ 3.054726] rk_gmac-dwmac ff540000.ethernet: clock input or output? (input). [ 3.054745] rk_gmac-dwmac ff540000.ethernet: TX delay(0x26). [ 3.054761] rk_gmac-dwmac ff540000.ethernet: RX delay(0x11). [ 3.054784] rk_gmac-dwmac ff540000.ethernet: integrated PHY? (no). [ 3.055093] rk_gmac-dwmac ff540000.ethernet: cannot get clock clk_mac_speed [ 3.055107] rk_gmac-dwmac ff540000.ethernet: clock input from PHY [ 3.060136] rk_gmac-dwmac ff540000.ethernet: init for RGMII [ 3.060320] stmmac - user ID: 0x10, Synopsys ID: 0x35 [ 3.060329] Ring mode enabled [ 3.060339] DMA HW capability register supported [ 3.060346] Normal descriptors [ 3.060355] RX Checksum Offload Engine supported (type 2) [ 3.060362] Wake-Up On Lan supported [ 3.060430] Enable RX Mitigation via HW Watchdog Timer [ 3.060609] of_get_named_gpiod_flags: parsed 'snps,reset-gpio' property of node '/ethernet@ff540000[0]' - status (0) [ 3.142845] libphy: stmmac: probed [ 3.142908] eth%d: PHY ID 001cc916 at 0 IRQ POLL (stmmac-0:00) active [ 3.142921] eth%d: PHY ID 001cc916 at 1 IRQ POLL (stmmac-0:01) [ 3.144460] Rockchip WiFi SYS interface (V1.00) ... [ 3.144604] usbcore: registered new interface driver cdc_ether [ 3.144676] usbcore: registered new interface driver rndis_host [ 3.146682] phy phy-ff470000.usb3-phy.2: u3phy u2 power on [ 3.146719] phy phy-ff470000.usb3-phy.3: u3phy u3 power on [ 3.147830] dwc2 ff580000.usb: Looking up vusb_d-supply from device tree [ 3.147853] dwc2 ff580000.usb: Looking up vusb_d-supply property in node /usb@ff580000 failed [ 3.147874] ff580000.usb supply vusb_d not found, using dummy regulator [ 3.147957] dwc2 ff580000.usb: Looking up vusb_a-supply from device tree [ 3.147975] dwc2 ff580000.usb: Looking up vusb_a-supply property in node /usb@ff580000 failed [ 3.147990] ff580000.usb supply vusb_a not found, using dummy regulator [ 3.240675] dwc2 ff580000.usb: DWC OTG Controller [ 3.240724] dwc2 ff580000.usb: new USB bus registered, assigned bus number 1 [ 3.240781] dwc2 ff580000.usb: irq 41, io mem 0xff580000 [ 3.241080] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 3.241097] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 3.241112] usb usb1: Product: DWC OTG Controller [ 3.241126] usb usb1: Manufacturer: Linux 4.4.174-rockchip64 dwc2_hsotg [ 3.241139] usb usb1: SerialNumber: ff580000.usb [ 3.241981] hub 1-0:1.0: USB hub found [ 3.242032] hub 1-0:1.0: 1 port detected [ 3.243373] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 3.243393] ehci-pci: EHCI PCI platform driver [ 3.243485] ehci-platform: EHCI generic platform driver [ 3.246121] ehci-platform ff5c0000.usb: EHCI Host Controller [ 3.246417] ehci-platform ff5c0000.usb: new USB bus registered, assigned bus number 2 [ 3.246575] ehci-platform ff5c0000.usb: irq 42, io mem 0xff5c0000 [ 3.254915] ehci-platform ff5c0000.usb: USB 2.0 started, EHCI 1.00 [ 3.255165] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002 [ 3.255182] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 3.255197] usb usb2: Product: EHCI Host Controller [ 3.255212] usb usb2: Manufacturer: Linux 4.4.174-rockchip64 ehci_hcd [ 3.255225] usb usb2: SerialNumber: ff5c0000.usb [ 3.256085] hub 2-0:1.0: USB hub found [ 3.256142] hub 2-0:1.0: 1 port detected [ 3.256818] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 3.256857] ohci-platform: OHCI generic platform driver [ 3.257379] ohci-platform ff5d0000.usb: Generic Platform OHCI controller [ 3.257689] ohci-platform ff5d0000.usb: new USB bus registered, assigned bus number 3 [ 3.257837] ohci-platform ff5d0000.usb: irq 43, io mem 0xff5d0000 [ 3.315146] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001 [ 3.315164] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 3.315178] usb usb3: Product: Generic Platform OHCI controller [ 3.315192] usb usb3: Manufacturer: Linux 4.4.174-rockchip64 ohci_hcd [ 3.315205] usb usb3: SerialNumber: ff5d0000.usb [ 3.316030] hub 3-0:1.0: USB hub found [ 3.316084] hub 3-0:1.0: 1 port detected [ 3.317313] xhci-hcd xhci-hcd.7.auto: xHCI Host Controller [ 3.317623] xhci-hcd xhci-hcd.7.auto: new USB bus registered, assigned bus number 4 [ 3.317839] xhci-hcd xhci-hcd.7.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x00210010 [ 3.317910] xhci-hcd xhci-hcd.7.auto: irq 179, io mem 0xff600000 [ 3.318157] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002 [ 3.318174] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 3.318189] usb usb4: Product: xHCI Host Controller [ 3.318203] usb usb4: Manufacturer: Linux 4.4.174-rockchip64 xhci-hcd [ 3.318216] usb usb4: SerialNumber: xhci-hcd.7.auto [ 3.319056] hub 4-0:1.0: USB hub found [ 3.319111] hub 4-0:1.0: 1 port detected [ 3.319597] xhci-hcd xhci-hcd.7.auto: xHCI Host Controller [ 3.319877] xhci-hcd xhci-hcd.7.auto: new USB bus registered, assigned bus number 5 [ 3.320004] usb usb5: We don't know the algorithms for LPM for this host, disabling LPM. [ 3.320188] usb usb5: New USB device found, idVendor=1d6b, idProduct=0003 [ 3.320204] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 3.320218] usb usb5: Product: xHCI Host Controller [ 3.320232] usb usb5: Manufacturer: Linux 4.4.174-rockchip64 xhci-hcd [ 3.320246] usb usb5: SerialNumber: xhci-hcd.7.auto [ 3.321032] hub 5-0:1.0: USB hub found [ 3.321085] hub 5-0:1.0: 1 port detected [ 3.321770] usbcore: registered new interface driver cdc_acm [ 3.321781] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters [ 3.321858] usbcore: registered new interface driver cdc_wdm [ 3.321993] usbcore: registered new interface driver usbserial [ 3.322051] usbcore: registered new interface driver usbserial_generic [ 3.322131] usbserial: USB Serial support registered for generic [ 3.323949] usbcore: registered new interface driver iforce [ 3.324073] usbcore: registered new interface driver xpad [ 3.324593] usbcore: registered new interface driver usbtouchscreen [ 3.325759] i2c /dev entries driver [ 3.328584] rk808 1-0018: Pmic Chip id: 0x8050 [ 3.329649] rk808 1-0018: source: on=0x40, off=0x00 [ 3.335059] rk808 1-0018: Looking up vcc1-supply from device tree [ 3.335200] DCDC_REG1: supplied by vcc_sys [ 3.335218] vcc_sys: could not add device link regulator.5 err -2 [ 3.337070] vdd_logic: 712 <--> 1450 mV at 1050 mV [ 3.337484] reg-fixed-voltage sdmmc-regulator: Looking up vin-supply from device tree [ 3.337522] vcc_sd: unable to resolve supply [ 3.337549] rk808 1-0018: Looking up vcc2-supply from device tree [ 3.337653] DCDC_REG2: supplied by vcc_sys [ 3.337669] vcc_sys: could not add device link regulator.6 err -2 [ 3.339032] vdd_arm: 712 <--> 1450 mV at 1000 mV [ 3.339434] reg-fixed-voltage sdmmc-regulator: Looking up vin-supply from device tree [ 3.339471] vcc_sd: unable to resolve supply [ 3.339500] rk808 1-0018: Looking up vcc3-supply from device tree [ 3.339606] DCDC_REG3: supplied by vcc_sys [ 3.339621] vcc_sys: could not add device link regulator.7 err -2 [ 3.340870] vcc_ddr: at 5000 mV [ 3.341231] reg-fixed-voltage sdmmc-regulator: Looking up vin-supply from device tree [ 3.341263] vcc_sd: unable to resolve supply [ 3.341293] rk808 1-0018: Looking up vcc4-supply from device tree [ 3.341387] DCDC_REG4: supplied by vcc_sys [ 3.341402] vcc_sys: could not add device link regulator.8 err -2 [ 3.342299] vcc_io: 3300 mV [ 3.342664] reg-fixed-voltage sdmmc-regulator: Looking up vin-supply from device tree [ 3.342696] vcc_sd: supplied by vcc_io [ 3.342810] rk808 1-0018: Looking up vcc5-supply from device tree [ 3.342839] LDO_REG1: supplied by vcc_io [ 3.342852] vcc_io: could not add device link regulator.9 err -2 [ 3.345239] vdd_18: 1800 mV [ 3.346091] rk808 1-0018: Looking up vcc5-supply from device tree [ 3.346123] LDO_REG2: supplied by vcc_io [ 3.346137] vcc_io: could not add device link regulator.10 err -2 [ 3.348508] vcc18_emmc: 1800 mV [ 3.349358] rk808 1-0018: Looking up vcc6-supply from device tree [ 3.349476] LDO_REG3: supplied by vcc_sys [ 3.349491] vcc_sys: could not add device link regulator.11 err -2 [ 3.351860] vdd_10: 1000 mV [ 3.352705] rk808 1-0018: register rk8050 regulators [ 3.352934] gpiochip_find_base: found new base at 510 [ 3.353085] gpiochip_add_data: registered GPIOs 510 to 511 on device: rk8xx-gpio [ 3.353100] rk8xx-gpio rk8xx-gpio: register rk8050 gpio successful [ 3.355190] input: rk8xx_pwrkey as /devices/platform/ff160000.i2c/i2c-1/1-0018/input/input1 [ 3.365209] rk808-rtc rk808-rtc: rtc core: registered rk808-rtc as rtc0 [ 3.366064] rk3x-i2c ff160000.i2c: Initialized RK3xxx I2C bus at ffffff8009b5a000 [ 3.367982] IR NEC protocol handler initialized [ 3.368003] IR RC5(x/sz) protocol handler initialized [ 3.368022] IR RC6 protocol handler initialized [ 3.368041] IR JVC protocol handler initialized [ 3.368059] IR Sony protocol handler initialized [ 3.368077] IR SANYO protocol handler initialized [ 3.368095] IR Sharp protocol handler initialized [ 3.368115] IR MCE Keyboard/mouse protocol handler initialized [ 3.368133] IR XMP protocol handler initialized [ 3.368243] usbcore: registered new interface driver redrat3 [ 3.368322] usbcore: registered new interface driver iguanair [ 3.368891] usbcore: registered new interface driver uvcvideo [ 3.368901] USB Video Class driver (1.1.1) [ 3.369477] rockchip-iodomain ff100000.syscon:io-domains: Looking up vccio1-supply from device tree [ 3.369610] rockchip-iodomain ff100000.syscon:io-domains: Looking up vccio2-supply from device tree [ 3.370274] rockchip-iodomain ff100000.syscon:io-domains: Looking up vccio3-supply from device tree [ 3.370373] rockchip-iodomain ff100000.syscon:io-domains: Looking up vccio4-supply from device tree [ 3.370953] rockchip-iodomain ff100000.syscon:io-domains: Looking up vccio5-supply from device tree [ 3.371049] rockchip-iodomain ff100000.syscon:io-domains: Looking up vccio6-supply from device tree [ 3.371160] rockchip-iodomain ff100000.syscon:io-domains: Looking up pmuio-supply from device tree [ 3.373941] rockchip-thermal ff250000.tsadc: tsadc is probed successfully! [ 3.375409] device-mapper: ioctl: 4.34.0-ioctl (2015-10-28) initialised: dm-devel@redhat.com [ 3.375882] cpu cpu0: Failed to get leakage [ 3.375953] cpu cpu0: Looking up cpu-supply from device tree [ 3.376060] cpu cpu0: Failed to get pvtm [ 3.376484] cpu cpu0: Looking up cpu-supply from device tree [ 3.376717] cpu cpu0: Looking up cpu-supply from device tree [ 3.379181] sdhci: Secure Digital Host Controller Interface driver [ 3.379190] sdhci: Copyright(c) Pierre Ossman [ 3.379196] Synopsys Designware Multimedia Card Interface Driver [ 3.379935] dwmmc_rockchip ff520000.dwmmc: IDMAC supports 32-bit address mode. [ 3.379960] dwmmc_rockchip ff520000.dwmmc: Using internal DMA controller. [ 3.379970] dwmmc_rockchip ff520000.dwmmc: Version ID is 270a [ 3.380010] dwmmc_rockchip ff520000.dwmmc: DW MMC controller at irq 38,32 bit host data width,256 deep fifo [ 3.380032] dwmmc_rockchip ff520000.dwmmc: Looking up vmmc-supply from device tree [ 3.380114] dwmmc_rockchip ff520000.dwmmc: Looking up vqmmc-supply from device tree [ 3.380654] dwmmc_rockchip ff520000.dwmmc: GPIO lookup for consumer wp [ 3.380660] dwmmc_rockchip ff520000.dwmmc: using device tree for GPIO lookup [ 3.380668] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/dwmmc@ff520000[0]' [ 3.380674] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/dwmmc@ff520000[0]' [ 3.380679] dwmmc_rockchip ff520000.dwmmc: using lookup tables for GPIO lookup [ 3.380686] dwmmc_rockchip ff520000.dwmmc: lookup for GPIO wp failed [ 3.394897] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0) [ 3.411930] dwmmc_rockchip ff520000.dwmmc: 1 slots initialized [ 3.414377] dwmmc_rockchip ff500000.dwmmc: IDMAC supports 32-bit address mode. [ 3.414407] dwmmc_rockchip ff500000.dwmmc: Using internal DMA controller. [ 3.414416] dwmmc_rockchip ff500000.dwmmc: Version ID is 270a [ 3.414453] dwmmc_rockchip ff500000.dwmmc: DW MMC controller at irq 39,32 bit host data width,256 deep fifo [ 3.414474] dwmmc_rockchip ff500000.dwmmc: Looking up vmmc-supply from device tree [ 3.414558] dwmmc_rockchip ff500000.dwmmc: Looking up vqmmc-supply from device tree [ 3.414623] dwmmc_rockchip ff500000.dwmmc: GPIO lookup for consumer cd [ 3.414629] dwmmc_rockchip ff500000.dwmmc: using device tree for GPIO lookup [ 3.414636] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/dwmmc@ff500000[0]' [ 3.414642] of_get_named_gpiod_flags: can't parse 'cd-gpio' property of node '/dwmmc@ff500000[0]' [ 3.414647] dwmmc_rockchip ff500000.dwmmc: using lookup tables for GPIO lookup [ 3.414654] dwmmc_rockchip ff500000.dwmmc: lookup for GPIO cd failed [ 3.414661] dwmmc_rockchip ff500000.dwmmc: GPIO lookup for consumer wp [ 3.414666] dwmmc_rockchip ff500000.dwmmc: using device tree for GPIO lookup [ 3.414672] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/dwmmc@ff500000[0]' [ 3.414677] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/dwmmc@ff500000[0]' [ 3.414682] dwmmc_rockchip ff500000.dwmmc: using lookup tables for GPIO lookup [ 3.414687] dwmmc_rockchip ff500000.dwmmc: lookup for GPIO wp failed [ 3.426928] mmc_host mmc1: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0) [ 3.430902] mmc_host mmc0: Bus speed (slot 0) = 300000Hz (slot req 300000Hz, actual 300000HZ div = 0) [ 3.443958] dwmmc_rockchip ff500000.dwmmc: 1 slots initialized [ 3.444084] sdhci-pltfm: SDHCI platform and OF driver helper [ 3.446466] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/standby-led[0]' - status (0) [ 3.447540] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/power-led[0]' - status (0) [ 3.448856] of_get_named_gpiod_flags: parsed 'gpios' property of node '/switches/usb-switch[0]' - status (0) [ 3.449353] hidraw: raw HID events driver (C) Jiri Kosina [ 3.451757] usbcore: registered new interface driver usbhid [ 3.451768] usbhid: USB HID core driver [ 3.452228] ashmem: initialized [ 3.454750] usbcore: registered new interface driver snd-usb-audio [ 3.461234] u32 classifier [ 3.461472] Initializing XFRM netlink socket [ 3.462482] NET: Registered protocol family 10 [ 3.463800] [WLAN_RFKILL]: Enter rfkill_wlan_init [ 3.464158] [BT_RFKILL]: Enter rfkill_rk_init [ 3.464413] Key type dns_resolver registered [ 3.464443] Error: Driver 'ov4689' is already registered, aborting... [ 3.464464] Error: Driver 'ov13850' is already registered, aborting... [ 3.465550] Registered cp15_barrier emulation handler [ 3.465568] Registered setend emulation handler [ 3.466608] registered taskstats version 1 [ 3.466642] Loading compiled-in X.509 certificates [ 3.466994] mmc_host mmc0: Bus speed (slot 0) = 200000Hz (slot req 200000Hz, actual 200000HZ div = 0) [ 3.470256] Btrfs loaded, integrity-checker=on [ 3.470399] BTRFS: selftest: Running btrfs free space cache tests [ 3.470443] BTRFS: selftest: Running extent only tests [ 3.470480] BTRFS: selftest: Running bitmap only tests [ 3.470517] BTRFS: selftest: Running bitmap and extent tests [ 3.470564] BTRFS: selftest: Running space stealing from bitmap to extent [ 3.472355] BTRFS: selftest: Free space cache tests finished [ 3.472366] BTRFS: selftest: Running extent buffer operation tests [ 3.472374] BTRFS: selftest: Running btrfs_split_item tests [ 3.472486] BTRFS: selftest: Running find delalloc tests [ 3.477527] mmc_host mmc1: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0) [ 3.477628] mmc1: new high speed SDXC card at address 0001 [ 3.478389] mmcblk1: mmc1:0001 EC2QT 59.6 GiB [ 3.479846] mmcblk1: p1 [ 3.503004] mmc_host mmc0: Bus speed (slot 0) = 100000Hz (slot req 100000Hz, actual 100000HZ div = 0) [ 3.606983] usb 1-1: new low-speed USB device number 2 using dwc2 [ 3.651013] usb 5-1: new SuperSpeed USB device number 2 using xhci-hcd [ 3.667786] usb 5-1: New USB device found, idVendor=0bc2, idProduct=2320 [ 3.667796] usb 5-1: New USB device strings: Mfr=2, Product=3, SerialNumber=1 [ 3.667803] usb 5-1: Product: Expansion [ 3.667809] usb 5-1: Manufacturer: Seagate [ 3.667814] usb 5-1: SerialNumber: NA44JPW9 [ 3.696104] BTRFS: selftest: Running btrfs_get_extent tests [ 3.696283] BTRFS: selftest: Running hole first btrfs_get_extent test [ 3.696312] BTRFS: selftest: Running outstanding_extents tests [ 3.696363] BTRFS: selftest: Running qgroup tests [ 3.696368] BTRFS: selftest: Qgroup basic add [ 3.696427] BTRFS: selftest: Qgroup multiple refs test [ 3.739800] Key type encrypted registered [ 3.740341] of_get_named_gpiod_flags: can't parse 'simple-audio-card,hp-det-gpio' property of node '/hdmi-sound[0]' [ 3.740351] of_get_named_gpiod_flags: can't parse 'simple-audio-card,mic-det-gpio' property of node '/hdmi-sound[0]' [ 3.740805] asoc-simple-card hdmi-sound: i2s-hifi <-> ff000000.i2s mapping ok [ 3.741983] of_get_named_gpiod_flags: can't parse 'simple-audio-card,hp-det-gpio' property of node '/spdif-sound[0]' [ 3.741993] of_get_named_gpiod_flags: can't parse 'simple-audio-card,mic-det-gpio' property of node '/spdif-sound[0]' [ 3.742403] asoc-simple-card spdif-sound: dit-hifi <-> ff030000.spdif mapping ok [ 3.745260] rk808-rtc rk808-rtc: setting system clock to 2019-03-07 20:47:04 UTC (1551991624) [ 3.745274] of_cfs_init [ 3.745306] of_cfs_init: OK [ 3.754919] I : [File] : drivers/gpu/arm/mali400/mali/linux/mali_kernel_linux.c; [Line] : 417; [Func] : mali_module_init(); svn_rev_string_from_arm of this mali_ko is '', rk_ko_ver is '5', built at '10:42:06', on 'Feb 10 2019'. [ 3.755105] mali-utgard ff300000.gpu: mali_platform_device->num_resources = 9 [ 3.755112] mali-utgard ff300000.gpu: resource[0].start = 0x0x00000000ff300000 [ 3.755118] mali-utgard ff300000.gpu: resource[1].start = 0x0x00000000ff300000 [ 3.755124] mali-utgard ff300000.gpu: resource[2].start = 0x0x0000000000000012 [ 3.755130] mali-utgard ff300000.gpu: resource[3].start = 0x0x0000000000000013 [ 3.755135] mali-utgard ff300000.gpu: resource[4].start = 0x0x0000000000000014 [ 3.755141] mali-utgard ff300000.gpu: resource[5].start = 0x0x0000000000000015 [ 3.755147] mali-utgard ff300000.gpu: resource[6].start = 0x0x0000000000000016 [ 3.755153] mali-utgard ff300000.gpu: resource[7].start = 0x0x0000000000000017 [ 3.755159] mali-utgard ff300000.gpu: resource[8].start = 0x0x0000000000000018 [ 3.755165] D : [File] : drivers/gpu/arm/mali400/mali/platform/rk/rk.c; [Line] : 623; [Func] : mali_platform_device_init(); to add platform_specific_data to platform_device_of_mali. [ 3.755196] mali-utgard ff300000.gpu: Looking up mali-supply from device tree [ 3.755283] mali-utgard ff300000.gpu: Failed to get leakage [ 3.755308] mali-utgard ff300000.gpu: Looking up mali-supply from device tree [ 3.755323] vdd_logic: could not add device link ff300000.gpu err -17 [ 3.755331] vdd_logic: Failed to create debugfs directory [ 3.755338] mali-utgard ff300000.gpu: Failed to get pvtm [ 3.757384] Mali: Mali device driver loaded [ 3.758241] ALSA device list: [ 3.758250] #0: HDMI [ 3.758254] #1: SPDIF [ 3.758854] Freeing unused kernel memory: 1216K [ 3.796591] usb 1-1: New USB device found, idVendor=0b38, idProduct=0010 [ 3.796608] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 3.801839] input: HID 0b38:0010 as /devices/platform/ff580000.usb/usb1/1-1/1-1:1.0/0003:0B38:0010.0001/input/input2 [ 3.855793] hid-generic 0003:0B38:0010.0001: input,hidraw0: USB HID v1.10 Keyboard [HID 0b38:0010] on usb-ff580000.usb-1/input0 [ 3.859042] devfreq ff300000.gpu: Couldn't update frequency transition information. [ 3.864580] input: HID 0b38:0010 as /devices/platform/ff580000.usb/usb1/1-1/1-1:1.1/0003:0B38:0010.0002/input/input3 [ 3.919511] hid-generic 0003:0B38:0010.0002: input,hidraw1: USB HID v1.10 Device [HID 0b38:0010] on usb-ff580000.usb-1/input1 [ 4.143952] usb 5-1: UAS is blacklisted for this device, using usb-storage instead [ 4.143967] usb-storage 5-1:1.0: USB Mass Storage device detected [ 4.144246] usb-storage 5-1:1.0: Quirks match for vid 0bc2 pid 2320: 800000 [ 4.144316] scsi host0: usb-storage 5-1:1.0 [ 4.145397] usbcore: registered new interface driver usb-storage [ 4.146215] usbcore: registered new interface driver uas [ 4.654584] EXT4-fs (mmcblk1p1): mounted filesystem with writeback data mode. Opts: (null) [ 5.143823] scsi 0:0:0:0: Direct-Access Seagate Expansion 060E PQ: 0 ANSI: 6 [ 5.146756] sd 0:0:0:0: [sda] 2930277167 512-byte logical blocks: (1.50 TB/1.36 TiB) [ 5.379604] ip_tables: (C) 2000-2006 Netfilter Core Team [ 5.382542] cgroup: cgroup2: unknown option "nsdelegate" [ 5.402509] systemd[1]: systemd 237 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) [ 5.403369] systemd[1]: Detected architecture arm64. [ 5.424568] systemd[1]: Set hostname to <rock64>. [ 5.493793] of_dma_request_slave_channel: dma-names property of node '/serial@ff130000' missing or empty [ 5.493806] ttyS2 - failed to request DMA, use interrupt mode [ 5.503161] sd 0:0:0:0: [sda] Write Protect is off [ 5.503183] sd 0:0:0:0: [sda] Mode Sense: 4f 00 00 00 [ 5.503674] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 5.521829] sda: sda1 [ 5.523444] sd 0:0:0:0: [sda] Attached SCSI disk [ 5.774838] systemd[1]: File /lib/systemd/system/systemd-journald.service:36 configures an IP firewall (IPAddressDeny=any), but the local system does not support BPF/cgroup based firewalling. [ 5.774912] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.) [ 6.003415] random: systemd: uninitialized urandom read (16 bytes read, 118 bits of entropy available) [ 6.003621] systemd[1]: Started ntp-systemd-netif.path. [ 6.004334] random: systemd: uninitialized urandom read (16 bytes read, 118 bits of entropy available) [ 6.005074] systemd[1]: Created slice User and Session Slice. [ 6.005534] random: systemd: uninitialized urandom read (16 bytes read, 118 bits of entropy available) [ 6.005593] systemd[1]: Reached target Swap. [ 6.005915] random: systemd: uninitialized urandom read (16 bytes read, 118 bits of entropy available) [ 6.006145] systemd[1]: Started Forward Password Requests to Wall Directory Watch. [ 6.006647] random: systemd: uninitialized urandom read (16 bytes read, 118 bits of entropy available) [ 6.006701] systemd[1]: Reached target Remote File Systems. [ 6.007214] random: systemd: uninitialized urandom read (16 bytes read, 118 bits of entropy available) [ 6.007459] systemd[1]: Started Dispatch Password Requests to Console Directory Watch. [ 6.007974] random: systemd: uninitialized urandom read (16 bytes read, 118 bits of entropy available) [ 6.008679] systemd[1]: Created slice System Slice. [ 6.009196] random: systemd: uninitialized urandom read (16 bytes read, 118 bits of entropy available) [ 6.009534] systemd[1]: Listening on udev Control Socket. [ 6.009982] random: systemd: uninitialized urandom read (16 bytes read, 118 bits of entropy available) [ 6.010310] systemd[1]: Listening on Syslog Socket. [ 6.010721] random: systemd: uninitialized urandom read (16 bytes read, 118 bits of entropy available) [ 6.010773] systemd[1]: Reached target Slices. [ 6.011508] systemd[1]: Listening on Journal Socket (/dev/log). [ 6.012371] systemd[1]: Listening on Journal Socket. [ 6.015801] systemd[1]: Mounting POSIX Message Queue File System... [ 6.019666] systemd[1]: Starting Set the console keyboard layout... [ 6.023471] systemd[1]: Starting Nameserver information manager... [ 6.024592] systemd[1]: Listening on fsck to fsckd communication Socket. [ 6.035098] systemd[1]: Starting Load Kernel Modules... [ 6.036138] systemd[1]: Listening on udev Kernel Socket. [ 6.040267] systemd[1]: Starting udev Coldplug all Devices... [ 6.044131] systemd[1]: Starting Create list of required static device nodes for the current kernel... [ 6.045684] systemd[1]: Listening on Journal Audit Socket. [ 6.050544] systemd[1]: Starting Journal Service... [ 6.051337] systemd[1]: Reached target Local Encrypted Volumes. [ 6.058282] systemd[1]: Mounting Kernel Debug File System... [ 6.060491] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point. [ 6.076796] systemd[1]: Reached target System Time Synchronized. [ 6.085734] systemd[1]: Starting Restore / save the current clock... [ 6.087117] systemd[1]: Created slice system-serial\x2dgetty.slice. [ 6.091633] systemd[1]: Mounting Huge Pages File System... [ 6.092519] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe. [ 6.099172] systemd[1]: Starting Remount Root and Kernel File Systems... [ 6.103544] systemd[1]: Mounted POSIX Message Queue File System. [ 6.108777] systemd[1]: Started Load Kernel Modules. [ 6.111763] systemd[1]: Started Create list of required static device nodes for the current kernel. [ 6.113016] systemd[1]: Mounted Kernel Debug File System. [ 6.119686] systemd[1]: Starting Create Static Device Nodes in /dev... [ 6.124565] systemd[1]: Mounting Kernel Configuration File System... [ 6.135429] systemd[1]: Mounting FUSE Control File System... [ 6.152539] systemd[1]: Starting Apply Kernel Variables... [ 6.163155] EXT4-fs (mmcblk1p1): re-mounted. Opts: commit=600,errors=remount-ro [ 6.175357] systemd[1]: Started Restore / save the current clock. [ 6.176755] systemd[1]: Mounted Huge Pages File System. [ 6.179079] systemd[1]: Started Remount Root and Kernel File Systems. [ 6.182334] systemd[1]: Started Nameserver information manager. [ 6.184189] systemd[1]: Mounted Kernel Configuration File System. [ 6.188085] systemd[1]: Mounted FUSE Control File System. [ 6.190402] systemd[1]: Reached target Network (Pre). [ 6.195581] systemd[1]: Starting Load/Save Random Seed... [ 6.227094] random: nonblocking pool is initialized [ 6.231111] systemd[1]: Started Apply Kernel Variables. [ 6.246577] systemd[1]: Started Load/Save Random Seed. [ 6.248560] systemd[1]: Started Create Static Device Nodes in /dev. [ 6.260874] systemd[1]: Starting udev Kernel Device Manager... [ 6.312667] systemd[1]: Started Journal Service. [ 6.365549] systemd-journald[286]: Received request to flush runtime journal from PID 1 [ 6.641588] rk-vcodec vpu_combo: Looking up vcodec-supply from device tree [ 6.641609] rk-vcodec vpu_combo: Looking up vcodec-supply property in node /vpu_combo failed [ 6.641636] rk-vcodec vpu_combo: no regulator for vcodec [ 6.641940] rk-vcodec vpu_combo: failed on clk_get clk_cabac [ 6.642008] rk-vcodec vpu_combo: failed on clk_get clk_core [ 6.642082] platform ff350000.vpu_service: probe device [ 6.642471] platform ff350000.vpu_service: drm allocator with mmu enabled [ 6.652094] platform ff351000.avsd: probe device [ 6.652519] platform ff351000.avsd: drm allocator with mmu enabled [ 6.656805] rk-vcodec vpu_combo: could not find power_model node [ 6.656822] rk-vcodec vpu_combo: init success [ 6.657238] rk-vcodec ff360000.rkvdec: Looking up vcodec-supply from device tree [ 6.657258] rk-vcodec ff360000.rkvdec: Looking up vcodec-supply property in node /rkvdec@ff36000 failed [ 6.657280] rk-vcodec ff360000.rkvdec: no regulator for vcodec [ 6.657325] rk-vcodec ff360000.rkvdec: parent devfreq is disabled [ 6.663319] rk-vcodec ff360000.rkvdec: probe device [ 6.663868] rk-vcodec ff360000.rkvdec: drm allocator with mmu enabled [ 6.664888] rk-vcodec ff360000.rkvdec: init success [ 6.670815] of_get_named_gpiod_flags: can't parse 'gpios' property of node '/ir-receiver[0]' [ 6.670832] gpio-rc-recv ir-receiver: Failed to get gpio flags (-2) [ 6.670854] gpio-rc-recv: probe of ir-receiver failed with error -2 [ 8.041100] cfg80211: World regulatory domain updated: [ 8.041116] cfg80211: DFS Master region: unset [ 8.041121] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time) [ 8.041130] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A) [ 8.041138] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz, 92000 KHz AUTO), (N/A, 2000 mBm), (N/A) [ 8.041146] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A) [ 8.041154] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A) [ 8.041162] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s) [ 8.041169] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s) [ 8.041176] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A) [ 8.041183] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A) [ 8.123295] zram: Added device: zram0 [ 8.124197] zram: Added device: zram1 [ 8.125276] zram: Added device: zram2 [ 8.131808] zram: Added device: zram3 [ 8.136124] zram: Added device: zram4 [ 8.137089] zram: Added device: zram5 [ 8.181788] zram1: detected capacity change from 0 to 261099520 [ 8.232246] Adding 254976k swap on /dev/zram1. Priority:5 extents:1 across:254976k SS [ 8.234835] zram2: detected capacity change from 0 to 261099520 [ 8.265875] Adding 254976k swap on /dev/zram2. Priority:5 extents:1 across:254976k SS [ 8.269234] zram3: detected capacity change from 0 to 261099520 [ 8.290416] Adding 254976k swap on /dev/zram3. Priority:5 extents:1 across:254976k SS [ 8.292844] zram4: detected capacity change from 0 to 261099520 [ 8.312382] Adding 254976k swap on /dev/zram4. Priority:5 extents:1 across:254976k SS [ 8.354308] zram0: detected capacity change from 0 to 52428800 [ 8.465273] EXT4-fs (zram0): mounted filesystem without journal. Opts: discard [ 11.178781] nr_pdflush_threads exported in /proc is scheduled for removal [ 12.249883] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready [ 12.894169] NET: Registered protocol family 17 [ 14.247178] rk_gmac-dwmac ff540000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx [ 45.359058] usb 1-1: USB disconnect, device number 2 ip link show dev eth0 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UNKNOWN mode DEFAULT group default qlen 1000 link/ether 8a:aa:04:a1:19:ec brd ff:ff:ff:ff:ff:ff ifconfig eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.1.8 netmask 255.255.255.0 broadcast 192.168.1.255 inet6 fe80::8023:c6f6:b8cd:f435 prefixlen 64 scopeid 0x20<link> ether 8a:aa:04:a1:19:ec txqueuelen 1000 (Ethernet) RX packets 25652717 bytes 25286449632 (25.2 GB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 21508044 bytes 10823532692 (10.8 GB) TX errors 135 dropped 0 overruns 135 carrier 0 collisions 0 device interrupt 40 Edited March 11, 2019 by Igor spoilers
Thewonderer Posted March 10, 2019 Author Posted March 10, 2019 Just saw these recent changes to the mainline Kernel on Ayufun's git repository. Maybe this will help... Will these come across to the Armbian build? https://github.com/ayufan-rock64/linux-mainline-kernel https://github.com/ayufan-rock64/linux-mainline-kernel/commit/41eeb7cd789ea7cac0cbf4b35b53055f354da757 https://github.com/ayufan-rock64/linux-mainline-kernel/commit/41eeb7cd789ea7cac0cbf4b35b53055f354da757
TonyMac32 Posted March 11, 2019 Posted March 11, 2019 Yes, I've been watching those, going to try them out once they stabilize a bit, as you can see there's some back and forth going on on the mainline mailing list as well Sent from my Pixel using Tapatalk
Thewonderer Posted March 24, 2019 Author Posted March 24, 2019 Hi, Another NIC failure today that I managed to grab before I restarted it. As you can see 750 TX errors.... I've attached so other logs... Hope this helps. Seems I'm the only one getting this which makes me think, is it my router? eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.1.8 netmask 255.255.255.0 broadcast 192.168.1.255 inet6 fe80::8023:c6f6:b8cd:f435 prefixlen 64 scopeid 0x20<link> ether 8a:aa:04:a1:19:ec txqueuelen 1000 (Ethernet) RX packets 1424321 bytes 234852215 (234.8 MB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 2583586 bytes 3741269708 (3.7 GB) TX errors 750 dropped 0 overruns 3 carrier 0 collisions 0 device interrupt 40 lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10<host> loop txqueuelen 1 (Local Loopback) RX packets 44263 bytes 49204370 (49.2 MB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 44263 bytes 49204370 (49.2 MB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 Maybe this patch will fix it for mainline kernel https://patchwork.kernel.org/patch/10846013/ Is it difficult to change my kernel from 4.4 to 5? dmesg.txt armbian-hardware-monitor.log kern.log
jpegxguy Posted April 8, 2019 Posted April 8, 2019 There's been a bit of discussion on this in the mainline mailing lists. Try sticking this in your boot.cmd temporarily, immediately after fdt resize: (dont forget to mkscr) fdt rm /ethernet@ff540000 rockchip,bugged_tx_coe fdt rm /ethernet@ff540000 snps,force_thresh_dma_mode fdt set /ethernet@ff540000 snps,txpbl <0x21> and reboot. Then go about your day or do an iperf test if you have another gigabit capable device.
Thewonderer Posted April 10, 2019 Author Posted April 10, 2019 On 4/9/2019 at 3:54 AM, jpegxguy said: There's been a bit of discussion on this in the mainline mailing lists. Try sticking this in your boot.cmd temporarily, immediately after fdt resize: (dont forget to mkscr) fdt rm /ethernet@ff540000 rockchip,bugged_tx_coe fdt rm /ethernet@ff540000 snps,force_thresh_dma_mode fdt set /ethernet@ff540000 snps,txpbl <0x21> and reboot. Then go about your day or do an iperf test if you have another gigabit capable device. Thanks jpegxguy , I will try that. What is mkscr? and where does the boot.cmd live? Don't know why my rock64 gets this but i don't see other people discussing this. It's about once a week and the only recovery is to restart it.
martinayotte Posted April 10, 2019 Posted April 10, 2019 11 hours ago, Thewonderer said: What is mkscr? I presume you have look at /boot/boot.cmd, at the end of the file, it is written : mkimage -C none -A arm -T script -d /boot/boot.cmd /boot/boot.scr
Thewonderer Posted April 21, 2019 Author Posted April 21, 2019 Thanks, I've just made the update to my rock64 and will see how it goes over the next couple of weeks. The NIC is only stable for a maximum of a week.
Thewonderer Posted April 29, 2019 Author Posted April 29, 2019 It's been over a week and so far the rock64 NIC has been stable. I'll update further if anything changes. Many thanks for all the help.
meetyg Posted June 24, 2019 Posted June 24, 2019 I'm having similar problems. I tried the suggested temporary solution. At first I thought that it didn't change anything, because I lost connectivity again. But after a few hours the ethernet connection came back (which never happened before, when ethernet was lost, the only solution was to pull the power plug and restart it). It seems like after the boot.cmd change, ehternet connection is randomly gowing up and down. Is there any news on this? Any ideas?
meetyg Posted June 29, 2019 Posted June 29, 2019 Good news! It seems that after the change mentioned above, the network has been fairly stable. I don't know why at first there were some connectivity pauses, but after it hasn't happened since then, and seems stable! Thanks!
Recommended Posts