Fedora Running On Pine64!
#11
(08-02-2017, 07:52 AM)heatfanjohn Wrote: I've also downloaded the aarch64 Fedora Workstation image `Fedora-Workstation-armhfp-26-1.5-sda.raw` which from the Fedora ARM Installation Manual appears to be a disk image for an SD card.  I'm going to try to`dd` that image to an SD card and see what I get.

Hi heatfanjohn,

Fedora-Workstation-armhfp-26-1.5-sda.raw isn't an aarch64 image, it is only 32bit and not 64bit.

BR,
Absurd
#12
Hi all,

with https://rwmj.wordpress.com/2017/03/18/fe...he-pine64/ I was able to get an aarch64 Fedora image. The Pine64 needs an SPL for DRAM init code, so I did't tried the grubaa64.efi way. With http://git.denx.de/?p=u-boot.git;a=blob;...ME.sunxi64 I was able to build an u-boot-2017.07 and installed it to SD card. From aarch64 image the /boot directory was copied and extlinux/extlinux.conf created. But booting the kernel failed:


Code:
U-Boot SPL 2017.07 (Aug 02 2017 - 13:17:00)
DRAM: 2048 MiB
Trying to boot from MMC1
NOTICE:  BL3-1: Running on A64/H64 (1689) in SRAM A2 (@0x44000)

 *** U-Boot Boot Menu ***

NOTICE:  Configuring AXP PMIC
NOTICE:  PMIC: fixing DRAM voltage from 1.24V to 1.36V
NOTICE:  PMIC: setup successful
NOTICE:  SCPI: dummy stub handler, implementation level: 000000
INFO:    BL3-1: Initializing runtime services
INFO:    BL3-1: Preparing for EL3 exit to normal world
INFO:    BL3-1: Next image address: 0x4a000000, SPSR: 0x3c9


U-Boot 2017.07 (Aug 02 2017 - 13:17:00 +0200) Allwinner Technology

CPU:   Allwinner A64 (SUN50I)
Model: Pine64+
DRAM:  2 GiB
MMC:   SUNXI SD/MMC: 0
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   phy interface7
eth0: ethernet@01c30000
starting USB...
USB0:   USB EHCI 1.00
USB1:   USB OHCI 1.0
scanning bus 0 for devices... 1 USB Device(s) found
      scanning usb for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found /extlinux/extlinux.conf
Retrieving file: /extlinux/extlinux.conf
1372 bytes read in 85 ms (15.6 KiB/s)
Ignoring unknown command: ui
Ignoring malformed menu command:  autoboot
Ignoring malformed menu command:  hidden
Fedora Boot Options.
1:      Fedora (4.11.10-300.fc26.aarch64) 26 (Twenty Six)
2:      Fedora(4.11.8-300.fc26.aarch64)
3:      Fedora-0-rescue-1f7b0ffbc2e84e5395b96acd4c9e00ca(0-rescue-1f7b0ffbc2e84e5395b96acd4c9e00ca)
Enter choice: 1:        Fedora (4.11.10-300.fc26.aarch64) 26 (Twenty Six)
Retrieving file: /initramfs-4.11.10-300.fc26.aarch64.img
14409584 bytes read in 823 ms (16.7 MiB/s)
Retrieving file: /vmlinuz-4.11.10-300.fc26.aarch64
6614427 bytes read in 490 ms (12.9 MiB/s)
append: root=UUID=f03cec28-d471-4d67-9d28-bcd2a389c183 rootflags=subvol=root ro console=tty0 rd_NO_PLYMOUTH console=ttyS0,115200n8 e
arlycon=uart,mmio32,0x01c28000 LANG=en_US.UTF-8
Retrieving file: /dtb-4.11.10-300.fc26.aarch64/allwinner/sun50i-a64-pine64-plus.dtb
7949 bytes read in 206 ms (37.1 KiB/s)
Bad Linux ARM64 Image magic!
2:      Fedora(4.11.8-300.fc26.aarch64)
Retrieving file: /initramfs-4.11.8-300.fc26.aarch64.img
14376152 bytes read in 830 ms (16.5 MiB/s)
Retrieving file: /vmlinuz-4.11.8-300.fc26.aarch64
6613757 bytes read in 499 ms (12.6 MiB/s)
Bad Linux ARM64 Image magic!append: root=UUID=f03cec28-d471-4d67-9d28-bcd2a389c183 rootflags=subvol=root ro console=tty0 rd_NO_PLYMOUTH console=ttyS0,115200n8 e
arlycon=uart,mmio32,0x01c28000 LANG=en_US.UTF-8
Retrieving file: /dtb-4.11.8-300.fc26.aarch64/allwinner/sun50i-a64-pine64-plus.dtb
7949 bytes read in 214 ms (36.1 KiB/s)
Bad Linux ARM64 Image magic!
3:      Fedora-0-rescue-1f7b0ffbc2e84e5395b96acd4c9e00ca(0-rescue-1f7b0ffbc2e84e5395b96acd4c9e00ca)
Retrieving file: /initramfs-0-rescue-1f7b0ffbc2e84e5395b96acd4c9e00ca.img
37100644 bytes read in 1925 ms (18.4 MiB/s)
Retrieving file: /vmlinuz-0-rescue-1f7b0ffbc2e84e5395b96acd4c9e00ca
6613757 bytes read in 482 ms (13.1 MiB/s)
append: root=UUID=f03cec28-d471-4d67-9d28-bcd2a389c183 rootflags=subvol=root ro console=tty0 rd_NO_PLYMOUTH console=ttyS0,115200n8 e
arlycon=uart,mmio32,0x01c28000
Bad Linux ARM64 Image magic!
SCRIPT FAILED: continuing...
Found U-Boot script /boot.scr
2 bytes read in 56 ms (0 Bytes/s)
## Executing script at 4fc00000
Wrong image format for "source" command
SCRIPT FAILED: continuing...

