Odroid C2 mainline kernel support

Post Reply
brad
Posts: 1117
Joined: Tue Mar 29, 2016 1:22 pm
languages_spoken: english
ODROIDs: C2 N1 N2 H2 (64 bit ftw)
Location: Australia
Has thanked: 46 times
Been thanked: 93 times
Contact:

Re: Odroid C2 mainline kernel support

Post by brad » Sat Nov 05, 2016 10:37 am

ok ive just built a new version of the kernel, here are my travels this morning so far.

- linux-next mainline
Linux odroid64 4.9.0-rc2-next-20161028-dirty #2 SMP PREEMPT Fri Nov 4 20:41:26 EDT 2016 aarch64 aarch64 aarch64 GNU/Linux

- dirty comes from 1 applied patch enabling mmc drivers which exist on the gxbb platform.
https://patchwork.kernel.org/patch/9386637/

- Booting with a non hardkernel uboot went fine until I tryed to mount root filesystem and I had mmc issues in kernel and it seemed to be because it was looking for root filesystem on usb first...

Code: Select all

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 ... [    2.295055] usb 1-1: new high-speed USB device number 2 using dwc2
[    2.504830] hub 1-1:1.0: USB hub found
[    2.505144] hub 1-1:1.0: 4 ports detected
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.
done.
Gave up waiting for root device.  Common problems:
I best be having a look at what is going on here for sd/emmc I suspect it is trying to remount the uinitrd im using - I should try without initrd. But I though I would try something out of the box instead so booted uboot via mmc and then loaded the kernel into memory. At that point I removed the emmc from the odroid, put it in a usb sdcard reader via adaptor and booted the rest of the kernel via USB..

Code: Select all

GXBB:BL1:08dafd:0a8993;FEAT:EDFC318C;POC:3;RCY:0;EMMC:800;NAND:81;SD:0;READ:0;CHK:0;
TE: 149198
no sdio debug board detected 

BL2 Built : 11:44:26, Nov 25 2015. 
gxb gfb13a3b-c2 - jcao@wonton

Board ID = 8
set vcck to 1100 mv
set vddee to 1050 mv
CPU clk: 1536MHz
DDR channel setting: DDR0 Rank0+1 same
DDR0: 2048MB(auto) @ 912MHz(2T)-13
DataBus test pass!
AddrBus test pass!
Load fip header from SD, src: 0x0000c200, des: 0x01400000, size: 0x000000b0
Load bl30 from SD, src: 0x00010200, des: 0x01000000, size: 0x00009ef0
Sending bl30........................................OK. 
Run bl30...
Load bl301 from SD, src: 0x0001c200, des: 0x01000000, size: 0x000017a0
Wait bl30...Done
Sending bl301......OK. 
Run bl301...
from SD, src: 0x00020200, des: 0x10100000, size: 0x00011130


--- UART initialized after reboot ---
[Reset cause: unknown]
[Image: unknown, amlogic_v1.1.3046-00db630-dirty 2016-08-23 09:31:24 tao.zeng@droid04]
bl30: check_permit, count is 1
bl30: check_permit: ok!
chipidLoad bl33 from SD, src: 0x00034200, des: 0x01000000, size: 0x00043cf0
: ef be ad de d f0 ad ba ef be ad de not ES chip
[0.263825 Inits done]
secure task start!
high task start!
low task start!
NOTICE:  BL3-1: v1.0(debug):4d2e34d
NOTICE:  BL3-1: Built : 17:08:35, Oct 29 2015
INFO:    BL3-1: Initializing runtime services
INFO:    BL3-1: Preparing for EL3 exit to normal world
INFO:    BL3-1: Next image address = 0x1000000
INFO:    BL3-1: Next image spsr = 0x3c9
No match for driver 'eth_designware'
Some drivers were not found


U-Boot 2016.07-rc2-g3de59fe (Oct 16 2016 - 15:43:49 +1100) odroid-c2

DRAM:  2 GiB
No maLMC:   <NULL>: 0
Using default environment

In:    serial@4c0
Out:   serial@4c0
Err:   serial@4c0
Net:   No ethernet found.
=> setenv kernel_addr 11000000
=> setenv fdt_addr 1000000
=> setenv initrd_loadaddr 13000000
=> setenv bootfile Image
=> setenv fdtfile meson-gxbb-odroidc2.dtb
=> setenv initrdfile uInitrd
=> setenv fsargs "setenv bootargs root=UUID=e139ce78-9841-40fe-8823-96a304a09859 rw no_console_suspend fsck.fix=yes"
=> fatload mmc 0:1 ${initrd_loadaddr} ${initrdfile} ;fatload mmc 0:1 ${kernel_addr} ${bootfile};fatload mmc 0:1 ${fdt_addr} ${fdtfile};run fsargs ;
reading uInitrd
20922898 bytes read in 908 ms (22 MiB/s)
reading Image
10572288 bytes read in 454 ms (22.2 MiB/s)
reading meson-gxbb-odroidc2.dtb
11729 bytes read in 2 ms (5.6 MiB/s)
=> booti ${kernel_addr} ${initrd_loadaddr} ${fdt_addr}
## Loading init Ramdisk from Legacy Image at 13000000 ...
   Image Name:   uInitrd
   Image Type:   AArch64 Linux RAMDisk Image (uncompressed)
   Data Size:    20922834 Bytes = 20 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 01000000
   Booting using the fdt blob at 0x1000000
   Loading Ramdisk to 7cb78000, end 7df6c1d2 ... OK
   Loading Device Tree to 000000007cb72000, end 000000007cb77dd0 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.9.0-rc2-next-20161028-dirty (odroid@odroid64) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.2) ) #2 SMP PREEMPT Fri 6
[    0.000000] Boot CPU: AArch64 Processor [410fd034]
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi: UEFI not found.
[    0.000000] cma: Reserved 16 MiB at 0x000000007f000000
[    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 21 pages/cpu @ffff80007ef8b000 s47896 r8192 d29928 u86016
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: enabling workaround for ARM erratum 845719
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 512064
[    0.000000] Kernel command line: root=UUID=e139ce78-9841-40fe-8823-96a304a09859 rw no_console_suspend fsck.fix=yes
[    0.000000] log_buf_len individual max cpu contribution: 4096 bytes
[    0.000000] log_buf_len total cpu_extra contributions: 12288 bytes
[    0.000000] log_buf_len min size: 16384 bytes
[    0.000000] log_buf_len: 32768 bytes
[    0.000000] early log buf free: 14764(90%)
[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
[    0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.000000] Memory: 1996952K/2080768K available (6844K kernel code, 468K rwdata, 2468K rodata, 512K init, 264K bss, 67432K 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 - 0xffff000008730000   (  6848 KB)
[    0.000000]     .rodata : 0xffff000008730000 - 0xffff0000089a0000   (  2496 KB)
[    0.000000]       .init : 0xffff0000089a0000 - 0xffff000008a20000   (   512 KB)
[    0.000000]       .data : 0xffff000008a20000 - 0xffff000008a95200   (   469 KB)
[    0.000000]        .bss : 0xffff000008a95200 - 0xffff000008ad72bc   (   265 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]  Build-time adjustment of leaf fanout to 64.
[    0.000000]  RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=4.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=64, nr_cpu_ids=4
[    0.000000] NR_IRQS:64 nr_irqs:64 0
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] arm_arch_timer: Architected cp15 timer(s) running at 24.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000003] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000151] Console: colour dummy device 80x25
[    0.000164] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[    0.000170] pid_max: default: 32768 minimum: 301
[    0.000212] Security Framework initialized
[    0.000239] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000244] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes)
[    0.012003] ASID allocator initialised with 65536 entries
[    0.032078] EFI services will not be available.
[    0.048043] smp: Bringing up secondary CPUs ...
[    0.080709] Detected VIPT I-cache on CPU1
[    0.080745] CPU1: Booted secondary processor [410fd034]
[    0.112730] Detected VIPT I-cache on CPU2
[    0.112749] CPU2: Booted secondary processor [410fd034]
[    0.144770] Detected VIPT I-cache on CPU3
[    0.144786] CPU3: Booted secondary processor [410fd034]
[    0.144820] smp: Brought up 1 node, 4 CPUs
[    0.144833] SMP: Total of 4 processors activated.
[    0.144837] CPU features: detected feature: 32-bit EL0 Support
[    0.144869] CPU: All CPU(s) started at EL2
[    0.144882] alternatives: patching kernel code
[    0.145619] devtmpfs: initialized
[    0.147438] DMI not present or invalid.
[    0.147570] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.147895] pinctrl core: initialized pinctrl subsystem
[    0.148590] NET: Registered protocol family 16
[    0.168219] cpuidle: using governor menu
[    0.168403] vdso: 2 pages (1 code @ ffff000008737000, 1 data @ ffff000008a24000)
[    0.168413] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.168908] DMA: preallocated 256 KiB pool for atomic allocations
[    0.168955] Serial: AMBA PL011 UART driver
[    0.192614] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[    0.194112] SCSI subsystem initialized
[    0.194299] usbcore: registered new interface driver usbfs
[    0.194340] usbcore: registered new interface driver hub
[    0.194397] usbcore: registered new device driver usb
[    0.194526] pps_core: LinuxPPS API ver. 1 registered
[    0.194530] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.194545] PTP clock support registered
[    0.194644] dmi: Firmware registration failed.
[    0.194716] Advanced Linux Sound Architecture Driver Initialized.
[    0.195203] clocksource: Switched to clocksource arch_sys_counter
[    0.195298] VFS: Disk quotas dquot_6.6.0
[    0.195331] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.201073] NET: Registered protocol family 2
[    0.201456] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[    0.201541] TCP bind hash table entries: 16384 (order: 6, 262144 bytes)
[    0.201725] TCP: Hash tables configured (established 16384 bind 16384)
[    0.201789] UDP hash table entries: 1024 (order: 3, 32768 bytes)
[    0.201820] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes)
[    0.201934] NET: Registered protocol family 1
[    0.202127] RPC: Registered named UNIX socket transport module.
[    0.202131] RPC: Registered udp transport module.
[    0.202134] RPC: Registered tcp transport module.
[    0.202137] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.202277] Unpacking initramfs...
[    0.851794] Freeing initrd memory: 20432K
[    0.852036] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[    0.852167] kvm [1]: 8-bit VMID
[    0.852171] kvm [1]: IDMAP page: 1718000
[    0.852175] kvm [1]: HYP VA range: 800000000000:ffffffffffff
[    0.852539] kvm [1]: Hyp mode initialized successfully
[    0.852565] kvm [1]: vgic-v2@c4304000
[    0.852644] kvm [1]: vgic interrupt IRQ1
[    0.852656] kvm [1]: virtual timer IRQ4
[    0.853432] futex hash table entries: 1024 (order: 5, 131072 bytes)
[    0.853498] audit: initializing netlink subsys (disabled)
[    0.853527] audit: type=2000 audit(0.848:1): initialized
[    0.853871] workingset: timestamp_bits=46 max_order=19 bucket_order=0
[    0.859977] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.860472] NFS: Registering the id_resolver key type
[    0.860494] Key type id_resolver registered
[    0.860497] Key type id_legacy registered
[    0.860505] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.860624] 9p: Installing v9fs 9p2000 file system support
[    0.862096] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[    0.862103] io scheduler noop registered
[    0.862213] io scheduler cfq registered (default)
[    0.864976] xenfs: not registering filesystem on non-xen platform
[    0.867690] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    0.868672] c81004c0.serial: ttyAML0 at MMIO 0xc81004c0 (irq = 11, base_baud = 1500000) is a meson_uart
[    1.596754] console [ttyAML0] enabled
[    1.604917] loop: module loaded
[    1.605360] hisi_sas: driver version v1.6
[    1.607951] libphy: Fixed MDIO Bus: probed
[    1.611938] tun: Universal TUN/TAP device driver, 1.6
[    1.616486] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    1.623391] VFIO - User Level meta-driver version: 0.3
[    1.629201] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.634182] ehci-platform: EHCI generic platform driver
[    1.639483] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.645481] ohci-platform: OHCI generic platform driver
[    1.650886] usbcore: registered new interface driver usb-storage
[    1.657336] mousedev: PS/2 mouse device common for all mice
[    1.662546] i2c /dev entries driver
[    1.666763] sdhci: Secure Digital Host Controller Interface driver
[    1.671691] sdhci: Copyright(c) Pierre Ossman
[    1.676041] Synopsys Designware Multimedia Card Interface Driver
[    1.682145] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.687919] ledtrig-cpu: registered to indicate activity on CPUs
[    1.693673] meson-sm: secure-monitor enabled
[    1.698346] usbcore: registered new interface driver usbhid
[    1.703254] usbhid: USB HID core driver
[    1.707916] NET: Registered protocol family 17
[    1.711507] 9pnet: Installing 9P2000 support
[    1.715737] Key type dns_resolver registered
[    1.720334] registered taskstats version 1
[    1.726866] c9000000.usb supply vusb_d not found, using dummy regulator
[    1.730547] c9000000.usb supply vusb_a not found, using dummy regulator
[    1.738214] phy phy-c0000000.phy.0: USB ID detect failed!
[    1.742412] phy phy-c0000000.phy.0: phy poweron failed --> -22
[    1.748264] dwc2: probe of c9000000.usb failed with error -22
[    1.754106] c9100000.usb supply vusb_d not found, using dummy regulator
[    1.760458] c9100000.usb supply vusb_a not found, using dummy regulator
[    1.887417] dwc2 c9100000.usb: DWC OTG Controller
[    1.887451] dwc2 c9100000.usb: new USB bus registered, assigned bus number 1
[    1.893486] dwc2 c9100000.usb: irq 17, io mem 0x00000000
[    1.899229] hub 1-0:1.0: USB hub found
[    1.902444] hub 1-0:1.0: 1 port detected
[    1.906622] hctosys: unable to open rtc device (rtc0)
[    1.911402] USB_OTG_PWR: disabling
[    1.914679] ALSA device list:
[    1.917618]   No soundcards found.
[    1.926782] Freeing unused kernel memory: 512K
Loading, please wait...
starting version 229
[    1.954414] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[    1.956334] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[    1.956985] random: udevadm: uninitialized urandom read (16 bytes read)
[    1.957087] random: udevadm: uninitialized urandom read (16 bytes read)
[    1.957976] random: udevadm: uninitialized urandom read (16 bytes read)
[    1.958152] random: udevadm: uninitialized urandom read (16 bytes read)
[    1.958332] random: udevadm: uninitialized urandom read (16 bytes read)
[    1.958517] random: udevadm: uninitialized urandom read (16 bytes read)
[    1.958717] random: udevadm: uninitialized urandom read (16 bytes read)
[    1.958882] random: udevadm: uninitialized urandom read (16 bytes read)
[    2.036620] meson8b-dwmac c9410000.ethernet: no reset control found
[    2.037246] stmmac - user ID: 0x11, Synopsys ID: 0x37
[    2.042332]  Ring mode enabled
[    2.045299]  DMA HW capability register supported[    2.049830]  Normal descriptors
[    2.052871]  RX Checksum Offload Engine supported
[    2.057614]  COE Type 2
[    2.059975]  TX Checksum insertion supported
[    2.064184]  Wake-Up On Lan supported
[    2.067853]  Enable RX Mitigation via HW Watchdog Timer
[    2.082360] libphy: stmmac: probed
[    2.082387] eth0: PHY ID 001cc916 at 0 IRQ POLL (stmmac-0:00) active
[    2.086461] eth0: PHY ID 001cc916 at 7 IRQ POLL (stmmac-0:07)
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 ... [    2.299218] usb 1-1: new high-speed USB device number 2 using dwc2
[    2.509003] hub 1-1:1.0: USB hub found
[    2.509313] hub 1-1:1.0: 4 ports detected
[    2.740523] random: fast init done
[    2.799215] usb 1-1.2: new high-speed USB device number 3 using dwc2
[    2.900510] usb-storage 1-1.2:1.0: USB Mass Storage device detected
[    2.901627] scsi host0: usb-storage 1-1.2:1.0
[    3.907964] scsi 0:0:0:0: Direct-Access     Generic  Flash-Disk       1.05 PQ: 0 ANSI: 2
[    4.373414] random: crng init done
[    4.413004] dwc2 c9100000.usb: dwc2_hc_chhltd_intr_dma: Channel 6 - ChHltd set, but reason is unknown
[    4.416551] dwc2 c9100000.usb: hcint 0x00000002, intsts 0x04000029
[    4.422675] dwc2 c9100000.usb: dwc2_update_urb_state_abn(): trimming xfer length
done.
[   13.309169] usb 1-1.2: USB disconnect, device number 3
[   13.323367] sd 0:0:0:0: [sda] Read Capacity(10) failed: Result: hostbyte=0x01 driverbyte=0x00
[   13.326233] sd 0:0:0:0: [sda] Sense not available.
[   13.330989] sd 0:0:0:0: [sda] 0 512-byte logical blocks: (0 B/0 B)
[   13.337105] sd 0:0:0:0: [sda] 0-byte physical blocks
[   13.342046] sd 0:0:0:0: [sda] Write Protect is off
[   13.346789] sd 0:0:0:0: [sda] Asking for cache data failed
[   13.352199] sd 0:0:0:0: [sda] Assuming drive cache: write through
[   13.358793] sd 0:0:0:0: [sda] Read Capacity(10) failed: Result: hostbyte=0x01 driverbyte=0x00
[   13.363612] elevator: type deadline not found
[   13.363615] elevator: switch to deadline failed
[   13.375496] sd 0:0:0:0: [sda] Sense not available.
[   13.380324] sd 0:0:0:0: [sda] Attached SCSI removable disk
[   13.695216] usb 1-1.2: new high-speed USB device number 4 using dwc2
[   13.796514] usb-storage 1-1.2:1.0: USB Mass Storage device detected
[   13.801351] scsi host0: usb-storage 1-1.2:1.0
[   14.819969] scsi 0:0:0:0: Direct-Access     Generic  Flash-Disk       1.05 PQ: 0 ANSI: 2
[   15.325135] dwc2 c9100000.usb: dwc2_hc_chhltd_intr_dma: Channel 10 - ChHltd set, but reason is unknown
[   15.328773] dwc2 c9100000.usb: hcint 0x00000002, intsts 0x04000029
[   15.334895] dwc2 c9100000.usb: dwc2_update_urb_state_abn(): trimming xfer length
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.
[   46.143219] usb 1-1.2: reset high-speed USB device number 4 using dwc2
[   46.244064] sd 0:0:0:0: [sda] 30535680 512-byte logical blocks: (15.6 GB/14.6 GiB)
[   46.246551] sd 0:0:0:0: [sda] Write Protect is off
[   46.251302] sd 0:0:0:0: [sda] No Caching mode page found
[   46.255983] sd 0:0:0:0: [sda] Assuming drive cache: write through
[   46.265818]  sda: sda1 sda2
[   46.268699] sd 0:0:0:0: [sda] Attached SCSI removable disk
[   46.270975] elevator: type deadline not found
[   46.274549] elevator: switch to deadline failed
Begin: Running /scripts/local-block ... done.
done.
Begin: Will now check root file system ... fsck from util-linux 2.27.1
[/sbin/fsck.ext4 (1) -- /dev/sda2] fsck.ext4 -a -C0 /dev/sda2 
rootfs: clean, 277997/950272 files, 2355486/3783808 blocks
done.
[   46.899605] EXT4-fs (sda2): mounted filesystem without journal. Opts: (null)
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
[   47.649870] systemd[1]: System time before build time, advancing clock.
[   48.864296] NET: Registered protocol family 10
[   48.932220] systemd[1]: systemd 229 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -L)
[   48.944746] systemd[1]: Detected architecture arm64.

Welcome to Ubuntu 16.04.1 LTS!

[   48.976075] systemd[1]: Set hostname to <odroid64>.
[   50.210829] systemd[1]: Listening on udev Control Socket.
[  OK  ] Listening on udev Control Socket.
[   50.227357] systemd[1]: Listening on fsck to fsckd communication Socket.
[  OK  ] Listening on fsck to fsckd communication Socket.
[   50.247251] systemd[1]: Reached target Swap.
[  OK  ] Reached target Swap.
[   50.263333] systemd[1]: Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket (/dev/log).
[   50.279337] systemd[1]: Listening on Journal Socket.
[  OK  ] Listening on Journal Socket.
[   50.295346] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
[   50.315528] systemd[1]: Created slice User and Session Slice.
[  OK  ] Created slice User and Session Slice.
[  OK  ] Created slice System Slice.
[  OK  ] Reached target Slices.
[  OK  ] Created slice system-serial\x2dgetty.slice.
         Mounting Huge Pages File System...
         Mounting POSIX Message Queue File System...
[  OK  ] Started Read required files in advance.
[  OK  ] Started Braille Device Support.
         Starting Load Kernel Modules...
         Starting Create list of required st... nodes for the current kernel...
[  OK  ] Listening on Syslog Socket.
[  OK  ] Reached target User and Group Name Lookups.
         Starting Uncomplicated firewall...
         Starting Set console keymap...
[  OK  ] Reached target Remote File Systems (Pre).
[  OK  ] Reached target Remote File Systems.
         Starting Nameserver information manager...
[  OK  ] Listening on Journal Audit Socket.
         Starting Journal Service...
[  OK  ] Listening on udev Kernel Socket.
         Mounting Debug File System...
[  OK  ] Reached target Encrypted Volumes.
         Starting Remount Root and Kernel File Systems...
[  OK  ] Started Forward Password Requests to Wall Directory Watch.
[   50.649818] EXT4-fs (sda2): re-mounted. Opts: errors=remount-ro
[  OK  ] Mounted POSIX Message Queue File System.
[  OK  ] Mounted Debug File System.
[  OK  ] Mounted Huge Pages File System.
[  OK  ] Started Create list of required sta...ce nodes for the current kernel.
[  OK  ] Started Remount Root and Kernel File Systems.
         Starting udev Coldplug all Devices...
         Starting Load/Save Random Seed...
         Starting Create Static Device Nodes in /dev...
[  OK  ] Started Nameserver information manager.
[  OK  ] Started Load/Save Random Seed.
[FAILED] Failed to start Load Kernel Modules.
See 'systemctl status systemd-modules-load.service' for details.
         Starting Apply Kernel Variables...
         Mounting Configuration File System...
[  OK  ] Mounted Configuration File System.
[  OK  ] Started Uncomplicated firewall.
[  OK  ] Started Apply Kernel Variables.
[  OK  ] Started Set console keymap.
[  OK  ] Started udev Coldplug all Devices.
[  OK  ] Started Journal Service.
         Starting Flush Journal to Persistent Storage...
[  OK  ] Started Create Static Device Nodes in /dev.
[  OK  ] Reached target Local File Systems (Pre).
         Starting udev Kernel Device Manager...
[  OK  ] Started Flush Journal to Persistent Storage.
[  OK  ] Started udev Kernel Device Manager.
[  OK  ] Started Dispatch Password Requests to Console Directory Watch.
         Starting LSB: QEMU KVM module loading script...
[  OK  ] Found device /dev/ttyAML0.
[  OK  ] Started LSB: QEMU KVM module loading script.
[   53.873823] elevator: type deadline not found
[   53.873849] elevator: switch to deadline failed
[  OK  ] Found device Flash-Disk boot.
         Mounting /media/boot...
[  OK  ] Mounted /media/boot.
[  OK  ] Reached target Local File Systems.
         Starting Run snappy firstboot setup...
         Starting LSB: AppArmor initialization...
         Starting Set console font and keymap...
         Starting Tell Plymouth To Write Out Runtime Data...
         Starting Enable support for additional executable binary formats...
         Starting Create Volatile Files and Directories...
[  OK  ] Started Tell Plymouth To Write Out Runtime Data.
[  OK  ] Started Enable support for additional executable binary formats.
[  OK  ] Started LSB: AppArmor initialization.
         Starting Raise network interfaces...
[  OK  ] Started Create Volatile Files and Directories.
[  OK  ] Reached target System Time Synchronized.
         Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[  OK  ] Reached target System Initialization.
[  OK  ] Listening on CUPS Scheduler.
[  OK  ] Started Trigger resolvconf update for networkd DNS.
[  OK  ] Started Timer to automatically refresh installed snaps.
         Starting Socket activation for snappy daemon.
[  OK  ] Started CUPS Scheduler.
[  OK  ] Reached target Paths.
[  OK  ] Started Daily apt activities.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Reached target Timers.
[  OK  ] Listening on Socket activation for snappy daemon.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
         Starting LSB: Set the CPU Frequency Scaling governor to "ondemand"...
         Starting Initializes zram swaping...
[  OK  ] Started Run anacron jobs.
[  OK  ] Started Self Monitoring and Reporting Technology (SMART) Daemon.
         Starting Initialize hardware monitoring sensors...
[  OK  ] Started Avahi DNS Configuration Daemon.
         Starting System Logging Service...
         Starting Avahi mDNS/DNS-SD Stack...
         Starting LSB: automatic crash report generation...
         Starting LSB: Load kernel modules needed to enable cpufreq scaling...
         Starting Permit User Sessions...
[  OK  ] Started Cgroup management daemon.
         Starting LSB: Speech Dispatcher...
         Starting Accounts Service...
         Starting Login Service...
[  OK  ] Started Regular background program processing daemon.
[  OK  ] Started D-Bus System Message Bus.
[  OK  ] Started Avahi mDNS/DNS-SD Stack.
         Starting Network Manager...
         Starting Restore /etc/resolv.conf i...re the ppp link was shut down...
         Starting Modem Manager...
[  OK  ] Started CUPS Scheduler.
[  OK  ] Started Make remote CUPS printers available locally.
[  OK  ] Started crash report submission daemon.
[  OK  ] Started System Logging Service.
[  OK  ] Started Run snappy firstboot setup.
[  OK  ] Started Set console font and keymap.
[FAILED] Failed to start Initializes zram swaping.
See 'systemctl status zram-config.service' for details.
[  OK  ] Started Permit User Sessions.
[  OK  ] Started Restore /etc/resolv.conf if...fore the ppp link was shut down.
[  OK  ] Started Initialize hardware monitoring sensors.
[  OK  ] Started LSB: automatic crash report generation.
         Starting Light Display Manager...
[  OK  ] Created slice system-getty.slice.
[  OK  ] Started Snappy daemon.
[  OK  ] Started Raise network interfaces.
[  OK  ] Started LSB: Set the CPU Frequency Scaling governor to "ondemand".
[  OK  ] Started LSB: Speech Dispatcher.
[  OK  ] Started Login Service.
         Starting Authenticate and Authorize Users to Run Privileged Tasks...
[  OK  ] Started Authenticate and Authorize Users to Run Privileged Tasks.
[  OK  ] Started Accounts Service.
[  OK  ] Started LSB: Load kernel modules needed to enable cpufreq scaling.
         Starting LSB: set CPUFreq kernel parameters...
[  OK  ] Started Light Display Manager.
[  OK  ] Started LSB: set CPUFreq kernel parameters.
[  OK  ] Started Network Manager.
         Starting Network Manager Wait Online...
[  OK  ] Reached target Network.
         Starting OpenBSD Secure Shell server...
[  OK  ] Started Modem Manager.
         Starting Network Manager Script Dispatcher Service...
[  OK  ] Started Network Manager Script Dispatcher Service.
[  OK  ] Started OpenBSD Secure Shell server.
         Starting Hostname Service...
[  OK  ] Started Hostname Service.
[  OK  ] Stopped Light Display Manager.
         Starting Light Display Manager...
[  OK  ] Started Light Display Manager.
[  OK  ] Stopped Light Display Manager.
         Starting Light Display Manager...
[  OK  ] Started Light Display Manager.
[  OK  ] Started Network Manager Wait Online.
[  OK  ] Reached target Network is Online.
         Starting /etc/rc.local Compatibility...
         Starting LSB: disk temperature monitoring daemon...
         Starting LSB: Start NTP daemon...
[  OK  ] Started /etc/rc.local Compatibility.
         Starting Hold until boot process finishes up...
[  OK  ] Started LSB: disk temperature monitoring daemon.
[  OK  ] Started Hold until boot process finishes up.
[  OK  ] Started Serial Getty on ttyAML0.
         Starting Set console scheme...
[  OK  ] Started Getty on tty1.
[  OK  ] Reached target Login Prompts.
[  OK  ] Started Set console scheme.
[  OK  ] Stopped Light Display Manager.
         Starting Light Display Manager...
[  OK  ] Started LSB: Start NTP daemon.
[  OK  ] Reached target Multi-User System.
[  OK  ] Started TLP system startup/shutdown.
         Starting Notify bootloader that boot was successful...
[  OK  ] Started Light Display Manager.
[  OK  ] Reached target Graphical Interface.
         Starting Update UTMP about System Runlevel Changes...
[  OK  ] Started Stop ureadahead data collection 45s after completed startup.
[  OK  ] Started Update UTMP about System Runlevel Changes.
[  OK  ] Started Notify bootloader that boot was successful.

Ubuntu 16.04.1 LTS odroid64 ttyAML0

odroid64 login: 
Ill see if I can see what is happening with emmc and do some tests on, Gbit ethernet & USB performance. I havent optimised the kernel config as yet and I need to change the root device once I work out whats happening.

Some quick information (on a 100Mb switch at the moment)..

