Power & Source of Big Ideas

ALERT! /dev/sda1 does not exist. Dropping to a shell!

Moderators: chensy, FATechsupport

I have tried this 2 times now to verify. I am using the NanoPi Duo Starter Kit, and have a 64GB MiniPCIe mSATA Half-size SSD installed.
When I flash nanopi-duo_FriendlyCore-Xenial_4.11.2_20171122.img to a uSD card, and run npi-config and choose Boot Device, then D1 Hard Drive and reboot everything goes as planned.

However, I downloaded the latest img last night: nanopi-duo_FriendlyCore-Xenial_4.14.0_20171208.img
And it does boot using the uSD card, but trying the steps above and rebooting does not work. Here is the console output after I chose D1 Hard Drive, and rebooted.

Like I said, I tried this twice using both images, and its repeatable. Friendly please fix this.
At the end you will see:

Code: Select all

[    3.284500]  mmcblk0: p1 p2
Loading, please wait...
starting version 225
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.
Gave up waiting for root device.  Common problems:
 - Boot args (cat /proc/cmdline)
   - Check rootdelay= (did the system wait long enough?)
   - Check root= (did the system wait for the right device?)
 - Missing modules (cat /proc/modules; ls /dev)
ALERT!  /dev/sda1 does not exist.  Dropping to a shell!
Rebooting automatically due to panic= boot argument
[   43.852526] kvm: exiting hardware virtualization
[   43.899979] reboot: Restarting system




Ful console output

Code: Select all

[quote]
U-Boot SPL 2017.11 (Dec 08 2017 - 18:10:29)
DRAM: 512 MiB(408MHz)
CPU Freq: 408MHz
Trying to boot from MMC1


U-Boot 2017.11 (Dec 08 2017 - 18:10:29 +0800) Allwinner Technology