USB device 0: unknown device
BOOTP broadcast 1
BOOTP broadcast 2


Why do I get "Bad Linux ARM64 Image magic!"?
#13
(08-02-2017, 12:39 PM)Absurd Wrote: Hi heatfanjohn,

Fedora-Workstation-armhfp-26-1.5-sda.raw isn't an aarch64 image, it is only 32bit and not 64bit.

BR,
Absurd

Thanks, I picked the wrong link. I should have used https://alt.fedoraproject.org/alt/
#14
(08-02-2017, 12:53 PM)Absurd Wrote: Retrieving file: /initramfs-4.11.10-300.fc26.aarch64.img
14409584 bytes read in 823 ms (16.7 MiB/s)
Retrieving file: /vmlinuz-4.11.10-300.fc26.aarch64
6614427 bytes read in 490 ms (12.9 MiB/s)
append: root=UUID=f03cec28-d471-4d67-9d28-bcd2a389c183 rootflags=subvol=root ro console=tty0 rd_NO_PLYMOUTH console=ttyS0,115200n8 e
arlycon=uart,mmio32,0x01c28000 LANG=en_US.UTF-8
Retrieving file: /dtb-4.11.10-300.fc26.aarch64/allwinner/sun50i-a64-pine64-plus.dtb
7949 bytes read in 206 ms (37.1 KiB/s)
Bad Linux ARM64 Image magic!

Why do I get "Bad Linux ARM64 Image magic!"?

Could it be that it doesn't like a compressed Linux image? i.e. vmlinuz

Which repo did you clone for your build?
#15
After gunziping the image, u-boot was able to start kernel. But the provided initramfs didn't provide the necessary driver for booting. I have to look how to rebuild the initramfs.

I am using the rootfs (and /boot) from "virt-builder --arch aarch64 fedora-26". I think this should be tho official repo.
#16
(08-04-2017, 06:22 AM)Absurd Wrote: I am using the rootfs (and /boot) from "virt-builder --arch aarch64 fedora-26". I think this should be tho official repo.

I haven't built an SD card yet, but I've built v2017.07 u-boot and Linux v4.12.

I downloaded the Fedora 26 cloud version of aarch64 and was able to mount the root file system contained in the disk image.  I should be able to copy that file system out to a partition on the SD card.

I guess I should consider using "dd" to copy the file system.  Using rsync might not copy exactly copy the file system.
#17
(08-04-2017, 12:23 PM)heatfanjohn Wrote:
(08-04-2017, 06:22 AM)Absurd Wrote: I am using the rootfs (and /boot) from "virt-builder --arch aarch64 fedora-26". I think this should be tho official repo.

I haven't built an SD card yet, but I've built v2017.07 u-boot and Linux v4.12.

I downloaded the Fedora 26 cloud version of aarch64 and was able to mount the root file system contained in the disk image.  I should be able to copy that file system out to a partition on the SD card.

I guess I should consider using "dd" to copy the file system.  Using rsync might not copy exactly copy the file system.

Until now I have no luck with rebuilding initramfs.

