Aoz Posted July 21, 2019 Share Posted July 21, 2019 Sorry to be back here I run a Cubox-i. I upgraded to kernel 5.1.16 yesterday. Then I rebooted and everything was running fine. But today my server looked dead: none of my services was answering, no way to ssh to the cubox... I tryied a hard reboot with no success. Here is the log on a putty console: U-Boot SPL 2013.10-rc4-ge4bc4c3 (Dec 18 2014 - 14:55:42) Boot Device: SD1 spl: error reading image u-boot.img, err - -1 Load image from RAW... U-Boot 2013.10-rc4-ge4bc4c3 (Dec 18 2014 - 14:55:42) CPU: Freescale i.MX6Q rev1.2 at 792 MHz Reset cause: POR Board: MX6-CuBox-i DRAM: 2 GiB MMC: FSL_SDHC: 0 *** Warning - bad CRC, using default environment In: serial Out: vga Err: vga Net: FEC [PRIME] (Re)start USB... USB0: USB EHCI 1.00 scanning bus 0 for devices... 1 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found scanning usb for ethernet devices... 0 Ethernet Device(s) found Hit any key to stop autoboot: 0 mmc0 is current device ** File not found /boot.scr ** ** File not found /uEnv.txt ** ** File not found /zImage ** ** File not found /uImage ** 1816 bytes read in 122 ms (13.7 KiB/s) Running bootscript from mmc ... ## Executing script at 10800000 ** File not found .next ** 94 bytes read in 114 ms (0 Bytes/s) 37237 bytes read in 854 ms (42 KiB/s) 4820085 bytes read in 375 ms (12.3 MiB/s) 5961616 bytes read in 564 ms (10.1 MiB/s) Kernel image @ 0x10800000 [ 0x000000 - 0x5af790 ] ## Loading init Ramdisk from Legacy Image at 14800000 ... Image Name: uInitrd Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 4820021 Bytes = 4.6 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK ## Flattened Device Tree blob at 18000000 Booting using the fdt blob at 0x18000000 Using Device Tree in place at 18000000, end 1800c174 Starting kernel ... Uncompressing Linux... done, booting the kernel. Booting Linux on physical CPU 0x0 Linux version 5.1.16-cubox (root@nightly) (gcc version 7.4.1 20181213 [linaro-7.4-2019.02 revision 56ec6f6b99cc167ff0c2f8e1a2eed33b1edc85d4] (Linaro GCC 7.4-2019.02)) #5.90 SMP Sun Jul 7 11:37:47 CEST 2019 CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=50c5387d CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache OF: fdt: Machine model: SolidRun Cubox-i Dual/Quad Memory policy: Data cache writealloc cma: Reserved 256 MiB at 0x70000000 random: get_random_bytes called from start_kernel+0x85/0x376 with crng_init=0 percpu: Embedded 17 pages/cpu s37196 r8192 d24244 u69632 Built 1 zonelists, mobility grouping on. Total pages: 520256 Kernel command line: root=/dev/sda1 rootfstype=ext4 rootwait console=ttymxc0,115200 consoleblank=0 video=mxcfb0:dev=hdmi,1920x1080m60,if=RGB24,bpp=32 rd.dm=0 rd.luks=0 rd.lvm=0 raid=noautodetect pci=nomsi vt.global_cursor_default=0 loglevel=7 usb-storage.quirks=0x2537:0x1066:u,0x2537:0x1068:u Dentry cache hash table entries: 262144 (order: 8, 1048576 bytes) Inode-cache hash table entries: 131072 (order: 7, 524288 bytes) Memory: 1796204K/2097152K available (8192K kernel code, 391K rwdata, 2472K rodata, 1024K init, 461K bss, 38804K reserved, 262144K cma-reserved, 262144K highmem) SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 rcu: Hierarchical RCU implementation. rcu: RCU event tracing is enabled. rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies. NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16 L2C: DT/platform modifies aux control register: 0x72070000 -> 0x72470000 L2C-310 errata 752271 769419 enabled L2C-310 enabling early BRESP for Cortex-A9 L2C-310 full line of zeros enabled for Cortex-A9 L2C-310 ID prefetch enabled, offset 16 lines L2C-310 dynamic clock gating enabled, standby mode enabled L2C-310 cache controller enabled, 16 ways, 1024 kB L2C-310: CACHE_ID 0x410000c7, AUX_CTRL 0x76470001 Switching to timer-based delay loop, resolution 333ns sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 715827882841ns clocksource: mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 637086815595 ns Console: colour dummy device 80x30 Calibrating delay loop (skipped), value calculated using timer frequency.. 6.00 BogoMIPS (lpj=12000) pid_max: default: 32768 minimum: 301 LSM: Security Framework initializing Mount-cache hash table entries: 4096 (order: 2, 16384 bytes) Mountpoint-cache hash table entries: 4096 (order: 2, 16384 bytes) *** VALIDATE proc *** *** VALIDATE cgroup1 *** *** VALIDATE cgroup2 *** CPU: Testing write buffer coherency: ok CPU0: Spectre v2: using BPIALL workaround CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 Setting up static identity map for 0x10100000 - 0x10100054 rcu: Hierarchical SRCU implementation. smp: Bringing up secondary CPUs ... CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 CPU1: Spectre v2: using BPIALL workaround CPU2: thread -1, cpu 2, socket 0, mpidr 80000002 CPU2: Spectre v2: using BPIALL workaround CPU3: thread -1, cpu 3, socket 0, mpidr 80000003 CPU3: Spectre v2: using BPIALL workaround smp: Brought up 1 node, 4 CPUs SMP: Total of 4 processors activated (24.00 BogoMIPS). CPU: All CPU(s) started in SVC mode. devtmpfs: initialized VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4 clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns futex hash table entries: 1024 (order: 4, 65536 bytes) xor: measuring software checksum speed arm4regs : 1233.000 MB/sec 8regs : 916.000 MB/sec 32regs : 882.000 MB/sec neon : 899.000 MB/sec xor: using function: arm4regs (1233.000 MB/sec) pinctrl core: initialized pinctrl subsystem NET: Registered protocol family 16 DMA: preallocated 2048 KiB pool for atomic coherent allocations audit: initializing netlink subsys (disabled) audit: type=2000 audit(0.192:1): state=initialized audit_enabled=0 res=1 cpuidle: using governor ladder cpuidle: using governor menu CPU identified as i.MX6Q, silicon rev 1.2 vdd1p1: supplied by regulator-dummy vdd3p0: supplied by regulator-dummy vdd2p5: supplied by regulator-dummy vddarm: supplied by regulator-dummy vddpu: supplied by regulator-dummy vddsoc: supplied by regulator-dummy hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers. hw-breakpoint: maximum watchpoint size is 4 bytes. imx6q-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver raid6: neonx8 gen() 529 MB/s raid6: neonx8 xor() 496 MB/s raid6: neonx4 gen() 685 MB/s raid6: neonx4 xor() 652 MB/s raid6: neonx2 gen() 661 MB/s raid6: neonx2 xor() 669 MB/s raid6: neonx1 gen() 615 MB/s raid6: neonx1 xor() 571 MB/s raid6: int32x8 gen() 217 MB/s raid6: int32x8 xor() 157 MB/s raid6: int32x4 gen() 192 MB/s raid6: int32x4 xor() 157 MB/s raid6: int32x2 gen() 174 MB/s raid6: int32x2 xor() 159 MB/s raid6: int32x1 gen() 134 MB/s raid6: int32x1 xor() 129 MB/s raid6: using algorithm neonx4 gen() 685 MB/s raid6: .... xor() 652 MB/s, rmw enabled raid6: using neon recovery algorithm mxs-dma 110000.dma-apbh: initialized v_usb2: supplied by v_5v0 vcc_3v3: supplied by v_5v0 v_usb1: supplied by v_5v0 vgaarb: loaded SCSI subsystem initialized usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb i2c i2c-1: IMX I2C adapter registered i2c i2c-2: IMX I2C adapter registered videodev: Linux video capture interface: v2.00 pps_core: LinuxPPS API ver. 1 registered pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> PTP clock support registered Advanced Linux Sound Architecture Driver Initialized. clocksource: Switched to clocksource mxc_timer1 VFS: Disk quotas dquot_6.6.0 VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) NET: Registered protocol family 2 tcp_listen_portaddr_hash hash table entries: 1024 (order: 1, 12288 bytes) TCP established hash table entries: 16384 (order: 4, 65536 bytes) TCP bind hash table entries: 16384 (order: 5, 131072 bytes) TCP: Hash tables configured (established 16384 bind 16384) UDP hash table entries: 1024 (order: 3, 32768 bytes) UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes) NET: Registered protocol family 1 RPC: Registered named UNIX socket transport module. RPC: Registered udp transport module. RPC: Registered tcp transport module. RPC: Registered tcp NFSv4.1 backchannel transport module. Trying to unpack rootfs image as initramfs... Freeing initrd memory: 4708K hw perfevents: no interrupt-affinity property for /pmu, guessing. hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available Initialise system trusted keyrings workingset: timestamp_bits=14 max_order=19 bucket_order=5 NFS: Registering the id_resolver key type Key type id_resolver registered Key type id_legacy registered nfs4filelayout_init: NFSv4 File Layout Driver Registering... Installing knfsd (copyright (C) 1996 okir@monad.swb.de). JFS: nTxBlock = 8192, nTxLock = 65536 SGI XFS with ACLs, security attributes, realtime, no debug enabled Key type asymmetric registered Asymmetric key parser 'x509' registered bounce: pool size: 64 pages Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249) imx-pgc-pd imx-pgc-power-domain.0: DMA mask not set imx-pgc-pd imx-pgc-power-domain.1: DMA mask not set 2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 26, base_baud = 5000000) is a IMX printk: console [ttymxc0] enabled 21f0000.serial: ttymxc3 at MMIO 0x21f0000 (irq = 66, base_baud = 5000000) is a IMX etnaviv etnaviv: bound 130000.gpu (ops 0x809686a4) etnaviv etnaviv: bound 134000.gpu (ops 0x809686a4) etnaviv etnaviv: bound 2204000.gpu (ops 0x809686a4) etnaviv-gpu 130000.gpu: model: GC2000, revision: 5108 etnaviv-gpu 130000.gpu: command buffer outside valid memory window etnaviv-gpu 134000.gpu: model: GC320, revision: 5007 etnaviv-gpu 134000.gpu: command buffer outside valid memory window etnaviv-gpu 2204000.gpu: model: GC355, revision: 1215 etnaviv-gpu 2204000.gpu: Ignoring GPU with VG and FE2.0 [drm] Initialized etnaviv 1.2.0 20151214 for etnaviv on minor 0 brd: module loaded loop: module loaded ahci-imx 2200000.sata: fsl,transmit-level-mV value 1104, using 00000044 ahci-imx 2200000.sata: fsl,transmit-boost-mdB value 0, using 00000000 ahci-imx 2200000.sata: fsl,transmit-atten-16ths value 9, using 00002000 ahci-imx 2200000.sata: fsl,receive-eq-mdB not specified, using 05000000 ahci-imx 2200000.sata: SSS flag set, parallel bus scan disabled ahci-imx 2200000.sata: AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl platform mode ahci-imx 2200000.sata: flags: ncq sntf stag pm led clo only pmp pio slum part ccc apst scsi host0: ahci-imx ata1: SATA max UDMA/133 mmio [mem 0x02200000-0x02203fff] port 0x100 irq 69 libphy: Fixed MDIO Bus: probed pps pps0: new PPS source ptp0 libphy: fec_enet_mii_bus: probed fec 2188000.ethernet eth0: registered PHC device 0 ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver ehci-pci: EHCI PCI platform driver usbcore: registered new interface driver usb-storage imx_usb 2184000.usb: No over current polarity defined ci_hdrc ci_hdrc.0: EHCI Host Controller ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 1 ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00 usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.01 usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 usb usb1: Product: EHCI Host Controller usb usb1: Manufacturer: Linux 5.1.16-cubox ehci_hcd usb usb1: SerialNumber: ci_hdrc.0 hub 1-0:1.0: USB hub found hub 1-0:1.0: 1 port detected imx_usb 2184200.usb: No over current polarity defined ci_hdrc ci_hdrc.1: EHCI Host Controller ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 2 ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00 usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.01 usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 usb usb2: Product: EHCI Host Controller usb usb2: Manufacturer: Linux 5.1.16-cubox ehci_hcd usb usb2: SerialNumber: ci_hdrc.1 hub 2-0:1.0: USB hub found hub 2-0:1.0: 1 port detected mousedev: PS/2 mouse device common for all mice rtc-pcf8523 2-0068: registered as rtc0 snvs_rtc 20cc000.snvs:snvs-rtc-lp: registered as rtc1 i2c /dev entries driver Registered IR keymap rc-empty rc rc0: gpio_ir_recv as /devices/soc0/ir-receiver/rc/rc0 input: gpio_ir_recv as /devices/soc0/ir-receiver/rc/rc0/input0 imx2-wdt 20bc000.wdog: timeout 60 sec (nowayout=0) sdhci: Secure Digital Host Controller Interface driver sdhci: Copyright(c) Pierre Ossman sdhci-pltfm: SDHCI platform and OF driver helper sdhci-esdhc-imx 2194000.usdhc: Got CD GPIO mmc0: SDHCI controller on 2194000.usdhc [2194000.usdhc] using ADMA ledtrig-cpu: registered to indicate activity on CPUs hidraw: raw HID events driver (C) Jiri Kosina usbcore: registered new interface driver usbhid usbhid: USB HID core driver usbcore: registered new interface driver r8712u ata1: SATA link down (SStatus 0 SControl 300) ahci-imx 2200000.sata: no device found, disabling link. ahci-imx 2200000.sata: pass ahci_imx..hotplug=1 to enable hotplug mmc0: host does not support reading read-only switch, assuming write-enable mmc0: new high speed SDHC card at address b368 mmcblk0: mmc0:b368 USD 7.47 GiB mmcblk0: p1 imx-spdif sound-spdif: ASoC: failed to init link S/PDIF PCM NET: Registered protocol family 10 Segment Routing with IPv6 NET: Registered protocol family 17 lib80211: common routines for IEEE802.11 drivers Key type dns_resolver registered Registering SWP/SWPB emulation handler registered taskstats version 1 Loading compiled-in X.509 certificates zswap: default zpool zbud not available zswap: pool creation failed Btrfs loaded, crc32c=crc32c-generic Key type encrypted registered usb usb2-port1: over-current condition imx_thermal tempmon: Extended Commercial CPU temperature grade - max:105C critical:100C passive:95C imx-spdif sound-spdif: ASoC: failed to init link S/PDIF PCM imx-spdif sound-spdif: ASoC: failed to init link S/PDIF PCM input: gpio-keys as /devices/soc0/gpio-keys/input/input1 rtc-pcf8523 2-0068: setting system clock to 2019-07-21T14:06:11 UTC (1563717971) Duplicate name in testcase-data, renamed to "duplicate-name#1" ### dt-test ### start of unittest - you will see error messages OF: /testcase-data/phandle-tests/consumer-a: could not get #phandle-cells-missing for /testcase-data/phandle-tests/provider1 OF: /testcase-data/phandle-tests/consumer-a: could not get #phandle-cells-missing for /testcase-data/phandle-tests/provider1 OF: /testcase-data/phandle-tests/consumer-a: could not find phandle OF: /testcase-data/phandle-tests/consumer-a: could not find phandle OF: /testcase-data/phandle-tests/consumer-a: arguments longer than property OF: /testcase-data/phandle-tests/consumer-a: arguments longer than property OF: /testcase-data/phandle-tests/consumer-b: could not get #phandle-missing-cells for /testcase-data/phandle-tests/provider1 imx-spdif sound-spdif: ASoC: failed to init link S/PDIF PCM OF: /testcase-data/phandle-tests/consumer-b: could not find phandle OF: /testcase-data/phandle-tests/consumer-b: arguments longer than property OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data/overlay-node/test-bus/test-unittest0/status OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data/overlay-node/test-bus/test-unittest1/status OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data/overlay-node/test-bus/test-unittest2/status OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data/overlay-node/test-bus/test-unittest3/status OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data/overlay-node/test-bus/test-unittest5/status OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data/overlay-node/test-bus/test-unittest6/status OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data/overlay-node/test-bus/test-unittest7/status imx-spdif sound-spdif: ASoC: failed to init link S/PDIF PCM OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data/overlay-node/test-bus/test-unittest8/status OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data/overlay-node/test-bus/test-unittest8/property-foo OF: overlay: node_overlaps_later_cs: #6 overlaps with #7 @/testcase-data/overlay-node/test-bus/test-unittest8 OF: overlay: overlay #6 is not topmost i2c i2c-3: Added multiplexed i2c bus 4 OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data/overlay-node/test-bus/i2c-test-bus/test-unittest12/status OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data/overlay-node/test-bus/i2c-test-bus/test-unittest13/status i2c i2c-3: Added multiplexed i2c bus 5 imx-spdif sound-spdif: ASoC: failed to init link S/PDIF PCM OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data-2/substation@100/status OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data-2/fairway-1/status OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data-2/fairway-1/ride@100/track@30/incline-up OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data-2/fairway-1/ride@100/track@40/incline-up OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data-2/lights@40000/status OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data-2/lights@40000/color OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data-2/lights@40000/rate OF: overlay: WARNING: memory leak will occur if overlay removed, property: /__symbols__/hvac_2 OF: overlay: WARNING: memory leak will occur if overlay removed, property: /__symbols__/ride_200 OF: overlay: WARNING: memory leak will occur if overlay removed, property: /__symbols__/ride_200_left OF: overlay: WARNING: memory leak will occur if overlay removed, property: /__symbols__/ride_200_right OF: overlay: ERROR: multiple fragments add and/or delete node /testcase-data-2/substation@100/motor-1/controller OF: overlay: ERROR: multiple fragments add, update, and/or delete property /testcase-data-2/substation@100/motor-1/controller/name OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data-2/substation@100/motor-1/rpm_avail OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data-2/substation@100/motor-1/rpm_avail OF: overlay: ERROR: multiple fragments add, update, and/or delete property /testcase-data-2/substation@100/motor-1/rpm_avail ### dt-test ### end of unittest - 224 passed, 0 failed brcm_reg: disabling ALSA device list: No soundcards found. Freeing unused kernel memory: 1024K Run /init as init process Loading, please wait... starting version 232 random: systemd-udevd: uninitialized urandom read (16 bytes read) random: systemd-udevd: uninitialized urandom read (16 bytes read) random: udevadm: uninitialized urandom read (16 bytes read) pwrseq_simple: section 3 reloc 2 sym 'memset': relocation 10 out of range (0x7f800034 -> 0x80886321) random: fast init done Begin: Loading essential drivers ... done. Begin: Running /scripts/init-premount ... done. Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done. Begin: Running /scripts/local-premount ... done. Begin: Waiting for root file system ... Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. done. Gave up waiting for root file system device. Common problems: - Boot args (cat /proc/cmdline) - Check rootdelay= (did the system wait long enough?) - Missing modules (cat /proc/modules; ls /dev) ALERT! /dev/sda1 does not exist. Dropping to a shell! If I check the boot args, as suggested: cat /proc/cmdline root=/dev/sda1 rootfstype=ext4 rootwait console=ttymxc0,115200 consoleblank=0 video=mxcfb0:dev=hdmi,1920x1080m60,if=RGB24,bpp=32 rd.dm=0 rd.luks=0 rd.lvm=0 raid=noautodetect pci=nomsi vt.global_cursor_default=0 loglevel=7 usb-storage.quirks=0x2537:0x1066:u,0x2537:0x1068:u And the modules: (initramfs) cat /proc/modules; ls /dev drwxr-xr-x 10 0 0 3380 . drwxr-xr-x 15 0 0 0 .. drwxr-xr-x 7 0 0 140 disk drwxr-xr-x 2 0 0 320 block lrwxrwxrwx 1 0 0 4 rtc -> rtc0 drwxr-xr-x 2 0 0 3000 char lrwxrwxrwx 1 0 0 15 stderr -> /proc/self/fd/2 lrwxrwxrwx 1 0 0 15 stdout -> /proc/self/fd/1 lrwxrwxrwx 1 0 0 15 stdin -> /proc/self/fd/0 lrwxrwxrwx 1 0 0 13 fd -> /proc/self/fd drwxr-xr-x 2 0 0 0 pts crw------- 1 0 0 10, 58 ubi_ctrl crw------- 1 0 0 10,234 btrfs-control crw------- 1 0 0 10, 59 memory_bandwidth crw------- 1 0 0 10, 60 network_throughput crw------- 1 0 0 10, 61 network_latency crw------- 1 0 0 10, 62 cpu_dma_latency brw------- 1 0 0 179, 1 mmcblk0p1 brw------- 1 0 0 179, 0 mmcblk0 drwxr-xr-x 2 0 0 60 snd crw------- 1 0 0 250, 0 watchdog0 crw------- 1 0 0 10,130 watchdog crw------- 1 0 0 89, 2 i2c-2 crw------- 1 0 0 89, 1 i2c-1 crw------- 1 0 0 253, 1 rtc1 crw------- 1 0 0 253, 0 rtc0 drwxr-xr-x 2 0 0 100 input drwxr-xr-x 3 0 0 60 bus crw------- 1 0 0 252, 0 pps0 crw------- 1 0 0 251, 0 ptp0 brw------- 1 0 0 7, 7 loop7 brw------- 1 0 0 7, 6 loop6 brw------- 1 0 0 7, 5 loop5 brw------- 1 0 0 7, 4 loop4 brw------- 1 0 0 7, 3 loop3 brw------- 1 0 0 7, 2 loop2 brw------- 1 0 0 7, 1 loop1 brw------- 1 0 0 7, 0 loop0 crw------- 1 0 0 10,237 loop-control brw------- 1 0 0 1, 3 ram3 brw------- 1 0 0 1, 2 ram2 brw------- 1 0 0 1, 1 ram1 brw------- 1 0 0 1, 0 ram0 drwxr-xr-x 2 0 0 80 dri crw------- 1 0 0 10,183 hwrng crw------- 1 0 0 207, 19 ttymxc3 crw------- 1 0 0 207, 16 ttymxc0 crw-rw-rw- 1 0 0 5, 2 ptmx crw------- 1 0 0 3, 15 ttypf crw------- 1 0 0 3, 14 ttype crw------- 1 0 0 3, 13 ttypd crw------- 1 0 0 3, 12 ttypc crw------- 1 0 0 3, 11 ttypb crw------- 1 0 0 3, 10 ttypa crw------- 1 0 0 3, 9 ttyp9 crw------- 1 0 0 3, 8 ttyp8 crw------- 1 0 0 3, 7 ttyp7 crw------- 1 0 0 3, 6 ttyp6 crw------- 1 0 0 3, 5 ttyp5 crw------- 1 0 0 3, 4 ttyp4 crw------- 1 0 0 3, 3 ttyp3 crw------- 1 0 0 3, 2 ttyp2 crw------- 1 0 0 3, 1 ttyp1 crw------- 1 0 0 3, 0 ttyp0 crw------- 1 0 0 2, 15 ptypf crw------- 1 0 0 2, 14 ptype crw------- 1 0 0 2, 13 ptypd crw------- 1 0 0 2, 12 ptypc crw------- 1 0 0 2, 11 ptypb crw------- 1 0 0 2, 10 ptypa crw------- 1 0 0 2, 9 ptyp9 crw------- 1 0 0 2, 8 ptyp8 crw------- 1 0 0 2, 7 ptyp7 crw------- 1 0 0 2, 6 ptyp6 crw------- 1 0 0 2, 5 ptyp5 crw------- 1 0 0 2, 4 ptyp4 crw------- 1 0 0 2, 3 ptyp3 crw------- 1 0 0 2, 2 ptyp2 crw------- 1 0 0 2, 1 ptyp1 crw------- 1 0 0 2, 0 ptyp0 crw-r--r-- 1 0 0 10,235 autofs crw--w---- 1 0 0 4, 63 tty63 crw--w---- 1 0 0 4, 62 tty62 crw--w---- 1 0 0 4, 61 tty61 crw--w---- 1 0 0 4, 60 tty60 crw--w---- 1 0 0 4, 59 tty59 crw--w---- 1 0 0 4, 58 tty58 crw--w---- 1 0 0 4, 57 tty57 crw--w---- 1 0 0 4, 56 tty56 crw--w---- 1 0 0 4, 55 tty55 crw--w---- 1 0 0 4, 54 tty54 crw--w---- 1 0 0 4, 53 tty53 crw--w---- 1 0 0 4, 52 tty52 crw--w---- 1 0 0 4, 51 tty51 crw--w---- 1 0 0 4, 50 tty50 crw--w---- 1 0 0 4, 49 tty49 crw--w---- 1 0 0 4, 48 tty48 crw--w---- 1 0 0 4, 47 tty47 crw--w---- 1 0 0 4, 46 tty46 crw--w---- 1 0 0 4, 45 tty45 crw--w---- 1 0 0 4, 44 tty44 crw--w---- 1 0 0 4, 43 tty43 crw--w---- 1 0 0 4, 42 tty42 crw--w---- 1 0 0 4, 41 tty41 crw--w---- 1 0 0 4, 40 tty40 crw--w---- 1 0 0 4, 39 tty39 crw--w---- 1 0 0 4, 38 tty38 crw--w---- 1 0 0 4, 37 tty37 crw--w---- 1 0 0 4, 36 tty36 crw--w---- 1 0 0 4, 35 tty35 crw--w---- 1 0 0 4, 34 tty34 crw--w---- 1 0 0 4, 33 tty33 crw--w---- 1 0 0 4, 32 tty32 crw--w---- 1 0 0 4, 31 tty31 crw--w---- 1 0 0 4, 30 tty30 crw--w---- 1 0 0 4, 29 tty29 crw--w---- 1 0 0 4, 28 tty28 crw--w---- 1 0 0 4, 27 tty27 crw--w---- 1 0 0 4, 26 tty26 crw--w---- 1 0 0 4, 25 tty25 crw--w---- 1 0 0 4, 24 tty24 crw--w---- 1 0 0 4, 23 tty23 crw--w---- 1 0 0 4, 22 tty22 crw--w---- 1 0 0 4, 21 tty21 crw--w---- 1 0 0 4, 20 tty20 crw--w---- 1 0 0 4, 19 tty19 crw--w---- 1 0 0 4, 18 tty18 crw--w---- 1 0 0 4, 17 tty17 crw--w---- 1 0 0 4, 16 tty16 crw--w---- 1 0 0 4, 15 tty15 crw--w---- 1 0 0 4, 14 tty14 crw--w---- 1 0 0 4, 13 tty13 crw--w---- 1 0 0 4, 12 tty12 crw--w---- 1 0 0 4, 11 tty11 crw--w---- 1 0 0 4, 10 tty10 crw--w---- 1 0 0 4, 9 tty9 crw--w---- 1 0 0 4, 8 tty8 crw--w---- 1 0 0 4, 7 tty7 crw--w---- 1 0 0 4, 6 tty6 crw--w---- 1 0 0 4, 5 tty5 crw--w---- 1 0 0 4, 4 tty4 crw--w---- 1 0 0 4, 3 tty3 crw--w---- 1 0 0 4, 2 tty2 crw--w---- 1 0 0 4, 1 tty1 crw------- 1 0 0 7,129 vcsa1 crw------- 1 0 0 7, 65 vcsu1 crw------- 1 0 0 7, 1 vcs1 crw------- 1 0 0 7,128 vcsa crw------- 1 0 0 7, 64 vcsu crw------- 1 0 0 7, 0 vcs crw--w---- 1 0 0 4, 0 tty0 crw------- 1 0 0 5, 1 console crw-rw-rw- 1 0 0 5, 0 tty crw-r--r-- 1 0 0 1, 11 kmsg crw-rw-rw- 1 0 0 1, 9 urandom crw-rw-rw- 1 0 0 1, 8 random crw-rw-rw- 1 0 0 1, 7 full crw-rw-rw- 1 0 0 1, 5 zero crw-r----- 1 0 0 1, 4 port crw-rw-rw- 1 0 0 1, 3 null crw-r----- 1 0 0 1, 1 mem crw------- 1 0 0 10, 63 vga_arbiter crw------- 1 0 0 254, 6 gpiochip6 crw------- 1 0 0 254, 5 gpiochip5 crw------- 1 0 0 254, 4 gpiochip4 crw------- 1 0 0 254, 3 gpiochip3 crw------- 1 0 0 254, 2 gpiochip2 crw------- 1 0 0 254, 1 gpiochip1 crw------- 1 0 0 254, 0 gpiochip0 On another computer, I fsck the hard drive and it is clean. I can even mount the file system and see all the files. What could be investigated? Thanks for any help. Link to comment Share on other sites More sharing options...
Aoz Posted July 21, 2019 Author Share Posted July 21, 2019 OK, finally got it! I have a hard drive plugged to the Cubox-i. This HD is in a box and powered by the Cubox-i via usb. Another usb wire is used for the data. This was working fine like this for years. For any reason, the power delivered by the Cubox-i to the hard drive seems now to be too low. I have used an external power supply for the hard drive and it fixed the issue. Link to comment Share on other sites More sharing options...
Igor Posted July 21, 2019 Share Posted July 21, 2019 Something is wrong with your SATA drive where you have your rootfs. 1 hour ago, Aoz said: ALERT! /dev/sda1 does not exist. I guess you have made a manual transfer not with our nand-sata-install tools ... we use UUID for setting roofs locations since years. type blkid and change /dev/sda1 with UUID=XXXXXXXXXXXXXXXXXX in your boot script or u-boot environment. Link to comment Share on other sites More sharing options...
Aoz Posted July 21, 2019 Author Share Posted July 21, 2019 Apparently it was an electric power issue (see above). But anyway, I should also implement your proposal (my OS 1st setup is from 2014...). Should I use the UUID in "/boot/armbianEnv.txt" or/and in "/boot/boot.txt"? Link to comment Share on other sites More sharing options...
Igor Posted July 21, 2019 Share Posted July 21, 2019 2 hours ago, Aoz said: my OS 1st setup is from 2014...). Should I use the UUID in "/boot/armbianEnv.txt" or/and in "/boot/boot.txt"? We don't upgrade boot scripts and for the one from 2014 I can't tell without investigation. Check where /dev/sda1 is set and change that to UUID=your_hard_drive_partition_dev_sda1_uuid ... but if you don't add USB sticks to the board, just leave as is. Link to comment Share on other sites More sharing options...
Aoz Posted July 21, 2019 Author Share Posted July 21, 2019 I never plug usb sticks on the board.... But I will try replacing /dev/sda1 by UUID=... Thank you Igor for all that Armbian! 1 Link to comment Share on other sites More sharing options...
Recommended Posts