CPU:   Allwinner H3 (SUN8I 1680)
Model: FriendlyElec NanoPi H3
DRAM:  512 MiB
MMC:   SUNXI SD/MMC: 0, SUNXI SD/MMC: 1
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   No ethernet found.
SID: 2c00042-44004620-44004620-79910124
BOARD: nanopi-duo
starting USB...
No controllers found
Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
reading /boot.scr
963 bytes read in 19 ms (48.8 KiB/s)
## Executing script at 43100000
reading zImage
5547968 bytes read in 437 ms (12.1 MiB/s)
reading rootfs.cpio.gz
2845838 bytes read in 231 ms (11.7 MiB/s)
reading sun8i-h2-plus-nanopi-duo.dtb
25498 bytes read in 26 ms (957 KiB/s)
## Flattened Device Tree blob at 48000000
   Booting using the fdt blob at 0x48000000
   Loading Ramdisk to 49b00000, end 4a000000 ... OK
   Loading Device Tree to 49af6000, end 49aff399 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.14.0 (root@wwd) (gcc version 4.9.3 (ctng-1.21.0-229g-FA)) #83 SMP Fri Dec 8 17:44:19 CST 2017
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=30c5387d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: FriendlyElec NanoPi-Duo
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] cma: Reserved 16 MiB at 0x000000005f000000
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: Using PSCI v0.1 Function IDs from DT
[    0.000000] random: fast init done
[    0.000000] percpu: Embedded 16 pages/cpu @deb1b000 s36544 r8192 d20800 u65536
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 129920
[    0.000000] Kernel command line: console=ttyS0,115200 earlyprintk root=/dev/sda1 rootfstype=ext4 rw rootwait fsck.repair=yes panic=10 fbcon=map:0
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    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: 482268K/524288K available (8192K kernel code, 373K rwdata, 1856K rodata, 2048K init, 311K bss, 25636K reserved, 16384K cma-reserved, 0K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xe0800000 - 0xff800000   ( 496 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0a00000   (10208 kB)
[    0.000000]       .init : 0xc0e00000 - 0xc1000000   (2048 kB)
[    0.000000]       .data : 0xc1000000 - 0xc105d658   ( 374 kB)
[    0.000000]        .bss : 0xc106644c - 0xc10b406c   ( 312 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000000] arch_timer: 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.000015] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000040] Switching to timer-based delay loop, resolution 41ns
[    0.000397] Console: colour dummy device 80x30
[    0.000459] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=120000)
[    0.000489] pid_max: default: 32768 minimum: 301
[    0.000814] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000843] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.002174] CPU: Testing write buffer coherency: ok
[    0.002894] CPU0: update cpu_capacity 1024
[    0.002920] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.003575] Setting up static identity map for 0x40200000 - 0x40200060
[    0.003803] Hierarchical SRCU implementation.
[    0.005016] smp: Bringing up secondary CPUs ...
[    0.016256] CPU1: update cpu_capacity 1024
[    0.016269] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.027709] CPU2: update cpu_capacity 1024
[    0.027723] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.039046] CPU3: update cpu_capacity 1024
[    0.039058] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.039232] smp: Brought up 1 node, 4 CPUs
[    0.039292] SMP: Total of 4 processors activated (192.00 BogoMIPS).
[    0.039306] CPU: All CPU(s) started in HYP mode.
[    0.039318] CPU: Virtualization extensions available.
[    0.040449] devtmpfs: initialized
[    0.053674] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.054159] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302231375000 ns
[    0.054201] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.055976] xor: measuring software checksum speed
[    0.103824]    arm4regs  :   556.000 MB/sec
[    0.153957]    8regs     :   312.000 MB/sec
[    0.204088]    32regs    :   344.800 MB/sec
[    0.254223]    neon      :   520.000 MB/sec
[    0.254240] xor: using function: arm4regs (556.000 MB/sec)
[    0.254273] pinctrl core: initialized pinctrl subsystem
[    0.255943] NET: Registered protocol family 16
[    0.258893] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.260672] cpuidle: using governor ladder
[    0.260738] cpuidle: using governor menu
[    0.261433] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.261456] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.299405] gpio-regulator gpio-regulator: could not find pctldev for node /soc/pinctrl@01f02c00/regulator_pins@0, deferring probe
[    0.300266] SCSI subsystem initialized
[    0.301050] usbcore: registered new interface driver usbfs
[    0.301168] usbcore: registered new interface driver hub
[    0.301357] usbcore: registered new device driver usb
[    0.301815] pps_core: LinuxPPS API ver. 1 registered
[    0.301833] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.301932] PTP clock support registered
[    0.302318] Advanced Linux Sound Architecture Driver Initialized.
[    0.305290] clocksource: Switched to clocksource arch_sys_counter
[    0.305592] VFS: Disk quotas dquot_6.6.0
[    0.305730] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.306013] FS-Cache: Loaded
[    0.322665] NET: Registered protocol family 2
[    0.324091] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.324216] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[    0.324366] TCP: Hash tables configured (established 4096 bind 4096)
[    0.324569] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.324635] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.325015] NET: Registered protocol family 1
[    0.325909] RPC: Registered named UNIX socket transport module.
[    0.325930] RPC: Registered udp transport module.
[    0.325943] RPC: Registered tcp transport module.
[    0.325956] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.326351] Unpacking initramfs...
[    0.682038] Initramfs unpacking failed: junk in compressed archive
[    0.693988] Freeing initrd memory: 5120K
[    0.694631] kvm [1]: 8-bit VMID
[    0.694654] kvm [1]: IDMAP page: 40201000
[    0.694671] kvm [1]: HYP VA range: c0000000:ffffffff
[    0.695703] kvm [1]: vgic-v2@1c84000
[    0.695978] kvm [1]: vgic interrupt IRQ16
[    0.696022] kvm [1]: virtual timer IRQ20
[    0.696199] kvm [1]: Hyp mode initialized successfully
[    0.701647] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[    0.712090] zbud: loaded
[    0.715201] FS-Cache: Netfs 'nfs' registered for caching
[    0.716420] NFS: Registering the id_resolver key type
[    0.716483] Key type id_resolver registered
[    0.716499] Key type id_legacy registered
[    0.716533] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.716563] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.718142] fuse init (API version 7.26)
[    0.729262] async_tx: api initialized (async)
[    0.729422] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[    0.729678] io scheduler noop registered (default)
[    0.729699] io scheduler deadline registered
[    0.730217] io scheduler cfq registered
[    0.730241] io scheduler mq-deadline registered
[    0.730589] io scheduler bfq registered
[    0.731823] sun4i-usb-phy 1c19400.phy: Couldn't request ID GPIO
[    0.740007] sun8i-h3-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.743396] sun8i-h3-r-pinctrl 1f02c00.pinctrl: initialized sunXi PIO driver
[    0.755343] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.759292] console [ttyS0] disabled
[    0.779626] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 45, base_baud = 1500000) is a U6_16550A
[    1.544283] console [ttyS0] enabled
[    1.572381] 1c28400.serial: ttyS1 at MMIO 0x1c28400 (irq = 46, base_baud = 1500000) is a U6_16550A
[    1.605852] 1c28800.serial: ttyS2 at MMIO 0x1c28800 (irq = 47, base_baud = 1500000) is a U6_16550A
[    1.639298] 1c28c00.serial: ttyS3 at MMIO 0x1c28c00 (irq = 48, base_baud = 1500000) is a U6_16550A
[    1.653104] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    1.659767] [drm] No driver support for vblank timestamp query.
[    1.686688] sun4i-drm display-engine: bound 1100000.mixer (ops 0xc0a51174)
[    1.694006] sun4i-drm display-engine: No panel or bridge found... RGB output disabled
[    1.701890] sun4i-drm display-engine: bound 1c0c000.lcd-controller (ops 0xc0a4fe78)
[    1.835510] sun8i-dw-hdmi 1ee0000.hdmi: Detected HDMI TX controller v1.32a with HDCP (sun8i_dw_hdmi_phy)
[    1.845774] sun8i-dw-hdmi 1ee0000.hdmi: registered DesignWare HDMI I2C bus driver
[    1.853732] sun4i-drm display-engine: bound 1ee0000.hdmi (ops 0xc0a514f4)
[    1.860640] [drm] Cannot find any crtc or sizes - going 1920x1080
[    1.944006] Console: switching to colour frame buffer device 240x67
[    2.011122] sun4i-drm display-engine: fb0:  frame buffer device
[    2.017912] [drm] Initialized sun4i-drm 1.0.0 20150629 for display-engine on minor 0
[    2.043014] loop: module loaded
[    2.081051] libphy: Fixed MDIO Bus: probed
[    2.085169] tun: Universal TUN/TAP device driver, 1.6
[    2.090630] CAN device driver interface
[    2.095535] dwmac-sun8i 1c30000.ethernet: PTP uses main clock
[    2.101407] dwmac-sun8i 1c30000.ethernet: No regulator found
[    2.107186] dwmac-sun8i 1c30000.ethernet: Will use internal PHY
[    2.113429] dwmac-sun8i 1c30000.ethernet: Chain mode enabled
[    2.119130] dwmac-sun8i 1c30000.ethernet: No HW DMA feature register supported
[    2.126380] dwmac-sun8i 1c30000.ethernet: Normal descriptors
[    2.132072] dwmac-sun8i 1c30000.ethernet: RX Checksum Offload Engine supported
[    2.139318] dwmac-sun8i 1c30000.ethernet: COE Type 2
[    2.144315] dwmac-sun8i 1c30000.ethernet: TX Checksum insertion supported
[    2.151324] libphy: stmmac: probed
[    2.167743] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.174341] ehci-platform: EHCI generic platform driver
[    2.180081] ehci-platform 1c1a000.usb: EHCI Host Controller
[    2.185749] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1
[    2.194359] ehci-platform 1c1a000.usb: irq 29, io mem 0x01c1a000
[    2.215352] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[    2.221832] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    2.228667] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.235920] usb usb1: Product: EHCI Host Controller
[    2.240827] usb usb1: Manufacturer: Linux 4.14.0 ehci_hcd
[    2.246252] usb usb1: SerialNumber: 1c1a000.usb
[    2.251873] hub 1-0:1.0: USB hub found
[    2.255749] hub 1-0:1.0: 1 port detected
[    2.261154] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    2.267405] ohci-platform: OHCI generic platform driver
[    2.273060] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[    2.279754] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2
[    2.287984] ohci-platform 1c1a400.usb: irq 30, io mem 0x01c1a400
[    2.354685] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
[    2.361544] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.368804] usb usb2: Product: Generic Platform OHCI controller
[    2.374758] usb usb2: Manufacturer: Linux 4.14.0 ohci_hcd
[    2.380192] usb usb2: SerialNumber: 1c1a400.usb
[    2.388542] hub 2-0:1.0: USB hub found
[    2.392398] hub 2-0:1.0: 1 port detected
[    2.397846] usbcore: registered new interface driver cdc_acm
[    2.403555] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    2.411684] usbcore: registered new interface driver usblp
[    2.417282] usbcore: registered new interface driver cdc_wdm
[    2.423141] usbcore: registered new interface driver usb-storage
[    2.429349] usbcore: registered new interface driver usbserial
[    2.435322] usbcore: registered new interface driver usbserial_generic
[    2.441930] usbserial: USB Serial support registered for generic
[    2.449515] mousedev: PS/2 mouse device common for all mice
[    2.456123] sun6i-rtc 1f00000.rtc: rtc core: registered rtc-sun6i as rtc0
[    2.462970] sun6i-rtc 1f00000.rtc: RTC enabled
[    2.467582] i2c /dev entries driver
[    2.475751] thermal thermal_zone0: failed to read out thermal zone (-16)
[    2.483502] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    2.492344] device-mapper: ioctl: 4.37.0-ioctl (2017-09-20) initialised: dm-devel@redhat.com
[    2.504592] sunxi-mmc 1c0f000.mmc: Got CD GPIO
[    2.545450] sunxi-mmc 1c0f000.mmc: base:0xe0873000 irq:26
[    2.555447] ledtrig-cpu: registered to indicate activity on CPUs
[    2.561934] hidraw: raw HID events driver (C) Jiri Kosina
[    2.567667] usbcore: registered new interface driver usbhid
[    2.573277] usbhid: USB HID core driver
[    2.592253] mmc0: host does not support reading read-only switch, assuming write-enable
[    2.602116] sun4i-codec 1c22c00.codec: Codec <-> 1c22c00.codec mapping ok
[    2.606525] mmc0: new high speed SDHC card at address aaaa
[    2.607411] mmcblk0: mmc0:aaaa SC16G 14.8 GiB
[    2.610394]  mmcblk0: p1 p2
[    2.628502] wireguard: WireGuard 0.0.20171111 loaded. See http://www.wireguard.com for information.
[    2.636999] wireguard: Copyright (C) 2015-2017 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[    2.646924] Initializing XFRM netlink socket
[    2.652177] NET: Registered protocol family 10
[    2.696946] Segment Routing with IPv6
[    2.700884] NET: Registered protocol family 17
[    2.705417] NET: Registered protocol family 15
[    2.709869] can: controller area network core (rev 20170425 abi 9)
[    2.716276] NET: Registered protocol family 29
[    2.720759] can: raw protocol (rev 20170425)
[    2.725037] can: broadcast manager protocol (rev 20170425 t)
[    2.730734] can: netlink gateway (rev 20170425) max_hops=1
[    2.737098] Key type dns_resolver registered
[    2.741894] Registering SWP/SWPB emulation handler
[    2.749307] registered taskstats version 1
[    2.772946] Key type encrypted registered
[    2.792074] ehci-platform 1c1b000.usb: EHCI Host Controller
[    2.797779] ehci-platform 1c1b000.usb: new USB bus registered, assigned bus number 3
[    2.806131] ehci-platform 1c1b000.usb: irq 31, io mem 0x01c1b000
[    2.825345] ehci-platform 1c1b000.usb: USB 2.0 started, EHCI 1.00
[    2.831865] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002
[    2.838696] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.845955] usb usb3: Product: EHCI Host Controller
[    2.850862] usb usb3: Manufacturer: Linux 4.14.0 ehci_hcd
[    2.856296] usb usb3: SerialNumber: 1c1b000.usb
[    2.861995] hub 3-0:1.0: USB hub found
[    2.865878] hub 3-0:1.0: 1 port detected
[    2.871267] ehci-platform 1c1c000.usb: EHCI Host Controller
[    2.876942] ehci-platform 1c1c000.usb: new USB bus registered, assigned bus number 4
[    2.885228] ehci-platform 1c1c000.usb: irq 33, io mem 0x01c1c000
[    2.905345] ehci-platform 1c1c000.usb: USB 2.0 started, EHCI 1.00
[    2.911841] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002
[    2.918681] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.925935] usb usb4: Product: EHCI Host Controller
[    2.930848] usb usb4: Manufacturer: Linux 4.14.0 ehci_hcd
[    2.936279] usb usb4: SerialNumber: 1c1c000.usb
[    2.941827] hub 4-0:1.0: USB hub found
[    2.945686] hub 4-0:1.0: 1 port detected
[    2.950974] ehci-platform 1c1d000.usb: EHCI Host Controller
[    2.956637] ehci-platform 1c1d000.usb: new USB bus registered, assigned bus number 5
[    2.964865] ehci-platform 1c1d000.usb: irq 35, io mem 0x01c1d000
[    2.985344] ehci-platform 1c1d000.usb: USB 2.0 started, EHCI 1.00
[    2.991782] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002
[    2.998616] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.005877] usb usb5: Product: EHCI Host Controller
[    3.010788] usb usb5: Manufacturer: Linux 4.14.0 ehci_hcd
[    3.016220] usb usb5: SerialNumber: 1c1d000.usb
[    3.021735] hub 5-0:1.0: USB hub found
[    3.025591] hub 5-0:1.0: 1 port detected
[    3.030854] ohci-platform 1c1b400.usb: Generic Platform OHCI controller
[    3.037553] ohci-platform 1c1b400.usb: new USB bus registered, assigned bus number 6
[    3.045660] ohci-platform 1c1b400.usb: irq 32, io mem 0x01c1b400
[    3.114639] usb usb6: New USB device found, idVendor=1d6b, idProduct=0001
[    3.121479] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.128735] usb usb6: Product: Generic Platform OHCI controller
[    3.134693] usb usb6: Manufacturer: Linux 4.14.0 ohci_hcd
[    3.140126] usb usb6: SerialNumber: 1c1b400.usb
[    3.145702] hub 6-0:1.0: USB hub found
[    3.149525] hub 6-0:1.0: 1 port detected
[    3.154850] ohci-platform 1c1c400.usb: Generic Platform OHCI controller
[    3.161579] ohci-platform 1c1c400.usb: new USB bus registered, assigned bus number 7
[    3.169703] ohci-platform 1c1c400.usb: irq 34, io mem 0x01c1c400
[    3.239620] usb usb7: New USB device found, idVendor=1d6b, idProduct=0001
[    3.246471] usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.253736] usb usb7: Product: Generic Platform OHCI controller
[    3.259698] usb usb7: Manufacturer: Linux 4.14.0 ohci_hcd
[    3.265133] usb usb7: SerialNumber: 1c1c400.usb
[    3.270919] hub 7-0:1.0: USB hub found
[    3.274742] hub 7-0:1.0: 1 port detected
[    3.280018] ohci-platform 1c1d400.usb: Generic Platform OHCI controller
[    3.286734] ohci-platform 1c1d400.usb: new USB bus registered, assigned bus number 8
[    3.294892] ohci-platform 1c1d400.usb: irq 36, io mem 0x01c1d400
[    3.325348] usb 4-1: new high-speed USB device number 2 using ehci-platform
[    3.364629] usb usb8: New USB device found, idVendor=1d6b, idProduct=0001
[    3.371476] usb usb8: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.378736] usb usb8: Product: Generic Platform OHCI controller
[    3.384696] usb usb8: Manufacturer: Linux 4.14.0 ohci_hcd
[    3.390130] usb usb8: SerialNumber: 1c1d400.usb
[    3.395856] hub 8-0:1.0: USB hub found
[    3.399699] hub 8-0:1.0: 1 port detected
[    3.405222] usb_phy_generic usb_phy_generic.3.auto: usb_phy_generic.3.auto supply vcc not found, using dummy regulator
[    3.416698] musb-hdrc musb-hdrc.4.auto: MUSB HDRC host driver
[    3.422514] musb-hdrc musb-hdrc.4.auto: new USB bus registered, assigned bus number 9
[    3.430706] usb usb9: New USB device found, idVendor=1d6b, idProduct=0002
[    3.437552] usb usb9: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.444812] usb usb9: Product: MUSB HDRC host driver
[    3.449812] usb usb9: Manufacturer: Linux 4.14.0 musb-hcd
[    3.455254] usb usb9: SerialNumber: musb-hdrc.4.auto
[    3.460324] usb 5-1: new high-speed USB device number 2 using ehci-platform
[    3.468443] hub 9-0:1.0: USB hub found
[    3.472301] hub 9-0:1.0: 1 port detected
[    3.479524] cpufreq: cpufreq_online: CPU0: Running at unlisted freq: 408000 KHz
[    3.488210] cpufreq: cpufreq_online: CPU0: Unlisted initial frequency changed to: 480000 KHz
[    3.500193] usb 4-1: New USB device found, idVendor=152d, idProduct=0578
[    3.506941] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    3.514084] usb 4-1: Product: External Disk 3.0
[    3.518618] usb 4-1: Manufacturer: JMicron
[    3.522723] usb 4-1: SerialNumber: 0000000048C3
[    3.527409] sunxi-mmc 1c10000.mmc: allocated mmc-pwrseq
[    3.628028] usb 5-1: New USB device found, idVendor=1a40, idProduct=0101
[    3.634864] usb 5-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    3.642100] usb 5-1: Product: USB 2.0 Hub
[    3.647819] hub 5-1:1.0: USB hub found
[    3.651894] hub 5-1:1.0: 4 ports detected
[    3.725321] sunxi-mmc 1c10000.mmc: base:0xe09af000 irq:27
[    3.732382] asoc-simple-card soc:sound: i2s-hifi <-> 1c22800.i2s mapping ok
[    3.751353] input: r_gpio_keys as /devices/platform/r_gpio_keys/input/input0
[    3.758813] sun6i-rtc 1f00000.rtc: setting system clock to 2018-01-11 14:46:22 UTC (1515681982)
[    3.761458] mmc2: new high speed SDIO card at address 0001
[    3.773359] vcc3v0: disabling
[    3.776379] vcc5v0: disabling
[    3.779347] usb0-vbus: disabling
[    3.782585] ALSA device list:
[    3.785559]   #0: Dummy 1
[    3.788174]   #1: Loopback 1
[    3.791059]   #2: H3 Audio Codec
[    3.794281]   #3: allwinner,hdmi
[    3.799932] Freeing unused kernel memory: 2048K
Loading, please wait...
starting version 225
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.
Gave up waiting for root device.  Common problems:
 - Boot args (cat /proc/cmdline)
   - Check rootdelay= (did the system wait long enough?)
   - Check root= (did the system wait for the right device?)
 - Missing modules (cat /proc/modules; ls /dev)