It looks like the ethernet driver isn't available in 4.12.5, so this is not useable and I think Fedora kernel isn't useable too :-( Looks like I have to build linux-sunxi-4.9 kernel from apritzel.
#18
(08-07-2017, 11:44 AM)Absurd Wrote:
(08-04-2017, 12:23 PM)heatfanjohn Wrote:
(08-04-2017, 06:22 AM)Absurd Wrote: I am using the rootfs (and /boot) from "virt-builder --arch aarch64 fedora-26". I think this should be tho official repo.

I haven't built an SD card yet, but I've built v2017.07 u-boot and Linux v4.12.

I downloaded the Fedora 26 cloud version of aarch64 and was able to mount the root file system contained in the disk image.  I should be able to copy that file system out to a partition on the SD card.

I guess I should consider using "dd" to copy the file system.  Using rsync might not copy exactly copy the file system.

Until now I have no luck with rebuilding initramfs.

It looks like the ethernet driver isn't available in 4.12.5, so this is not useable and I think Fedora kernel isn't useable too :-( Looks like I have to build linux-sunxi-4.9 kernel from apritzel.

Fedora has sun8i-emac patch in its kernel... (Even in earlier kernel versions)
#19
(08-12-2017, 04:08 AM)cztian Wrote: Fedora has sun8i-emac patch in its kernel... (Even in earlier kernel versions)

Thank you, good to know!

I have currently the problem that I am not able to create a working initramfs. The mmc_block.ko is always missing and no option to dracut change this. So initramfs endless waits for rootfs /dev/mmcblk0p3.
#20
I took the xubuntu-xenial-mate-20161215-longsleep-pine64-8GB.img image and copied it to a new SD card.  I then copied the Linux 4.12 kernel (Image) and DTB files I built and copied them into the /boot/pine64 directory.  I then copied (using dd) the rootfs from the Fedora 26 cloud image into the 2nd partition of the SD card. 

The 4.12.0 kernel booted, however on the 1st boot I received a 'INFO: rcu_preempt self-detected stall on CPU' condition and the system hung displaying a stack trace.  I was using a serial console and read somewhere that this could be a cause for this.

The 2nd boot did not encounter the rcu_preempt stall, but shows that my rootfs is for the Fedora 26 Cloud Edition which will perform a cloud-init that I haven't setup.

I'm going to try my 4.12 Kernel with a Fedora rootfs created using virt-builder to see if that works.


Code:
reading initrd.img
1100357 bytes read in 57 ms (18.4 MiB/s)
## Flattened Device Tree blob at 45000000
   Booting using the fdt blob at 0x45000000
   reserving fdt memory region: addr=45000000 size=2000
   Loading Ramdisk to b6dab000, end b6eb7a45 ... OK
   Loading Device Tree to 44ffa000, end 44ffefff ... OK

Starting kernel ...

[mmc]: MMC Device 2 not found
[mmc]: mmc 2 not find, so not exit
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.12.0 (johnma@johnma-E6430) (gcc version 7.0.1 20170309 (Red Hat Cross 7.0.1-0.4) (GCC) ) #1 SMP PREEMPT Thu Aug 3 23:09:43 EDT 2017
[    0.000000] Boot CPU: AArch64 Processor [410fd034]
[    0.000000] Machine model: Pine64+
[    0.000000] earlycon: uart0 at MMIO32 0x0000000001c28000 (options '')
[    0.000000] bootconsole [uart0] enabled
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi: UEFI not found.
[    0.000000] cma: Reserved 16 MiB at 0x00000000bf000000
[    0.000000] NUMA: No NUMA configuration found
[    0.000000] NUMA: Faking a node at [mem 0x0000000000000000-0x00000000bfffffff]
[    0.000000] NUMA: Adding memblock [0x41000000 - 0xbfffffff] on node 0
[    0.000000] NUMA: Initmem setup node 0 [mem 0x41000000-0xbfffffff]
[    0.000000] NUMA: NODE_DATA [mem 0xbefe8e80-0xbefea97f]
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000041000000-0x00000000bfffffff]
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000041000000-0x00000000bfffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000041000000-0x00000000bfffffff]
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv0.2 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: Trusted OS migration not required
[    0.000000] percpu: Embedded 24 pages/cpu @ffff80007ef85000 s59160 r8192 d30952 u98304
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: enabling workaround for ARM erratum 845719
[    0.000000] Built 1 zonelists in Node order, mobility grouping on.  Total pages: 512064
[    0.000000] Policy zone: DMA
[    0.000000] Kernel command line: console=tty0 console=ttyS0,115200n8 no_console_suspend earlycon=uart,mmio32,0x01c28000 mac_addr=ba:88:8e:64:aa:78 root=/dev/mmcblk0p2 ro rootwait
[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000000] Memory: 2013428K/2080768K available (9788K kernel code, 1104K rwdata, 4120K rodata, 1088K init, 406K bss, 50956K reserved, 16384K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     modules : 0xffff000000000000 - 0xffff000008000000   (   128 MB)
[    0.000000]     vmalloc : 0xffff000008000000 - 0xffff7dffbfff0000   (129022 GB)
[    0.000000]       .text : 0xffff000008080000 - 0xffff000008a10000   (  9792 KB)
[    0.000000]     .rodata : 0xffff000008a10000 - 0xffff000008e20000   (  4160 KB)
[    0.000000]       .init : 0xffff000008e20000 - 0xffff000008f30000   (  1088 KB)
[    0.000000]       .data : 0xffff000008f30000 - 0xffff000009044200   (  1105 KB)
[    0.000000]        .bss : 0xffff000009044200 - 0xffff0000090a9a34   (   407 KB)
[    0.000000]     fixed   : 0xffff7dfffe7fd000 - 0xffff7dfffec00000   (  4108 KB)
[    0.000000]     PCI I/O : 0xffff7dfffee00000 - 0xffff7dffffe00000   (    16 MB)
[    0.000000]     vmemmap : 0xffff7e0000000000 - 0xffff800000000000   (  2048 GB maximum)
[    0.000000]               0xffff7e0000040000 - 0xffff7e0002000000   (    31 MB actual)
[    0.000000]     memory  : 0xffff800001000000 - 0xffff800080000000   (  2032 MB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=4.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS:64 nr_irqs:64 0
[    0.000000] GIC: Using split EOI/Deactivate mode
[    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.000005] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.008192] Console: colour dummy device 80x25
[    0.013414] console [tty0] enabled
[    0.016868] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[    0.027144] pid_max: default: 32768 minimum: 301
[    0.031831] Security Framework initialized
[    0.036388] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
[    0.045328] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.053191] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes)
[    0.059907] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes)
[    0.083114] ASID allocator initialised with 65536 entries
[    0.096827] EFI services will not be available.
[    0.117404] smp: Bringing up secondary CPUs ...
[    0.154189] Detected VIPT I-cache on CPU1
[    0.154233] CPU1: Booted secondary processor [410fd034]
[    0.186226] Detected VIPT I-cache on CPU2
[    0.186250] CPU2: Booted secondary processor [410fd034]
[    0.218287] Detected VIPT I-cache on CPU3
[    0.218310] CPU3: Booted secondary processor [410fd034]
[    0.218356] smp: Brought up 1 node, 4 CPUs
[    0.250186] SMP: Total of 4 processors activated.
[    0.254898] CPU features: detected feature: 32-bit EL0 Support
[    0.260839] CPU: All CPU(s) started at EL2
[    0.264956] alternatives: patching kernel code
[    0.270446] devtmpfs: initialized
[    0.275403] DMI not present or invalid.
[    0.279407] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.289202] futex hash table entries: 1024 (order: 5, 131072 bytes)
[    0.296027] pinctrl core: initialized pinctrl subsystem
[    0.302447] NET: Registered protocol family 16
[    0.308031] cpuidle: using governor menu
[    0.312294] vdso: 2 pages (1 code @ ffff000008a17000, 1 data @ ffff000008f35000)
[    0.319723] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.330356] DMA: preallocated 256 KiB pool for atomic allocations
[    0.336830] Serial: AMBA PL011 UART driver
[    0.351123] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[    0.358592] ACPI: Interpreter disabled.
[    0.363156] vgaarb: loaded
[    0.366110] SCSI subsystem initialized
[    0.371075] usbcore: registered new interface driver usbfs
[    0.376624] usbcore: registered new interface driver hub
[    0.382018] usbcore: registered new device driver usb
[    0.387493] pps_core: LinuxPPS API ver. 1 registered
[    0.392531] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.401700] PTP clock support registered
[    0.405750] dmi: Firmware registration failed.
[    0.410368] Advanced Linux Sound Architecture Driver Initialized.
[    0.417170] clocksource: Switched to clocksource arch_sys_counter
[    0.423409] VFS: Disk quotas dquot_6.6.0
[    0.427392] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.434469] pnp: PnP ACPI: disabled
[    0.443577] NET: Registered protocol family 2
[    0.448406] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[    0.455826] TCP bind hash table entries: 16384 (order: 6, 262144 bytes)
[    0.462734] TCP: Hash tables configured (established 16384 bind 16384)
[    0.469386] UDP hash table entries: 1024 (order: 3, 32768 bytes)
[    0.475455] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes)
[    0.482066] NET: Registered protocol family 1
[    0.486746] RPC: Registered named UNIX socket transport module.
[    0.492680] RPC: Registered udp transport module.
[    0.497398] RPC: Registered tcp transport module.
[    0.502130] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.508763] Unpacking initramfs...
[    0.555334] Freeing initrd memory: 1072K
[    0.559831] kvm [1]: 8-bit VMID
[    0.563010] kvm [1]: IDMAP page: 419f8000
[    0.567034] kvm [1]: HYP VA range: 800000000000:ffffffffffff
[    0.573311] kvm [1]: Hyp mode initialized successfully
[    0.578495] kvm [1]: vgic-v2@1c84000
[    0.582155] kvm [1]: vgic interrupt IRQ1
[    0.586097] kvm [1]: virtual timer IRQ4
[    0.591907] audit: initializing netlink subsys (disabled)
[    0.597451] audit: type=2000 audit(0.540:1): state=initialized audit_enabled=0 res=1
[    0.597672] workingset: timestamp_bits=44 max_order=19 bucket_order=0
[    0.604046] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.604606] NFS: Registering the id_resolver key type
[    0.604627] Key type id_resolver registered
[    0.604629] Key type id_legacy registered
[    0.604638] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.604785] SGI XFS with security attributes, debug enabled
[    0.605827] 9p: Installing v9fs 9p2000 file system support
[    0.607883] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[    0.607890] io scheduler noop registered
[    0.607997] io scheduler cfq registered (default)
[    0.608000] io scheduler mq-deadline registered
[    0.608003] io scheduler kyber registered
[    0.612487] sun4i-usb-phy 1c19400.phy: failed to get clock usb0_phy
[    0.615481] sun50i-a64-r-pinctrl 1f02c00.pinctrl: initialized sunXi PIO driver
[    0.619725] xenfs: not registering filesystem on non-xen platform
[    0.622881] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.623937] dw-apb-uart 1c28000.serial: could not find pctldev for node /soc/pinctrl@1c20800/uart0@0, deferring probe
[    0.624207] SuperH (H)SCI(F) driver initialized
[    0.624405] msm_serial: driver initialized
[    0.624800] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    0.647075] loop: module loaded
[    0.647588] hisi_sas: driver version v1.6
[    0.649613] libphy: Fixed MDIO Bus: probed
[    0.650001] tun: Universal TUN/TAP device driver, 1.6
[    0.650700] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
[    0.650703] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    0.650745] igb: Intel(R) Gigabit Ethernet Network Driver - version 5.4.0-k
[    0.650747] igb: Copyright (c) 2007-2014 Intel Corporation.
[    0.650783] igbvf: Intel(R) Gigabit Virtual Function Network Driver - version 2.4.0-k
[    0.650785] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[    0.650967] sky2: driver version 1.30
[    0.651298] VFIO - User Level meta-driver version: 0.3
[    0.656163] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.656167] ehci-pci: EHCI PCI platform driver
[    0.656202] ehci-platform: EHCI generic platform driver
[    0.656366] ehci-orion: EHCI orion driver
[    0.656419] ehci-exynos: EHCI EXYNOS driver
[    0.656475] ehci-msm: Qualcomm On-Chip EHCI Host Controller
[    0.656523] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.656545] ohci-pci: OHCI PCI platform driver
[    0.656583] ohci-platform: OHCI generic platform driver
[    0.656692] ohci-exynos: OHCI EXYNOS driver
[    0.656965] usbcore: registered new interface driver usb-storage
[    0.658242] sun6i-rtc 1f00000.rtc: rtc core: registered rtc-sun6i as rtc0
[    0.658247] sun6i-rtc 1f00000.rtc: RTC enabled
[    0.658407] i2c /dev entries driver
[    0.658669] mv64xxx_i2c 1c2b000.i2c: could not find pctldev for node /soc/pinctrl@1c20800/i2c1_pins, deferring probe
[    0.659910] sdhci: Secure Digital Host Controller Interface driver
[    0.659913] sdhci: Copyright(c) Pierre Ossman
[    0.660069] Synopsys Designware Multimedia Card Interface Driver
[    0.660398] sunxi-mmc 1c0f000.mmc: could not find pctldev for node /soc/pinctrl@1c20800/mmc0-pins, deferring probe
[    0.660506] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.665084] ledtrig-cpu: registered to indicate activity on CPUs
[    0.665811] usbcore: registered new interface driver usbhid
[    0.665813] usbhid: USB HID core driver
[    0.667260] NET: Registered protocol family 17
[    0.667326] 9pnet: Installing 9P2000 support
[    0.667392] Key type dns_resolver registered
[    0.667965] registered taskstats version 1
[    0.675174] sun50i-a64-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.675919] console [ttyS0] disabled
[    0.965441] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 13, base_baud = 1500000) is a U6_16550A
[    0.974445] console [ttyS0] enabled
[    0.974445] console [ttyS0] enabled
[    0.981422] bootconsole [uart0] disabled
[    0.981422] bootconsole [uart0] disabled
[    0.990246] ehci-platform 1c1b000.usb: EHCI Host Controller
[    0.995857] ehci-platform 1c1b000.usb: new USB bus registered, assigned bus number 1
[    1.003868] ehci-platform 1c1b000.usb: irq 8, io mem 0x01c1b000
[    1.025183] ehci-platform 1c1b000.usb: USB 2.0 started, EHCI 1.00
[    1.031763] hub 1-0:1.0: USB hub found
[    1.035548] hub 1-0:1.0: 1 port detected
[    1.040379] ohci-platform 1c1b400.usb: Generic Platform OHCI controller
[    1.047024] ohci-platform 1c1b400.usb: new USB bus registered, assigned bus number 2
[    1.054919] ohci-platform 1c1b400.usb: irq 9, io mem 0x01c1b400
[    1.121640] hub 2-0:1.0: USB hub found
[    1.125424] hub 2-0:1.0: 1 port detected
[    1.131768] sunxi-mmc 1c0f000.mmc: Got CD GPIO
[    1.173188] sunxi-mmc 1c0f000.mmc: base:0xffff000009449000 irq:6
[    1.179418] sun6i-rtc 1f00000.rtc: setting system clock to 1970-01-01 00:00:21 UTC (21)
[    1.187617] ALSA device list:
[    1.190608]   No soundcards found.
[    1.194682] Freeing unused kernel memory: 1088K
Kernel params: console=tty0 console=ttyS0,115200n8 no_console_suspend earlycon=uart,mmio32,0x01c28000 mac_addr=ba:88:8e:64:aa:78 root=/dev/mmcblk0p2 ro rootwait
Waiting for root system /dev/mmcblk0p2, countdown : 5
[    1.250219] mmc0: new high speed SDHC card at address aaaa
[    1.256149] mmcblk0: mmc0:aaaa ACLCD 29.7 GiB 
[    1.264885]  mmcblk0: p1 p2
Waiting for root system /dev/mmcblk0p2, countdown : 4
Rootfs: /dev/mmcblk0p2
[    6.280125] EXT4-fs (mmcblk0p2): couldn't mount as ext3 due to feature incompatibilities
[    6.308784] EXT4-fs (mmcblk0p2): recovery complete
[    6.313621] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    6.542983] random: fast init done
[    7.482266] systemd[1]: System time before build time, advancing clock.
[    7.552359] systemd[1]: systemd 233 running in system mode. (+PAM +AUDIT +SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN default-hierarchy=hybrid)
[    7.572934] systemd[1]: Detected architecture arm64.