Code: Select all

odroid@odroid64:~$ df -h
Filesystem      Size  Used Avail Use% Mounted on
udev            976M     0  976M   0% /dev
tmpfs           199M  5.8M  193M   3% /run
/dev/sda2        15G  8.8G  5.0G  64% /
tmpfs           994M     0  994M   0% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs           994M     0  994M   0% /sys/fs/cgroup
/dev/sda1       128M   31M   98M  24% /media/boot
cgmfs           100K     0  100K   0% /run/cgmanager/fs
tmpfs           199M     0  199M   0% /run/user/1000
odroid@odroid64:~$ lsusb -t
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=dwc2/1p, 480M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
        |__ Port 2: Dev 4, If 0, Class=Mass Storage, Driver=usb-storage, 480M
odroid@odroid64:~$ sudo lshw
odroid64                  
    description: Computer
    product: Hardkernel ODROID-C2
    width: 64 bits
  *-core
       description: Motherboard
       physical id: 0
       capabilities: hardkernel_odroid-c2 amlogic_meson-gxbb
     *-cpu:0
          description: CPU
          product: cpu
          physical id: 0
          bus info: cpu@0
          capabilities: fp asimd evtstrm crc32
     *-cpu:1
          description: CPU
          product: cpu
          physical id: 1
          bus info: cpu@1
          capabilities: fp asimd evtstrm crc32
     *-cpu:2
          description: CPU
          product: cpu
          physical id: 2
          bus info: cpu@2
          capabilities: fp asimd evtstrm crc32
     *-cpu:3
          description: CPU
          product: cpu
          physical id: 3
          bus info: cpu@3
          capabilities: fp asimd evtstrm crc32
     *-cpu:4 DISABLED
          description: CPU
          product: l2-cache0
          physical id: 4
          bus info: cpu@4
     *-memory
          description: System memory
          physical id: 5
          size: 1986MiB
  *-usbhost
       product: DWC OTG Controller
       vendor: Linux 4.9.0-rc2-next-20161028-dirty dwc2_hsotg
       physical id: 1
       bus info: usb@1
       logical name: usb1
       version: 4.09
       capabilities: usb-2.00
       configuration: driver=hub slots=1 speed=480Mbit/s
     *-usb
          description: USB hub
          product: USB2.0 Hub
          vendor: Genesys Logic, Inc.
          physical id: 1
          bus info: usb@1:1
          version: 32.98
          capabilities: usb-2.00
          configuration: driver=hub maxpower=100mA slots=4 speed=480Mbit/s
        *-usb
             description: Mass storage device
             product: USB2.0 Device
             vendor: Generic
             physical id: 2
             bus info: usb@1:1.2
             version: 1.05
             serial: 20101227120006
             capabilities: usb-2.00 scsi
             configuration: driver=usb-storage maxpower=500mA speed=480Mbit/s
  *-network
       description: Ethernet interface
       physical id: 2
       logical name: eth0
       serial: 06:c4:e4:0e:b1:2d
       size: 100Mbit/s
       capacity: 1Gbit/s
       capabilities: ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=st_gmac driverversion=Jan_2016 duplex=full ip=10.1.1.111 link=yes multicast=yes port=MII speed=100Mbit/s
odroid@odroid64:~$ 
Still using an old version of arm fireware limited to 1.5G to get around the boot crashing.

brad
Posts: 1117
Joined: Tue Mar 29, 2016 1:22 pm
languages_spoken: english
ODROIDs: C2 N1 N2 H2 (64 bit ftw)
Location: Australia
Has thanked: 46 times
Been thanked: 93 times
Contact:

Re: Odroid C2 mainline kernel support

Post by brad » Sat Nov 05, 2016 10:57 am

alpha_one_x86 wrote:When the ethernet patch will be integrated to the mainline?
It seems to be working for me with GBit when it ping with large packets..

Code: Select all

odroid@odroid64:~$ ping -s 64000 10.1.1.1
PING 10.1.1.1 (10.1.1.1) 64000(64028) bytes of data.
64008 bytes from 10.1.1.1: icmp_seq=1 ttl=255 time=21.1 ms
64008 bytes from 10.1.1.1: icmp_seq=2 ttl=255 time=20.8 ms
64008 bytes from 10.1.1.1: icmp_seq=3 ttl=255 time=20.5 ms
64008 bytes from 10.1.1.1: icmp_seq=4 ttl=255 time=21.5 ms
64008 bytes from 10.1.1.1: icmp_seq=5 ttl=255 time=21.2 ms
64008 bytes from 10.1.1.1: icmp_seq=6 ttl=255 time=21.1 ms
64008 bytes from 10.1.1.1: icmp_seq=7 ttl=255 time=20.7 ms
64008 bytes from 10.1.1.1: icmp_seq=8 ttl=255 time=20.6 ms
64008 bytes from 10.1.1.1: icmp_seq=9 ttl=255 time=21.5 ms
64008 bytes from 10.1.1.1: icmp_seq=10 ttl=255 time=21.1 ms
64008 bytes from 10.1.1.1: icmp_seq=11 ttl=255 time=20.9 ms
64008 bytes from 10.1.1.1: icmp_seq=12 ttl=255 time=20.5 ms
64008 bytes from 10.1.1.1: icmp_seq=13 ttl=255 time=21.6 ms
64008 bytes from 10.1.1.1: icmp_seq=14 ttl=255 time=21.2 ms
64008 bytes from 10.1.1.1: icmp_seq=15 ttl=255 time=20.9 ms
64008 bytes from 10.1.1.1: icmp_seq=16 ttl=255 time=20.6 ms
64008 bytes from 10.1.1.1: icmp_seq=17 ttl=255 time=20.1 ms
64008 bytes from 10.1.1.1: icmp_seq=18 ttl=255 time=21.3 ms
64008 bytes from 10.1.1.1: icmp_seq=19 ttl=255 time=21.0 ms
64008 bytes from 10.1.1.1: icmp_seq=20 ttl=255 time=20.7 ms
64008 bytes from 10.1.1.1: icmp_seq=21 ttl=255 time=20.6 ms
64008 bytes from 10.1.1.1: icmp_seq=22 ttl=255 time=21.4 ms
64008 bytes from 10.1.1.1: icmp_seq=23 ttl=255 time=21.0 ms
64008 bytes from 10.1.1.1: icmp_seq=24 ttl=255 time=20.8 ms
64008 bytes from 10.1.1.1: icmp_seq=25 ttl=255 time=20.6 ms
64008 bytes from 10.1.1.1: icmp_seq=26 ttl=255 time=21.5 ms
64008 bytes from 10.1.1.1: icmp_seq=27 ttl=255 time=21.3 ms
64008 bytes from 10.1.1.1: icmp_seq=28 ttl=255 time=21.0 ms
64008 bytes from 10.1.1.1: icmp_seq=29 ttl=255 time=20.5 ms
64008 bytes from 10.1.1.1: icmp_seq=30 ttl=255 time=20.0 ms
64008 bytes from 10.1.1.1: icmp_seq=31 ttl=255 time=21.2 ms
64008 bytes from 10.1.1.1: icmp_seq=32 ttl=255 time=20.9 ms
64008 bytes from 10.1.1.1: icmp_seq=33 ttl=255 time=20.5 ms
64008 bytes from 10.1.1.1: icmp_seq=34 ttl=255 time=21.4 ms
64008 bytes from 10.1.1.1: icmp_seq=35 ttl=255 time=21.2 ms
64008 bytes from 10.1.1.1: icmp_seq=36 ttl=255 time=21.0 ms
64008 bytes from 10.1.1.1: icmp_seq=37 ttl=255 time=20.7 ms
64008 bytes from 10.1.1.1: icmp_seq=38 ttl=255 time=20.5 ms
64008 bytes from 10.1.1.1: icmp_seq=39 ttl=255 time=21.4 ms
64008 bytes from 10.1.1.1: icmp_seq=40 ttl=255 time=21.1 ms
64008 bytes from 10.1.1.1: icmp_seq=41 ttl=255 time=20.7 ms
64008 bytes from 10.1.1.1: icmp_seq=42 ttl=255 time=20.5 ms
^C
--- 10.1.1.1 ping statistics ---
42 packets transmitted, 42 received, 0% packet loss, time 41059ms
rtt min/avg/max/mdev = 20.083/20.963/21.619/0.415 ms
I notice that the orange status light on odroid's ethernet status port does not really flash how I would expect but the one on the switch does.

What type of test would you like me to do with ethernet?

brad
Posts: 1117
Joined: Tue Mar 29, 2016 1:22 pm
languages_spoken: english
ODROIDs: C2 N1 N2 H2 (64 bit ftw)
Location: Australia
Has thanked: 46 times
Been thanked: 93 times
Contact:

Re: Odroid C2 mainline kernel support

Post by brad » Sat Nov 05, 2016 2:14 pm

Going to give https://git.kernel.org/cgit/linux/kerne ... 4.10/integ ago now as it appears to have the power drivers for emmc which next doesn't.

umiddelb
Posts: 452
Joined: Thu Jan 29, 2015 6:42 am
languages_spoken: English, German
ODROIDs: ODROID-C1, ODROID-XU4, ODROID-C2
Has thanked: 0
Been thanked: 0
Contact:

Re: Odroid C2 mainline kernel support

Post by umiddelb » Sat Nov 05, 2016 4:21 pm

brad wrote:Going to give https://git.kernel.org/cgit/linux/kerne ... 4.10/integ ago now as it appears to have the power drivers for emmc which next doesn't.
I've tried it yesterday and still got these GBit network issues (and no USB support).

brad
Posts: 1117
Joined: Tue Mar 29, 2016 1:22 pm
languages_spoken: english
ODROIDs: C2 N1 N2 H2 (64 bit ftw)
Location: Australia
Has thanked: 46 times
Been thanked: 93 times
Contact:

Re: Odroid C2 mainline kernel support

Post by brad » Sun Nov 06, 2016 6:50 am

umiddelb wrote:
brad wrote:Going to give https://git.kernel.org/cgit/linux/kerne ... 4.10/integ ago now as it appears to have the power drivers for emmc which next doesn't.
I've tried it yesterday and still got these GBit network issues (and no USB support).
Yes I see Kevin's 4.10 integration branch has mmc working nicely (And appears to be aimed for integration into 4.10 release of the kernel). I am seeing some strange behaviour on the Gigabit ethernet (the light) but I can maintain a steady connection without dropouts. More testing needed.

In regards to linux-next and upcomming 4.9 looks like we will have usb support (Booting via USB works fine). I wonder if anyone has a usb display card they can try running X on? Im going to try to play with USB audio devices and make some comparisons with current kernel and usb audio.

USB storage seems to work fine (a little slower that direct emmc but to be expected), compiled a number of kernels now using usb interface for connecting rootfile system on my emmc.

mix
Posts: 34
Joined: Tue Sep 27, 2016 3:40 pm
languages_spoken: English
Has thanked: 0
Been thanked: 0
Contact:

Re: Odroid C2 mainline kernel support

Post by mix » Sun Nov 06, 2016 8:11 am

I'm just going to wait until 4.10 is released next year to experiment. Too many patches floating around still.

What is the relationship with BayLibre, Amlogic and Hardkernel? Is Amlogic paying BayLibre to mainline all their current and future SoCs? I've seen like one patch that I recall from Hardkernel. Is Hardkernel actively participating in the mainlining process or just supplying hardware and technical info?

brad
Posts: 1117
Joined: Tue Mar 29, 2016 1:22 pm
languages_spoken: english
ODROIDs: C2 N1 N2 H2 (64 bit ftw)
Location: Australia
Has thanked: 46 times
Been thanked: 93 times
Contact:

Re: Odroid C2 mainline kernel support

Post by brad » Sun Nov 06, 2016 8:46 am

mix wrote:I'm just going to wait until 4.10 is released next year to experiment. Too many patches floating around still.
Yes, its quiet much under development with many changes still in progress. I might look to write up some simple how-to for 4.9-rc2-next version which will allow booting new kernel on usb storage. Just need to find the best solution to keep 3.14.y on the sd card boot selectable at the same time. I might need to patch the current u-boot to achieve or write some uboot.ini smarts.

Makes me think, does current u-boot support usb? If so I could boot u-boot via sdcard as normal, check to see what exists on usb storage and boot a 4.9 kernel with usb kernel and rootfilesystem if what im looking for is there. I would need to still have a fat and ext filesystem on the usb storage as u-boot only reads fat partitions and I need to store the kernel image, ram filesystem and device tree for boot on something readable by u-boot. I will look into this option.

Last option is a patched version of new mainline u-boot which has a heap of very nice features including ext file-system support. Need to make it work with 3.14.y to make it a viable option.

umiddelb
Posts: 452
Joined: Thu Jan 29, 2015 6:42 am
languages_spoken: English, German
ODROIDs: ODROID-C1, ODROID-XU4, ODROID-C2
Has thanked: 0
Been thanked: 0
Contact:

Re: Odroid C2 mainline kernel support

Post by umiddelb » Sun Nov 06, 2016 3:39 pm

brad wrote: ... I might need to patch the current u-boot to achieve or write some uboot.ini smarts.
https://github.com/umiddelb/u-571
brad wrote: Makes me think, does current u-boot support usb?
...
Yes, but loading from USB is terribly slow. HK's u-boot supports loading from ext4 as well, if you create the filesystem without a journal.

brad
Posts: 1117
Joined: Tue Mar 29, 2016 1:22 pm
languages_spoken: english
ODROIDs: C2 N1 N2 H2 (64 bit ftw)
Location: Australia
Has thanked: 46 times
Been thanked: 93 times
Contact:

Re: Odroid C2 mainline kernel support

Post by brad » Mon Nov 07, 2016 4:06 pm

umiddelb wrote:Yes, but loading from USB is terribly slow. HK's u-boot supports loading from ext4 as well, if you create the filesystem without a journal.
Thanks, Im going to compile up hard-kernel u boot and have a poke, Before I do ive done some comparison tests between emmc, sd & USB in new kernel with latest driver versions. I can read from the emmc card over USB the fastest which surprised me.

- emmc via emmc to sd adaptor - sd slot ~3Mb/s
- emmc via emm slot 10.5Mb/s
- emmc via emmc to sdcard adaptor via sdcard to USB adaptor (SCSI interface) 11Mb/s