ALERT!  /dev/sda1 does not exist.  Dropping to a shell!
Rebooting automatically due to panic= boot argument
[   44.392310] kvm: exiting hardware virtualization
[   44.425317] reboot: Restarting system
[/quote]
https://www.armbian.com/nanopi-duo/
Works!

If you want kernel 4.14.y switch to a beta repository with armbian-config.
igorp wrote:
https://www.armbian.com/nanopi-duo/
Works!

If you want kernel 4.14.y switch to a beta repository with armbian-config.



ok, thank you I guess, but how does this have anything to do with my post ?

Edit: I checked out armbian.com, trying it now on the NeoAir, so fat looks like a great thing. If it works well, I will surly donate, as from what I am reading there, this is how they all should be doing it.
mikemoy wrote:
igorp wrote:
https://www.armbian.com/nanopi-duo/
Works!

If you want kernel 4.14.y switch to a beta repository with armbian-config.



ok, thank you I guess, but how does this have anything to do with my post ?

Edit: I checked out armbian.com, trying it now on the NeoAir, so fat looks like a great thing.
Armbian is a Linux distribution specialized for development boards and provides support, standard updating, userspace consistency, build tools, ... Kernel, which we (all) use, is mostly community work: ours, from the sunxi group(Allwinner chips) and random people. Certain fixes and adjustments are added by board makers. We maintain those kernels and a mixture, a part of this work is eventually accepted into mainline (kernel.org).