Welcome to Fedora 26 (Cloud Edition)!

[    7.624149] systemd[1]: Set hostname to <localhost.localdomain>.
[    8.432629] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Started Forward Password Requests to Wall Directory Watch.
[    8.453286] systemd[1]: Reached target Remote File Systems.
[  OK  ] Reached target Remote File Systems.
[    8.469388] systemd[1]: Listening on udev Kernel Socket.
[  OK  ] Listening on udev Kernel Socket.
[    8.486572] systemd[1]: Created slice User and Session Slice.
[  OK  ] Created slice User and Session Slice.
[    8.505539] systemd[1]: Listening on Journal Audit Socket.
[  OK  ] Listening on Journal Audit Socket.
[    8.521385] systemd[1]: Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket (/dev/log).
[    8.537370] systemd[1]: Listening on Journal Socket.
[  OK  ] Listening on Journal Socket.
[  OK  ] Listening on udev Control Socket.
[  OK  ] Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Reached target Encrypted Volumes.
[  OK  ] Reached target Swap.
[  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
[  OK  ] Reached target Paths.
[  OK  ] Listening on Process Core Dump Socket.
[  OK  ] Created slice System Slice.
[  OK  ] Reached target Slices.
[  OK  ] Created slice system-sshd\x2dkeygen.slice.
         Mounting Debug File System...
         Mounting POSIX Message Queue File System...
         Mounting Configuration File System...
         Starting Apply Kernel Variables...
[  OK  ] Created slice system-getty.slice.
         Starting Remount Root and Kernel File Systems...
         Starting Journal Service...
[  OK  ] Created slice system-serial\x2dgetty.slice.
         Mounting Huge Pages File System...
[  OK  ] Created slice system-systemd\x2dfsck.slice.
[  OK  ] Mounted Debug File System.
[  OK  ] Mounted Configuration File System.
[  OK  ] Mounted POSIX Message Queue File System.
[  OK  ] Mounted Huge Pages File System.
[  OK  ] Started Journal Service.
[    8.905731] audit: type=1130 audit(1498599884.423:2): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-journald comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[  OK  ] Started Apply Kernel Variables.
[    8.937398] audit: type=1130 audit(1498599884.455:3): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-sysctl comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[    8.948239] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[  OK  ] Started Remount Root and Kernel File Systems.
[    8.977369] audit: type=1130 audit(1498599884.495:4): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-remount-fs comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
         Starting Initial cloud-init job (pre-networking)...
         Starting Rebuild Hardware Database...
         Starting Flush Journal to Persistent Storage...
         Starting Configure read-only root support...
         Starting Create System Users...
[    9.167616] systemd-journald[1206]: Received request to flush runtime journal from PID 1
[    9.295642] systemd-journald[1206]: File /var/log/journal/a7574a2cec844022859f818d3502234e/system.journal corrupted or uncleanly shut down, renaming and replacing.
[  OK  ] Started Configure read-only root support.
[    9.501576] audit: type=1130 audit(1498599885.019:5): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=fedora-readonly comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[  OK  ] Started Create System Users.
[    9.533571] audit: type=1130 audit(1498599885.051:6): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-sysusers comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[  OK  ] Started Flush Journal to Persistent Storage.
[    9.565365] audit: type=1130 audit(1498599885.083:7): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-journal-flush comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
         Starting Create Static Device Nodes in /dev...
         Starting Load/Save Random Seed...
[  OK  ] Started Load/Save Random Seed.
[    9.693476] audit: type=1130 audit(1498599885.211:8): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-random-seed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[  OK  ] Started Create Static Device Nodes in /dev.
[    9.773463] audit: type=1130 audit(1498599885.291:9): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-tmpfiles-setup-dev comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
         Starting udev Kernel Device Manager...
[  OK  ] Reached target Local File Systems (Pre).
[  OK  ] Started udev Kernel Device Manager.
[   10.129519] audit: type=1130 audit(1498599885.647:10): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-udevd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[  OK  ] Started Rebuild Hardware Database.
[   11.013365] audit: type=1130 audit(1498599886.531:11): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hwdb-update comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
         Starting udev Coldplug all Devices...
[  OK  ] Started udev Coldplug all Devices.
[  OK  ] Found device /dev/ttyS0.
[   20.370682] cloud-init[1209]: Cloud-init v. 0.7.9 running 'init-local' at Tue, 27 Jun 2017 21:44:54 +0000. Up 19.18 seconds.
[   20.389153] cloud-init[1209]: 2017-06-27 21:44:55,944 - util.py[WARNING]: did not find either path /sys/class/dmi/id or dmidecode command
[   20.409098] cloud-init[1209]: 2017-06-27 21:44:55,950 - util.py[WARNING]: did not find either path /sys/class/dmi/id or dmidecode command
[   20.429020] cloud-init[1209]: 2017-06-27 21:44:55,966 - util.py[WARNING]: did not find either path /sys/class/dmi/id or dmidecode command
[   20.453050] cloud-init[1209]: 2017-06-27 21:44:55,972 - util.py[WARNING]: did not find either path /sys/class/dmi/id or dmidecode command
[  OK  ] Started Initial cloud-init job (pre-networking).
[   20.909374] kauditd_printk_skb: 1 callbacks suppressed
[   20.914577] audit: type=1130 audit(1498599896.427:13): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=cloud-init-local comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[  OK  ] Reached target Network (Pre).
[    **] A start job is running for dev-disk…4A\x2dEAD3.device (33s / 1min 30s)[   42.310499] random: crng init done
[ TIME ] Timed out waiting for device dev-disk-by\x2duuid-E34A\x2dEAD3.device.
[DEPEND] Dependency failed for File System C…ck on /dev/disk/by-uuid/E34A-EAD3.
[DEPEND] Dependency failed for /boot/efi.
[DEPEND] Dependency failed for Local File Systems.
[DEPEND] Dependency failed for Mark the need to relabel after reboot.
         Starting Restore /run/initramfs on shutdown...
[  OK  ] Reached target Login Prompts.
[  OK  ] Reached target Cloud-config availability.
[  OK  ] Reached target Cloud-init target.
[  OK  ] Reached target User and Group Name Lookups.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Network is Online.
         Starting Rebuild Journal Catalog...
         Starting Create Volatile Files and Directories...
         Starting Rebuild Dynamic Linker Cache...
[  OK  ] Started Emergency Shell.
[   98.797489] audit: type=1130 audit(1498599974.315:14): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=emergency comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[  OK  ] Reached target Emergency Mode.
[  OK  ] Reached target Timers.
[  OK  ] Started Restore /run/initramfs on shutdown.
[   98.857466] audit: type=1130 audit(1498599974.375:15): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=dracut-shutdown comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[  OK  ] Started Rebuild Journal Catalog.
[   98.889406] audit: type=1130 audit(1498599974.407:16): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-journal-catalog-update comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[  OK  ] Started Create Volatile Files and Directories.
[   98.921381] audit: type=1130 audit(1498599974.439:17): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-tmpfiles-setup comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
         Starting Security Auditing Service...
[   99.333948] audit: type=1305 audit(1498599974.851:18): audit_enabled=1 old=1 auid=4294967295 ses=4294967295 res=1
[   99.344292] audit: type=1305 audit(1498599974.851:19): audit_pid=1983 old=0 auid=4294967295 ses=4294967295 res=1
[  100.061604] audit: type=1305 audit(1498599975.579:20): auid=4294967295 ses=4294967295 op=add_rule key=(null) list=1 res=1
[  OK  ] Started Security Auditing Service.
[  100.085391] audit: type=1130 audit(1498599975.603:21): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=auditd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
         Starting Update UTMP about System Boot/Shutdown...
[  100.122870] audit: type=1127 audit(1498599975.640:22): pid=2004 uid=0 auid=4294967295 ses=4294967295 msg=' comm="systemd-update-utmp" exe="/usr/lib/systemd/systemd-update-utmp" hostname=? addr=? terminal=? res=success'
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[  100.153404] audit: type=1130 audit(1498599975.671:23): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-update-utmp comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
         Starting Update UTMP about System Runlevel Changes...
[  OK  ] Started Update UTMP about System Runlevel Changes.
[  OK  ] Started Rebuild Dynamic Linker Cache.
         Starting Update is Completed...
[  OK  ] Started Update is Completed.
You are in emergency mode. After logging in, type "journalctl -x
Cannot open access to console, the root account is locked.
See sulogin(8) man page for more details.

Press Enter to continue.

[  120.236611] kauditd_printk_skb: 4 callbacks suppressed
[  120.241819] audit: type=1131 audit(1498599995.754:28): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=emergency comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'


Possibly Related Threads…
Thread Author Replies Views Last Post
  Fedora 32/CentOS 8 Pine A64+ Images wideawake 2 5,945 10-02-2020, 11:38 AM
Last Post: mathiraj
  Programming languages support under PINE64 baryluk 6 13,190 09-23-2020, 11:46 PM
Last Post: Phillip Bell
  Manjaro arm on pine64+ roel 2 6,401 10-19-2019, 05:13 AM
Last Post: roel
  +PINEBOOK Fedora 30 on Pinebook sdgathman 0 3,598 08-14-2019, 11:41 AM
Last Post: sdgathman
  Volumio for PINE64 Released mikelangeloz 11 25,980 03-22-2019, 09:25 AM
Last Post: llungster
  I2S Audio patches for Pine64+ uploaded to GitHub ramstadt 1 4,362 01-19-2019, 11:31 AM
Last Post: ramstadt
  Pine64: Minimal SDL config Max11 3 6,511 01-04-2019, 03:47 PM
Last Post: Max11
  Fedora 27 on Pine64 gregjo 18 37,747 01-02-2019, 10:42 PM
Last Post: heatfanjohn
  Official build procedure of ayufan pine64 r.tanaka 0 3,294 08-21-2018, 10:54 PM
Last Post: r.tanaka
  DKMS on kernel 3.10.107-pine64 obrienmd 5 9,405 06-21-2018, 05:45 PM
Last Post: evilbunny

Forum Jump:


Users browsing this thread: 1 Guest(s)