The tests were done like follows (for the USB test, sda as it a scsi driver) and I read the base device from dev/* fresh reboot for each test above...

Code: Select all

odroid@odroid64:~$ sudo dd if=/dev/sda of=/dev/null status=progress
[sudo] password for odroid: 
633586176 bytes (634 MB, 604 MiB) copied, 58.0003 s, 10.9 MB/s^C
1243873+0 records in
1243872+0 records out
636862464 bytes (637 MB, 607 MiB) copied, 58.3003 s, 10.9 MB/s

User avatar
alpha_one_x86
Posts: 103
Joined: Wed Aug 27, 2014 6:47 am
languages_spoken: french, english, spanish
ODROIDs: U3, C1, C2, N2, H2
Has thanked: 0
Been thanked: 2 times
Contact:

Re: Odroid C2 mainline kernel support

Post by alpha_one_x86 » Mon Nov 07, 2016 7:49 pm

Developer of ImageUltracopier/ImageSupercopier and of the game ImageCatchChallenger

brad
Posts: 1117
Joined: Tue Mar 29, 2016 1:22 pm
languages_spoken: english
ODROIDs: C2 N1 N2 H2 (64 bit ftw)
Location: Australia
Has thanked: 46 times
Been thanked: 93 times
Contact:

Re: Odroid C2 mainline kernel support

Post by brad » Mon Nov 07, 2016 8:44 pm

alpha_one_x86 wrote:Look about:
https://romanrm.net/dd-benchmark
https://www.thomas-krenn.com/en/wiki/Li ... s_using_dd
You need take care to the cache...
Thanks, I understand your concern and I am trying to test read rather than write and is more of a guide than anything. I can do some more testing but I believe the reads are conclusive for my setup and it feels nice and responsive.

Some more testing for interests sake, I don't touch storage here.

Read 0's from /dev/zero and send them to to /dev/null

Code: Select all

odroid@odroid64:~$ sudo dd if=/dev/zero of=/dev/null status=progress
16272222208 bytes (16 GB, 15 GiB) copied, 43 s, 378 MB/s^C
32187715+0 records in
32187714+0 records out
16480109568 bytes (16 GB, 15 GiB) copied, 43.5489 s, 378 MB/s
Remember 0 is not NULL, I can send something to NULL (to nothing) but I cant send NULL (nothing) to zero)

brad
Posts: 1117
Joined: Tue Mar 29, 2016 1:22 pm
languages_spoken: english
ODROIDs: C2 N1 N2 H2 (64 bit ftw)
Location: Australia
Has thanked: 46 times
Been thanked: 93 times
Contact:

Re: Odroid C2 mainline kernel support

Post by brad » Mon Nov 07, 2016 9:15 pm

I am getting network freezes at GBit, 2 now in 1 day :x

User avatar
mad_ady
Posts: 8136
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 565 times
Been thanked: 399 times
Contact:

Re: Odroid C2 mainline kernel support

Post by mad_ady » Tue Nov 08, 2016 5:23 am

@brad: you can use multiboot's approach to switch kernels, but it won't save you if the new kernel doesn't boot:
1)boot.ini = boot.ini.sel -> boots the kernel with a minimal initrd that shows a selection screen (via hdmi). Based on your selection boot.ini is overwritten by boot.ini.linux1 and the board is rebooted
2) the selected kernel starts and restores boot.ini.sel as part of rc.local

umiddelb
Posts: 452
Joined: Thu Jan 29, 2015 6:42 am
languages_spoken: English, German
ODROIDs: ODROID-C1, ODROID-XU4, ODROID-C2
Has thanked: 0
Been thanked: 0
Contact:

Re: Odroid C2 mainline kernel support

Post by umiddelb » Wed Nov 09, 2016 7:19 pm

brad wrote:I am getting network freezes at GBit, 2 now in 1 day :x
I've build a kernel based on linux-next yesterday and I haven't got one of these network freezes so far.

umiddelb
Posts: 452
Joined: Thu Jan 29, 2015 6:42 am
languages_spoken: English, German
ODROIDs: ODROID-C1, ODROID-XU4, ODROID-C2
Has thanked: 0
Been thanked: 0
Contact:

Re: Odroid C2 mainline kernel support

Post by umiddelb » Thu Nov 10, 2016 5:24 am

And USB seems to work as well ...

User avatar
memeka
Posts: 4420
Joined: Mon May 20, 2013 10:22 am
languages_spoken: english
ODROIDs: XU rev2 + eMMC + UART
U3 + eMMC + IO Shield + UART
Has thanked: 2 times
Been thanked: 58 times
Contact:

Re: Odroid C2 mainline kernel support

Post by memeka » Thu Nov 10, 2016 6:18 am

is the emmc working? or are you using SD?
what about gpios? :D

brad
Posts: 1117
Joined: Tue Mar 29, 2016 1:22 pm
languages_spoken: english
ODROIDs: C2 N1 N2 H2 (64 bit ftw)
Location: Australia
Has thanked: 46 times
Been thanked: 93 times
Contact:

Re: Odroid C2 mainline kernel support

Post by brad » Thu Nov 10, 2016 9:53 am

memeka wrote:is the emmc working? or are you using SD?
what about gpios? :D
emmc, sd and sdio is not yet working in next from my last attempt (there are drivers under development in the amlogic tree which I have tested working) and looks like be included with 4.10.x

GPIO is also under development and should be avaliable for 4.10 as well

in 4.9 we have USB which is performing very from my initial testing (even better than in current 3.14.y) but its power supply is currently limited and proper power control is coming with the emmc/sd drivers.

In regards to networking I lost network a couple of time running an October next release. I will try with updated version.

brad
Posts: 1117
Joined: Tue Mar 29, 2016 1:22 pm
languages_spoken: english
ODROIDs: C2 N1 N2 H2 (64 bit ftw)
Location: Australia
Has thanked: 46 times
Been thanked: 93 times
Contact:

Re: Odroid C2 mainline kernel support

Post by brad » Thu Nov 10, 2016 3:35 pm

Im calling for others to assist to help with testing USB. Im limited with the devices I have and am particularly interested in..

- Throughput testing of USB ports. I dont have a USB hard-drive at the moment and want to see how fast it can drag from disk can someone test?
- Latency / Jitter testing of USB interface, ie do devices perform without freezes, stalls or any other adverse side effects?
- Checking for connection speeds, does the device connect at USB2 speeds if its expected to?
- Multiple devices on the one host controller and do they conflict?

Cheers Brad.

crashoverride
Posts: 5006
Joined: Tue Dec 30, 2014 8:42 pm
languages_spoken: english
ODROIDs: C1
Has thanked: 0
Been thanked: 306 times
Contact:

Re: Odroid C2 mainline kernel support

Post by crashoverride » Thu Nov 10, 2016 6:23 pm

The only problem device that I know of that can be tested on a kernel without graphics is the Odroid camera. You should be able to capture from it with ffmpeg within the limitations of mainline. Its also easy and consistent to identify if issues are present.

moon.linux
Posts: 1186
Joined: Thu Oct 02, 2014 11:42 pm
languages_spoken: english
ODROIDs: U3, XU3. XU4, C1+...
Has thanked: 0
Been thanked: 13 times
Contact:

Re: Odroid C2 mainline kernel support

Post by moon.linux » Thu Nov 10, 2016 7:59 pm

Hi Brad.

Today i tired to build the linux next kernel for Odroid C2 and it was a success for me.

But the usb is not get reflected. so I could not test the feature.

Code: Select all

Linux odroid64 4.9.0-rc4-next-20161109-xc2ml #1 SMP PREEMPT Thu Nov 10 04:31:19 EST 2016 aarch64 aarch64 aarch64 GNU/Linux
odroid@odroid64:~$
odroid@odroid64:~$ lsusb -t
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=dwc2/1p, 480M
odroid@odroid64:~$
odroid@odroid64:~$ lsusb -t
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=dwc2/1p, 480M
odroid@odroid64:~$
Ping large number of packets is working file.

Code: Select all

odroid@odroid64:~$ ping -s 64000 10.0.0.102
PING 10.0.0.102 (10.0.0.102) 64000(64028) bytes of data.
64008 bytes from 10.0.0.102: icmp_seq=1 ttl=64 time=23.3 ms
64008 bytes from 10.0.0.102: icmp_seq=2 ttl=64 time=23.2 ms
64008 bytes from 10.0.0.102: icmp_seq=3 ttl=64 time=23.3 ms
64008 bytes from 10.0.0.102: icmp_seq=4 ttl=64 time=23.2 ms
64008 bytes from 10.0.0.102: icmp_seq=5 ttl=64 time=23.3 ms
64008 bytes from 10.0.0.102: icmp_seq=6 ttl=64 time=23.3 ms
64008 bytes from 10.0.0.102: icmp_seq=7 ttl=64 time=23.2 ms
64008 bytes from 10.0.0.102: icmp_seq=8 ttl=64 time=23.2 ms
64008 bytes from 10.0.0.102: icmp_seq=9 ttl=64 time=23.2 ms
64008 bytes from 10.0.0.102: icmp_seq=10 ttl=64 time=23.7 ms
64008 bytes from 10.0.0.102: icmp_seq=11 ttl=64 time=23.2 ms
^C
--- 10.0.0.102 ping statistics ---
11 packets transmitted, 11 received, 0% packet loss, time 10016ms
rtt min/avg/max/mdev = 23.214/23.332/23.704/0.152 ms
It's bit strange the TCP throughput test on Ethernet is much better than UDP
Clinet side

Code: Select all

odroid@odroid64:~$ iperf -c 10.0.0.102 -u -p 12345 -t 30
------------------------------------------------------------
Client connecting to 10.0.0.102, UDP port 12345
Sending 1470 byte datagrams
UDP buffer size:  224 KByte (default)
------------------------------------------------------------
[  3] local 10.0.0.103 port 55303 connected with 10.0.0.102 port 12345
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-30.0 sec  3.75 MBytes  1.05 Mbits/sec
[  3] Sent 2676 datagrams
[  3] Server Report:
[  3]  0.0-30.0 sec  3.75 MBytes  1.05 Mbits/sec   0.002 ms    0/ 2676 (0%)
odroid@odroid64:~$
odroid@odroid64:~$
odroid@odroid64:~$ iperf -c 10.0.0.102  -p 12345 -t 30
------------------------------------------------------------
Client connecting to 10.0.0.102, TCP port 12345
TCP window size: 85.0 KByte (default)
------------------------------------------------------------
[  3] local 10.0.0.103 port 45562 connected with 10.0.0.102 port 12345
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-30.0 sec  3.29 GBytes   941 Mbits/sec
odroid@odroid64:~$
Server side.

Code: Select all

amoon@moon-ubuntu:~$ iperf -s -u -p 12345
------------------------------------------------------------
Server listening on UDP port 12345
Receiving 1470 byte datagrams
UDP buffer size:  208 KByte (default)
------------------------------------------------------------
[  3] local 10.0.0.102 port 12345 connected with 10.0.0.103 port 56224
[ ID] Interval       Transfer     Bandwidth        Jitter   Lost/Total Datagrams
[  3]  0.0-30.0 sec   895 MBytes   250 Mbits/sec   0.007 ms    0/638286 (0%)
[  3]  0.0-30.0 sec  1 datagrams received out-of-order
[  4] local 10.0.0.102 port 12345 connected with 10.0.0.103 port 55303
[  4]  0.0-30.0 sec  3.75 MBytes  1.05 Mbits/sec   0.003 ms    0/ 2676 (0%)
amoon@moon-ubuntu:~$ iperf -s  -p 12345
------------------------------------------------------------
Server listening on TCP port 12345
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
[  4] local 10.0.0.102 port 12345 connected with 10.0.0.103 port 45562
[ ID] Interval       Transfer     Bandwidth
[  4]  0.0-30.0 sec  3.29 GBytes   941 Mbits/sec

User avatar
mad_ady
Posts: 8136
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 565 times
Been thanked: 399 times
Contact:

Re: Odroid C2 mainline kernel support

Post by mad_ady » Thu Nov 10, 2016 8:58 pm

You can run netstat -s after a test to see if you ran out of buffers for the udp sockets

User avatar
rooted
Posts: 7742
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Has thanked: 718 times
Been thanked: 207 times
Contact:

Re: Odroid C2 mainline kernel support

Post by rooted » Fri Nov 11, 2016 5:12 am

crashoverride wrote:The only problem device that I know of that can be tested on a kernel without graphics is the Odroid camera. You should be able to capture from it with ffmpeg within the limitations of mainline. Its also easy and consistent to identify if issues are present.
While not problem devices perse an ATSC tuner gives USB a pretty good workout, DVB not so much since it uses much less bandwidth.

brad
Posts: 1117
Joined: Tue Mar 29, 2016 1:22 pm
languages_spoken: english
ODROIDs: C2 N1 N2 H2 (64 bit ftw)
Location: Australia
Has thanked: 46 times
Been thanked: 93 times
Contact:

Re: Odroid C2 mainline kernel support

Post by brad » Fri Nov 11, 2016 2:55 pm

It seems the patches for emmc are coming through 4.9 rather than 4.10, they may have broke the usb for you moon.linux as I notice you can only see
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=dwc2/1p, 480M

Did you ensure to include relevant drivers for your usb devices in the kernel config? I needed to include extra drivers for my usb audio cards.

moon.linux
Posts: 1186
Joined: Thu Oct 02, 2014 11:42 pm
languages_spoken: english
ODROIDs: U3, XU3. XU4, C1+...
Has thanked: 0
Been thanked: 13 times
Contact:

Re: Odroid C2 mainline kernel support

Post by moon.linux » Fri Nov 11, 2016 3:37 pm

I uses the the latest linux-next branch and using arch/arm64/config/defconfig

Code: Select all

root@odroid64:/usr/src/odroidc2-4.y-devel-next# grep MESON .config
CONFIG_ARCH_MESON=y
CONFIG_DWMAC_MESON=m
CONFIG_SERIAL_MESON=y
CONFIG_SERIAL_MESON_CONSOLE=y
CONFIG_HW_RANDOM_MESON=m
CONFIG_I2C_MESON=y
CONFIG_SPI_MESON_SPIFC=m
CONFIG_PINCTRL_MESON=y
CONFIG_MESON_GXBB_WATCHDOG=m
CONFIG_MESON_WATCHDOG=m
CONFIG_MMC_MESON_GX=y
CONFIG_PWM_MESON=m
CONFIG_RESET_MESON=y
CONFIG_PHY_MESON8B_USB2=y
CONFIG_MESON_SM=y
What is the output of lsusb -t at your end.

brad
Posts: 1117
Joined: Tue Mar 29, 2016 1:22 pm
languages_spoken: english
ODROIDs: C2 N1 N2 H2 (64 bit ftw)
Location: Australia
Has thanked: 46 times
Been thanked: 93 times
Contact:

Re: Odroid C2 mainline kernel support

Post by brad » Fri Nov 11, 2016 4:24 pm

moon.linux wrote: What is the output of lsusb -t at your end.
It looks like this..

Code: Select all

odroid@odroid64:~$ lsusb -t
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=dwc2/1p, 480M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
        |__ Port 1: Dev 3, If 3, Class=Human Interface Device, Driver=usbhid, 12M
        |__ Port 1: Dev 3, If 1, Class=Audio, Driver=snd-usb-audio, 12M
        |__ Port 1: Dev 3, If 2, Class=Audio, Driver=snd-usb-audio, 12M
        |__ Port 1: Dev 3, If 0, Class=Audio, Driver=snd-usb-audio, 12M
        |__ Port 2: Dev 4, If 0, Class=Mass Storage, Driver=usb-storage, 480M
        |__ Port 3: Dev 5, If 0, Class=Audio, Driver=snd-usb-audio, 12M
        |__ Port 3: Dev 5, If 1, Class=Audio, Driver=snd-usb-audio, 12M
        |__ Port 3: Dev 5, If 2, Class=Audio, Driver=snd-usb-audio, 12M
        |__ Port 3: Dev 5, If 3, Class=Human Interface Device, Driver=usbhid, 12M
I also defconfig and then added in USB audio drivers via menuconfig

I will try with the latest next and report back.

moon.linux
Posts: 1186
Joined: Thu Oct 02, 2014 11:42 pm
languages_spoken: english
ODROIDs: U3, XU3. XU4, C1+...
Has thanked: 0
Been thanked: 13 times
Contact:

Re: Odroid C2 mainline kernel support

Post by moon.linux » Fri Nov 11, 2016 6:41 pm

Ok I see some thing is not working correctly in usb in linux-next

Code: Select all

[    1.177471] registered taskstats version 1
[    1.188766] c9000000.usb supply vusb_d not found, using dummy regulator
[    1.189779] c9000000.usb supply vusb_a not found, using dummy regulator
[    1.197423] phy phy-c0000000.phy.0: USB ID detect failed!
[    1.201652] phy phy-c0000000.phy.0: phy poweron failed --> -22
[    1.207625] dwc2: probe of c9000000.usb failed with error -22
[    1.213774] c9100000.usb supply vusb_d not found, using dummy regulator
[    1.219715] c9100000.usb supply vusb_a not found, using dummy regulator
[    1.277529] ------------[ cut here ]------------
[    1.277559] WARNING: CPU: 3 PID: 0 at kernel/rcu/tree.c:379 rcu_momentary_dyntick_idle+0xc0/0xc8
[    1.285212] Modules linked in:

[    1.289700] CPU: 3 PID: 0 Comm: swapper/3 Not tainted 4.9.0-rc4-next-20161109-xc2ml #1
[    1.297544] Hardware name: Hardkernel ODROID-C2 (DT)
[    1.302461] task: ffff8000744d3200 task.stack: ffff8000744e4000
[    1.308328] PC is at rcu_momentary_dyntick_idle+0xc0/0xc8
[    1.313675] LR is at rcu_note_context_switch+0x1ac/0x2b8
[    1.318935] pc : [<ffff0000081140c8>] lr : [<ffff000008118cac>] pstate: 600000c5
[    1.326265] sp : ffff8000744e7ea0
[    1.329543] x29: ffff8000744e7ea0 x28: ffff000008d68000
[    1.334804] x27: ffff000008d68000 x26: ffff000008d8461b
[    1.340065] x25: 0000000000000000 x24: ffff8000744e4000
[    1.345327] x23: ffff0000088ad8c4 x22: ffff8000744d3200
[    1.350588] x21: ffff800076fd0880 x20: ffff000008d68000
[    1.355849] x19: ffff8000744d3200 x18: 0000000000000001
[    1.361110] x17: 00000000db6d3fde x16: 0000000088930c52
[    1.366372] x15: 000000000000004c x14: 0000000000000000
[    1.371633] x13: 000000000000000a x12: 0000000000000009
[    1.376894] x11: ffff0000088d0ac0 x10: ffff800076fd08b0
[    1.382156] x9 : ffff0000088d0abc x8 : 0000000002625a00
[    1.387417] x7 : 7fffffffffffffff x6 : ffff800076fcabd0
[    1.392678] x5 : 0000000000000004 x4 : ffff000008d80588
[    1.397939] x3 : 0000000000000004 x2 : ffff800076fcabdc
[    1.403200] x1 : 0000000000000001 x0 : ffff000008d84629

[    1.409928] ---[ end trace b087137dffe3576f ]---
[    1.414500] Call trace:
[    1.416916] Exception stack(0xffff8000744e7cd0 to 0xffff8000744e7e00)
[    1.423298] 7cc0:                                   ffff8000744d3200 0001000000000000
[    1.431061] 7ce0: ffff8000744e7ea0 ffff0000081140c8 00000000000003e0 ffff000008b36456
[    1.438824] 7d00: ffff000008e4b2a8 ffff000008386178 ffff8000744e7d90 ffff0000083886d4
[    1.446586] 7d20: ffff000008e4b2cc ffff8000744e7fd0 00000000ffffffd8 ffff000008900864
[    1.454348] 7d40: 00000000000003e0 ffff000008b36fc1 ffff000008e4b2a8 0000000000000003
[    1.462111] 7d60: ffff800076fd0880 00000000000008e4 ffff000008d84629 0000000000000001
[    1.469874] 7d80: ffff800076fcabdc 0000000000000004 ffff000008d80588 0000000000000004
[    1.477636] 7da0: ffff800076fcabd0 7fffffffffffffff 0000000002625a00 ffff0000088d0abc
[    1.485398] 7dc0: ffff800076fd08b0 ffff0000088d0ac0 0000000000000009 000000000000000a
[    1.493161] 7de0: 0000000000000000 000000000000004c 0000000088930c52 00000000db6d3fde
[    1.500925] [<ffff0000081140c8>] rcu_momentary_dyntick_idle+0xc0/0xc8
[    1.507308] [<ffff0000088ad380>] __schedule+0x68/0x570
[    1.512395] [<ffff0000088ad8c4>] schedule+0x3c/0xa8
[    1.517225] [<ffff0000088add00>] schedule_preempt_disabled+0x20/0x38
[    1.523522] [<ffff0000080f7cbc>] cpu_startup_entry+0xd4/0x1d8
[    1.529215] [<ffff00000808e0b0>] secondary_start_kernel+0x158/0x198
[    1.535423] [<00000000018b81a4>] 0x18b81a4
[    1.597668] dwc2 c9100000.usb: DWC OTG Controller
[    1.597701] dwc2 c9100000.usb: new USB bus registered, assigned bus number 1
[    1.603741] dwc2 c9100000.usb: irq 20, io mem 0x00000000
[    1.609462] hub 1-0:1.0: USB hub found
[    1.612705] hub 1-0:1.0: 1 port detected

brad
Posts: 1117
Joined: Tue Mar 29, 2016 1:22 pm
languages_spoken: english
ODROIDs: C2 N1 N2 H2 (64 bit ftw)
Location: Australia
Has thanked: 46 times
Been thanked: 93 times
Contact:

Re: Odroid C2 mainline kernel support

Post by brad » Fri Nov 11, 2016 6:49 pm

moon.linux wrote:Ok I see some thing is not working correctly in usb in linux-next
I have some thoughts, could you also make sure the following are compiled in rather than modules..

- Device Drivers > Watchdog Timer Support -> Amlogic Meson GXBB SoCs watchdog support
- Device Drivers > Pulse-Width Modulation (PWM) Support -> Amlogic Meson PWM driver

Also is it possible for you to load a ramfs on boot as per normal hard-kernel ubuntu image?

This version (rc4) seems to have emmc and USB and im compiling now (via USB storage) on a 4.9-rc2 kernel,

Using a make defconfig and then modifying above options via make menuconfig.

brad
Posts: 1117
Joined: Tue Mar 29, 2016 1:22 pm
languages_spoken: english
ODROIDs: C2 N1 N2 H2 (64 bit ftw)
Location: Australia
Has thanked: 46 times
Been thanked: 93 times
Contact:

Re: Odroid C2 mainline kernel support

Post by brad » Fri Nov 11, 2016 8:21 pm

I had some problems with USB in current next as well, but interestingly emmc is booting but its complaining / failing on USB, and something funny going on with IP6.

Code: Select all

[    4.691157] input: C-Media USB Headphone Set   as /devices/platform/soc/c9100000.usb/usb1/1-1/1-1.1/1-1.1:1.3/0003:08BB:2902.0001/input/input0
[    4.758362] hid-generic 0003:08BB:2902.0001: input: USB HID v1.00 Device [C-Media USB Headphone Set  ] on usb-c9100000.usb-1.1/input3
[    4.846195] usb 1-1.2: new high-speed USB device number 4 using dwc2
[    4.947436] usb-storage 1-1.2:1.0: USB Mass Storage device detected
[    4.948241] scsi host0: usb-storage 1-1.2:1.0
[    5.030201] usb 1-1.3: new full-speed USB device number 5 using dwc2
[    5.140020] input: C-Media USB Headphone Set   as /devices/platform/soc/c9100000.usb/usb1/1-1/1-1.3/1-1.3:1.3/0003:0D8C:000C.0002/input/input1
[    5.206335] hid-generic 0003:0D8C:000C.0002: input: USB HID v1.00 Device [C-Media USB Headphone Set  ] on usb-c9100000.usb-1.3/input3
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: Will now check root file system ... fsck from util-linux 2.27.1
[    5.695570] random: crng init done
[/sbin/fsck.ext4 (1) -- /dev/mmcblk1p2] fsck.ext4 -a -C0 /dev/mmcblk1p2 
rootfs: clean, 315602/950272 files, 3183407/3783808 blocks
done.
[    5.958884] scsi 0:0:0:0: Direct-Access     Generic  Card-Reader      1.05 PQ: 0 ANSI: 2
[    5.985111] EXT4-fs (mmcblk1p2): mounted filesystem without journal. Opts: (null)
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
[    6.166984] sd 0:0:0:0: [sda] Attached SCSI removable disk
[    8.739320] systemd[1]: System time before build time, advancing clock.
[   13.837975] NET: Registered protocol family 10
[   14.178169] IPv6: Attempt to unregister permanent protocol 6
[   14.402166] IPv6: Attempt to unregister permanent protocol 136
[   14.514166] IPv6: Attempt to unregister permanent protocol 17
[   17.074165] NET: Unregistered protocol family 10
[   17.354309] systemd[1]: Failed to insert module 'ipv6': Operation not supported
[   17.540553] systemd[1]: systemd 229 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ
4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN)
[   17.553245] systemd[1]: Detected architecture arm64.

Welcome to Ubuntu 16.04.1 LTS!

[   17.619885] systemd[1]: Set hostname to <odroid64>.
[   24.518043] systemd[1]: Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket (/dev/log).
[   24.534359] systemd[1]: Listening on udev Kernel Socket.
[  OK  ] Listening on udev Kernel Socket.
[   24.550276] systemd[1]: Listening on fsck to fsckd communication Socket.
[  OK  ] Listening on fsck to fsckd communication Socket.
[   24.570215] systemd[1]: Reached target Swap.
[  OK  ] Reached target Swap.
[   24.582415] systemd[1]: Listening on Journal Audit Socket.
[  OK  ] Listening on Journal Audit Socket.
[   24.598357] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Started Forward Password Requests to Wall Directory Watch.
[   24.618225] systemd[1]: Reached target Encrypted Volumes.
[  OK  ] Reached target Encrypted Volumes.
[   24.634261] systemd[1]: Listening on Syslog Socket.
[  OK  ] Listening on Syslog Socket.
[   24.650326] systemd[1]: Listening on Journal Socket.
[  OK  ] Listening on Journal Socket.
[   24.666271] systemd[1]: Reached target User and Group Name Lookups.
[  OK  ] Reached target User and Group Name Lookups.
[  OK  ] Reached target Remote File Systems (Pre).
[  OK  ] Reached target Remote File Systems.
[  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
[  OK  ] Listening on udev Control Socket.
[  OK  ] Created slice System Slice.
         Starting Remount Root and Kernel File Systems...
[  OK  ] Started Read required files in advance.
         Starting Set console keymap...
[  OK  ] Started Braille Device Support.
         Starting Create list of required st... nodes for the current kernel...
         Starting Uncomplicated firewall...
         Mounting Huge Pages File System...
         Starting Journal Service...
         Mounting POSIX Message Queue File System...
[  OK  ] Created slice system-serial\x2dgetty.slice.
         Starting Load Kernel Modules...
         Mounting Debug File System...
[  OK  ] Created slice User and Session Slice.
[  OK  ] Reached target Slices.
         Starting Nameserver information manager...
[  OK  ] Started Create list of required sta...ce nodes for the current kernel.
         Starting Create Static Device Nodes in /dev...
[  OK  ] Started Uncomplicated firewall.
[FAILED] Failed to start Load Kernel Modules.
See 'systemctl status systemd-modules-load.service' for details.
         Mounting Configuration File System...
         Starting Apply Kernel Variables...
[  OK  ] Mounted POSIX Message Queue File System.
[  OK  ] Mounted Debug File System.
[  OK  ] Mounted Huge Pages File System.
[  OK  ] Mounted Configuration File System.
[   26.269354] EXT4-fs (mmcblk1p2): re-mounted. Opts: errors=remount-ro
[  OK  ] Started Remount Root and Kernel File Systems.
         Starting Load/Save Random Seed...
         Starting udev Coldplug all Devices...
[  OK  ] Started Nameserver information manager.
[  OK  ] Started Journal Service.
         Starting Flush Journal to Persistent Storage...
[  OK  ] Started Load/Save Random Seed.
[  OK  ] Started Set console keymap.
[  OK  ] Started Apply Kernel Variables.
[  OK  ] Started udev Coldplug all Devices.
[  OK  ] Started Flush Journal to Persistent Storage.
[  OK  ] Started Create Static Device Nodes in /dev.
         Starting udev Kernel Device Manager...
[  OK  ] Reached target Local File Systems (Pre).
[  OK  ] Started udev Kernel Device Manager.
[  OK  ] Started Dispatch Password Requests to Console Directory Watch.
         Starting LSB: QEMU KVM module loading script...
[  OK  ] Found device /dev/ttyAML0.
[  OK  ] Started LSB: QEMU KVM module loading script.
[  OK  ] Reached target Sound Card.
[   33.716641] elevator: type deadline not found
[   33.716679] elevator: switch to deadline failed
[   34.174176] IPv6: Attempt to unregister permanent protocol 6
[   34.238170] IPv6: Attempt to unregister permanent protocol 136
[   34.270168] IPv6: Attempt to unregister permanent protocol 17
[   35.186176] IPv6: Attempt to unregister permanent protocol 6
[   35.258168] IPv6: Attempt to unregister permanent protocol 136
[   35.290170] IPv6: Attempt to unregister permanent protocol 17
[   36.458175] IPv6: Attempt to unregister permanent protocol 6
[   36.538168] IPv6: Attempt to unregister permanent protocol 136
[   36.570170] IPv6: Attempt to unregister permanent protocol 17
[   38.010174] IPv6: Attempt to unregister permanent protocol 6
[   38.074174] IPv6: Attempt to unregister permanent protocol 136
[   38.106172] IPv6: Attempt to unregister permanent protocol 17
[*     ] A start job is running for dev-disk...bel-boot.device (14s / 1min 30s)[   39.050173] IPv6: Attempt to unregister permanent protocol 6
[   39.130167] IPv6: Attempt to unregister permanent protocol 136
[   39.170167] IPv6: Attempt to unregister permanent protocol 17
[***   ] A start job is running for dev-disk...bel-boot.device (15s / 1min 30s)[   40.170173] IPv6: Attempt to unregister permanent protocol 6
[   40.250166] IPv6: Attempt to unregister permanent protocol 136
[   40.290166] IPv6: Attempt to unregister permanent protocol 17
[  *** ] A start job is running for dev-disk...bel-boot.device (16s / 1min 30s)[   41.286170] IPv6: Attempt to unregister permanent protocol 6
[   41.366166] IPv6: Attempt to unregister permanent protocol 136
[   41.398166] IPv6: Attempt to unregister permanent protocol 17
[    **] A start job is running for dev-disk...bel-boot.device (17s / 1min 30s)[   42.594173] IPv6: Attempt to unregister permanent protocol 6
[   42.674168] IPv6: Attempt to unregister permanent protocol 136
[   42.714166] IPv6: Attempt to unregister permanent protocol 17
[    **] A start job is running for dev-disk...bel-boot.device (18s / 1min 30s)[   43.842172] IPv6: Attempt to unregister permanent protocol 6
[   ***] A start job is running for dev-disk...bel-boot.device[   43.906166] IPv6: Attempt to unregister permanent protocol 136
 (19s / 1min 30s)[   43.946169] IPv6: Attempt to unregister permanent protocol 17
[ ***  ] A start job is running for dev-disk...bel-boot.device (20s / 1min 30s)[   44.882182] IPv6: Attempt to unregister permanent protocol 6
[   44.962180] IPv6: Attempt to unregister permanent protocol 136
[   45.002177] IPv6: Attempt to unregister permanent protocol 17
[  OK  ] Found device /dev/disk/by-label/boot.
         Mounting /media/boot...
[  OK  ] Mounted /media/boot.
[  OK  ] Reached target Local File Systems.
         Starting Enable support for additional executable binary formats...
         Starting Set console font and keymap...
         Starting LSB: AppArmor initialization...
         Starting Create Volatile Files and Directories...
         Starting Tell Plymouth To Write Out Runtime Data...
[  OK  ] Started Tell Plymouth To Write Out Runtime Data.
[   45.890180] IPv6: Attempt to unregister permanent protocol 6
[   45.942208] IPv6: Attempt to unregister permanent protocol 136
[  OK  ] Started Enable support for additional executable binary formats.
[   45.958186] IPv6: Attempt to unregister permanent protocol 17
[  OK  ] Started LSB: AppArmor initialization.
         Starting Raise network interfaces...
[  OK  ] Started Create Volatile Files and Directories.
[  OK  ] Reached target System Time Synchronized.
         Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[  OK  ] Reached target System Initialization.
[  OK  ] Started Daily apt activities.
[  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[  OK  ] Started Timer to automatically refresh installed snaps.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Reached target Timers.
[  OK  ] Started Trigger resolvconf update for networkd DNS.
[  OK  ] Listening on CUPS Scheduler.
         Starting Socket activation for snappy daemon.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Started CUPS Scheduler.
[  OK  ] Reached target Paths.
[  OK  ] Listening on Socket activation for snappy daemon.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
         Starting Login Service...
[  OK  ] Started CUPS Scheduler.
[   46.670200] IPv6: Attempt to unregister permanent protocol 6
[  OK  ] Started Run anacron jobs.
[  OK  ] Started Deferred execution scheduler.
         Starting LSB: Speech Dispatcher...
[   46.718192] IPv6: Attempt to unregister permanent protocol 136
         Starting Save/Restore Sound Card State...
[   46.729292] IPv6: Attempt to unregister permanent protocol 17
[  OK  ] Started Cgroup management daemon.
[  OK  ] Started D-Bus System Message Bus.
[   47.850180] IPv6: Attempt to unregister permanent protocol 6
[   47.914187] IPv6: Attempt to unregister permanent protocol 136
[   47.946175] IPv6: Attempt to unregister permanent protocol 17
[   48.930178] IPv6: Attempt to unregister permanent protocol 6
[   48.986178] IPv6: Attempt to unregister permanent protocol 136
[   49.018171] IPv6: Attempt to unregister permanent protocol 17
         Starting Network Manager...
[  OK  ] Started Snappy daemon.
[  OK  ] Started Avahi DNS Configuration Daemon.
         Starting Modem Manager...
         Starting LSB: Load kernel modules needed to enable cpufreq scaling...
[  OK  ] Started Regular background program processing daemon.
         Starting Run Click system-level hooks...
         Starting Restore /etc/resolv.conf i...re the ppp link was shut down...
         Starting Auto import assertions from block devices...
         Starting LSB: Set the CPU Frequency Scaling governor to "ondemand"...
         Starting Initializes zram swaping...
         Starting Avahi mDNS/DNS-SD Stack...
[  OK  ] Started crash report submission daemon.
         Starting Permit User Sessions...
[  OK  ] Started Self Monitoring and Reporting Technology (SMART) Daemon.
         Starting Initialize hardware monitoring sensors...
         Starting System Logging Service...
         Starting Accounts Service...
         Starting LSB: automatic crash report generation...
[   50.074200] IPv6: Attempt to unregister permanent protocol 6
[  OK  ] Started Set console font and keymap.
[  OK  ] Started LSB: Speech Dispatcher.
[   50.120392] IPv6: Attempt to unregister permanent protocol 136
[  OK  ] Started Auto import assertions from block devices.
[   50.130206] IPv6: Attempt to unregister permanent protocol 17
[  OK  ] Started Save/Restore Sound Card State.
[  OK  ] Started Restore /etc/resolv.conf if...fore the ppp link was shut down.
[  OK  ] Created slice system-getty.slice.
[  OK  ] Started Login Service.
[FAILED] Failed to start Initializes zram swaping.
See 'systemctl status zram-config.service' for details.
[  OK  ] Started Permit User Sessions.
         Starting Light Display Manager...
[  OK  ] Started Raise network interfaces.
[  OK  ] Started LSB: automatic crash report generation.
[  OK  ] Started LSB: Set the CPU Frequency Scaling governor to "ondemand".
[   50.962176] IPv6: Attempt to unregister permanent protocol 6
[   51.046178] IPv6: Attempt to unregister permanent protocol 136
[   51.082174] IPv6: Attempt to unregister permanent protocol 17
[   51.838284] =============================================================================
[   51.840823] BUG TCPv6 (Tainted: G        W      ): Objects remaining in TCPv6 on __kmem_cache_shutdown()
[   51.850215] -----------------------------------------------------------------------------
[   51.850215] 
[   51.859796] INFO: Slab 0xffff7e0001d89c00 objects=16 used=1 fp=0xffff800076277800 flags=0x4080
[   51.868506] INFO: Object 0xffff800076270000 @offset=0
[   51.873468] kmem_cache_destroy TCPv6: Slab cache still has objects
[  OK  ] Started Avahi mDNS/DNS-SD Stack.
[  OK  ] Started Make remote CUPS printers available locally.
[   52.066177] IPv6: Attempt to unregister permanent protocol 6
[   52.130182] IPv6: Attempt to unregister permanent protocol 136
[   52.166176] IPv6: Attempt to unregister permanent protocol 17
[  OK  ] Started Initialize hardware monitoring sensors.
[   52.938198] =============================================================================
[   52.940735] BUG UDPv6 (Tainted: G    B   W      ): Objects remaining in UDPv6 on __kmem_cache_shutdown()
[   52.950129] -----------------------------------------------------------------------------
[   52.950129] 
[   52.959715] INFO: Slab 0xffff7e0001bda000 objects=30 used=2 fp=0xffff80006f687b40 flags=0x4080
[   52.968433] INFO: Object 0xffff80006f681dc0 @offset=7616
[   52.973496] INFO: Object 0xffff80006f682200 @offset=8704
[   52.978820] kmem_cache_destroy UDPv6: Slab cache still has objects
[   53.043884] Unable to handle kernel paging request at virtual address ffff000000969640
[   53.047080] pgd = ffff80006eb0c000
[   53.049613] [ffff000000969640] *pgd=0000000076f4b003[   53.054382] Internal error: Oops: 96000007 [#1] PREEMPT SMP
[   53.059786] Modules linked in: ipv6(+) meson_rng rng_core dwmac_generic realtek dwmac_meson8b stmmac_platform stmmac
[   53.070216] CPU: 1 PID: 1659 Comm: avahi-daemon Tainted: G    B   W       4.9.0-rc4-next-20161111 #1
[   53.079277] Hardware name: Hardkernel ODROID-C2 (DT)
[   53.084188] task: ffff80006bfa4b00 task.stack: ffff8000707ec000
[   53.090060] PC is at sock_poll+0x7c/0xa0
[   53.093936] LR is at do_sys_poll+0x218/0x470
[   53.098160] pc : [<ffff0000087e6824>] lr : [<ffff0000081f6de8>] pstate: 80000145
[   53.105496] sp : ffff8000707ef9f0
[   53.108767] x29: ffff8000707ef9f0 x28: ffff8000707efaf4 
[   53.114026] x27: 0000000000000001 x26: ffff80006bfa9e00 
[   53.119288] x25: ffff80006bfa9e00 x24: 0000000000000001 
[   53.124549] x23: ffff8000707efad0 x22: 0000000000000001 
[   53.129810] x21: ffff80006bfa9e00 x20: ffff800077ad2080 
[   53.135071] x19: 0000000000000000 x18: 0000ffffcf90d568 
[   53.140333] x17: 0000ffff9fde0028 x16: ffff0000082283b8 
[   53.145594] x15: 0000000000000020 x14: ffffffffffffffff 
[   53.150855] x13: 0000000000000067 x12: 0000000000000000 
[   53.156116] x11: 0000000000000000 x10: 0000000000000870 
[   53.161378] x9 : ffff8000707ec000 x8 : ffff80006bfa53d0 
[   53.166639] x7 : ffff0000087e67a8 x6 : 0000000c59a8ee56 
[   53.171900] x5 : 0000000000000019 x4 : 0000000000000019 
[   53.177161] x3 : ffff000000969600 x2 : ffff8000707efbd0 
[   53.182422] x1 : ffff800077ad2080 x0 : ffff80006bfa9e00 
[   53.187683] 
[   53.189152] Process avahi-daemon (pid: 1659, stack limit = 0xffff8000707ec020)
[   53.196319] Stack: (0xffff8000707ef9f0 to 0xffff8000707f0000)
[   53.202006] f9e0:                                   ffff8000707efa30 ffff0000081f6de8
[   53.209774] fa00: ffff8000707efb34 0000000000000000 0000000000000000 ffff0000081f6de8
[   53.217537] fa20: ffff8000707efa30 ffff0000081f6dac ffff8000707efe40 ffff0000081f7358
[   53.225299] fa40: 0000000000000000 0000000000000000 0000000000000000 0000000011d3ccd0
[   53.233062] fa60: 000000000000000b 0000000000000000 0000000000000123 0000000000000049
[   53.240824] fa80: ffff0000088f2000 ffff8000707ec000 0000000000000000 0000000000000000
[   53.248587] faa0: 0000000000000000 0000000000000000 0000000000000000 0000000011d3ccd0
[   53.256349] fac0: ffff8000707efae0 ffff0000080e1a2c 0000000000000000 000000060000000b
[   53.264112] fae0: 0000001100000001 0000001000000001 0000000f00010001 0000000e00000001
[   53.271874] fb00: 0000000d00000001 0000000c00000001 0000000b00000001 0000000a00000001
[   53.279637] fb20: 0000000300000001 0000000800000001 0000000000000001 0000000000000001
[   53.287399] fb40: 0000000000000001 0000000000000001 0000000000000000 ffff800077ad0000
[   53.295162] fb60: ffff8000707efb90 00ff00000816f058 ffff8000707efb80 ffff0000081f5df0
[   53.302925] fb80: ffff8000707efbc0 ffff0000080f72e4 ffff80007d845a00 0000000000000000
[   53.310687] fba0: ffff800077cff080 ffff0000080e3640 0000000000000000 0000000000000000
[   53.318449] fbc0: ffff8000707efc10 ffff0000080f760c 0000000000000000 0000000000000019
[   53.326212] fbe0: ffff80007d442000 ffff80006bfa4b00 0000000000000000 ffff800000000009
[   53.333974] fc00: ffff800075347a00 0000000000000019 ffff800000000000 ffff8000707efbd0
[   53.341737] fc20: ffff0000081f5d90 ffff800075347928 ffff800075347928 ffff800075347920
[   53.349500] fc40: ffff80007d845a00 0000000000000019 ffff800000000000 ffff8000707efbd0
[   53.357262] fc60: ffff0000081f5d90 ffff80007d792508 ffff80007d792508 ffff80007d792500
[   53.365025] fc80: ffff80006bfa9900 0000000000000019 ffff800000000000 ffff8000707efbd0
[   53.372787] fca0: ffff0000081f5d90 ffff80007d792908 ffff80007d792908 ffff80007d792900
[   53.380549] fcc0: ffff80006bfa9e00 0000000000000019 ffff800000000000 ffff8000707efbd0
[   53.388312] fce0: ffff0000081f5d90 ffff80007d792d88 ffff80007d792d88 ffff80007d792d80
[   53.396075] fd00: ffff80006bfa9500 0000000000000019 ffff800000000000 ffff8000707efbd0
[   53.403837] fd20: ffff0000081f5d90 ffff80007d792408 ffff80007d792408 ffff80007d792400
[   53.411599] fd40: ffff80006bfa9d00 0000000000000019 ffff800000000000 ffff8000707efbd0
[   53.419362] fd60: ffff0000081f5d90 ffff80007d792b08 ffff80007d792b08 ffff80007d792b00
[   53.427125] fd80: ffff80006bfa9b00 0000000000000019 ffff000000000000 ffff8000707efbd0
[   53.434887] fda0: ffff0000081f5d90 ffff80007d792e88 ffff80007d792e88 ffff80007d792e80
[   53.442650] fdc0: ffff80006fa3e700 0000000000000019 0000000000000000 ffff8000707efbd0
[   53.450412] fde0: ffff0000081f5d90 ffff80006fa3e830 ffff80006fa3e830 ffff80006fa3e828
[   53.458174] fe00: ffff80006bd67700 0000000000000019 0000000000000000 ffff8000707efbd0
[   53.465937] fe20: ffff0000081f5d90 ffff80006fa3f708 ffff80006fa3f708 ffff80006fa3f700
[   53.473699] fe40: 0000000000000000 ffff000008082ef0 0000000000000000 0000ffff9ae48710
[   53.481462] fe60: ffffffffffffffff 0000ffff9ac3be04 0000000040000000 0000000000000015
[   53.489224] fe80: 0000000000000123 ffff000008082ef0 0000000000000000 0000ffff9ae0a000
[   53.496987] fea0: ffffffffffffffff 0000ffff9acd5978 0000000000000000 0000000000000000
[   53.504749] fec0: 0000000011d3ccd0 000000000000000b 0000000000000000 0000000000000000
[   53.512512] fee0: 0000000000000000 0000000000000000 0000000000000000 0000000000000004
[   53.520274] ff00: 0000000000000049 0000000011d46e90 0000000056bcb6bb 00000000000af8f3
[   53.528037] ff20: 0000000000000018 00000003e8000000 002aad4b14d86d00 00002f2ab5006099
[   53.535800] ff40: 0000ffff9ae0b060 0000ffff9ac3bd98 0000000000000014 0000000011d264e0
[   53.543562] ff60: 0000ffff9ae48710 0000000000000000 0000000011d264e0 000000000042c000
[   53.551324] ff80: 000000000042c000 0000000011d26400 0000000000000000 0000000000000004
[   53.559087] ffa0: 0000000000000000 0000ffffe8feab50 0000ffff9adf876c 0000ffffe8feab50
[   53.566849] ffc0: 0000ffff9ac3be04 0000000040000000 0000000011d3ccd0 0000000000000049
[   53.574612] ffe0: 0000000000000000 0000000000000000 910004a5c85f7c05 35ffffa3c8037c05
[   53.582373] Call trace:
[   53.584782] Exception stack(0xffff8000707ef820 to 0xffff8000707ef950)
[   53.591167] f820: 0000000000000000 0001000000000000 ffff8000707ef9f0 ffff0000087e6824
[   53.598935] f840: ffff8000707ef880 ffff0000080f19e8 ffff8000788d7080 ffff8000788d7100
[   53.606697] f860: ffff80007efa78e0 0000000000000001 0000000000000000 ffff80006bfa4b00
[   53.614460] f880: ffff8000707ef920 ffff0000088d6890 ffff000008d79000 ffff000008db8000
[   53.622222] f8a0: ffff80007efa7880 ffff80006bfa4b00 ffff0000088d6d6c ffff80006bfa5048
[   53.629985] f8c0: ffff80006bfa9e00 ffff800077ad2080 ffff8000707efbd0 ffff000000969600
[   53.637747] f8e0: 0000000000000019 0000000000000019 0000000c59a8ee56 ffff0000087e67a8
[   53.645509] f900: ffff80006bfa53d0 ffff8000707ec000 0000000000000870 0000000000000000
[   53.653272] f920: 0000000000000000 0000000000000067 ffffffffffffffff 0000000000000020
[   53.661033] f940: ffff0000082283b8 0000ffff9fde0028
[   53.665861] [<ffff0000087e6824>] sock_poll+0x7c/0xa0
[   53.670775] [<ffff0000081f6de8>] do_sys_poll+0x218/0x470
[   53.676037] [<ffff0000081f7358>] SyS_ppoll+0x1b0/0x1d8
[   53.681127] [<ffff000008082ef0>] el0_svc_naked+0x24/0x28
[   53.686388] Code: f9401fa2 f9401683 aa1403e1 aa1503e0 (f9402063) 
[   53.692589] ---[ end trace dc9056b67ae21b7a ]---
[   53.774183] IPv6: Attempt to unregister permanent protocol 6
[   53.838178] IPv6: Attempt to unregister permanent protocol 136
[   53.870174] IPv6: Attempt to unregister permanent protocol 17
[   54.550178] NET: Unregistered protocol family 10
[   54.590190] =============================================================================
[   54.592733] BUG UDPv6 (Tainted: G    B D W      ): Objects remaining in UDPv6 on __kmem_cache_shutdown()
[   54.602125] -----------------------------------------------------------------------------
[   54.602125] 
[   54.611707] INFO: Slab 0xffff7e0001bda000 objects=30 used=2 fp=0xffff80006f680cc0 flags=0x4080
[   54.620240] CPU: 2 PID: 1524 Comm: modprobe Tainted: G    B D W       4.9.0-rc4-next-20161111 #1
[   54.628949] Hardware name: Hardkernel ODROID-C2 (DT)
[   54.633859] Call trace:
[   54.636280] [<ffff0000080883e8>] dump_backtrace+0x0/0x1a8
[   54.641624] [<ffff0000080885a4>] show_stack+0x14/0x20
[   54.646628] [<ffff00000837d8d4>] dump_stack+0x94/0xb8
[   54.651629] [<ffff0000081c32c0>] slab_err+0xa0/0xb0
[   54.656469] [<ffff0000081c9240>] __kmem_cache_shutdown+0x138/0x338
[   54.662584] [<ffff0000081953d4>] kmem_cache_destroy+0x18c/0x1e8
[   54.668449] [<ffff0000087ec120>] proto_unregister+0x70/0xc8
[   54.674070] [<ffff000000e0a2b4>] inet6_init+0x2b4/0x330 [ipv6]
[   54.679749] [<ffff0000080830b8>] do_one_initcall+0x38/0x128
[   54.685268] [<ffff00000816e17c>] do_init_module+0x5c/0x1c8
[   54.690709] [<ffff000008135480>] load_module+0x1cc8/0x2090
[   54.696133] [<ffff000008135af8>] SyS_finit_module+0xd8/0xe8
[   54.701653] [<ffff000008082ef0>] el0_svc_naked+0x24/0x28
[   54.706918] INFO: Object 0xffff80006f681dc0 @offset=7616
[   54.712173] INFO: Object 0xffff80006f682200 @offset=8704
[   54.717498] kmem_cache_destroy UDPv6: Slab cache still has objects
[   54.723576] CPU: 2 PID: 1524 Comm: modprobe Tainted: G    B D W       4.9.0-rc4-next-20161111 #1
[   54.732277] Hardware name: Hardkernel ODROID-C2 (DT)
[   54.737190] Call trace:
[   54.739609] [<ffff0000080883e8>] dump_backtrace+0x0/0x1a8
[   54.744951] [<ffff0000080885a4>] show_stack+0x14/0x20
[   54.749955] [<ffff00000837d8d4>] dump_stack+0x94/0xb8
[   54.754958] [<ffff000008195424>] kmem_cache_destroy+0x1dc/0x1e8
[   54.760823] [<ffff0000087ec120>] proto_unregister+0x70/0xc8
[   54.766449] [<ffff000000e0a2b4>] inet6_init+0x2b4/0x330 [ipv6]
[   54.772122] [<ffff0000080830b8>] do_one_initcall+0x38/0x128
[   54.777640] [<ffff00000816e17c>] do_init_module+0x5c/0x1c8
[   54.783074] [<ffff000008135480>] load_module+0x1cc8/0x2090
[   54.788506] [<ffff000008135af8>] SyS_finit_module+0xd8/0xe8
[   54.794026] [<ffff000008082ef0>] el0_svc_naked+0x24/0x28
[   54.834817] NET: Registered protocol family 10
[   55.026178] IPv6: Attempt to unregister permanent protocol 6
[   55.090184] IPv6: Attempt to unregister permanent protocol 136
[   55.122172] IPv6: Attempt to unregister permanent protocol 17
[   55.314236] modprobe[1740]: PC Alignment exception: pc=006f6d006c6c6163 sp=ffff800074b1f880
[   55.316948] Internal error: Oops - SP/PC alignment exception: 8a000000 [#2] PREEMPT SMP
[   55.324874] Modules linked in: ipv6(+) meson_rng rng_core dwmac_generic realtek dwmac_meson8b stmmac_platform stmmac
[   55.335304] CPU: 0 PID: 1740 Comm: modprobe Tainted: G    B D W       4.9.0-rc4-next-20161111 #1
[   55.344021] Hardware name: Hardkernel ODROID-C2 (DT)
[   55.348932] task: ffff8000783cd780 task.stack: ffff800074b1c000
[   55.354799] PC is at 0x6f6d006c6c6163
[   55.358424] LR is at __wake_up_common+0x5c/0xa0
[   55.362904] pc : [<006f6d006c6c6163>] lr : [<ffff0000080f72e4>] pstate: 200001c5
[   55.370240] sp : ffff800074b1f880
[   55.373511] x29: ffff800074b1f880 x28: 0000000000000008 
[   55.378770] x27: ffff80006bf86400 x26: ffff800078b0a400 
[   55.384031] x25: 0000000079736100 x24: 0000000000000001 
[   55.389293] x23: 0000000000000001 x22: 0000000000000001 
[   55.394554] x21: 00000000000000c3 x20: ffff80007d792908 
[   55.399815] x19: 70735f6863726147 x18: 0000000000000a03 
[   55.405076] x17: 0000000000cde0c0 x16: ffff0000081f6998 
[   55.410338] x15: 0000ffffb229a000 x14: 0000000000000000 
[   55.415599] x13: 0000000000000000 x12: 0000ffffb209e1f0 
[   55.420860] x11: 0000000000000008 x10: ffff800074b1f7cc 
[   55.426121] x9 : ffff0000090dca24 x8 : ffff80007d9b0648 
[   55.431382] x7 : 0000000000000000 x6 : 0000000000000000 
[   55.436644] x5 : 646f6d006c6c6163 x4 : ffff8000707efc90 
[   55.441905] x3 : 00000000000000c3 x2 : 0000000000000001 
[   55.447166] x1 : 0000000000000001 x0 : ffff8000707efc90 
[   55.452428] 
[   55.453896] Process modprobe (pid: 1740, stack limit = 0xffff800074b1c020)
[   55.460713] Stack: (0xffff800074b1f880 to 0xffff800074b20000)
[   55.466406] f880: ffff800074b1f8d0 ffff0000080f760c ffff80007d792900 0000000000000001
[   55.474173] f8a0: 0000000000000001 00000000000000c3 0000000000000140 0000000002080020
[   55.481935] f8c0: 0000000000000000 0000000000000000 ffff800074b1f910 ffff0000087eab08
[   55.489698] f8e0: ffff80006bf86400 ffff80006fa3e100 0000000000000048 ffff000008e85a00
[   55.497461] f900: 0000000000000000 ffff000008829b48 ffff800074b1f930 ffff000008829b54
[   55.505223] f920: ffff80006bf86400 ffff000008829d9c ffff800074b1f960 ffff000008829ddc
[   55.512986] f940: 0000000000000000 ffff000008ed0000 0000000000000100 00ff0000088fffa0
[   55.520748] f960: ffff800074b1f9f0 ffff000008829f8c ffff800078047a00 ffff80006fa3e100
[   55.528511] f980: 0000000000000000 ffff800078b0a400 0000000000000000 ffff000008e85a00
[   55.536273] f9a0: 0000000000000000 ffff800078047a00 ffff800078047ac0 ffff80007d92c400
[   55.544035] f9c0: ffff80006bf86480 0000000000000000 0000000000000000 0000000000000000
[   55.551798] f9e0: ffff80006fa3e100 0000000000000000 ffff800074b1fa00 ffff00000882c1b0
[   55.559561] fa00: ffff800074b1fa40 ffff000008815084 ffff800078047a00 ffff000008e85a00
[   55.567323] fa20: 0000000000000015 ffff80006fa3e100 0000000000000000 ffff0000080d54f0
[   55.575086] fa40: ffff800074b1fa50 ffff0000009c8ab8 ffff800074b1fa90 ffff0000009cc14c
[   55.582848] fa60: ffff80007d92c348 ffff80007d92c4e8 ffff800074b1fb00 ffff800078047a20
[   55.590611] fa80: 0000000000000000 ffff80007d92c408 ffff800074b1fb10 ffff0000009ce4f8
[   55.598373] faa0: 0000000000000002 ffff800078ad0000 ffff80007d92c400 ffff000008e85a00
[   55.606135] fac0: ffff000008e859d8 0000000000000000 ffff000000a015a8 ffff000000a00000
[   55.613898] fae0: 0000000000000124 ffff00000a3cb000 0000000000000100 ffff800078ad0000
[   55.621660] fb00: ffff800078047ac0 ffff800078047ac0 ffff800074b1fb90 ffff0000087fede8
[   55.629423] fb20: ffff800078ad0000 ffff000000a00110 ffff000008e85b18 ffff000008e85a00
[   55.637186] fb40: ffff000008e859d8 0000000000000000 ffff000000a015a8 ffff000000a00000
[   55.644948] fb60: 0000000000000124 ffff00000a3cb000 ffff800074b1fbc0 ffff000008801384
[   55.652711] fb80: ffff800074b1fb90 ffff0000087fed3c ffff800074b1fbe0 ffff0000009cef2c
[   55.660474] fba0: 00000000ffffffa1 ffff000000a026c0 ffff000000a00040 ffff000000a00a80
[   55.668236] fbc0: ffff000000a00ca0 ffff000000a00e80 ffff800074b1fbf0 ffff800078ad0000
[   55.675998] fbe0: ffff800074b1fc10 ffff000000a1f22c 00000000ffffffa1 ffff000000a026c0
[   55.683761] fc00: ffff000000a01368 ffff000000a00a80 ffff800074b1fc60 ffff0000080830b8
[   55.691523] fc20: ffff800074b1c000 ffff000000a1f000 0000000000000000 ffff80006bec9300
[   55.699285] fc40: ffff000000a02b50 ffff80006bec9400 0000000000000001 ffff000008131ce8
[   55.707048] fc60: ffff800074b1fcd0 ffff00000816e17c ffff000000a02b00 ffff000008dd1000
[   55.714810] fc80: ffff000000a02b00 ffff80006bec9300 ffff000000a02b00 0000000000000001
[   55.722573] fca0: ffff000000a02b50 ffff80006bec9400 0000000000000001 ffff000008131ce8
[   55.730335] fcc0: 0000000000000124 ffff80006bec9410 ffff800074b1fd00 ffff000008135480
[   55.738098] fce0: ffff800074b1fe58 ffff80006bec9410 ffff000000a02b00 0000000000000001
[   55.745860] fd00: ffff800074b1fe10 ffff000008135af8 0000000000000000 0000000000000000
[   55.753623] fd20: 0000aaaac1e89bb0 0000ffff9dad7974 0000000080000000 0000000000000015
[   55.761386] fd40: 0000000000000123 0000000000000111 ffff0000088f2000 ffff800074b1c000
[   55.769148] fd60: 0000000000c56808 ffff000008b82c30 ffff000000000072 0000006474b1fe50
[   55.776911] fd80: ffff80000000006e ffff00000000003f ffff000000a21000 ffff80007d92d518
[   55.784673] fda0: ffff000008902640 ffff0000024000c0 ffff0000009fc90f 0000000000000001
[   55.792436] fdc0: 0000000000000123 ffff0000081e88c8 ffff800074b1fe10 ffff0000009f8028
[   55.800198] fde0: 0000000000000028 ffff0000009f82a8 000000000000002b 0000000000000000
[   55.807960] fe00: 0000000000000000 0000000000000000 0000000000000000 ffff000008082ef0
[   55.815724] fe20: 0000000000000000 0000000000000000 ffffffffffffffff 0000000000000000
[   55.823486] fe40: ffff800074b1feb0 0000000000c56808 ffff00000a3cb000 ffff00000a3cb000
[   55.831248] fe60: 0000000000c56808 ffff00000b020948 ffff00000b020700 ffff00000aa470c0
[   55.839010] fe80: 000000000004a000 0000000000058178 0000000000000000 0000000000000000
[   55.846773] fea0: 000000000001bd20 0000003a00000039 0000000000000025 0000002100000012
[   55.854535] fec0: 0000000000000000 0000aaaac1e89bb0 0000000000000000 0000000000000000
[   55.862298] fee0: 0000000000000000 0000000000000000 0000000000000002 0000000000000002
[   55.870061] ff00: 0000000000000111 0000fffff1b50f60 0101010101010101 0000000000000038
[   55.877823] ff20: 0000000000000000 0000000000000000 0000000000000000 0000ffff9dba4000
[   55.885586] ff40: 0000ffff9dad7950 0000aaaac1e9c2b0 0000fffff1b517a8 0000aaaae92ee490
[   55.893348] ff60: 0000000000000000 0000aaaac1e89bb0 0000aaaae92ee420 0000000000040000
[   55.901110] ff80: 0000000000000000 0000aaaae92ee470 0000000000000000 0000000000040000
[   55.908873] ffa0: 0000000000000000 0000fffff1b52020 0000aaaac1e7fb70 0000fffff1b52020
[   55.916635] ffc0: 0000ffff9dad7974 0000000080000000 0000000000000000 0000000000000111
[   55.924398] ffe0: 0000000000000000 0000000000000000 0000002000000102 000000000012204d
[   55.932159] Call trace:
[   55.934569] Exception stack(0xffff800074b1f6a0 to 0xffff800074b1f7d0)
[   55.940953] f6a0: 70735f6863726147 0001000000000000 ffff800074b1f880 006f6d006c6c6163
[   55.948721] f6c0: 00000000200001c5 ffff000008829f8c 0000000000000007 ffff800000030001
[   55.956483] f6e0: 006f6d006c6c6163 ffff800078b0a400 0000000000000000 ffff000008e85a00
[   55.964245] f700: 0000000000000000 0000000000000000 0000000000000019 0000000000000000
[   55.972008] f720: 00000000024000c0 0000000000000000 0000000000000000 0000000000000000
[   55.979771] f740: ffff800074b1f770 ffff000008193ecc ffff8000707efc90 0000000000000001
[   55.987533] f760: 0000000000000001 00000000000000c3 ffff8000707efc90 646f6d006c6c6163
[   55.995296] f780: 0000000000000000 0000000000000000 ffff80007d9b0648 ffff0000090dca24
[   56.003058] f7a0: ffff800074b1f7cc 0000000000000008 0000ffffb209e1f0 0000000000000000
[   56.010819] f7c0: 0000000000000000 0000ffffb229a000
[   56.015645] [<006f6d006c6c6163>] 0x6f6d006c6c6163
[   56.020303] [<ffff0000080f760c>] __wake_up_sync_key+0x4c/0x78
[   56.025998] [<ffff0000087eab08>] sock_def_readable+0x40/0x78
[   56.031604] [<ffff000008829b54>] __netlink_sendskb+0x54/0x78
[   56.037208] [<ffff000008829ddc>] netlink_broadcast_filtered+0x264/0x400
[   56.043763] [<ffff000008829f8c>] netlink_broadcast+0x14/0x20
[   56.049369] [<ffff00000882c1b0>] nlmsg_notify+0x68/0x110
[   56.054632] [<ffff000008815084>] rtnl_notify+0x3c/0x48
[   56.059820] [<ffff0000009c8ab8>] __ipv6_ifa_notify+0x158/0x280 [ipv6]
[   56.066175] [<ffff0000009cc14c>] addrconf_ifdown+0x26c/0x578 [ipv6]
[   56.072382] [<ffff0000009ce4f8>] addrconf_notify+0x308/0x8b8 [ipv6]
[   56.078524] [<ffff0000087fede8>] unregister_netdevice_notifier+0xc8/0x100
[   56.085319] [<ffff0000009cef2c>] addrconf_cleanup+0x1c/0x108 [ipv6]
[   56.091530] [<ffff000000a1f22c>] inet6_init+0x22c/0x330 [ipv6]
[   56.097240] [<ffff0000080830b8>] do_one_initcall+0x38/0x128
[   56.102760] [<ffff00000816e17c>] do_init_module+0x5c/0x1c8
[   56.108193] [<ffff000008135480>] load_module+0x1cc8/0x2090
[   56.113625] [<ffff000008135af8>] SyS_finit_module+0xd8/0xe8
[   56.119145] [<ffff000008082ef0>] el0_svc_naked+0x24/0x28
[   56.124409] Code: bad PC value
[   56.127530] ---[ end trace dc9056b67ae21b7b ]---
[   56.132036] note: modprobe[1740] exited with preempt_count 1
[  OK  ] Started LSB: Load kernel modules needed to enable cpufreq scaling.
         Starting LSB: set CPUFreq kernel parameters...
[  OK  ] Started LSB: set CPUFreq kernel parameters.
[  OK  ] Started System Logging Service.
[   58.601950] dbus-daemon[1636]: PC Alignment exception: pc=006e5f6370690065 sp=ffff80007166fb20
[   58.604920] Internal error: Oops - SP/PC alignment exception: 8a000000 [#3] PREEMPT SMP
[   58.612846] Modules linked in: ipv6(+) meson_rng rng_core dwmac_generic realtek dwmac_meson8b stmmac_platform stmmac
[   58.623276] CPU: 3 PID: 1636 Comm: dbus-daemon Tainted: G    B D W       4.9.0-rc4-next-20161111 #1
[   58.632250] Hardware name: Hardkernel ODROID-C2 (DT)
[   58.637171] task: ffff80006bec3200 task.stack: ffff80007166c000
[   58.643037] PC is at 0x6e5f6370690065
[   58.646656] LR is at __wake_up_common+0x5c/0xa0
[   58.651137] pc : [<006e5f6370690065>] lr : [<ffff0000080f72e4>] pstate: 800001c5
[   58.658470] sp : ffff80007166fb20
[   58.661741] x29: ffff80007166fb20 x28: 0000000000008e80 
[   58.667005] x27: 0000000000000001 x26: ffff800077bad680 
[   58.672261] x25: 0000000000544154 x24: 0000000000000001 
[   58.677522] x23: 0000000000000001 x22: 0000000000000001 
[   58.682786] x21: 00000000000000c3 x20: ffff80006fa3f708 
[   58.688045] x19: 6174735f676571e8 x18: 0000000000000014 
[   58.693306] x17: 0000ffff9417e010 x16: ffff0000087e8d80 
[   58.698567] x15: 000060d539ab70fb x14: 656572662e67726f 
[   58.703828] x13: 0000001400730107 x12: 0000000000000000 
[   58.709090] x11: 6465676e61684372 x10: 656e774f656d614e 
[   58.714351] x9 : 0000001000730103 x8 : 0000000000000000 
[   58.719612] x7 : 342e313a00000004 x6 : ffff8000783578bd 
[   58.724878] x5 : 736e5f6370690065 x4 : ffff8000707efe10 
[   58.730135] x3 : 00000000000000c3 x2 : 0000000000000001 
[   58.735396] x1 : 0000000000000001 x0 : ffff8000707efe10 
[   58.740657] 
[   58.742127] Process dbus-daemon (pid: 1636, stack limit = 0xffff80007166c020)
[   58.749201] Stack: (0xffff80007166fb20 to 0xffff800071670000)
[   58.754894] fb20: ffff80007166fb70 ffff0000080f760c ffff80006fa3f700 0000000000000001
[   58.762661] fb40: 0000000000000001 00000000000000c3 0000000000000140 ffff80007166fe58
[   58.770424] fb60: ffff8000753dc380 0000000000008e80 ffff80007166fbb0 ffff0000087eab08
[   58.778194] fb80: ffff8000753dbf00 ffff8000753dc228 ffff80007d7e1c00 00000000000000bd
[   58.785951] fba0: ffff8000753dbf00 ffff000008897158 ffff80007166fbd0 ffff00000889717c
[   58.793711] fbc0: 00000000000000bd ffff800077bad680 ffff80007166fc90 ffff0000087e76a0
[   58.801474] fbe0: ffff80007166fe58 0000000000004040 0000000000004000 0000000000000000
[   58.809236] fc00: ffff800077bad680 0000000000000000 0000000000000000 ffff80007166fcf8
[   58.816999] fc20: ffff0000088f2000 ffff80007166c000 0000ffffc7774ff8 ffff8000753dbfa8
[   58.824761] fc40: ffff80007166fe68 ffff8000753dc228 00000000000000bd 00000000000000bd
[   58.832537] fc60: ffff80007166fca0 00000000087e7c58 0000000000000000 0000000000000000
[   58.840286] fc80: ffffffff00000000 00000000ffffffff ffff80007166fca0 ffff0000087e7e74
[   58.848050] fca0: ffff80007166fe20 ffff0000087e8d3c ffff800077bad680 0000ffffc7774fc0
[   58.855828] fcc0: 0000000000004000 0000ffff9417dfe8 0000000060000000 0000000000000015
[   58.863574] fce0: 0000000000000123 00000000000000d3 0000000000000000 ffff000008177064
[   58.871337] fd00: ffff80007166fd10 ffff00000824a0b0 ffff80007166fdc0 ffff0000081e0db4
[   58.879099] fd20: 0000000000000032 ffff80006bfbdc00 0000aaaae0c15030 ffff80007166feb8
[   58.886861] fd40: 0000000060000000 0000000000000015 0000000000000123 000000000000003f
[   58.894624] fd60: ffff80007166fe00 ffff0000081e3c70 ffff80007166fd80 ffff0000080c2c8c
[   58.902386] fd80: ffff80007166fda0 ffff000008114980 ffff80007166fdb0 ffff0000081f82c4
[   58.910149] fda0: 0000aaaae0c153f0 00000000000000a0 0000aaaae0c15200 000000000000001d
[   58.917911] fdc0: ffff80007166fdf0 ffff00000820369c ffff80006bfbdc00 0000000000000010
[   58.925686] fde0: ffff800077b39bb8 ffff800077b159c0 ffff80007166fe00 ffff0000087e7278
[   58.933436] fe00: ffff80007166fe20 ffff0000087e8d1c 0000000000000000 0000ffffc7774fc0
[   58.941199] fe20: ffff80007166feb0 ffff0000087e8d90 0000000000000000 0000000000000000
[   58.948971] fe40: ffffffffffffffff ffff0000081e2ff4 fffffff700000000 0000000000000000
[   58.956724] fe60: ffff800000000000 ffff000000000001 0000000000000000 0000000000000000
[   58.964486] fe80: ffff80007166fdc0 0000000000000000 0000000000000000 0000000000000000
[   58.972261] fea0: 0000000000004040 0000000000000000 0000000000000000 ffff000008082ef0
[   58.980011] fec0: 000000000000000d 0000ffffc7774fc0 0000000000004000 0000ffff9437fcb8
[   58.987774] fee0: 0000aaaae0c15380 0000aaaae0c15200 000000000000001d 0000000000000000
[   58.995536] ff00: 00000000000000d3 0000aaaae0c15060 0000000070a8bde0 000000000000001d
[   59.003299] ff20: 0000000400730106 00000000342e313a 0000730100670108 000060d539ab70fb
[   59.011062] ff40: 0000000000000000 0000ffff9417e010 0000000000000014 000000000000000d
[   59.018835] ff60: 0000000000000000 0000ffffc7774fc0 0000ffff94335000 0000000000000000
[   59.026587] ff80: 0000ffffc77750b0 0000ffffc77750b8 0000ffff94335000 0000aaaae0c032f0
[   59.034349] ffa0: 00000000000000a0 0000ffffc7774f80 0000ffff943186d8 0000ffffc7774f80
[   59.042112] ffc0: 0000ffff9417dfe8 0000000060000000 000000000000000d 00000000000000d3
[   59.049873] ffe0: 0000000000000000 0000000000000000 00000000001bb64e 000000000033c61e
[   59.057636] Call trace:
[   59.060045] Exception stack(0xffff80007166f940 to 0xffff80007166fa70)
[   59.066429] f940: 6174735f676571e8 0001000000000000 ffff80007166fb20 006e5f6370690065
[   59.074207] f960: 00000000800001c5 0000000000000003 0000000000000007 ffff800000030001
[   59.081959] f980: 006e5f6370690065 ffff0000080e18e0 ffff80007166faa0 0000000180100010
[   59.089727] f9a0: ffff7e0001f5fa00 ffff80007d7e9200 ffff80007166c000 000000000001a343
[   59.097484] f9c0: ffff80007166f9e0 ffff0000081c9e34 0000000000000000 ffff80006fa41828
[   59.105246] f9e0: ffff80007166fa40 ffff0000087f0ea4 ffff8000707efe10 0000000000000001
[   59.113009] fa00: 0000000000000001 00000000000000c3 ffff8000707efe10 736e5f6370690065
[   59.120771] fa20: ffff8000783578bd 342e313a00000004 0000000000000000 0000001000730103
[   59.128534] fa40: 656e774f656d614e 6465676e61684372 0000000000000000 0000001400730107
[   59.136295] fa60: 656572662e67726f 000060d539ab70fb
[   59.141124] [<006e5f6370690065>] 0x6e5f6370690065
[   59.145783] [<ffff0000080f760c>] __wake_up_sync_key+0x4c/0x78
[   59.151474] [<ffff0000087eab08>] sock_def_readable+0x40/0x78
[   59.157087] [<ffff00000889717c>] unix_stream_sendmsg+0x14c/0x308
[   59.163031] [<ffff0000087e76a0>] sock_sendmsg+0x18/0x30
[   59.168204] [<ffff0000087e7e74>] ___sys_sendmsg+0x26c/0x280
[   59.173723] [<ffff0000087e8d3c>] __sys_sendmsg+0x44/0x88
[   59.178984] [<ffff0000087e8d90>] SyS_sendmsg+0x10/0x20
[   59.184075] [<ffff000008082ef0>] el0_svc_naked+0x24/0x28
[   59.189338] Code: bad PC value
[   59.192385] ---[ end trace dc9056b67ae21b7c ]---
[   59.196948] note: dbus-daemon[1636] exited with preempt_count 1
[  OK  ] Started Accounts Service.[   80.202162] INFO: rcu_preempt detected stalls on CPUs/tasks:
[   80.202208]  Tasks blocked on level-0 rcu_node (CPUs 0-3): P1636
[   80.208127]  (detected by 1, t=5253 jiffies, g=2511, c=2510, q=287)
[   80.214341] dbus-daemon     R  running task        0  1636      1 0x0000000e
[   80.221326] Call trace:
[   80.223749] [<ffff0000080855cc>] __switch_to+0x8c/0xa0
[   80.228832] [<ffff800077bad680>] 0xffff800077bad680
[   80.233660] dbus-daemon     R  running task        0  1636      1 0x0000000e
[   80.240644] Call trace:
[   80.243062] [<ffff0000080855cc>] __switch_to+0x8c/0xa0
[   80.248151] [<ffff800077bad680>] 0xffff800077bad680
[   80.252983] rcu_preempt kthread starved for 5264 jiffies! g2511 c2510 f0x0 RCU_GP_WAIT_FQS(3) ->state=0x1
[   80.262474] rcu_preempt     S    0     7      2 0x00000000
[   80.267899] Call trace:
[   80.270317] [<ffff0000080855cc>] __switch_to+0x8c/0xa0
[   80.275410] [<ffff0000088d6938>] __schedule+0x178/0x570
[   80.280582] [<ffff0000088d6d6c>] schedule+0x3c/0xa8
[   80.285413] [<ffff0000088da574>] schedule_timeout+0x124/0x238
[   80.291106] [<ffff0000081177c4>] rcu_gp_kthread+0x4dc/0x798
[   80.296626] [<ffff0000080da7d0>] kthread+0xd0/0xe8
[   80.301368] [<ffff000008082e80>] ret_from_fork+0x10/0x50
[   94.182191] usb 1-1-port2: cannot reset (err = -110)
[   95.202183] usb 1-1-port2: cannot reset (err = -110)

[*     ] (1 of 4) A start job is running for...e[   96.226190] usb 1-1-port2: cannot reset (err = -110)
[   97.254178] usb 1-1-port2: cannot reset (err = -110)
[   98.278181] usb 1-1-port2: cannot reset (err = -110)
[   98.278209] usb 1-1-port2: Cannot enable. Maybe the USB cable is bad?
[   99.298175] usb 1-1-port2: cannot disable (err = -110)
[  100.322173] usb 1-1-port2: cannot reset (err = -110)
[  101.346173] usb 1-1-port2: cannot reset (err = -110)
[  102.370172] usb 1-1-port2: cannot reset (err = -110)
[  103.394174] usb 1-1-port2: cannot reset (err = -110)
[  104.418173] usb 1-1-port2: cannot reset (err = -110)
[  104.418201] usb 1-1-port2: Cannot enable. Maybe the USB cable is bad?
[  105.442193] usb 1-1-port2: cannot disable (err = -110)
[  106.466175] usb 1-1-port2: cannot reset (err = -110)
[  107.490173] usb 1-1-port2: cannot reset (err = -110)
[  108.514172] usb 1-1-port2: cannot reset (err = -110)
[  109.538173] usb 1-1-port2: cannot reset (err = -110)
[  110.562173] usb 1-1-port2: cannot reset (err = -110)
[  110.562200] usb 1-1-port2: Cannot enable. Maybe the USB cable is bad?
[  111.586194] usb 1-1-port2: cannot disable (err = -110)
[  111.954227] Unable to handle kernel paging request at virtual address ffff000000edd6d0
[  111.956497] pgd = ffff80007073a000
[  111.959873] [ffff000000edd6d0] *pgd=0000000000000000[  111.964612] 
[  111.966062] Internal error: Oops: 96000007 [#4] PREEMPT SMP
[  111.971582] Modules linked in: ipv6(+) meson_rng rng_core dwmac_generic realtek dwmac_meson8b stmmac_platform stmmac
[  111.982019] CPU: 3 PID: 1627 Comm: cupsd Tainted: G    B D W       4.9.0-rc4-next-20161111 #1
[  111.990476] Hardware name: Hardkernel ODROID-C2 (DT)
[  111.995387] task: ffff800078b50000 task.stack: ffff800071698000
[  112.001260] PC is at sock_release+0x18/0xd0
[  112.005393] LR is at sock_close+0x10/0x20
[  112.009359] pc : [<ffff0000087e6b98>] lr : [<ffff0000087e6c60>] pstate: 60000145
[  112.016695] sp : ffff80007169bdd0
[  112.019966] x29: ffff80007169bdd0 x28: ffff800071698000 
[  112.025226] x27: ffff0000088f2000 x26: 0000000000000039 
[  112.030487] x25: ffff80006bfa9810 x24: ffff8000787007b0 
[  112.035748] x23: ffff800078844920 x22: ffff8000787f4540 
[  112.041009] x21: ffff8000787007b0 x20: 0000000000000008 
[  112.046271] x19: ffff800078700780 x18: 0000000000001100 
[  112.051532] x17: 0000ffff82fa6a10 x16: ffff0000081df1e0 
[  112.056793] x15: 00002cc473005baf x14: 000ca2dd31371f00 
[  112.062054] x13: 00000003e8000000 x12: 0000000000000018 
[  112.067316] x11: 0000000000034795 x10: 0000000056bcb6f7 
[  112.072577] x9 : 003b9aca00000000 x8 : 0000000000003fff 
[  112.077838] x7 : 0000000000000000 x6 : 0000000000000000 
[  112.083099] x5 : 0000000000000000 x4 : 0000000000000000 
[  112.088360] x3 : 0000000000000001 x2 : ffff0000087e6c50 
[  112.093622] x1 : ffff000000edd6c8 x0 : ffff800078700780 
[  112.098883] 
[  112.100351] Process cupsd (pid: 1627, stack limit = 0xffff800071698020)
[  112.106910] Stack: (0xffff80007169bdd0 to 0xffff80007169c000)
[  112.112602] bdc0:                                   ffff80007169bdf0 ffff0000087e6c60
[  112.120370] bde0: ffff80006bfa9800 0000000000000008 ffff80007169be00 ffff0000081e3b8c
[  112.128132] be00: ffff80007169be50 ffff0000081e3d34 0000000000000000 ffff800078b50678
[  112.135895] be20: ffff800078b50000 ffff000008e9ea50 0000000000000000 0000000000000015
[  112.143657] be40: 0000000000000123 0000000000000001 ffff80007169be60 ffff0000080d8b10
[  112.151420] be60: ffff80007169be90 ffff000008087fb4 0000000000000004 ffff800071698000
[  112.159183] be80: ffff800071698000 ffff80007169bec0 0000000000000000 ffff000008082ddc
[  112.166945] bea0: 0000000000000000 0000aaaac8bd6a28 ffffffffffffffff 0000ffff82fa69e8
[  112.174707] bec0: 0000000000000000 000000000000000a 000000000000000a 0000ffff83231cb0
[  112.182470] bee0: 5732288c09163a7a 0000ffff82f909b0 0000ffff8322f000 000000000000d808
[  112.190232] bf00: 0000000000000039 003b9aca00000000 0000000056bcb6f7 0000000000034795
[  112.197995] bf20: 0000000000000018 00000003e8000000 000ca2dd31371f00 00002cc473005baf
[  112.205757] bf40: 0000000000000000 0000ffff82fa6a10 0000000000001100 0000aaaae5774d84
[  112.213520] bf60: 0000aaaac8bd6a28 00000000ffffffff 0000000056bcb6f7 0000000000000000
[  112.221282] bf80: 0000aaaac8bd5000 0000aaaac8bd6a18 0000aaaac8bd5000 0000aaaac8bb8c60
[  112.229045] bfa0: 0000000000000001 0000ffffe7833a10 0000ffff83043128 0000ffffe7833a10
[  112.236807] bfc0: 0000ffff82fa69e8 0000000000000000 000000000000000a 0000000000000039
[  112.244570] bfe0: 0000000000000000 0000000000000000 2e8b0d00002e8b00 002e910805000000
[  112.252331] Call trace:
[  112.254740] Exception stack(0xffff80007169bc00 to 0xffff80007169bd30)
[  112.261125] bc00: ffff800078700780 0001000000000000 ffff80007169bdd0 ffff0000087e6b98
[  112.268892] bc20: ffff80007efd1880 0000000000000001 ffff000008db8518 ffff0000080e1770
[  112.276655] bc40: ffff80007169bc60 ffff0000080e1948 ffff80007efd1880 ffff0000080e1a04
[  112.284418] bc60: ffff80007169bc80 ffff0000080e1a2c ffff800078948c80 ffff80007efd1880
[  112.292180] bc80: ffff80007169bcb0 ffff0000080e34d8 ffff800078948c80 0000000000000000
[  112.299942] bca0: ffff800078700780 ffff000000edd6c8 ffff0000087e6c50 0000000000000001
[  112.307704] bcc0: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[  112.315467] bce0: 0000000000003fff 003b9aca00000000 0000000056bcb6f7 0000000000034795
[  112.323230] bd00: 0000000000000018 00000003e8000000 000ca2dd31371f00 00002cc473005baf
[  112.330991] bd20: ffff0000081df1e0 0000ffff82fa6a10
[  112.335818] [<ffff0000087e6b98>] sock_release+0x18/0xd0
[  112.340992] [<ffff0000087e6c60>] sock_close+0x10/0x20
[  112.345996] [<ffff0000081e3b8c>] __fput+0x8c/0x1d0
[  112.350738] [<ffff0000081e3d34>] ____fput+0xc/0x18
[  112.355484] [<ffff0000080d8b10>] task_work_run+0xc0/0xe0
[  112.360745] [<ffff000008087fb4>] do_notify_resume+0xa4/0xb0
[  112.366264] [<ffff000008082ddc>] work_pending+0x8/0x10
[  112.371353] Code: a90153f3 aa0003f3 f9401401 b40000c1 (a9408834) 
[  112.377424] ---[ end trace dc9056b67ae21b7d ]---
[  112.610206] usb 1-1-port2: cannot reset (err = -110)
[  113.634188] usb 1-1-port2: cannot reset (err = -110)
[  114.658183] usb 1-1-port2: cannot reset (err = -110)
[  115.682176] usb 1-1-port2: cannot reset (err = -110)
[  116.706176] usb 1-1-port2: cannot reset (err = -110)
[  116.706204] usb 1-1-port2: Cannot enable. Maybe the USB cable is bad?
[  117.730179] usb 1-1-port2: cannot disable (err = -110)
[  118.754176] usb 1-1-port2: cannot disable (err = -110)
[  123.874182] hub 1-1:1.0: hub_ext_port_status failed (err = -110)
[**      143.222162] INFO: rcu_preempt detected stalls on CPUs/tasks:
[  143.222208]  Tasks blocked on level-0 rcu_node (CPUs 0-3): P1636
[  143.228129]  (detected by 1, t=21008 jiffies, g=2511, c=2510, q=863)
[  143.234431] dbus-daemon     R  running task        0  1636      1 0x0000000e
[  143.241414] Call trace:
[  143.243838] [<ffff0000080855cc>] __switch_to+0x8c/0xa0
[  143.248921] [<ffff800077bad680>] 0xffff800077bad680
[  143.253749] dbus-daemon     R  running task        0  1636      1 0x0000000e
[  143.260733] Call trace:
[  143.263150] [<ffff0000080855cc>] __switch_to+0x8c/0xa0
[  143.268240] [<ffff800077bad680>] 0xffff800077bad680
[***   ] (2 of 4) A st

moon.linux
Posts: 1186
Joined: Thu Oct 02, 2014 11:42 pm
languages_spoken: english
ODROIDs: U3, XU3. XU4, C1+...
Has thanked: 0
Been thanked: 13 times
Contact:

Re: Odroid C2 mainline kernel support

Post by moon.linux » Fri Nov 11, 2016 8:44 pm

It tried to recompile the kernel on sdcard.

Code: Select all

CONFIG_ARCH_MESON=y
CONFIG_DWMAC_MESON=m
CONFIG_SERIAL_MESON=y
CONFIG_SERIAL_MESON_CONSOLE=y
CONFIG_HW_RANDOM_MESON=m
CONFIG_I2C_MESON=y
CONFIG_SPI_MESON_SPIFC=m
CONFIG_PINCTRL_MESON=y
CONFIG_MESON_GXBB_WATCHDOG=y
CONFIG_MESON_WATCHDOG=m
CONFIG_MMC_MESON_GX=y
CONFIG_PWM_MESON=y
CONFIG_RESET_MESON=y
CONFIG_PHY_MESON8B_USB2=y
CONFIG_MESON_SM=y
Console Boot Log

Code: Select all

uboot time: 81164020 us
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.9.0-rc4-next-20161109-xc2ml (root@odroid64) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.4) ) #5 SMP PREEMPT Fri Nov 11 06:31:45 EST 2016
[    0.000000] Boot CPU: AArch64 Processor [410fd034]
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi: UEFI not found.
[    0.000000] cma: Reserved 16 MiB at 0x0000000077000000
[    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 21 pages/cpu @ffff800076f87000 s48024 r8192 d29800 u86016
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: enabling workaround for ARM erratum 845719
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 483840
[    0.000000] Kernel command line: console=ttyAML0,115200 root=/dev/mmcblk1p2 rootwait ro fsck.fix=yes net.ifnames=0
[    0.000000] log_buf_len individual max cpu contribution: 4096 bytes
[    0.000000] log_buf_len total cpu_extra contributions: 12288 bytes
[    0.000000] log_buf_len min size: 16384 bytes
[    0.000000] log_buf_len: 32768 bytes
[    0.000000] early log buf free: 14768(90%)
[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
[    0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.000000] Memory: 1898924K/1966080K available (8444K kernel code, 884K rwdata, 3692K rodata, 1024K init, 283K bss, 50772K 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 - 0xffff0000088c0000   (  8448 KB)
[    0.000000]     .rodata : 0xffff0000088c0000 - 0xffff000008c60000   (  3712 KB)
[    0.000000]       .init : 0xffff000008c60000 - 0xffff000008d60000   (  1024 KB)
[    0.000000]       .data : 0xffff000008d60000 - 0xffff000008e3d200   (   885 KB)
[    0.000000]        .bss : 0xffff000008e3d200 - 0xffff000008e83ebc   (   284 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]               0xffff7e0000000000 - 0xffff7e0001e00000   (    30 MB actual)
[    0.000000]     memory  : 0xffff800000000000 - 0xffff800078000000   (  1920 MB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  Build-time adjustment of leaf fanout to 64.
[    0.000000]  RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=4.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=64, nr_cpu_ids=4
[    0.000000] NR_IRQS:64 nr_irqs:64 0
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] arm_arch_timer: Architected cp15 timer(s) running at 24.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000002] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000194] Console: colour dummy device 80x25
[    0.000213] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[    0.000219] pid_max: default: 32768 minimum: 301
[    0.000262] Security Framework initialized
[    0.000287] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000292] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes)
[    0.012006] ASID allocator initialised with 65536 entries
[    0.032322] EFI services will not be available.
[    0.048045] smp: Bringing up secondary CPUs ...
[    0.080727] Detected VIPT I-cache on CPU1
[    0.080761] CPU1: Booted secondary processor [410fd034]
[    0.112743] Detected VIPT I-cache on CPU2
[    0.112761] CPU2: Booted secondary processor [410fd034]
[    0.144775] Detected VIPT I-cache on CPU3
[    0.144791] CPU3: Booted secondary processor [410fd034]
[    0.144825] smp: Brought up 1 node, 4 CPUs
[    0.144838] SMP: Total of 4 processors activated.
[    0.144842] CPU features: detected feature: 32-bit EL0 Support
[    0.144873] CPU: All CPU(s) started at EL2
[    0.144886] alternatives: patching kernel code
[    0.145632] devtmpfs: initialized
[    0.147809] DMI not present or invalid.
[    0.147963] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.148332] pinctrl core: initialized pinctrl subsystem
[    0.149129] NET: Registered protocol family 16
[    0.150065] cpuidle: using governor menu
[    0.150348] vdso: 2 pages (1 code @ ffff0000088c7000, 1 data @ ffff000008d65000)
[    0.150360] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.150888] DMA: preallocated 256 KiB pool for atomic allocations
[    0.151064] Serial: AMBA PL011 UART driver
[    0.160977] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[    0.165083] ACPI: Interpreter disabled.
[    0.165900] vgaarb: loaded
[    0.166079] SCSI subsystem initialized
[    0.166373] usbcore: registered new interface driver usbfs
[    0.166407] usbcore: registered new interface driver hub
[    0.166449] usbcore: registered new device driver usb
[    0.166729] pps_core: LinuxPPS API ver. 1 registered
[    0.166733] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.166748] PTP clock support registered
[    0.166846] dmi: Firmware registration failed.
[    0.167008] Advanced Linux Sound Architecture Driver Initialized.
[    0.169022] clocksource: Switched to clocksource arch_sys_counter
[    0.169137] VFS: Disk quotas dquot_6.6.0
[    0.169177] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.169353] pnp: PnP ACPI: disabled
[    0.173802] NET: Registered protocol family 2
[    0.174107] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[    0.174193] TCP bind hash table entries: 16384 (order: 6, 262144 bytes)
[    0.174377] TCP: Hash tables configured (established 16384 bind 16384)
[    0.174443] UDP hash table entries: 1024 (order: 3, 32768 bytes)
[    0.174475] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes)
[    0.174591] NET: Registered protocol family 1
[    0.174805] RPC: Registered named UNIX socket transport module.
[    0.174809] RPC: Registered udp transport module.
[    0.174811] RPC: Registered tcp transport module.
[    0.174814] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.175247] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[    0.175386] kvm [1]: 8-bit VMID
[    0.175391] kvm [1]: IDMAP page: 18b2000
[    0.175395] kvm [1]: HYP VA range: 800000000000:ffffffffffff
[    0.175908] kvm [1]: Hyp mode initialized successfully
[    0.175936] kvm [1]: vgic-v2@c4304000
[    0.175999] kvm [1]: vgic interrupt IRQ1
[    0.176014] kvm [1]: virtual timer IRQ4
[    0.176859] futex hash table entries: 1024 (order: 5, 131072 bytes)
[    0.176927] audit: initializing netlink subsys (disabled)
[    0.176956] audit: type=2000 audit(0.168:1): initialized
[    0.177344] workingset: timestamp_bits=46 max_order=19 bucket_order=0
[    0.183338] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.183853] NFS: Registering the id_resolver key type
[    0.183875] Key type id_resolver registered
[    0.183878] Key type id_legacy registered
[    0.183887] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.184008] 9p: Installing v9fs 9p2000 file system support
[    0.185718] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[    0.185728] io scheduler noop registered
[    0.185899] io scheduler cfq registered (default)
[    0.186614] libphy: mdio_driver_register: phy-bcm-ns2-pci
[    0.191182] xenfs: not registering filesystem on non-xen platform
[    0.193892] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    0.195241] SuperH (H)SCI(F) driver initialized
[    0.195485] c81004c0.serial: ttyAML0 at MMIO 0xc81004c0 (irq = 11, base_baud = 1500000) is a meson_uart
[    0.301040] ------------[ cut here ]------------
[    0.301064] WARNING: CPU: 2 PID: 0 at kernel/rcu/tree.c:379 rcu_momentary_dyntick_idle+0xc0/0xc8
[    0.301068] Modules linked in:
[    0.301070]
[    0.301076] CPU: 2 PID: 0 Comm: swapper/2 Not tainted 4.9.0-rc4-next-20161109-xc2ml #5
[    0.301077] Hardware name: Hardkernel ODROID-C2 (DT)
[    0.301080] task: ffff8000744d2580 task.stack: ffff8000744e0000
[    0.301084] PC is at rcu_momentary_dyntick_idle+0xc0/0xc8
[    0.301088] LR is at rcu_note_context_switch+0x1ac/0x2b8
[    0.301090] pc : [<ffff0000081140c8>] lr : [<ffff000008118cac>] pstate: 600000c5
[    0.301092] sp : ffff8000744e3ea0
[    0.301095] x29: ffff8000744e3ea0 x28: ffff000008d68000
[    0.301098] x27: ffff000008d68000 x26: ffff000008d8461b
[    0.301100] x25: 0000000000000000 x24: ffff8000744e0000
[    0.301103] x23: ffff0000088ad49c x22: ffff8000744d2580
[    0.301105] x21: ffff800076fbb880 x20: ffff000008d68000
[    0.301108] x19: ffff8000744d2580 x18: 000000000000000e
[    0.301110] x17: 0000000000000007 x16: 0000000000000001
[    0.301112] x15: 0000000000000019 x14: 0000000000000000
[    0.301115] x13: 000000000000000b x12: 0000000000000000
[    0.301117] x11: ffff0000088d0ac0 x10: ffff800076fbb8b0
[    0.301120] x9 : 000000000000004c x8 : 0000000002625a00
[    0.301122] x7 : 7fffffffffffffff x6 : ffff800076fb5bd0
[    0.301125] x5 : 0000000000000004 x4 : ffff000008d80588
[    0.301127] x3 : 0000000000000004 x2 : ffff800076fb5bdc
[    0.301130] x1 : 0000000000000001 x0 : ffff000008d84629
[    0.301130]
[    0.301136] ---[ end trace 9deb0387108b045a ]---
[    0.301139] Call trace:
[    0.301143] Exception stack(0xffff8000744e3cd0 to 0xffff8000744e3e00)
[    0.301146] 3cc0:                                   ffff8000744d2580 0001000000000000
[    0.301149] 3ce0: ffff8000744e3ea0 ffff0000081140c8 00000000000003e0 ffff000008b36e56
[    0.301152] 3d00: ffff000008e4c2a8 ffff000008386178 ffff8000744e3d90 ffff0000083886d4
[    0.301154] 3d20: ffff000008e4c2cc ffff8000744e3fd0 00000000ffffffd8 ffff000008900864
[    0.301157] 3d40: 00000000000003e0 ffff000008b379c1 ffff000008e4c2a8 0000000000000003
[    0.301160] 3d60: ffff8000744e3d90 ffff0000083883b0 ffff000008d84629 0000000000000001
[    0.301163] 3d80: ffff800076fb5bdc 0000000000000004 ffff000008d80588 0000000000000004
[    0.301166] 3da0: ffff800076fb5bd0 7fffffffffffffff 0000000002625a00 000000000000004c
[    0.301168] 3dc0: ffff800076fbb8b0 ffff0000088d0ac0 0000000000000000 000000000000000b
[    0.301171] 3de0: 0000000000000000 0000000000000019 0000000000000001 0000000000000007
[    0.301174] [<ffff0000081140c8>] rcu_momentary_dyntick_idle+0xc0/0xc8
[    0.301183] [<ffff0000088acf58>] __schedule+0x68/0x570
[    0.301186] [<ffff0000088ad49c>] schedule+0x3c/0xa8
[    0.301190] [<ffff0000088ad8d8>] schedule_preempt_disabled+0x20/0x38
[    0.301195] [<ffff0000080f7cbc>] cpu_startup_entry+0xd4/0x1d8
[    0.301201] [<ffff00000808e0b0>] secondary_start_kernel+0x158/0x198
[    0.301204] [<00000000018b71a4>] 0x18b71a4
[    1.203528] console [ttyAML0] enabled
[    1.207575] msm_serial: driver initialized
[    1.215634] loop: module loaded
[    1.216264] hisi_sas: driver version v1.6
[    1.220146] libphy: Fixed MDIO Bus: probed
[    1.222791] tun: Universal TUN/TAP device driver, 1.6
[    1.227322] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    1.234213] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
[    1.239223] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    1.245151] igb: Intel(R) Gigabit Ethernet Network Driver - version 5.4.0-k
[    1.251989] igb: Copyright (c) 2007-2014 Intel Corporation.
[    1.257563] igbvf: Intel(R) Gigabit Virtual Function Network Driver - version 2.4.0-k
[    1.265270] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[    1.271187] sky2: driver version 1.30
[    1.275222] VFIO - User Level meta-driver version: 0.3
[    1.281068] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.286315] ehci-pci: EHCI PCI platform driver
[    1.290762] ehci-platform: EHCI generic platform driver
[    1.295976] ehci-exynos: EHCI EXYNOS driver
[    1.300100] ehci-msm: Qualcomm On-Chip EHCI Host Controller
[    1.305614] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.311684] ohci-pci: OHCI PCI platform driver
[    1.316123] ohci-platform: OHCI generic platform driver
[    1.321320] ohci-exynos: OHCI EXYNOS driver
[    1.325743] usbcore: registered new interface driver usb-storage
[    1.332159] mousedev: PS/2 mouse device common for all mice
[    1.337768] i2c /dev entries driver
[    1.342886] sdhci: Secure Digital Host Controller Interface driver
[    1.346436] sdhci: Copyright(c) Pierre Ossman
[    1.350983] Synopsys Designware Multimedia Card Interface Driver
[    1.357347] meson-gx-mmc d0074000.mmc: allocated mmc-pwrseq
[    1.405336] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.405901] ledtrig-cpu: registered to indicate activity on CPUs
[    1.411627] meson-sm: secure-monitor enabled
[    1.419395] usbcore: registered new interface driver usbhid
[    1.421111] usbhid: USB HID core driver
[    1.425150] platform-mhu c883c404.mailbox: Platform MHU Mailbox registered
[    1.433110] NET: Registered protocol family 17
[    1.436292] 9pnet: Installing 9P2000 support
[    1.440514] Key type dns_resolver registered
[    1.445154] registered taskstats version 1
[    1.452807] c9000000.usb supply vusb_d not found, using dummy regulator
[    1.455159] c9000000.usb supply vusb_a not found, using dummy regulator
[    1.463934] phy phy-c0000000.phy.0: USB ID detect failed!
[    1.467031] phy phy-c0000000.phy.0: phy poweron failed --> -22
[    1.472959] dwc2: probe of c9000000.usb failed with error -22
[    1.479029] c9100000.usb supply vusb_d not found, using dummy regulator
[    1.485410] c9100000.usb supply vusb_a not found, using dummy regulator
[    1.609157] dwc2 c9100000.usb: DWC OTG Controller
[    1.609191] dwc2 c9100000.usb: new USB bus registered, assigned bus number 1
[    1.615229] dwc2 c9100000.usb: irq 20, io mem 0x00000000
[    1.620959] hub 1-0:1.0: USB hub found
[    1.624194] hub 1-0:1.0: 1 port detected
[    1.628944] meson-gx-mmc d0072000.mmc: Got CD GPIO
[    1.673339] hctosys: unable to open rtc device (rtc0)
[    1.673443] VCC1V8: disabling
[    1.675685] VCC3V3: disabling
[    1.678626] USB_OTG_PWR: disabling
[    1.682071] ALSA device list:
[    1.684911]   No soundcards found.
[    1.693965] Waiting for root device /dev/mmcblk1p2...
[    1.715971] mmc1: new high speed SDHC card at address 0001
[    1.716271] mmcblk1: mmc1:0001 00000 29.8 GiB
[    1.723600]  mmcblk1: p1 p2
[    1.804405] EXT4-fs (mmcblk1p2): couldn't mount as ext3 due to feature incompatibilities
[    1.811710] EXT4-fs (mmcblk1p2): mounted filesystem without journal. Opts: (null)
[    1.814286] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[    1.832188] devtmpfs: mounted
[    1.832591] Freeing unused kernel memory: 1024K
[    1.872538] random: fast init done
[    3.041370] systemd[1]: System time before build time, advancing clock.
[    5.172943] NET: Registered protocol family 10
[    5.274192] systemd[1]: systemd 229 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN)
[    5.286863] systemd[1]: Detected architecture arm64.

Welcome to Ubuntu 16.04.1 LTS!

[    5.325757] systemd[1]: Set hostname to <odroid64>.
[    6.173078] random: crng init done
[    7.065442] systemd[1]: Listening on udev Kernel Socket.
[  OK  ] Listening on udev Kernel Socket.
[    7.081140] systemd[1]: Reached target Swap.
[  OK  ] Reached target Swap.
[    7.093165] systemd[1]: Listening on Syslog Socket.
[  OK  ] Listening on Syslog Socket.
[    7.109150] systemd[1]: Listening on Journal Socket.
[  OK  ] Listening on Journal Socket.
[    7.125383] systemd[1]: Created slice User and Session Slice.
[  OK  ] Created slice User and Session Slice.
[    7.141118] systemd[1]: Listening on fsck to fsckd communication Socket.
[  OK  ] Listening on fsck to fsckd communication Socket.
[    7.161070] systemd[1]: Reached target Encrypted Volumes.
[  OK  ] Reached target Encrypted Volumes.
[  OK  ] Created slice System Slice.
         Starting File System Check on Root Device...
         Mounting POSIX Message Queue File System...
         Starting Create list of required st... nodes for the current kernel...
         Starting Uncomplicated firewall...
         Starting Set console keymap...
[  OK  ] Started Read required files in advance.
[  OK  ] Created slice system-serial\x2dgetty.slice.
[  OK  ] Started Braille Device Support.
[  OK  ] Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Listening on udev Control Socket.
[  OK  ] Reached target Slices.
         Mounting Debug File System...
[  OK  ] Listening on Journal Audit Socket.
         Starting Nameserver information manager...
[  OK  ] Reached target Remote File Systems (Pre).
         Starting LSB: controls configuration of serial ports...
[  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
         Starting Load Kernel Modules...
         Mounting Huge Pages File System...
[  OK  ] Reached target User and Group Name Lookups.
[  OK  ] Reached target Remote File Systems.
[  OK  ] Listening on Journal Socket (/dev/log).
         Starting Journal Service...
[  OK  ] Started File System Check Daemon to report status.
[  OK  ] Started Create list of required sta...ce nodes for the current kernel.
[FAILED] Failed to start Load Kernel Modules.

brad
Posts: 1117
Joined: Tue Mar 29, 2016 1:22 pm
languages_spoken: english
ODROIDs: C2 N1 N2 H2 (64 bit ftw)
Location: Australia
Has thanked: 46 times
Been thanked: 93 times
Contact:

Re: Odroid C2 mainline kernel support

Post by brad » Sat Nov 12, 2016 1:11 pm

I needed to make some changes to the kernel config to get it to work properly, im still working on a better config but this one has usb and sd working.

Edit: IP6 is disabled but it probably works now.
Attachments
defconfig.txt
defconfig
(12.3 KiB) Downloaded 144 times

moon.linux
Posts: 1186
Joined: Thu Oct 02, 2014 11:42 pm
languages_spoken: english
ODROIDs: U3, XU3. XU4, C1+...
Has thanked: 0
Been thanked: 13 times
Contact:

Re: Odroid C2 mainline kernel support

Post by moon.linux » Sat Nov 12, 2016 8:12 pm

@Brad Thanks for looking into this but still at my end I could not get the USB to detect. I will try to debug this at end.

moon.linux
Posts: 1186
Joined: Thu Oct 02, 2014 11:42 pm
languages_spoken: english
ODROIDs: U3, XU3. XU4, C1+...
Has thanked: 0
Been thanked: 13 times
Contact:

Re: Odroid C2 mainline kernel support

Post by moon.linux » Tue Nov 15, 2016 12:22 pm

Some new update have take place on Ethernet PHY on @kevin git repository may be we should give this a try

https://git.kernel.org/cgit/linux/kerne ... v4.10/dt64

https://git.kernel.org/cgit/linux/kerne ... /defconfig

brad
Posts: 1117
Joined: Tue Mar 29, 2016 1:22 pm
languages_spoken: english
ODROIDs: C2 N1 N2 H2 (64 bit ftw)
Location: Australia
Has thanked: 46 times
Been thanked: 93 times
Contact:

Re: Odroid C2 mainline kernel support

Post by brad » Tue Nov 15, 2016 12:57 pm

moon.linux wrote:Some new update have take place on Ethernet PHY on @kevin git repository may be we should give this a try
Believe these are only for the AMLogic GXL (S905X) chip and would use the same driver as we do for S905.

moon.linux
Posts: 1186
Joined: Thu Oct 02, 2014 11:42 pm
languages_spoken: english
ODROIDs: U3, XU3. XU4, C1+...
Has thanked: 0
Been thanked: 13 times
Contact:

Re: Odroid C2 mainline kernel support

Post by moon.linux » Tue Nov 15, 2016 1:17 pm

Ok thanks for pointing out. I just looking for at the Ethernet PHY issue.
So GXL is for (S905X) and GXLBB (S905) (Odroid C2).

Related patch for usb phy reset.
https://patchwork.kernel.org/patch/9424123/
https://patchwork.kernel.org/patch/9424129/
https://patchwork.kernel.org/patch/9424123/

I will test this patches now and let see how it work.

nobe
Posts: 129
Joined: Sun Feb 07, 2016 9:52 pm
languages_spoken: english, french
ODROIDs: Odroid-C2
Has thanked: 0
Been thanked: 0
Contact:

Re: Odroid C2 mainline kernel support

Post by nobe » Tue Nov 15, 2016 3:23 pm

amlogic codenames are confusing...
GXLBB doesn't exist as far as i know

GXBB = S905
GXL = S905X
GXM = S912 (not 100% sure though)

and common mainlined code is codenamed GX

so the C2 related stuff should be either code for GX and GXBB

brad
Posts: 1117
Joined: Tue Mar 29, 2016 1:22 pm
languages_spoken: english
ODROIDs: C2 N1 N2 H2 (64 bit ftw)
Location: Australia
Has thanked: 46 times
Been thanked: 93 times
Contact:

Re: Odroid C2 mainline kernel support

Post by brad » Tue Nov 15, 2016 4:01 pm

moon.linux wrote:It tried to recompile the kernel on sdcard.

Code: Select all

CONFIG_ARCH_MESON=y
CONFIG_DWMAC_MESON=m
CONFIG_SERIAL_MESON=y
CONFIG_SERIAL_MESON_CONSOLE=y
CONFIG_HW_RANDOM_MESON=m
CONFIG_I2C_MESON=y
CONFIG_SPI_MESON_SPIFC=m
CONFIG_PINCTRL_MESON=y
CONFIG_MESON_GXBB_WATCHDOG=y
CONFIG_MESON_WATCHDOG=m
CONFIG_MMC_MESON_GX=y
CONFIG_PWM_MESON=y
CONFIG_RESET_MESON=y
CONFIG_PHY_MESON8B_USB2=y
CONFIG_MESON_SM=y
Console Boot Log

Code: Select all

uboot time: 81164020 us
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.9.0-rc4-next-20161109-xc2ml (root@odroid64) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.4) ) #5 SMP PREEMPT Fri Nov 11 06:31:45 EST 2016
[    0.000000] Boot CPU: AArch64 Processor [410fd034]
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi: UEFI not found.
[    0.000000] cma: Reserved 16 MiB at 0x0000000077000000
[    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 21 pages/cpu @ffff800076f87000 s48024 r8192 d29800 u86016
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: enabling workaround for ARM erratum 845719
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 483840
[    0.000000] Kernel command line: console=ttyAML0,115200 root=/dev/mmcblk1p2 rootwait ro fsck.fix=yes net.ifnames=0
[    0.000000] log_buf_len individual max cpu contribution: 4096 bytes
[    0.000000] log_buf_len total cpu_extra contributions: 12288 bytes
[    0.000000] log_buf_len min size: 16384 bytes
[    0.000000] log_buf_len: 32768 bytes
[    0.000000] early log buf free: 14768(90%)
[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
[    0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.000000] Memory: 1898924K/1966080K available (8444K kernel code, 884K rwdata, 3692K rodata, 1024K init, 283K bss, 50772K 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 - 0xffff0000088c0000   (  8448 KB)
[    0.000000]     .rodata : 0xffff0000088c0000 - 0xffff000008c60000   (  3712 KB)
[    0.000000]       .init : 0xffff000008c60000 - 0xffff000008d60000   (  1024 KB)
[    0.000000]       .data : 0xffff000008d60000 - 0xffff000008e3d200   (   885 KB)
[    0.000000]        .bss : 0xffff000008e3d200 - 0xffff000008e83ebc   (   284 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]               0xffff7e0000000000 - 0xffff7e0001e00000   (    30 MB actual)
[    0.000000]     memory  : 0xffff800000000000 - 0xffff800078000000   (  1920 MB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  Build-time adjustment of leaf fanout to 64.
[    0.000000]  RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=4.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=64, nr_cpu_ids=4
[    0.000000] NR_IRQS:64 nr_irqs:64 0
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] arm_arch_timer: Architected cp15 timer(s) running at 24.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000002] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000194] Console: colour dummy device 80x25
[    0.000213] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[    0.000219] pid_max: default: 32768 minimum: 301
[    0.000262] Security Framework initialized
[    0.000287] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000292] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes)
[    0.012006] ASID allocator initialised with 65536 entries
[    0.032322] EFI services will not be available.
[    0.048045] smp: Bringing up secondary CPUs ...
[    0.080727] Detected VIPT I-cache on CPU1
[    0.080761] CPU1: Booted secondary processor [410fd034]
[    0.112743] Detected VIPT I-cache on CPU2
[    0.112761] CPU2: Booted secondary processor [410fd034]
[    0.144775] Detected VIPT I-cache on CPU3
[    0.144791] CPU3: Booted secondary processor [410fd034]
[    0.144825] smp: Brought up 1 node, 4 CPUs
[    0.144838] SMP: Total of 4 processors activated.
[    0.144842] CPU features: detected feature: 32-bit EL0 Support
[    0.144873] CPU: All CPU(s) started at EL2
[    0.144886] alternatives: patching kernel code
[    0.145632] devtmpfs: initialized
[    0.147809] DMI not present or invalid.
[    0.147963] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.148332] pinctrl core: initialized pinctrl subsystem
[    0.149129] NET: Registered protocol family 16
[    0.150065] cpuidle: using governor menu
[    0.150348] vdso: 2 pages (1 code @ ffff0000088c7000, 1 data @ ffff000008d65000)
[    0.150360] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.150888] DMA: preallocated 256 KiB pool for atomic allocations
[    0.151064] Serial: AMBA PL011 UART driver
[    0.160977] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[    0.165083] ACPI: Interpreter disabled.
[    0.165900] vgaarb: loaded
[    0.166079] SCSI subsystem initialized
[    0.166373] usbcore: registered new interface driver usbfs
[    0.166407] usbcore: registered new interface driver hub
[    0.166449] usbcore: registered new device driver usb
[    0.166729] pps_core: LinuxPPS API ver. 1 registered
[    0.166733] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.166748] PTP clock support registered
[    0.166846] dmi: Firmware registration failed.
[    0.167008] Advanced Linux Sound Architecture Driver Initialized.
[    0.169022] clocksource: Switched to clocksource arch_sys_counter
[    0.169137] VFS: Disk quotas dquot_6.6.0
[    0.169177] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.169353] pnp: PnP ACPI: disabled
[    0.173802] NET: Registered protocol family 2
[    0.174107] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[    0.174193] TCP bind hash table entries: 16384 (order: 6, 262144 bytes)
[    0.174377] TCP: Hash tables configured (established 16384 bind 16384)
[    0.174443] UDP hash table entries: 1024 (order: 3, 32768 bytes)
[    0.174475] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes)
[    0.174591] NET: Registered protocol family 1
[    0.174805] RPC: Registered named UNIX socket transport module.
[    0.174809] RPC: Registered udp transport module.
[    0.174811] RPC: Registered tcp transport module.
[    0.174814] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.175247] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[    0.175386] kvm [1]: 8-bit VMID
[    0.175391] kvm [1]: IDMAP page: 18b2000
[    0.175395] kvm [1]: HYP VA range: 800000000000:ffffffffffff
[    0.175908] kvm [1]: Hyp mode initialized successfully
[    0.175936] kvm [1]: vgic-v2@c4304000
[    0.175999] kvm [1]: vgic interrupt IRQ1
[    0.176014] kvm [1]: virtual timer IRQ4
[    0.176859] futex hash table entries: 1024 (order: 5, 131072 bytes)
[    0.176927] audit: initializing netlink subsys (disabled)
[    0.176956] audit: type=2000 audit(0.168:1): initialized
[    0.177344] workingset: timestamp_bits=46 max_order=19 bucket_order=0
[    0.183338] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.183853] NFS: Registering the id_resolver key type
[    0.183875] Key type id_resolver registered
[    0.183878] Key type id_legacy registered
[    0.183887] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.184008] 9p: Installing v9fs 9p2000 file system support
[    0.185718] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[    0.185728] io scheduler noop registered
[    0.185899] io scheduler cfq registered (default)
[    0.186614] libphy: mdio_driver_register: phy-bcm-ns2-pci
[    0.191182] xenfs: not registering filesystem on non-xen platform
[    0.193892] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    0.195241] SuperH (H)SCI(F) driver initialized
[    0.195485] c81004c0.serial: ttyAML0 at MMIO 0xc81004c0 (irq = 11, base_baud = 1500000) is a meson_uart
[    0.301040] ------------[ cut here ]------------
[    0.301064] WARNING: CPU: 2 PID: 0 at kernel/rcu/tree.c:379 rcu_momentary_dyntick_idle+0xc0/0xc8
[    0.301068] Modules linked in:
[    0.301070]
[    0.301076] CPU: 2 PID: 0 Comm: swapper/2 Not tainted 4.9.0-rc4-next-20161109-xc2ml #5
[    0.301077] Hardware name: Hardkernel ODROID-C2 (DT)
[    0.301080] task: ffff8000744d2580 task.stack: ffff8000744e0000
[    0.301084] PC is at rcu_momentary_dyntick_idle+0xc0/0xc8
[    0.301088] LR is at rcu_note_context_switch+0x1ac/0x2b8
[    0.301090] pc : [<ffff0000081140c8>] lr : [<ffff000008118cac>] pstate: 600000c5
[    0.301092] sp : ffff8000744e3ea0
[    0.301095] x29: ffff8000744e3ea0 x28: ffff000008d68000
[    0.301098] x27: ffff000008d68000 x26: ffff000008d8461b
[    0.301100] x25: 0000000000000000 x24: ffff8000744e0000
[    0.301103] x23: ffff0000088ad49c x22: ffff8000744d2580
[    0.301105] x21: ffff800076fbb880 x20: ffff000008d68000
[    0.301108] x19: ffff8000744d2580 x18: 000000000000000e
[    0.301110] x17: 0000000000000007 x16: 0000000000000001
[    0.301112] x15: 0000000000000019 x14: 0000000000000000
[    0.301115] x13: 000000000000000b x12: 0000000000000000
[    0.301117] x11: ffff0000088d0ac0 x10: ffff800076fbb8b0
[    0.301120] x9 : 000000000000004c x8 : 0000000002625a00
[    0.301122] x7 : 7fffffffffffffff x6 : ffff800076fb5bd0
[    0.301125] x5 : 0000000000000004 x4 : ffff000008d80588
[    0.301127] x3 : 0000000000000004 x2 : ffff800076fb5bdc
[    0.301130] x1 : 0000000000000001 x0 : ffff000008d84629
[    0.301130]
[    0.301136] ---[ end trace 9deb0387108b045a ]---
[    0.301139] Call trace:
[    0.301143] Exception stack(0xffff8000744e3cd0 to 0xffff8000744e3e00)
[    0.301146] 3cc0:                                   ffff8000744d2580 0001000000000000
[    0.301149] 3ce0: ffff8000744e3ea0 ffff0000081140c8 00000000000003e0 ffff000008b36e56
[    0.301152] 3d00: ffff000008e4c2a8 ffff000008386178 ffff8000744e3d90 ffff0000083886d4
[    0.301154] 3d20: ffff000008e4c2cc ffff8000744e3fd0 00000000ffffffd8 ffff000008900864
[    0.301157] 3d40: 00000000000003e0 ffff000008b379c1 ffff000008e4c2a8 0000000000000003
[    0.301160] 3d60: ffff8000744e3d90 ffff0000083883b0 ffff000008d84629 0000000000000001
[    0.301163] 3d80: ffff800076fb5bdc 0000000000000004 ffff000008d80588 0000000000000004
[    0.301166] 3da0: ffff800076fb5bd0 7fffffffffffffff 0000000002625a00 000000000000004c
[    0.301168] 3dc0: ffff800076fbb8b0 ffff0000088d0ac0 0000000000000000 000000000000000b
[    0.301171] 3de0: 0000000000000000 0000000000000019 0000000000000001 0000000000000007
[    0.301174] [<ffff0000081140c8>] rcu_momentary_dyntick_idle+0xc0/0xc8
[    0.301183] [<ffff0000088acf58>] __schedule+0x68/0x570
[    0.301186] [<ffff0000088ad49c>] schedule+0x3c/0xa8
[    0.301190] [<ffff0000088ad8d8>] schedule_preempt_disabled+0x20/0x38
[    0.301195] [<ffff0000080f7cbc>] cpu_startup_entry+0xd4/0x1d8
[    0.301201] [<ffff00000808e0b0>] secondary_start_kernel+0x158/0x198
[    0.301204] [<00000000018b71a4>] 0x18b71a4
[    1.203528] console [ttyAML0] enabled
[    1.207575] msm_serial: driver initialized
[    1.215634] loop: module loaded
[    1.216264] hisi_sas: driver version v1.6
[    1.220146] libphy: Fixed MDIO Bus: probed
[    1.222791] tun: Universal TUN/TAP device driver, 1.6
[    1.227322] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    1.234213] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
[    1.239223] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    1.245151] igb: Intel(R) Gigabit Ethernet Network Driver - version 5.4.0-k
[    1.251989] igb: Copyright (c) 2007-2014 Intel Corporation.
[    1.257563] igbvf: Intel(R) Gigabit Virtual Function Network Driver - version 2.4.0-k
[    1.265270] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[    1.271187] sky2: driver version 1.30
[    1.275222] VFIO - User Level meta-driver version: 0.3
[    1.281068] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.286315] ehci-pci: EHCI PCI platform driver
[    1.290762] ehci-platform: EHCI generic platform driver
[    1.295976] ehci-exynos: EHCI EXYNOS driver
[    1.300100] ehci-msm: Qualcomm On-Chip EHCI Host Controller
[    1.305614] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.311684] ohci-pci: OHCI PCI platform driver
[    1.316123] ohci-platform: OHCI generic platform driver
[    1.321320] ohci-exynos: OHCI EXYNOS driver
[    1.325743] usbcore: registered new interface driver usb-storage
[    1.332159] mousedev: PS/2 mouse device common for all mice
[    1.337768] i2c /dev entries driver
[    1.342886] sdhci: Secure Digital Host Controller Interface driver
[    1.346436] sdhci: Copyright(c) Pierre Ossman
[    1.350983] Synopsys Designware Multimedia Card Interface Driver
[    1.357347] meson-gx-mmc d0074000.mmc: allocated mmc-pwrseq
[    1.405336] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.405901] ledtrig-cpu: registered to indicate activity on CPUs
[    1.411627] meson-sm: secure-monitor enabled
[    1.419395] usbcore: registered new interface driver usbhid
[    1.421111] usbhid: USB HID core driver
[    1.425150] platform-mhu c883c404.mailbox: Platform MHU Mailbox registered
[    1.433110] NET: Registered protocol family 17
[    1.436292] 9pnet: Installing 9P2000 support
[    1.440514] Key type dns_resolver registered
[    1.445154] registered taskstats version 1
[    1.452807] c9000000.usb supply vusb_d not found, using dummy regulator
[    1.455159] c9000000.usb supply vusb_a not found, using dummy regulator
[    1.463934] phy phy-c0000000.phy.0: USB ID detect failed!
[    1.467031] phy phy-c0000000.phy.0: phy poweron failed --> -22
[    1.472959] dwc2: probe of c9000000.usb failed with error -22
[    1.479029] c9100000.usb supply vusb_d not found, using dummy regulator
[    1.485410] c9100000.usb supply vusb_a not found, using dummy regulator
[    1.609157] dwc2 c9100000.usb: DWC OTG Controller
[    1.609191] dwc2 c9100000.usb: new USB bus registered, assigned bus number 1
[    1.615229] dwc2 c9100000.usb: irq 20, io mem 0x00000000
[    1.620959] hub 1-0:1.0: USB hub found
[    1.624194] hub 1-0:1.0: 1 port detected
[    1.628944] meson-gx-mmc d0072000.mmc: Got CD GPIO
[    1.673339] hctosys: unable to open rtc device (rtc0)
[    1.673443] VCC1V8: disabling
[    1.675685] VCC3V3: disabling
[    1.678626] USB_OTG_PWR: disabling
[    1.682071] ALSA device list:
[    1.684911]   No soundcards found.
[    1.693965] Waiting for root device /dev/mmcblk1p2...
[    1.715971] mmc1: new high speed SDHC card at address 0001
[    1.716271] mmcblk1: mmc1:0001 00000 29.8 GiB
[    1.723600]  mmcblk1: p1 p2
[    1.804405] EXT4-fs (mmcblk1p2): couldn't mount as ext3 due to feature incompatibilities
[    1.811710] EXT4-fs (mmcblk1p2): mounted filesystem without journal. Opts: (null)
[    1.814286] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[    1.832188] devtmpfs: mounted
[    1.832591] Freeing unused kernel memory: 1024K
[    1.872538] random: fast init done
[    3.041370] systemd[1]: System time before build time, advancing clock.
[    5.172943] NET: Registered protocol family 10
[    5.274192] systemd[1]: systemd 229 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN)
[    5.286863] systemd[1]: Detected architecture arm64.

Welcome to Ubuntu 16.04.1 LTS!

[    5.325757] systemd[1]: Set hostname to <odroid64>.
[    6.173078] random: crng init done
[    7.065442] systemd[1]: Listening on udev Kernel Socket.
[  OK  ] Listening on udev Kernel Socket.
[    7.081140] systemd[1]: Reached target Swap.
[  OK  ] Reached target Swap.
[    7.093165] systemd[1]: Listening on Syslog Socket.
[  OK  ] Listening on Syslog Socket.
[    7.109150] systemd[1]: Listening on Journal Socket.
[  OK  ] Listening on Journal Socket.
[    7.125383] systemd[1]: Created slice User and Session Slice.
[  OK  ] Created slice User and Session Slice.
[    7.141118] systemd[1]: Listening on fsck to fsckd communication Socket.
[  OK  ] Listening on fsck to fsckd communication Socket.
[    7.161070] systemd[1]: Reached target Encrypted Volumes.
[  OK  ] Reached target Encrypted Volumes.
[  OK  ] Created slice System Slice.
         Starting File System Check on Root Device...
         Mounting POSIX Message Queue File System...
         Starting Create list of required st... nodes for the current kernel...
         Starting Uncomplicated firewall...
         Starting Set console keymap...
[  OK  ] Started Read required files in advance.
[  OK  ] Created slice system-serial\x2dgetty.slice.
[  OK  ] Started Braille Device Support.
[  OK  ] Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Listening on udev Control Socket.
[  OK  ] Reached target Slices.
         Mounting Debug File System...
[  OK  ] Listening on Journal Audit Socket.
         Starting Nameserver information manager...
[  OK  ] Reached target Remote File Systems (Pre).
         Starting LSB: controls configuration of serial ports...
[  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
         Starting Load Kernel Modules...
         Mounting Huge Pages File System...
[  OK  ] Reached target User and Group Name Lookups.
[  OK  ] Reached target Remote File Systems.
[  OK  ] Listening on Journal Socket (/dev/log).
         Starting Journal Service...
[  OK  ] Started File System Check Daemon to report status.
[  OK  ] Started Create list of required sta...ce nodes for the current kernel.
[FAILED] Failed to start Load Kernel Modules.
I took a good look at your previous log for USB issues and its crashing with idle dynticks enabled. I was able to set a tickless system which looking at my logs solved my problem.

Enable this sub option...
General setup ---> Timers subsystem ---> Periodic timer ticks (constant rate, no dynticks)

If its not available you might need to set menu governor first..
CPU Power Management ---> CPU Idle ---> Menu governor (for tickless system)

Need to run tickless for the moment from my experience although could try full dynticks system. We could disable cpu idle management also to see if it helps.

As for Ethernet its an interesting problem, does your Gbit light flash strangely to you also? I wonder if its a simple power management issue somehow.

For your reference im doing things a little different in boot as im not using an amlogic or hardkernel u-boot. Im using a newer version of u-boot with some development drivers for mmc from Bluematts GIT > https://github.com/TheBlueMatt/u-boot

Its based on a July release of u-boot and my boot log and startup looks like this (using defconfig I posted a few posts up)...

Code: Select all

GXBB:BL1:08dafd:0a8993;FEAT:EDFC318C;POC:3;RCY:0;EMMC:800;NAND:81;SD:0;READ:0;CHK:0;
TE: 128249
no sdio debug board detected 

BL2 Built : 11:44:26, Nov 25 2015. 
gxb gfb13a3b-c2 - jcao@wonton

Board ID = 8
set vcck to 1100 mv
set vddee to 1050 mv
CPU clk: 1536MHz
DDR channel setting: DDR0 Rank0+1 same
DDR0: 2048MB(auto) @ 912MHz(2T)-13
DataBus test pass!
AddrBus test pass!
Load fip header from SD, src: 0x0000c200, des: 0x01400000, size: 0x000000b0
Load bl30 from SD, src: 0x00010200, des: 0x01000000, size: 0x00009ef0
Sending bl30........................................OK. 
Run bl30...
Load bl301 from SD, src: 0x0001c200, des: 0x01000000, size: 0x000017a0
Wait bl30...Done
Sending bl301......OK. 
Run bl301...
31 from SD, src: 0x00020200, des: 0x10100000, size: 0x00011130


--- UART initialized after reboot ---
[Reset cause: unknown]
[Image: unknown, amlogic_v1.1.3046-00db630-dirty 2016-08-23 09:31:24 tao.zeng@droid04]
bl30: check_permit, count is 1
bl30: check_permit: ok!
chipidLoad bl33 from SD, src: 0x00034200, des: 0x01000000, size: 0x00043cf0
: ef be ad de d f0 ad ba ef be ad de not ES chip
[0.242790 Inits done]
secure task start!
high task start!
low task start!
NOTICE:  BL3-1: v1.0(debug):4d2e34d
NOTICE:  BL3-1: Built : 17:08:35, Oct 29 2015
INFO:    BL3-1: Initializing runtime services
INFO:    BL3-1: Preparing for EL3 exit to normal world
INFO:    BL3-1: Next image address = 0x1000000
INFO:    BL3-1: Next image spsr = 0x3c9
No match for driver 'eth_designware'
Some drivers were not found


U-Boot 2016.07-rc2-g3de59fe (Oct 16 2016 - 15:43:49 +1100) odroid-c2

DRAM:  2 GiB
No maLMC:   <NULL>: 0
Using default environment

In:    serial@4c0
Out:   serial@4c0
Err:   serial@4c0
Net:   No ethernet found.
=> setenv kernel_addr 11000000
=> setenv fdt_addr 1000000
=> setenv initrd_loadaddr 13000000
=> setenv bootfile Image
=> setenv fdtfile meson-gxbb-odroidc2.dtb
=> setenv initrdfile uInitrd  
=> setenv fsargs "setenv bootargs root=UUID=e139ce78-9841-40fe-8823-96a304a09859 rw no_console_suspend fsck.fix=yes"
=> fatload mmc 0:1 ${initrd_loadaddr} ${initrdfile} ;fatload mmc 0:1 ${kernel_addr} ${bootfile};fatload mmc 0:1 ${fdt_addr} ${fdtfile};run fsargs;
reading uInitrd
17702372 bytes read in 751 ms (22.5 MiB/s)
reading Image
10897920 bytes read in 463 ms (22.4 MiB/s)
reading meson-gxbb-odroidc2.dtb
14250 bytes read in 3 ms (4.5 MiB/s)
=> booti ${kernel_addr} ${initrd_loadaddr} ${fdt_addr}
## Loading init Ramdisk from Legacy Image at 13000000 ...
   Image Name:   uInitrd
   Image Type:   AArch64 Linux RAMDisk Image (uncompressed)
   Data Size:    17702308 Bytes = 16.9 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 01000000
   Booting using the fdt blob at 0x1000000
   Loading Ramdisk to 7ce8a000, end 7df6bda4 ... OK
   Loading Device Tree to 000000007ce83000, end 000000007ce897a9 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.9.0-rc4-next-20161111 (odroid@odroid64) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.2) ) #3 SMP PREEMPT Fri Nov 116
[    0.000000] Boot CPU: AArch64 Processor [410fd034]
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi: UEFI not found.
[    0.000000] cma: Reserved 16 MiB at 0x000000007f000000
[    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 20 pages/cpu @ffff80007ef8c000 s44824 r8192 d28904 u81920
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: enabling workaround for ARM erratum 845719
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 512064
[    0.000000] Kernel command line: root=UUID=e139ce78-9841-40fe-8823-96a304a09859 rw no_console_suspend fsck.fix=yes
[    0.000000] log_buf_len individual max cpu contribution: 4096 bytes
[    0.000000] log_buf_len total cpu_extra contributions: 12288 bytes
[    0.000000] log_buf_len min size: 16384 bytes
[    0.000000] log_buf_len: 32768 bytes
[    0.000000] early log buf free: 14772(90%)
[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
[    0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.000000] Memory: 1999784K/2080768K available (6972K kernel code, 530K rwdata, 2552K rodata, 512K init, 263K bss, 64600K 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 - 0xffff000008750000   (  6976 KB)
[    0.000000]     .rodata : 0xffff000008750000 - 0xffff0000089e0000   (  2624 KB)
[    0.000000]       .init : 0xffff0000089e0000 - 0xffff000008a60000   (   512 KB)
[    0.000000]       .data : 0xffff000008a60000 - 0xffff000008ae4a00   (   531 KB)
[    0.000000]        .bss : 0xffff000008ae4a00 - 0xffff000008b2682c   (   264 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 kthread priority: 60.
[    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]  Offload RCU callbacks from all CPUs
[    0.000000]  Offload RCU callbacks from CPUs: 0-3.
[    0.000000] arm_arch_timer: Architected cp15 timer(s) running at 24.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000003] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000159] Console: colour dummy device 80x25
[    0.000616] console [tty0] enabled
[    0.000634] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=24000)
[    0.000656] pid_max: default: 32768 minimum: 301
[    0.000704] Security Framework initialized
[    0.000736] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000749] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes)
[    0.004008] ASID allocator initialised with 65536 entries
[    0.011169] EFI services will not be available.
[    0.015056] smp: Bringing up secondary CPUs ...
[    0.024795] Detected VIPT I-cache on CPU1
[    0.024832] CPU1: Booted secondary processor [410fd034]
[    0.033819] Detected VIPT I-cache on CPU2
[    0.033839] CPU2: Booted secondary processor [410fd034]
[    0.042859] Detected VIPT I-cache on CPU3
[    0.042877] CPU3: Booted secondary processor [410fd034]
[    0.042914] smp: Brought up 1 node, 4 CPUs
[    0.042977] SMP: Total of 4 processors activated.
[    0.042989] CPU features: detected feature: 32-bit EL0 Support
[    0.043029] CPU: All CPU(s) started at EL2
[    0.043050] alternatives: patching kernel code
[    0.043807] devtmpfs: initialized
[    0.045959] DMI not present or invalid.
[    0.046117] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
[    0.046523] pinctrl core: initialized pinctrl subsystem
[    0.047183] NET: Registered protocol family 16
[    0.047913] cpuidle: using governor ladder
[    0.048141] vdso: 2 pages (1 code @ ffff000008757000, 1 data @ ffff000008a64000)
[    0.048165] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.048683] DMA: preallocated 256 KiB pool for atomic allocations
[    0.048738] Serial: AMBA PL011 UART driver
[    0.057109] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[    0.058873] SCSI subsystem initialized
[    0.059255] usbcore: registered new interface driver usbfs
[    0.059323] usbcore: registered new interface driver hub
[    0.059401] usbcore: registered new device driver usb
[    0.059681] pps_core: LinuxPPS API ver. 1 registered
[    0.059694] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.059740] PTP clock support registered
[    0.059940] dmi: Firmware registration failed.
[    0.060149] Advanced Linux Sound Architecture Driver Initialized.
[    0.060723] clocksource: Switched to clocksource arch_sys_counter
[    0.060824] VFS: Disk quotas dquot_6.6.0
[    0.060869] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.067016] NET: Registered protocol family 2
[    0.067371] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[    0.067474] TCP bind hash table entries: 16384 (order: 6, 262144 bytes)
[    0.067664] TCP: Hash tables configured (established 16384 bind 16384)
[    0.067755] UDP hash table entries: 1024 (order: 3, 32768 bytes)
[    0.067797] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes)
[    0.067919] NET: Registered protocol family 1
[    0.068148] RPC: Registered named UNIX socket transport module.
[    0.068160] RPC: Registered udp transport module.
[    0.068170] RPC: Registered tcp transport module.
[    0.068180] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.068338] Unpacking initramfs...
[    0.608655] Freeing initrd memory: 17284K
[    0.608938] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[    0.609093] kvm [1]: 8-bit VMID
[    0.609104] kvm [1]: IDMAP page: 1745000
[    0.609114] kvm [1]: HYP VA range: 800000000000:ffffffffffff
[    0.609494] kvm [1]: Hyp mode initialized successfully
[    0.609527] kvm [1]: vgic-v2@c4304000
[    0.609600] kvm [1]: vgic interrupt IRQ1
[    0.609617] kvm [1]: virtual timer IRQ4
[    0.610703] futex hash table entries: 1024 (order: 5, 131072 bytes)
[    0.610803] audit: initializing netlink subsys (disabled)
[    0.610855] audit: type=2000 audit(0.610:1): initialized
[    0.611219] workingset: timestamp_bits=46 max_order=19 bucket_order=0
[    0.617232] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.617780] NFS: Registering the id_resolver key type
[    0.617810] Key type id_resolver registered
[    0.617821] Key type id_legacy registered
[    0.617835] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.617968] 9p: Installing v9fs 9p2000 file system support
[    0.619586] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    0.619611] io scheduler noop registered
[    0.619621] io scheduler deadline registered (default)
[    0.619744] io scheduler cfq registered
[    0.622154] xenfs: not registering filesystem on non-xen platform
[    0.624338] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    0.625236] c81004c0.serial: ttyAML0 at MMIO 0xc81004c0 (irq = 11, base_baud = 1500000) is a meson_uart
[    1.368442] console [ttyAML0] enabled
[    1.376288] loop: module loaded
[    1.377106] libphy: Fixed MDIO Bus: probed
[    1.379854] tun: Universal TUN/TAP device driver, 1.6
[    1.384209] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    1.391331] VFIO - User Level meta-driver version: 0.3
[    1.396319] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.401905] ehci-platform: EHCI generic platform driver
[    1.407248] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.413203] ohci-platform: OHCI generic platform driver
[    1.418612] usbcore: registered new interface driver uas
[    1.423686] usbcore: registered new interface driver usb-storage
[    1.429623] usbcore: registered new interface driver usbtest
[    1.435446] mousedev: PS/2 mouse device common for all mice
[    1.441148] i2c /dev entries driver
[    1.446209] sdhci: Secure Digital Host Controller Interface driver
[    1.450282] sdhci: Copyright(c) Pierre Ossman
[    1.454626] Synopsys Designware Multimedia Card Interface Driver
[    1.460835] usbcore: registered new interface driver ushc
[    1.466305] meson-gx-mmc d0074000.mmc: allocated mmc-pwrseq
[    1.496919] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.497263] ledtrig-cpu: registered to indicate activity on CPUs
[    1.503007] meson-sm: secure-monitor enabled
[    1.507557] usbcore: registered new interface driver usbhid
[    1.512646] usbhid: USB HID core driver
[    1.516638] platform-mhu c883c404.mailbox: Platform MHU Mailbox registered
[    1.523468] usbcore: registered new interface driver snd-usb-audio
[    1.529413] usbcore: registered new interface driver snd-ua101
[    1.535188] usbcore: registered new interface driver snd-usb-caiaq
[    1.541308] usbcore: registered new interface driver snd-usb-6fire
[    1.547435] usbcore: registered new interface driver snd-usb-hiface
[    1.553635] usbcore: registered new interface driver snd-bcd2000
[    1.559585] usbcore: registered new interface driver snd_usb_pod
[    1.565535] usbcore: registered new interface driver snd_usb_podhd
[    1.571660] usbcore: registered new interface driver snd_usb_toneport
[    1.578042] usbcore: registered new interface driver snd_usb_variax
[    1.584706] NET: Registered protocol family 17
[    1.588686] 9pnet: Installing 9P2000 support
[    1.592893] Key type dns_resolver registered
[    1.597492] registered taskstats version 1
[    1.604380] c9000000.usb supply vusb_d not found, using dummy regulator
[    1.607730] c9000000.usb supply vusb_a not found, using dummy regulator
[    1.615373] phy phy-c0000000.phy.0: USB ID detect failed!
[    1.619593] phy phy-c0000000.phy.0: phy poweron failed --> -22
[    1.625441] dwc2: probe of c9000000.usb failed with error -22
[    1.631257] c9100000.usb supply vusb_d not found, using dummy regulator
[    1.637638] c9100000.usb supply vusb_a not found, using dummy regulator
[    1.748869] dwc2 c9100000.usb: DWC OTG Controller
[    1.748910] dwc2 c9100000.usb: new USB bus registered, assigned bus number 1
[    1.754948] dwc2 c9100000.usb: irq 20, io mem 0x00000000
[    1.760336] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.766917] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.774079] usb usb1: Product: DWC OTG Controller
[    1.778730] usb usb1: Manufacturer: Linux 4.9.0-rc4-next-20161111 dwc2_hsotg
[    1.785721] usb usb1: SerialNumber: c9100000.usb
[    1.790623] hub 1-0:1.0: USB hub found
[    1.794010] hub 1-0:1.0: 1 port detected
[    1.798454] meson-gx-mmc d0072000.mmc: Got CD GPIO
[    1.826972] hctosys: unable to open rtc device (rtc0)
[    1.827094] VCC1V8: disabling
[    1.829400] VCC3V3: disabling
[    1.832346] USB_OTG_PWR: disabling
[    1.835629] ALSA device list:
[    1.838598]   No soundcards found.
[    1.847724] Freeing unused kernel memory: 512K
Loading, please wait...
starting version 229
[    1.878583] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[    1.880583] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[    1.881913] random: udevadm: uninitialized urandom read (16 bytes read)
[    1.882010] random: udevadm: uninitialized urandom read (16 bytes read)
[    1.883280] random: udevadm: uninitialized urandom read (16 bytes read)
[    1.883480] random: udevadm: uninitialized urandom read (16 bytes read)
[    1.883662] random: udevadm: uninitialized urandom read (16 bytes read)
[    1.883702] random: udevadm: uninitialized urandom read (16 bytes read)
[    1.883881] random: udevadm: uninitialized urandom read (16 bytes read)
[    1.883944] random: udevadm: uninitialized urandom read (16 bytes read)
[    1.894992] mmc1: new MMC card at address 0001
[    1.896573] mmcblk1: mmc1:0001 AGND3R 14.6 GiB 
[    1.897750] mmcblk1boot0: mmc1:0001 AGND3R partition 1 4.00 MiB
[    1.898926] mmcblk1boot1: mmc1:0001 AGND3R partition 2 4.00 MiB
[    1.901084]  mmcblk1: p1 p2
[    2.123967] random: fast init done
[    2.182739] usb 1-1: new high-speed USB device number 2 using dwc2
[    2.370005] usb 1-1: New USB device found, idVendor=05e3, idProduct=0610
[    2.371081] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    2.378146] usb 1-1: Product: USB2.0 Hub
[    2.382596] hub 1-1:1.0: USB hub found
[    2.386019] hub 1-1:1.0: 4 ports detected
[    2.664738] usb 1-1.1: new high-speed USB device number 3 using dwc2
[    2.745545] usb 1-1.1: New USB device found, idVendor=1908, idProduct=0222
[    2.746796] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    2.754036] usb 1-1.1: Product: USB2.0 Device
[    2.758342] usb 1-1.1: Manufacturer: Generic
[    2.762567] usb 1-1.1: SerialNumber: 20101227120006
[    2.767890] usb-storage 1-1.1:1.0: USB Mass Storage device detected
[    2.773955] scsi host0: usb-storage 1-1.1:1.0
[    2.842740] usb 1-1.2: new full-speed USB device number 4 using dwc2
[    2.920619] usb 1-1.2: New USB device found, idVendor=0d8c, idProduct=000c
[    2.921867] usb 1-1.2: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    2.929105] usb 1-1.2: Product: C-Media USB Headphone Set  
[    2.943318] input: C-Media USB Headphone Set   as /devices/platform/soc/c9100000.usb/usb1/1-1/1-1.2/1-1.2:1.3/0003:0D8C:000C.0001/input/input0
[    3.002921] hid-generic 0003:0D8C:000C.0001: input: USB HID v1.00 Device [C-Media USB Headphone Set  ] on usb-c9100000.usb-1.2/input3
[    3.074736] usb 1-1.4: new full-speed USB device number 5 using dwc2
[    3.152613] usb 1-1.4: New USB device found, idVendor=08bb, idProduct=2902
[    3.153859] usb 1-1.4: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    3.161102] usb 1-1.4: Product: C-Media USB Headphone Set  
[    3.178455] input: C-Media USB Headphone Set   as /devices/platform/soc/c9100000.usb/usb1/1-1/1-1.4/1-1.4:1.3/0003:08BB:2902.0002/input/input1
[    3.223832] meson8b-dwmac c9410000.ethernet: no reset control found
[    3.224476] stmmac - user ID: 0x11, Synopsys ID: 0x37
[    3.229486]  Ring mode enabled
[    3.232497]  DMA HW capability register supported[    3.237067]  Normal descriptors
[    3.240145] hid-generic 0003:08BB:2902.0002: input: USB HID v1.00 Device [C-Media USB Headphone Set  ] on usb-c9100000.usb-1.4/input3
[    3.252012]  RX Checksum Offload Engine supported
[    3.256665]  COE Type 2
[    3.259065]  TX Checksum insertion supported
[    3.263288]  Wake-Up On Lan supported
[    3.266940]  Enable RX Mitigation via HW Watchdog Timer
[    3.279901] libphy: stmmac: probed
[    3.279937] eth0: PHY ID 001cc916 at 0 IRQ POLL (stmmac-0:00) active
[    3.283985] eth0: PHY ID 001cc916 at 7 IRQ POLL (stmmac-0:07)
[    3.751267] random: crng init done
[    3.809434] scsi 0:0:0:0: Direct-Access     Generic  Flash-Disk       1.05 PQ: 0 ANSI: 2
[    3.812356] sd 0:0:0:0: Attached scsi generic sg0 type 0
[    4.406540] sd 0:0:0:0: [sda] 31291392 512-byte logical blocks: (16.0 GB/14.9 GiB)
[    4.409154] sd 0:0:0:0: [sda] Write Protect is off
[    4.413903] sd 0:0:0:0: [sda] No Caching mode page found
[    4.418477] sd 0:0:0:0: [sda] Assuming drive cache: write through
[    4.428193]  sda: sda1
[    4.430917] sd 0:0:0:0: [sda] Attached SCSI removable disk
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: Will now check root file system ... fsck from util-linux 2.27.1
[/sbin/fsck.ext4 (1) -- /dev/mmcblk1p2] fsck.ext4 -a -C0 /dev/mmcblk1p2 
rootfs: clean, 321056/950272 files, 3159206/3783808 blocks
done.
[    5.121861] EXT4-fs (mmcblk1p2): mounted filesystem without journal. Opts: (null)
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
[    7.870667] systemd[1]: System time before build time, advancing clock.
[    8.440149] systemd[1]: systemd 229 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -L)
[    8.452715] systemd[1]: Detected architecture arm64.

Welcome to Ubuntu 16.04.1 LTS!

[    8.517437] systemd[1]: Set hostname to <odroid64>.
[   12.937630] systemd[1]: Listening on udev Kernel Socket.
[  OK  ] Listening on udev Kernel Socket.
[   12.949006] systemd[1]: Listening on Journal Audit Socket.
[  OK  ] Listening on Journal Audit Socket.
[   12.960781] systemd[1]: Reached target Swap.
[  OK  ] Reached target Swap.
[   12.969773] systemd[1]: Reached target Remote File Systems (Pre).
[  OK  ] Reached target Remote File Systems (Pre).
[   12.982875] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Started Forward Password Requests to Wall Directory Watch.
[   12.999898] systemd[1]: Listening on Journal Socket.
[  OK  ] Listening on Journal Socket.
[   13.011816] systemd[1]: Reached target Encrypted Volumes.
[  OK  ] Reached target Encrypted Volumes.
[  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
[  OK  ] Listening on udev Control Socket.
[  OK  ] Listening on fsck to fsckd communication Socket.
[  OK  ] Reached target Remote File Systems.
[  OK  ] Created slice System Slice.
         Starting Load Kernel Modules...
         Starting Set console keymap...
         Starting Create list of required st... nodes for the current kernel...
         Starting Nameserver information manager...
         Mounting Debug File System...
[  OK  ] Started Braille Device Support.
[  OK  ] Created slice system-serial\x2dgetty.slice.
         Mounting Huge Pages File System...
[  OK  ] Started Read required files in advance.
         Starting Uncomplicated firewall...
[  OK  ] Listening on Journal Socket (/dev/log).
[  OK  ] Reached target User and Group Name Lookups.
         Mounting POSIX Message Queue File System...
[  OK  ] Created slice User and Session Slice.
[  OK  ] Reached target Slices.
[  OK  ] Listening on Syslog Socket.
         Starting Journal Service...
         Starting Remount Root and Kernel File Systems...
[   13.517164] systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FAILURE
[   13.521546] systemd[1]: Failed to start Load Kernel Modules.
[FAILED] Failed to start Load Kernel Modules.
See 'systemctl status systemd-modules-load.service' for details.
[   13.543816] systemd[1]: systemd-modules-load.service: Unit entered failed state.
[   13.545689] systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'.
[   13.555288] systemd[1]: Starting Apply Kernel Variables...
         Starting Apply Kernel Variables...
[   13.572346] systemd[1]: Mounting Configuration File System...
         Mounting Configuration File System...
[   13.825300] systemd[1]: Started Create list of required static device nodes for the current kernel.
[  OK  ] Started Create list of required sta...ce nodes for the current kernel.
[   13.846699] systemd[1]: Starting Create Static Device Nodes in /dev...
         Starting Create Static Device Nodes in /dev...
[   14.279299] systemd[1]: Started Uncomplicated firewall.
[  OK  ] Started Uncomplicated firewall.
[   14.473658] systemd[1]: Mounted POSIX Message Queue File System.
[  OK  ] Mounted POSIX Message Queue File System.
[  OK  ] Mounted Configuration File System.
[  OK  ] Mounted Debug File System.
[  OK  ] Mounted Huge Pages File System.
[   14.509968] EXT4-fs (mmcblk1p2): re-mounted. Opts: errors=remount-ro
[  OK  ] Started Remount Root and Kernel File Systems.
         Starting udev Coldplug all Devices...
         Starting Load/Save Random Seed...
[  OK  ] Started Nameserver information manager.
[  OK  ] Started Apply Kernel Variables.
[  OK  ] Started Journal Service.
         Starting Flush Journal to Persistent Storage...
[  OK  ] Started Set console keymap.
[  OK  ] Started Load/Save Random Seed.
[  OK  ] Started udev Coldplug all Devices.
[  OK  ] Started Flush Journal to Persistent Storage.
[  OK  ] Started Create Static Device Nodes in /dev.
[  OK  ] Reached target Local File Systems (Pre).
         Starting udev Kernel Device Manager...
[  OK  ] Started udev Kernel Device Manager.
         Starting LSB: QEMU KVM module loading script...
[  OK  ] Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Found device /dev/ttyAML0.
[  OK  ] Started LSB: QEMU KVM module loading script.
[  OK  ] Reached target Sound Card.
[  OK  ] Found device /dev/disk/by-label/boot.
         Mounting /media/boot...
[  OK  ] Mounted /media/boot.
[  OK  ] Reached target Local File Systems.
         Starting Tell Plymouth To Write Out Runtime Data...
         Starting Create Volatile Files and Directories...
         Starting LSB: AppArmor initialization...
         Starting Enable support for additional executable binary formats...
         Starting Set console font and keymap...
[  OK  ] Started Tell Plymouth To Write Out Runtime Data.
[  OK  ] Started Enable support for additional executable binary formats.
[  OK  ] Started Create Volatile Files and Directories.
[  OK  ] Started LSB: AppArmor initialization.
         Starting Raise network interfaces...
[  OK  ] Reached target System Time Synchronized.
         Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[  OK  ] Reached target System Initialization.
[  OK  ] Started Timer to automatically refresh installed snaps.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Started Daily apt activities.
[  OK  ] Reached target Timers.
[  OK  ] Started CUPS Scheduler.
         Starting Socket activation for snappy daemon.
[  OK  ] Listening on CUPS Scheduler.
[  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[  OK  ] Started Trigger resolvconf update for networkd DNS.
[  OK  ] Reached target Paths.
[  OK  ] Started Set console font and keymap.
[  OK  ] Listening on Socket activation for snappy daemon.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
[  OK  ] Started D-Bus System Message Bus.
         Starting System Logging Service...
[  OK  ] Started crash report submission daemon.
         Starting Accounts Service...
         Starting Save/Restore Sound Card State...
         Starting Permit User Sessions...
         Starting Initialize hardware monitoring sensors...
         Starting Run Click system-level hooks...
         Starting Initializes zram swaping...
         Starting LSB: Set the CPU Frequency Scaling governor to "ondemand"...
         Starting Modem Manager...
         Starting Avahi mDNS/DNS-SD Stack...
         Starting Login Service...
[  OK  ] Started Self Monitoring and Reporting Technology (SMART) Daemon.
         Starting Restore /etc/resolv.conf i...re the ppp link was shut down...
         Starting LSB: Load kernel modules needed to enable cpufreq scaling...
[  OK  ] Started Snappy daemon.
[  OK  ] Started Cgroup management daemon.
         Starting Network Manager...
         Starting LSB: automatic crash report generation...
[  OK  ] Started Avahi DNS Configuration Daemon.
[  OK  ] Started Run anacron jobs.
         Starting LSB: Speech Dispatcher...
[  OK  ] Started Deferred execution scheduler.
[  OK  ] Started Regular background program processing daemon.
[  OK  ] Started CUPS Scheduler.
         Starting Auto import assertions from block devices...
[  OK  ] Created slice system-getty.slice.
[  OK  ] Started Permit User Sessions.
[FAILED] Failed to start Initializes zram swaping.
See 'systemctl status zram-config.service' for details.
[  OK  ] Started LSB: Speech Dispatcher.
[  OK  ] Started Auto import assertions from block devices.
[  OK  ] Started Save/Restore Sound Card State.
[  OK  ] Started Restore /etc/resolv.conf if...fore the ppp link was shut down.
[  OK  ] Started Raise network interfaces.
         Starting Light Display Manager...
[  OK  ] Started LSB: automatic crash report generation.
[  OK  ] Started LSB: Set the CPU Frequency Scaling governor to "ondemand".
[  OK  ] Started Login Service.
[  OK  ] Started Initialize hardware monitoring sensors.
[  OK  ] Started Avahi mDNS/DNS-SD Stack.
[  OK  ] Started Make remote CUPS printers available locally.
[  OK  ] Started System Logging Service.
[  OK  ] Started LSB: Load kernel modules needed to enable cpufreq scaling.
         Starting LSB: set CPUFreq kernel parameters...
[  OK  ] Started LSB: set CPUFreq kernel parameters.
         Starting Authenticate and Authorize Users to Run Privileged Tasks...
[  OK  ] Started Light Display Manager.
[  OK  ] Started Authenticate and Authorize Users to Run Privileged Tasks.
[  OK  ] Started Accounts Service.
[  OK  ] Started Network Manager.
[  OK  ] Reached target Network.
         Starting OpenBSD Secure Shell server...
         Starting MySQL Community Server...
         Starting Network Manager Wait Online...
         Starting Network Manager Script Dispatcher Service...
[  OK  ] Started Network Manager Script Dispatcher Service.
         Starting Hostname Service...
[  OK  ] Started Hostname Service.
[  OK  ] Started OpenBSD Secure Shell server.
[  OK  ] Started Modem Manager.
[  OK  ] Started Network Manager Wait Online.
[  OK  ] Reached target Network is Online.
         Starting LSB: Start NTP daemon...
         Starting /etc/rc.local Compatibility...
         Starting LSB: disk temperature monitoring daemon...
[  OK  ] Started /etc/rc.local Compatibility.
         Starting Hold until boot process finishes up...
[  OK  ] Started Hold until boot process finishes up.
         Starting Set console scheme...
[  OK  ] Started Serial Getty on ttyAML0.
[  OK  ] Started Getty on tty1.
[  OK  ] Reached target Login Prompts.
[  OK  ] Started LSB: disk temperature monitoring daemon.
[  OK  ] Started Set console scheme.
[  OK  ] Started LSB: Start NTP daemon.
[  OK  ] Stopped Light Display Manager.
         Starting Light Display Manager...
[  OK  ] Started Light Display Manager.
[  OK  ] Stopped Light Display Manager.
         Starting Light Display Manager...
[  OK  ] Started Light Display Manager.
[  OK  ] Stopped Light Display Manager.
         Starting Light Display Manager...
[  OK  ] Started Light Display Manager.
[  OK  ] Stopped Light Display Manager.
         Starting Light Display Manager...
[  OK  ] Started Light Display Manager.
[  OK  ] Stopped Light Display Manager.
         Starting Light Display Manager...
[  OK  ] Started Light Display Manager.
[  OK  ] Stopped Light Display Manager.
[FAILED] Failed to start Light Display Manager.
See 'systemctl status lightdm.service' for details.

Ubuntu 16.04.1 LTS odroid64 ttyAML0

odroid64 login: 

moon.linux
Posts: 1186
Joined: Thu Oct 02, 2014 11:42 pm
languages_spoken: english
ODROIDs: U3, XU3. XU4, C1+...
Has thanked: 0
Been thanked: 13 times
Contact:

Re: Odroid C2 mainline kernel support

Post by moon.linux » Tue Nov 15, 2016 6:24 pm

@Brad I am using the official u-boot from HK. And I have tried your config file. But still I am not able to get all the port registered.

Code: Select all

U-Boot 2015.01-gbafc655 (Oct 17 2016 - 16:33:54)

DRAM:  2 GiB
Relocation Offset is: 76f3d000
-------------------------------------------------
* Welcome to Hardkernel's ODROID-C2
-------------------------------------------------
CPU : AMLogic S905
S/N : HKC213254DFCEAFA
MAC : 00:1e:06:33:37:7a
BID : HKC2211604
I have switch back to 4.9.0-rc5 mainline and I am using the updated from kevin's git repository

Looks like the vbus-phy power or some reset is required for poweron usb devices.
I see similar message above logs

Code: Select all

[    1.200259] c9000000.usb supply vusb_d not found, using dummy regulator
[    1.202513] c9000000.usb supply vusb_a not found, using dummy regulator
[    1.211311] phy phy-c0000000.phy.0: USB ID detect failed!
[    1.214382] phy phy-c0000000.phy.0: phy poweron failed --> -22
[    1.220229] dwc2: probe of c9000000.usb failed with error -22
[    1.226375] c9100000.usb supply vusb_d not found, using dummy regulator
[    1.232762] c9100000.usb supply vusb_a not found, using dummy regulator
[    1.356483] dwc2 c9100000.usb: DWC OTG Controller
[    1.356517] dwc2 c9100000.usb: new USB bus registered, assigned bus number 1
[    1.362559] dwc2 c9100000.usb: irq 20, io mem 0x00000000
[    1.368297] hub 1-0:1.0: USB hub found
[    1.371522] hub 1-0:1.0: 1 port detected
[    1.376268] meson-gx-mmc d0072000.mmc: Got CD GPIO
[    1.420672] hctosys: unable to open rtc device (rtc0)

nobe
Posts: 129
Joined: Sun Feb 07, 2016 9:52 pm
languages_spoken: english, french
ODROIDs: Odroid-C2
Has thanked: 0
Been thanked: 0
Contact:

Re: Odroid C2 mainline kernel support

Post by nobe » Tue Nov 15, 2016 8:28 pm

@brad
regarding the strange ethernet led behaviour, you might want to try this patch :
https://github.com/LibreELEC/linux-amlo ... 0d422135f9

brad
Posts: 1117
Joined: Tue Mar 29, 2016 1:22 pm
languages_spoken: english
ODROIDs: C2 N1 N2 H2 (64 bit ftw)
Location: Australia
Has thanked: 46 times
Been thanked: 93 times
Contact:

Re: Odroid C2 mainline kernel support

Post by brad » Wed Nov 16, 2016 9:52 am

moon.linux wrote:I have switch back to 4.9.0-rc5 mainline and I am using the updated from kevin's git repository
I believe Kevins git is bases on 4.9-rc1 and may not include all changes that are in linux-next. (Some changes have just been made on Kevin's git is the past few hours btw)

Torvalds linux-next includes most of the changes in Kevins git...

https://git.kernel.org/cgit/linux/kerne ... t-20161115
nobe wrote:@brad
regarding the strange ethernet led behaviour, you might want to try this patch :
https://github.com/LibreELEC/linux-amlo ... 0d422135f9
Will look into this. thanks

nobe
Posts: 129
Joined: Sun Feb 07, 2016 9:52 pm
languages_spoken: english, french
ODROIDs: Odroid-C2
Has thanked: 0
Been thanked: 0
Contact:

Re: Odroid C2 mainline kernel support

Post by nobe » Thu Nov 17, 2016 12:30 am

i just read something interesting from tkaiser on cnx-software which could help fixing the TX giga bug on the C2 without disabling EEE advertisement
http://www.cnx-software.com/2016/11/16/ ... ent-535750
tkaiser even provides a shell script which automates those values testing (it requires some basic adjusments to work on C2)
https://github.com/OrangePiLibra/Orange ... t-19845562

unfortunately, i can't test this by myself because i never managed to compile a mainline kernel which booted sucessfully from my sd card :(

edit:
in fact the shell script might require much more than a basic adjustment since the tx delay value is a fixed one in realtec.c phy driver instead of a device tree parameter...

linuxest
Posts: 43
Joined: Tue Nov 08, 2016 6:35 pm
languages_spoken: english
ODROIDs: 1 x HC1 and 2 x C2s with HiFi-Shield 2
And some RPi3 boards
Has thanked: 0
Been thanked: 0
Contact:

Re: Odroid C2 mainline kernel support

Post by linuxest » Thu Nov 17, 2016 9:22 am

nobe wrote:i just read something interesting from tkaiser on cnx-software which could help fixing the TX giga bug on the C2 without disabling EEE advertisement
http://www.cnx-software.com/2016/11/16/ ... ent-535750
tkaiser even provides a shell script which automates those values testing (it requires some basic adjusments to work on C2)
https://github.com/OrangePiLibra/Orange ... t-19845562

unfortunately, i can't test this by myself because i never managed to compile a mainline kernel which booted sucessfully from my sd card :(

edit:
in fact the shell script might require much more than a basic adjustment since the tx delay value is a fixed one in realtec.c phy driver instead of a device tree parameter...
Our C2 Gbit Ethernet was almost perfect at 930Mbps-TX and 935Mbps-RX. Don't compare C2 with those crappy boards. ;)

moon.linux
Posts: 1186
Joined: Thu Oct 02, 2014 11:42 pm
languages_spoken: english
ODROIDs: U3, XU3. XU4, C1+...
Has thanked: 0
Been thanked: 13 times
Contact:

Re: Odroid C2 mainline kernel support

Post by moon.linux » Thu Nov 17, 2016 12:22 pm

@nobes
i just read something interesting from tkaiser on cnx-software which could help fixing the TX giga bug on the C2 without disabling EEE advertisement
The issue I observed is after some some heavy transfer of packets the Ethernet link just drops down.
So I feel the Ethernet driver is not configured properly.

nobe
Posts: 129
Joined: Sun Feb 07, 2016 9:52 pm
languages_spoken: english, french
ODROIDs: Odroid-C2
Has thanked: 0
Been thanked: 0
Contact:

Re: Odroid C2 mainline kernel support

Post by nobe » Thu Nov 17, 2016 7:56 pm

@linuxest
1°/ i already know that the network works very well with the 3.14-based kernel provided by amlogic/hardkernel...
but this topic is all about mainline kernel as the title suggests :p
2°/ you didn't understand my post since i didn't compare the C2 with another board
i just wanted to refer to a similar software bug that was fixed by the armbian community and i still think the strategy might be useful to us
3°/ ;)

@moon.linux
i agree with you
in fact, i forgot to post this link (source: tkaiser from armbian forums)
http://linux-sunxi.org/Ethernet#GMAC
If a necessary GMAC TX delay isn't set, then GBit Ethernet operation might be unreliable or won't work at all. 10/100 Mbit/sec negotiation is unaffected
doesn't it sound familiar ?

moon.linux
Posts: 1186
Joined: Thu Oct 02, 2014 11:42 pm
languages_spoken: english
ODROIDs: U3, XU3. XU4, C1+...
Has thanked: 0
Been thanked: 13 times
Contact:

Re: Odroid C2 mainline kernel support

Post by moon.linux » Fri Nov 18, 2016 3:15 am

In order to resolve the Ethernet throughput issue, I create a small patch.
Once confirm I will send this as a fix.

Code: Select all

Linux odroid64 4.9.0-rc5-xc2ml #18 SMP PREEMPT Thu Nov 17 22:56:00 IST 2016 aarch64 aarch64 aarch64 GNU/Linux
Time: Thu, 17 Nov 2016 17:33:32 GMT
Connecting to host 10.0.0.102, port 2006
      Cookie: odroid64.1479404012.428846.71b9887f6
      TCP MSS: 1448 (default)
[  4] local 10.0.0.105 port 40234 connected to 10.0.0.102 port 2006
Starting Test: protocol: TCP, 1 streams, 131072 byte blocks, omitting 0 seconds, 100 second test
[ ID] Interval           Transfer     Bandwidth       Retr  Cwnd
[  4]   0.00-1.00   sec   113 MBytes   948 Mbits/sec    0    372 KBytes
[  4]   1.00-2.00   sec   112 MBytes   941 Mbits/sec    0    372 KBytes
[  4]   2.00-3.00   sec  65.0 MBytes   545 Mbits/sec    1    390 KBytes
[  4]   3.00-4.00   sec  33.6 MBytes   282 Mbits/sec    2    390 KBytes
[  4]   4.00-5.00   sec   112 MBytes   940 Mbits/sec    0    390 KBytes
[  4]   5.00-6.00   sec   111 MBytes   934 Mbits/sec    0    390 KBytes
[  4]   6.00-7.00   sec   112 MBytes   940 Mbits/sec    0    390 KBytes
[  4]   7.00-8.00   sec   111 MBytes   934 Mbits/sec    0    390 KBytes
[  4]   8.00-9.00   sec   112 MBytes   936 Mbits/sec    0    390 KBytes
[  4]   9.00-10.00  sec   112 MBytes   938 Mbits/sec    0    390 KBytes
[  4]  10.00-11.00  sec   111 MBytes   933 Mbits/sec    0    390 KBytes
[  4]  11.00-12.00  sec   112 MBytes   936 Mbits/sec    0    390 KBytes
[  4]  12.00-13.00  sec   112 MBytes   937 Mbits/sec    0    390 KBytes
[  4]  13.00-14.00  sec   112 MBytes   937 Mbits/sec    0    390 KBytes
[  4]  14.00-15.00  sec   112 MBytes   937 Mbits/sec    0    390 KBytes
[  4]  15.00-16.00  sec   111 MBytes   931 Mbits/sec    0    390 KBytes
[  4]  16.00-17.00  sec   111 MBytes   935 Mbits/sec    0    390 KBytes
[  4]  17.00-18.00  sec   112 MBytes   937 Mbits/sec    0    390 KBytes
[  4]  18.00-19.00  sec   112 MBytes   937 Mbits/sec    0    390 KBytes
[  4]  19.00-20.00  sec   111 MBytes   934 Mbits/sec    0    390 KBytes
[  4]  20.00-21.00  sec   108 MBytes   905 Mbits/sec    0    390 KBytes
[  4]  21.00-22.00  sec  0.00 Bytes  0.00 bits/sec    2   1.41 KBytes
[  4]  22.00-23.00  sec  83.3 MBytes   699 Mbits/sec    0    407 KBytes
[  4]  23.00-24.00  sec   112 MBytes   939 Mbits/sec    0    407 KBytes
[  4]  24.00-25.00  sec   111 MBytes   934 Mbits/sec    0    407 KBytes
[  4]  25.00-26.00  sec   112 MBytes   938 Mbits/sec    0    407 KBytes
[  4]  26.00-27.00  sec   112 MBytes   941 Mbits/sec    0    407 KBytes
[  4]  27.00-28.00  sec   112 MBytes   936 Mbits/sec    0    407 KBytes
[  4]  28.00-29.00  sec   111 MBytes   934 Mbits/sec    0    407 KBytes
[  4]  29.00-30.00  sec   111 MBytes   934 Mbits/sec    0    407 KBytes
[  4]  30.00-31.00  sec   113 MBytes   948 Mbits/sec    0    658 KBytes
[  4]  31.00-32.00  sec   111 MBytes   933 Mbits/sec    0    658 KBytes
[  4]  32.00-33.00  sec   111 MBytes   933 Mbits/sec    0    658 KBytes
[  4]  33.00-34.00  sec   111 MBytes   933 Mbits/sec    0    658 KBytes
[  4]  34.00-35.00  sec   111 MBytes   933 Mbits/sec    0    658 KBytes
[  4]  35.00-36.00  sec   112 MBytes   944 Mbits/sec    0    658 KBytes
[  4]  36.00-37.00  sec   111 MBytes   933 Mbits/sec    0    658 KBytes
[  4]  37.00-38.00  sec   111 MBytes   933 Mbits/sec    0    658 KBytes
[  4]  38.00-39.00  sec   111 MBytes   933 Mbits/sec    0    658 KBytes
[  4]  39.00-40.00  sec   111 MBytes   933 Mbits/sec    0    658 KBytes
[  4]  40.00-41.00  sec   112 MBytes   944 Mbits/sec    0    658 KBytes
[  4]  41.00-42.00  sec   111 MBytes   933 Mbits/sec    0    658 KBytes
[  4]  42.00-43.00  sec   111 MBytes   933 Mbits/sec    0    658 KBytes
[  4]  43.00-44.00  sec   111 MBytes   933 Mbits/sec    0    658 KBytes
[  4]  44.00-45.00  sec   112 MBytes   943 Mbits/sec    0    658 KBytes
[  4]  45.00-46.00  sec   111 MBytes   934 Mbits/sec    0    658 KBytes
[  4]  46.00-47.00  sec   111 MBytes   933 Mbits/sec    0    658 KBytes
[  4]  47.00-48.00  sec   111 MBytes   933 Mbits/sec    0    658 KBytes
[  4]  48.00-49.00  sec   111 MBytes   933 Mbits/sec    0    658 KBytes
[  4]  49.00-50.00  sec   112 MBytes   943 Mbits/sec    0    658 KBytes
[  4]  50.00-51.00  sec   108 MBytes   902 Mbits/sec    0    658 KBytes
[  4]  51.00-52.00  sec  16.2 MBytes   136 Mbits/sec    2    690 KBytes
[  4]  52.00-53.00  sec   111 MBytes   933 Mbits/sec    0    690 KBytes
[  4]  53.00-54.00  sec   111 MBytes   933 Mbits/sec    0    690 KBytes
[  4]  54.00-55.00  sec   112 MBytes   943 Mbits/sec    0    690 KBytes
[  4]  55.00-56.00  sec   111 MBytes   934 Mbits/sec    0    690 KBytes
[  4]  56.00-57.00  sec   111 MBytes   933 Mbits/sec    0    690 KBytes
[  4]  57.00-58.00  sec   111 MBytes   933 Mbits/sec    0    690 KBytes
[  4]  58.00-59.00  sec   111 MBytes   933 Mbits/sec    0    690 KBytes
[  4]  59.00-60.00  sec   112 MBytes   943 Mbits/sec    0    690 KBytes
[  4]  60.00-61.00  sec   111 MBytes   934 Mbits/sec    0    690 KBytes
[  4]  61.00-62.00  sec   111 MBytes   933 Mbits/sec    0    690 KBytes
[  4]  62.00-63.00  sec   111 MBytes   933 Mbits/sec    0    690 KBytes
[  4]  63.00-64.00  sec   111 MBytes   933 Mbits/sec    0    690 KBytes
[  4]  64.00-65.00  sec   111 MBytes   933 Mbits/sec    0    690 KBytes
[  4]  65.00-66.00  sec   111 MBytes   933 Mbits/sec    0    690 KBytes
[  4]  66.00-67.00  sec   112 MBytes   944 Mbits/sec    0    690 KBytes
[  4]  67.00-68.00  sec   111 MBytes   933 Mbits/sec    0    690 KBytes
[  4]  68.00-69.00  sec   111 MBytes   933 Mbits/sec    0    690 KBytes
[  4]  69.00-70.00  sec   111 MBytes   933 Mbits/sec    0    690 KBytes
[  4]  70.00-71.00  sec   111 MBytes   933 Mbits/sec    0    690 KBytes
[  4]  71.00-72.00  sec   112 MBytes   944 Mbits/sec    0    690 KBytes
[  4]  72.00-73.00  sec   111 MBytes   933 Mbits/sec    0    690 KBytes
[  4]  73.00-74.00  sec   111 MBytes   933 Mbits/sec    0    690 KBytes
[  4]  74.00-75.00  sec   111 MBytes   933 Mbits/sec    0    690 KBytes
[  4]  75.00-76.00  sec   111 MBytes   933 Mbits/sec    0    690 KBytes
[  4]  76.00-77.00  sec   112 MBytes   944 Mbits/sec    0    690 KBytes
[  4]  77.00-78.00  sec   111 MBytes   933 Mbits/sec    0    690 KBytes
[  4]  78.00-79.00  sec   111 MBytes   933 Mbits/sec    0    690 KBytes
[  4]  79.00-80.00  sec   111 MBytes   933 Mbits/sec    0    690 KBytes
[  4]  80.00-81.00  sec   111 MBytes   933 Mbits/sec    0    690 KBytes
[  4]  81.00-82.00  sec   111 MBytes   933 Mbits/sec    0    690 KBytes
[  4]  82.00-83.00  sec   112 MBytes   944 Mbits/sec    0    690 KBytes
[  4]  83.00-84.00  sec   111 MBytes   933 Mbits/sec    0    690 KBytes
[  4]  84.00-85.00  sec   111 MBytes   933 Mbits/sec    0    690 KBytes
[  4]  85.00-86.00  sec   111 MBytes   933 Mbits/sec    0    690 KBytes
[  4]  86.00-87.00  sec   111 MBytes   933 Mbits/sec    0    690 KBytes
[  4]  87.00-88.00  sec   112 MBytes   944 Mbits/sec    0    690 KBytes
[  4]  88.00-89.00  sec   111 MBytes   933 Mbits/sec    0    690 KBytes
[  4]  89.00-90.00  sec   111 MBytes   933 Mbits/sec    0    690 KBytes
[  4]  90.00-91.00  sec   111 MBytes   933 Mbits/sec    0    690 KBytes
[  4]  91.00-92.00  sec   111 MBytes   933 Mbits/sec    0    690 KBytes
[  4]  92.00-93.00  sec   112 MBytes   944 Mbits/sec    0    690 KBytes
[  4]  93.00-94.00  sec   111 MBytes   933 Mbits/sec    0    690 KBytes
[  4]  94.00-95.00  sec   111 MBytes   933 Mbits/sec    0    690 KBytes
[  4]  95.00-96.00  sec   111 MBytes   933 Mbits/sec    0    690 KBytes
[  4]  96.00-97.00  sec   111 MBytes   933 Mbits/sec    0    690 KBytes
[  4]  97.00-98.00  sec   111 MBytes   933 Mbits/sec    0    690 KBytes
[  4]  98.00-99.00  sec   112 MBytes   944 Mbits/sec    0    690 KBytes
[  4]  99.00-100.00 sec   111 MBytes   933 Mbits/sec    0    690 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
Test Complete. Summary Results:
[ ID] Interval           Transfer     Bandwidth       Retr
[  4]   0.00-100.00 sec  10.5 GBytes   905 Mbits/sec    7             sender
[  4]   0.00-100.00 sec  10.5 GBytes   905 Mbits/sec                  receiver
CPU Utilization: local/sender 5.6% (0.2%u/5.5%s), remote/receiver 18.8% (1.2%u/17.6%s)

iperf Done.
odroid@odroid64:~$ iperf3 -c 10.0.0.102 -p 2006 -i 1 -t 100 -V
iperf 3.0.11
Linux odroid64 4.9.0-rc5-xc2ml #18 SMP PREEMPT Thu Nov 17 22:56:00 IST 2016 aarch64 aarch64 aarch64 GNU/Linux
Time: Thu, 17 Nov 2016 17:35:25 GMT
Connecting to host 10.0.0.102, port 2006
      Cookie: odroid64.1479404125.404729.3b45146e7
      TCP MSS: 1448 (default)
[  4] local 10.0.0.105 port 40238 connected to 10.0.0.102 port 2006
Starting Test: protocol: TCP, 1 streams, 131072 byte blocks, omitting 0 seconds, 100 second test
[ ID] Interval           Transfer     Bandwidth       Retr  Cwnd
[  4]   0.00-1.00   sec   114 MBytes   952 Mbits/sec    0    368 KBytes
[  4]   1.00-2.00   sec   112 MBytes   937 Mbits/sec    0    368 KBytes
[  4]   2.00-3.00   sec   111 MBytes   935 Mbits/sec    0    368 KBytes
[  4]   3.00-4.00   sec   112 MBytes   936 Mbits/sec    0    368 KBytes
[  4]   4.00-5.00   sec   112 MBytes   939 Mbits/sec    0    368 KBytes
[  4]   5.00-6.00   sec   112 MBytes   936 Mbits/sec    0    368 KBytes
[  4]   6.00-7.00   sec   111 MBytes   933 Mbits/sec    0    368 KBytes
[  4]   7.00-8.00   sec   112 MBytes   942 Mbits/sec    0    368 KBytes
[  4]   8.00-9.00   sec   111 MBytes   935 Mbits/sec    0    368 KBytes
[  4]   9.00-10.00  sec   111 MBytes   932 Mbits/sec    0    368 KBytes
[  4]  10.00-11.00  sec   112 MBytes   937 Mbits/sec    0    368 KBytes
[  4]  11.00-12.00  sec   111 MBytes   935 Mbits/sec    0    368 KBytes
[  4]  12.00-13.00  sec   112 MBytes   938 Mbits/sec    0    368 KBytes
[  4]  13.00-14.00  sec   112 MBytes   940 Mbits/sec    0    368 KBytes
[  4]  14.00-15.00  sec   111 MBytes   934 Mbits/sec    0    368 KBytes
[  4]  15.00-16.00  sec   111 MBytes   935 Mbits/sec    0    368 KBytes
[  4]  16.00-17.00  sec   112 MBytes   939 Mbits/sec    0    368 KBytes
[  4]  17.00-18.00  sec   112 MBytes   936 Mbits/sec    0    368 KBytes
[  4]  18.00-19.00  sec   111 MBytes   934 Mbits/sec    0    368 KBytes
[  4]  19.00-20.00  sec   112 MBytes   940 Mbits/sec    0    368 KBytes
[  4]  20.00-21.00  sec   111 MBytes   933 Mbits/sec    0    368 KBytes
[  4]  21.00-22.00  sec   112 MBytes   941 Mbits/sec    0    368 KBytes
[  4]  22.00-23.00  sec   111 MBytes   931 Mbits/sec    0    368 KBytes
[  4]  23.00-24.00  sec   112 MBytes   938 Mbits/sec    0    368 KBytes
[  4]  24.00-25.00  sec   112 MBytes   938 Mbits/sec    0    368 KBytes
[  4]  25.00-26.00  sec   111 MBytes   934 Mbits/sec    0    368 KBytes
[  4]  26.00-27.00  sec   112 MBytes   940 Mbits/sec    0    368 KBytes
[  4]  27.00-28.00  sec   112 MBytes   936 Mbits/sec    0    368 KBytes
[  4]  28.00-29.00  sec   111 MBytes   934 Mbits/sec    0    368 KBytes
[  4]  29.00-30.00  sec   112 MBytes   937 Mbits/sec    0    368 KBytes
[  4]  30.00-31.00  sec   111 MBytes   934 Mbits/sec    0    368 KBytes
[  4]  31.00-32.00  sec   112 MBytes   942 Mbits/sec    0    368 KBytes
[  4]  32.00-33.00  sec   111 MBytes   933 Mbits/sec    0    368 KBytes
[  4]  33.00-34.00  sec   111 MBytes   935 Mbits/sec    0    368 KBytes
[  4]  34.00-35.00  sec   112 MBytes   941 Mbits/sec    0    368 KBytes
[  4]  35.00-36.00  sec   107 MBytes   896 Mbits/sec    0    368 KBytes
[  4]  36.00-37.00  sec  0.00 Bytes  0.00 bits/sec    2   1.41 KBytes
[  4]  37.00-38.00  sec  0.00 Bytes  0.00 bits/sec    1   1.41 KBytes
[  4]  38.00-39.00  sec  0.00 Bytes  0.00 bits/sec    0   1.41 KBytes
[  4]  39.00-40.00  sec  38.0 MBytes   319 Mbits/sec    1    385 KBytes
[  4]  40.00-41.00  sec   112 MBytes   939 Mbits/sec    0    385 KBytes
[  4]  41.00-42.00  sec   112 MBytes   939 Mbits/sec    0    385 KBytes
[  4]  42.00-43.00  sec   112 MBytes   937 Mbits/sec    0    385 KBytes
[  4]  43.00-44.00  sec   111 MBytes   935 Mbits/sec    0    385 KBytes
[  4]  44.00-45.00  sec   112 MBytes   939 Mbits/sec    0    385 KBytes
[  4]  45.00-46.00  sec   112 MBytes   939 Mbits/sec    0    385 KBytes
[  4]  46.00-47.00  sec   111 MBytes   931 Mbits/sec    0    385 KBytes
[  4]  47.00-48.00  sec   112 MBytes   936 Mbits/sec    0    385 KBytes
[  4]  48.00-49.00  sec   112 MBytes   939 Mbits/sec    0    385 KBytes
[  4]  49.00-50.00  sec   112 MBytes   936 Mbits/sec    0    385 KBytes
[  4]  50.00-51.00  sec   111 MBytes   935 Mbits/sec    0    385 KBytes
[  4]  51.00-52.00  sec   111 MBytes   934 Mbits/sec    0    385 KBytes
[  4]  52.00-53.00  sec   112 MBytes   941 Mbits/sec    0    385 KBytes
[  4]  53.00-54.00  sec   112 MBytes   937 Mbits/sec    0    385 KBytes
[  4]  54.00-55.00  sec   111 MBytes   930 Mbits/sec    0    385 KBytes
[  4]  55.00-56.00  sec   112 MBytes   941 Mbits/sec    0    385 KBytes
[  4]  56.00-57.00  sec   112 MBytes   936 Mbits/sec    0    385 KBytes
[  4]  57.00-58.00  sec   111 MBytes   933 Mbits/sec    0    385 KBytes
[  4]  58.00-59.00  sec   111 MBytes   935 Mbits/sec    0    385 KBytes
[  4]  59.00-60.00  sec   112 MBytes   940 Mbits/sec    0    385 KBytes
[  4]  60.00-61.00  sec   112 MBytes   936 Mbits/sec    0    385 KBytes
[  4]  61.00-62.00  sec   111 MBytes   935 Mbits/sec    0    385 KBytes
[  4]  62.00-63.00  sec   111 MBytes   935 Mbits/sec    0    385 KBytes
[  4]  63.00-64.00  sec   112 MBytes   938 Mbits/sec    0    385 KBytes
[  4]  64.00-65.00  sec   111 MBytes   932 Mbits/sec    0    385 KBytes
[  4]  65.00-66.00  sec   112 MBytes   940 Mbits/sec    0    385 KBytes
[  4]  66.00-67.00  sec   112 MBytes   938 Mbits/sec    0    385 KBytes
[  4]  67.00-68.00  sec   111 MBytes   934 Mbits/sec    0    385 KBytes
[  4]  68.00-69.00  sec   111 MBytes   933 Mbits/sec    0    385 KBytes
[  4]  69.00-70.00  sec   112 MBytes   937 Mbits/sec    0    385 KBytes
[  4]  70.00-71.00  sec   111 MBytes   935 Mbits/sec    0    385 KBytes
[  4]  71.00-72.00  sec   112 MBytes   941 Mbits/sec    0    385 KBytes
[  4]  72.00-73.00  sec   111 MBytes   933 Mbits/sec    0    385 KBytes
[  4]  73.00-74.00  sec   112 MBytes   939 Mbits/sec    0    385 KBytes
[  4]  74.00-75.00  sec   111 MBytes   934 Mbits/sec    0    385 KBytes
[  4]  75.00-76.00  sec   111 MBytes   934 Mbits/sec    0    385 KBytes
[  4]  76.00-77.00  sec   112 MBytes   937 Mbits/sec    0    385 KBytes
[  4]  77.00-78.00  sec   112 MBytes   938 Mbits/sec    0    385 KBytes
[  4]  78.00-79.00  sec   111 MBytes   935 Mbits/sec    0    385 KBytes
[  4]  79.00-80.00  sec   111 MBytes   934 Mbits/sec    0    385 KBytes
[  4]  80.00-81.00  sec   112 MBytes   939 Mbits/sec    0    385 KBytes
[  4]  81.00-82.00  sec   112 MBytes   936 Mbits/sec    0    385 KBytes
[  4]  82.00-83.00  sec   111 MBytes   934 Mbits/sec    0    385 KBytes
[  4]  83.00-84.00  sec   112 MBytes   937 Mbits/sec    0    385 KBytes
[  4]  84.00-85.00  sec   111 MBytes   935 Mbits/sec    0    385 KBytes
[  4]  85.00-86.00  sec   112 MBytes   937 Mbits/sec    0    385 KBytes
[  4]  86.00-87.00  sec   112 MBytes   939 Mbits/sec    0    385 KBytes
[  4]  87.00-88.00  sec   111 MBytes   935 Mbits/sec    0    385 KBytes
[  4]  88.00-89.00  sec   112 MBytes   937 Mbits/sec    0    385 KBytes
[  4]  89.00-90.00  sec   112 MBytes   936 Mbits/sec    0    385 KBytes
[  4]  90.00-91.00  sec   112 MBytes   937 Mbits/sec    0    385 KBytes
[  4]  91.00-92.00  sec   111 MBytes   934 Mbits/sec    0    385 KBytes
[  4]  92.00-93.00  sec   112 MBytes   939 Mbits/sec    0    385 KBytes
[  4]  93.00-94.00  sec   111 MBytes   935 Mbits/sec    0    385 KBytes
[  4]  94.00-95.00  sec   112 MBytes   936 Mbits/sec    0    385 KBytes
[  4]  95.00-96.00  sec   112 MBytes   936 Mbits/sec    0    385 KBytes
[  4]  96.00-97.00  sec   112 MBytes   936 Mbits/sec    0    385 KBytes
[  4]  97.00-98.00  sec   113 MBytes   945 Mbits/sec    0    559 KBytes
[  4]  98.00-99.00  sec   112 MBytes   937 Mbits/sec    0    559 KBytes
[  4]  99.00-100.00 sec   111 MBytes   928 Mbits/sec    0    559 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
Test Complete. Summary Results:
[ ID] Interval           Transfer     Bandwidth       Retr
[  4]   0.00-100.00 sec  10.5 GBytes   902 Mbits/sec    4             sender
[  4]   0.00-100.00 sec  10.5 GBytes   902 Mbits/sec                  receiver
CPU Utilization: local/sender 5.6% (0.2%u/5.4%s), remote/receiver 17.1% (1.2%u/15.9%s)
Oops I did not read the internal code correctly. My bad
Attachments
eththroughput.rar
Ethernet throughput
(1.06 KiB) Downloaded 112 times

rgadsdon
Posts: 2
Joined: Tue Feb 18, 2014 10:41 pm
languages_spoken: english
ODROIDs: U3
Has thanked: 0
Been thanked: 0
Contact:

Re: Odroid C2 mainline kernel support

Post by rgadsdon » Tue Nov 22, 2016 2:47 pm

I have booted the C2 with a recent version of 'Linux-Next', plus the meson-ethernet-tx patch from Jerome Brunet. USB still does not work, but Ethernet works correctly, at full speed...
More info here: http://rglinuxtech.com/?p=1850

Robert Gadsdon.
November 21, 2016.

brad
Posts: 1117
Joined: Tue Mar 29, 2016 1:22 pm
languages_spoken: english
ODROIDs: C2 N1 N2 H2 (64 bit ftw)
Location: Australia
Has thanked: 46 times
Been thanked: 93 times
Contact:

Re: Odroid C2 mainline kernel support

Post by brad » Tue Nov 22, 2016 7:35 pm

rgadsdon wrote:I have booted the C2 with a recent version of 'Linux-Next', plus the meson-ethernet-tx patch from Jerome Brunet. USB still does not work, but Ethernet works correctly, at full speed...
More info here: http://rglinuxtech.com/?p=1850

Robert Gadsdon.
November 21, 2016.
Hi Robert,

USB is working well for me with recent linux-next although others have reported problems like yourself. Are you using the master branch of linux-next? 4.9-rc6 is stil missing the relevant config for the meson/odroid but linux-next seems to have it all.

Thanks Brad.

umiddelb
Posts: 452
Joined: Thu Jan 29, 2015 6:42 am
languages_spoken: English, German
ODROIDs: ODROID-C1, ODROID-XU4, ODROID-C2
Has thanked: 0
Been thanked: 0
Contact:

Re: Odroid C2 mainline kernel support

Post by umiddelb » Thu Nov 24, 2016 3:40 pm

The linux-next and the linux-amlogic kernel tends to panic under heavy load with a "Bad mode in Error handler detected on CPU2 ..." and "Internal error: Attempting to execute userspace memory ...". Does anyone else have seen this?

brad
Posts: 1117
Joined: Tue Mar 29, 2016 1:22 pm
languages_spoken: english
ODROIDs: C2 N1 N2 H2 (64 bit ftw)
Location: Australia
Has thanked: 46 times
Been thanked: 93 times
Contact:

Re: Odroid C2 mainline kernel support

Post by brad » Thu Nov 24, 2016 4:16 pm

umiddelb wrote:The linux-next and the linux-amlogic kernel tends to panic under heavy load with a "Bad mode in Error handler detected on CPU2 ..." and "Internal error: Attempting to execute userspace memory ...". Does anyone else have seen this?
Which CPU frequency to you experience these problems?

umiddelb
Posts: 452
Joined: Thu Jan 29, 2015 6:42 am
languages_spoken: English, German
ODROIDs: ODROID-C1, ODROID-XU4, ODROID-C2
Has thanked: 0
Been thanked: 0
Contact:

Re: Odroid C2 mainline kernel support

Post by umiddelb » Thu Nov 24, 2016 11:28 pm

brad wrote: Which CPU frequency to you experience these problems?
The default frequency (whatever this might be), since there is no cpufreq driver available at this time.

User avatar
rooted
Posts: 7742
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Has thanked: 718 times
Been thanked: 207 times
Contact:

Re: Odroid C2 mainline kernel support

Post by rooted » Fri Nov 25, 2016 11:31 am

If the CPU block is supposed to use dvfs I imagine it's undervolted without it.

Post Reply

Return to “General Topics”

Who is online

Users browsing this forum: No registered users and 1 guest