If it works well, I will surly donate, as from what I am reading there,
Basically, you are already using our work - at least partially - since FriendlyARM images are based on ours, but I can't (nobody can) assure that everything works well. 4.y is a testing kernel, which means things might break. We are working daily to debug and fix troubles. Our group has few full-timers, part-timers and random contributors which are working daily on the project to provide this basic system software.

this is how they all should be doing it.
I am not sure board maker can or want to allocate resources for such operation. Some rather rely on our images and support the project instead of wasting resources to make images which sometimes not even boot. I meant in general, FriendlyARM software support is not this bad.
I tried it on the NeoAir last night. I liked that it was nicely striped down and lean. however you could clearly see on boot up and shutdown that it was slower than the FriendlyElec image release. If i had to guess why maybe because of the CPU frequency setting, but that is just a guess. Honestly I am learning embedded Linux and in no position to judge if its good or not. I just figure if the img was created for a particular device, it should at least run at the same speed as the factory.
mikemoy wrote:
I tried it on the NeoAir last night. I liked that it was nicely striped down and lean. however you could clearly see on boot up and shutdown that it was slower than the FriendlyElec image release. If i had to guess why maybe because of the CPU frequency setting, but that is just a guess. Honestly I am learning embedded Linux and in no position to judge if its good or not.
This is not exactly embedded Linux since those boards are very powerful compared to classical embedded devices, even some (Neo Air) might look like.

Boards equipped with HDMI and enough memory can actually run a desktop fast enough for daily office work. Embedded devices are usually more limited in hardware and software.

I just figure if the img was created for a particular device, it should at least run at the same speed as the factory.
Boot speed can be a feature (to prevent crashing during boot), coincidence and not necessarily a bug. If you claim it's slow(er), you should analyze this to see if its a bug or a feature. (google for Linux boot analysis or similar) We ran the same userspace on many boards with tens of thousands of users and you are the first to expose this. More than a vaguely described problem is needed take a look and fix if there is anything to fix.

Armbian started to exists because factory software support was terrible, virtually unusable. Only hardcore hackers - after they fixed a long list of problems - could use those boards. After few years, some of the board makers improved their support, but they can not reach community support level. This part is more expensive and goes beyond a board design. Support is tied to a Chip/SoC/"CPU" which is shared among many board makers. They are competitors and doesn't have much interest to invest into competitors kernel. Work, done by chip maker, as a common "upper level", is usually rubbish.

On the end of the day, somebody has to fix things ... if we wanted to use those boards for real-life projects and rely on them to do what they were installed for.
Boot speed can be a feature (to prevent crashing during boot), coincidence and not necessarily a bug. If you claim it's slow(er), you should analyze this to see if its a bug or a feature.


igorp, I feel you misunderstood what I was saying. I did not claim there was a bug. I you take 2 NeoAir's one with the factory image and one with armbian NeoAir image, boot them at the same time the factory will boot to the terminal much, much faster.
when you do other things like apt install something, after its done downloading what ever it is and starts to install it, again the factory image will be done installing it much sooner.

All I am saying is when I see this, I have to wonder why this is, and how the person who made the img file for it did not notice it either.
mikemoy wrote:
Boot speed can be a feature (to prevent crashing during boot), coincidence and not necessarily a bug. If you claim it's slow(er), you should analyze this to see if its a bug or a feature.


igorp, I feel you misunderstood what I was saying. I did not claim there was a bug. I you take 2 NeoAir's one with the factory image and one with armbian NeoAir image, boot them at the same time the factory will boot to the terminal much, much faster.
when you do other things like apt install something, after its done downloading what ever it is and starts to install it, again the factory image will be done installing it much sooner.

All I am saying is when I see this, I have to wonder why this is, and how the person who made the img file for it did not notice it either.


I expect that you want to learn something and provide the exact facts. Than I can explain you why is this or fix if there is something wrong. There are so many other far more important things that a boot speed.

The problem from this topic is directly related to this faster boot. Some vital parts of the system are not loaded ... so you have to choose between speed and broken functionality.

Who is online

In total there is 1 user online :: 0 registered, 0 hidden and 1 guest (based on users active over the past 5 minutes)
Most users ever online was 47 on Wed Feb 21, 2018 7:00 am

Users browsing this forum: No registered users and 1 guest