Skip to contentSkip to conversation

The failure summary report of GEN2 for linux stable v4.9

DISCUSSION カオ・ヴァン・ドン 4 participants 7 messages Dec 27, 2016 – Jan 2, 2017

lore
Share & tools
lore
#0 lore raw

Hi all,

We have tested the linux stable v4.9 for Gen2 Koelsch and Lager

So we would like to report the summary of the failure.

Best Regards,
Jinso/Linux Team
Dong

#1 lore raw

The failure summary report of GEN3 for linux stable v4.9

Hi all,

My name is Hoan from Jinzai Solution.
We have tested the linux stable v4.9 for Gen3 Salvator-X (H3)

So we would like to report the summary of the failure.

Best Regards,
Jinso/Linux Team
HOAN

#2 lore raw

Re: The failure summary report of GEN3 for linux stable v4.9

Hi Hoan,

Quoted 5 lines · Hoan Nguyen An

My name is Hoan from Jinzai Solution.
We have tested the linux stable v4.9 for Gen3 Salvator-X (H3)

So we would like to report the summary of the failure.

Quoted 7 lines

1 PM: It is not working, can't return to the system. NG New issue

root@linaro-nano:~# echo mem > /sys/power/state
[  221.280712] PM: Syncing filesystems ... done.
[  221.286474] Freezing user space processes ... (elapsed 0.001 seconds) done.
[  221.295013] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
[  221.303691] Suspending console(s) (use no_console_suspend to debug)

Are you using R-Car H3 ES1.0?
AFAIK, tbe newer firmware supports system suspend/resume on H3 ES1.1 only, and only when following the right procedure involving i2cset.

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds

#3 lore raw

Re: The failure summary report of GEN3 for linux stable v4.9

Dear Geert Uytterhoeven,
(I resend my mail because of making mistake at previous mail) I have retested PM, recheck the PM test procedures.

Quoted 1 line

Are you using R-Car H3 ES1.0?

I am using board H3 ES1.1.

With the same test procedures and setting for this version and previous version(v4.9-rc2), but the results are different.

(Only U-boot versions are different for two version)

I am using U-boot version(U-Boot 2015.04 (Sep 13 2016 - 11:32:36)).

I attach the test log file of PM. Please have a look at the log.

Quoted 2 lines

AFAIK, tbe newer firmware supports system suspend/resume on H3 ES1.1 only, and only when following the right procedure involving i2cset.

I only set the following command for test.

root@linaro-nano:~# echo enabled > /sys/devices/platform/soc/e6e68000.serial/tty/ttySC1/power/wakeup
root@linaro-nano:~# echo enabled > /sys/devices/platform/soc/e6e88000.serial/tty/ttySC0/power/wakeup
root@linaro-nano:~# echo mem > /sys/power/state

Could you please tell me more details for using i2cset?.

Thanks,
Jinzai Solution/Linux Team,
Hoan.

NOTICE:  BL2: R-Car Gen3 Initial Program Loader(CA57) Rev.1.0.9
NOTICE:  BL2: PRR is R-Car H3 ES1.1
NOTICE:  BL2: Boot device is HyperFlash(80MHz)
NOTICE:  BL2: LCM state is CM
NOTICE:  BL2: AVS setting succeeded. DVFS_SetVID=0x52
NOTICE:  BL2: DDR1600(rev.0.15)
NOTICE:  BL2: DRAM Split is 4ch
NOTICE:  BL2: QoS is default setting(rev.0.32)
NOTICE:  BL2: v1.1(release):3ad02ac
NOTICE:  BL2: Built : 11:32:54, Sep 13 2016
NOTICE:  BL2: Normal boot
NOTICE:  BL2: dst=0xe631a208 src=0x8180000 len=512(0x200)
NOTICE:  BL2: dst=0x43f00000 src=0x8180400 len=6144(0x1800)
NOTICE:  BL2: dst=0x44000000 src=0x81c0000 len=65536(0x10000)
NOTICE:  BL2: dst=0x44100000 src=0x8200000 len=524288(0x80000)
NOTICE:  BL2: dst=0x49000000 src=0x8640000 len=1048576(0x100000)

U-Boot 2015.04 (Sep 13 2016 - 11:32:36)

CPU: Renesas Electronics R8A7795 rev 1.1
Board: Salvator-X
I2C:   ready
DRAM:  3.9 GiB
MMC:   sh-sdhi: 0, sh-sdhi: 1, sh-sdhi: 2
In:    serial
Out:   serial
Err:   serial
Net:   ravb
Hit any key to stop autoboot:  0 

ravb Waiting for PHY auto negotiation to complete.. done
ravb: 100Base/Full
Using ravb device
TFTP from server 192.168.1.8; our IP address is 192.168.1.18 Filename 'Salvator-X/Image'.
Load address: 0x50000000
Loading: #################################################################

         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #########################################################
         1 MiB/s

done
Bytes transferred = 14182912 (d86a00 hex)
ravb:0 is connected to ravb. Reconnecting to ravb ravb Waiting for PHY auto negotiation to complete.. done
ravb: 100Base/Full
Using ravb device
TFTP from server 192.168.1.8; our IP address is 192.168.1.18 Filename 'Salvator-X/r8a7795-salvator-x.dtb'.
Load address: 0x48f00000
Loading: ###

         6.8 KiB/s

done
Bytes transferred = 35648 (8b40 hex)
## Flattened Device Tree blob at 48f00000
Booting using the fdt blob at 0x48f00000
Using Device Tree in place at 0000000048f00000, end 0000000048f0bb3f

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.9.0-00001-g4a5b13a-dirty (hoan@HoanNa) (gcc version 4.9.2 20140904 (prerelease) (crosstool-NG l6
[    0.000000] Boot CPU: AArch64 Processor [411fd073]
[    0.000000] debug: ignoring loglevel setting.
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi: UEFI not found.
[    0.000000] cma: Reserved 16 MiB at 0x000000007f000000
[    0.000000] On node 0 totalpages: 1015808
[    0.000000]   DMA zone: 3584 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 229376 pages, LIFO batch:31
[    0.000000]   Normal zone: 12288 pages used for memmap
[    0.000000]   Normal zone: 786432 pages, LIFO batch:31
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.0 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: Trusted OS migration not required
[    0.000000] percpu: Embedded 21 pages/cpu @ffff8006fff72000 s48000 r8192 d29824 u86016
[    0.000000] pcpu-alloc: s48000 r8192 d29824 u86016 alloc=21*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
[    0.000000] Detected PIPT I-cache on CPU0
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 999936
[    0.000000] Kernel command line: console=ttySC0,115200 ignore_loglevel consoleblank=0 rw root=/dev/nfs nfsroot=192.168.1.8:8
[    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: 14588(89%)
[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)
[    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)
[    0.000000] software IO TLB [mem 0x7afff000-0x7efff000] (64MB) mapped at [ffff80003afff000-ffff80003effefff]
[    0.000000] Memory: 3894396K/4063232K available (8252K kernel code, 858K rwdata, 3644K rodata, 1024K init, 281K bss, 152452)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     modules : 0xffff000000000000 - 0xffff000008000000   (   128 MB)
[    0.000000]     vmalloc : 0xffff000008000000 - 0xffff7dffbfff0000   (129022 GB)
[    0.000000]       .text : 0xffff000008080000 - 0xffff000008890000   (  8256 KB)
[    0.000000]     .rodata : 0xffff000008890000 - 0xffff000008c30000   (  3712 KB)
[    0.000000]       .init : 0xffff000008c30000 - 0xffff000008d30000   (  1024 KB)
[    0.000000]       .data : 0xffff000008d30000 - 0xffff000008e06a00   (   859 KB)
[    0.000000]        .bss : 0xffff000008e06a00 - 0xffff000008e4cf40   (   282 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]               0xffff7e0000200000 - 0xffff7e001c000000   (   446 MB actual)
[    0.000000]     memory  : 0xffff800008000000 - 0xffff800700000000   ( 28544 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] arm_arch_timer: Architected cp15 timer(s) running at 8.33MHz (virt).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x1ec02923e, max_idle_ns: 440795202125 ns
[    0.000003] sched_clock: 56 bits at 8MHz, resolution 120ns, wraps every 2199023255496ns
[    0.000201] Console: colour dummy device 80x25
[    0.000221] Calibrating delay loop (skipped), value calculated using timer frequency.. 16.66 BogoMIPS (lpj=33333)
[    0.000228] pid_max: default: 32768 minimum: 301
[    0.000272] Security Framework initialized
[    0.000298] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes)
[    0.000303] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes)
[    0.000972] ASID allocator initialised with 65536 entries
[    0.032777] EFI services will not be available.
[    0.080193] Detected PIPT I-cache on CPU1
[    0.080226] CPU1: Booted secondary processor [411fd073]
[    0.112212] Detected PIPT I-cache on CPU2
[    0.112231] CPU2: Booted secondary processor [411fd073]
[    0.144249] Detected PIPT I-cache on CPU3
[    0.144266] CPU3: Booted secondary processor [411fd073]
[    0.144302] Brought up 4 CPUs
[    0.144314] SMP: Total of 4 processors activated.
[    0.144320] CPU features: detected feature: 32-bit EL0 Support
[    0.144356] CPU: All CPU(s) started at EL1
[    0.145000] devtmpfs: initialized
[    0.148591] DMI not present or invalid.
[    0.148738] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.149025] pinctrl core: initialized pinctrl subsystem
[    0.149844] NET: Registered protocol family 16
[    0.160198] cpuidle: using governor menu
[    0.160452] vdso: 2 pages (1 code @ ffff000008897000, 1 data @ ffff000008d34000)
[    0.160466] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.160938] DMA: preallocated 256 KiB pool for atomic allocations
[    0.161097] Serial: AMBA PL011 UART driver
[    0.163720] sh-pfc e6060000.pfc: r8a77950_pfc support registered
[    0.163975] renesas_irqc e61c0000.interrupt-controller: failed to add to PM domain always-on: -517
[    0.193002] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[    0.193830] ACPI: Interpreter disabled.
[    0.195735] vgaarb: loaded
[    0.195891] SCSI subsystem initialized
[    0.195998] libata version 3.00 loaded.
[    0.196170] usbcore: registered new interface driver usbfs
[    0.196200] usbcore: registered new interface driver hub
[    0.196246] usbcore: registered new device driver usb
[    0.196606] pps_core: LinuxPPS API ver. 1 registered
[    0.196611] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <[email protected]>
[    0.196623] PTP clock support registered
[    0.196713] dmi: Firmware registration failed.
[    0.196837] Advanced Linux Sound Architecture Driver Initialized.
[    0.197331] clocksource: Switched to clocksource arch_sys_counter
[    0.197426] VFS: Disk quotas dquot_6.6.0
[    0.197458] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.197615] pnp: PnP ACPI: disabled
[    0.202918] NET: Registered protocol family 2
[    0.203280] TCP established hash table entries: 32768 (order: 6, 262144 bytes)
[    0.203380] TCP bind hash table entries: 32768 (order: 7, 524288 bytes)
[    0.203682] TCP: Hash tables configured (established 32768 bind 32768)
[    0.203755] UDP hash table entries: 2048 (order: 4, 65536 bytes)
[    0.203775] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes)
[    0.203896] NET: Registered protocol family 1
[    0.204125] RPC: Registered named UNIX socket transport module.
[    0.204132] RPC: Registered udp transport module.
[    0.204134] RPC: Registered tcp transport module.
[    0.204137] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.204145] PCI: CLS 0 bytes, default 128
[    0.204571] hw perfevents: enabled with armv8_cortex_a57 PMU driver, 7 counters available
[    0.204856] kvm [1]: HYP mode not available
[    0.206183] futex hash table entries: 1024 (order: 5, 131072 bytes)
[    0.206263] audit: initializing netlink subsys (disabled)
[    0.206293] audit: type=2000 audit(0.203:1): initialized
[    0.206713] workingset: timestamp_bits=46 max_order=20 bucket_order=0
[    0.213602] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.214179] NFS: Registering the id_resolver key type
[    0.214199] Key type id_resolver registered
[    0.214202] Key type id_legacy registered
[    0.214209] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.214363] 9p: Installing v9fs 9p2000 file system support
[    0.215757] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[    0.215765] io scheduler noop registered
[    0.215864] io scheduler cfq registered (default)
[    0.218562] libphy: mdio_driver_register: phy-bcm-ns2-pci
[    0.220270] gpio_rcar e6050000.gpio: driving 16 GPIOs
[    0.220929] gpio_rcar e6051000.gpio: driving 28 GPIOs
[    0.221401] gpio_rcar e6052000.gpio: driving 15 GPIOs
[    0.221900] gpio_rcar e6053000.gpio: driving 16 GPIOs
[    0.222412] gpio_rcar e6054000.gpio: driving 18 GPIOs
[    0.223004] gpio_rcar e6055000.gpio: driving 26 GPIOs
[    0.223681] gpio_rcar e6055400.gpio: driving 32 GPIOs
[    0.223974] gpio_rcar e6055800.gpio: driving 4 GPIOs
[    0.224787] OF: PCI: host bridge /soc/pcie@fe000000 ranges:
[    0.224809] OF: PCI:    IO 0xfe100000..0xfe1fffff -> 0x00000000
[    0.224819] OF: PCI:   MEM 0xfe200000..0xfe3fffff -> 0xfe200000
[    0.224827] OF: PCI:   MEM 0x30000000..0x37ffffff -> 0x30000000
[    0.224832] OF: PCI:   MEM 0x38000000..0x3fffffff -> 0x38000000
[    0.381336] rcar-pcie fe000000.pcie: PCIe link down
[    0.381407] OF: PCI: host bridge /soc/pcie@ee800000 ranges:
[    0.381419] OF: PCI:    IO 0xee900000..0xee9fffff -> 0x00000000
[    0.381427] OF: PCI:   MEM 0xeea00000..0xeebfffff -> 0xeea00000
[    0.381434] OF: PCI:   MEM 0xc0000000..0xc7ffffff -> 0xc0000000
[    0.381439] OF: PCI:   MEM 0xc8000000..0xcfffffff -> 0xc8000000
[    0.541332] rcar-pcie ee800000.pcie: PCIe link down
[    0.553411] xenfs: not registering filesystem on non-xen platform
[    0.556518] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    0.558001] SuperH (H)SCI(F) driver initialized
[    0.558391] e6e68000.serial: ttySC1 at MMIO 0xe6e68000 (irq = 134, base_baud = 0) is a scif
[    0.558773] e6e88000.serial: ttySC0 at MMIO 0xe6e88000 (irq = 135, base_baud = 0) is a scif
[    1.462841] console [ttySC0] enabled
[    1.466969] msm_serial: driver initialized
[    1.475317] loop: module loaded
[    1.479170] hisi_sas: driver version v1.6
[    1.484627] scsi host0: sata_rcar
[    1.488139] ata1: SATA max UDMA/133 irq 137
[    1.493518] libphy: Fixed MDIO Bus: probed
[    1.498017] tun: Universal TUN/TAP device driver, 1.6
[    1.503070] tun: (C) 1999-2004 Max Krasnyansky <[email protected]>
[    1.510143] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
[    1.515980] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    1.521951] igb: Intel(R) Gigabit Ethernet Network Driver - version 5.4.0-k
[    1.528913] igb: Copyright (c) 2007-2014 Intel Corporation.
[    1.534531] igbvf: Intel(R) Gigabit Virtual Function Network Driver - version 2.4.0-k
[    1.542361] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[    1.548322] sky2: driver version 1.30
[    1.552532] libphy: ravb_mii: probed
[    1.556908] ravb e6800000.ethernet eth0: Base address at 0xe6800000, 2e:09:0a:00:a2:e0, IRQ 131.
[    1.566148] VFIO - User Level meta-driver version: 0.3
[    1.572366] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.578904] ehci-pci: EHCI PCI platform driver
[    1.583391] ehci-platform: EHCI generic platform driver
[    1.588847] ehci-platform ee0a0100.usb: EHCI Host Controller
[    1.594521] ehci-platform ee0a0100.usb: new USB bus registered, assigned bus number 1
[    1.602477] ehci-platform ee0a0100.usb: irq 144, io mem 0xee0a0100
[    1.621341] ehci-platform ee0a0100.usb: USB 2.0 started, EHCI 1.10
[    1.627909] hub 1-0:1.0: USB hub found
[    1.631674] hub 1-0:1.0: 1 port detected
[    1.635831] ehci-platform ee0c0100.usb: EHCI Host Controller
[    1.641498] ehci-platform ee0c0100.usb: new USB bus registered, assigned bus number 2
[    1.649431] ehci-platform ee0c0100.usb: irq 145, io mem 0xee0c0100
[    1.669340] ehci-platform ee0c0100.usb: USB 2.0 started, EHCI 1.10
[    1.675804] hub 2-0:1.0: USB hub found
[    1.679566] hub 2-0:1.0: 1 port detected
[    1.683686] ehci-exynos: EHCI EXYNOS driver
[    1.687974] ehci-msm: Qualcomm On-Chip EHCI Host Controller
[    1.693603] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.699790] ohci-pci: OHCI PCI platform driver
[    1.704265] ohci-platform: OHCI generic platform driver
[    1.709649] ohci-platform ee0a0000.usb: Generic Platform OHCI controller
[    1.716358] ohci-platform ee0a0000.usb: new USB bus registered, assigned bus number 3
[    1.724274] ohci-platform ee0a0000.usb: irq 144, io mem 0xee0a0000
[    1.819615] hub 3-0:1.0: USB hub found
[    1.823377] hub 3-0:1.0: 1 port detected
[    1.827502] ohci-platform ee0c0000.usb: Generic Platform OHCI controller
[    1.834212] ohci-platform ee0c0000.usb: new USB bus registered, assigned bus number 4
[    1.842103] ohci-platform ee0c0000.usb: irq 145, io mem 0xee0c0000
[    1.909338] ata1: link resume succeeded after 1 retries
[    1.935638] hub 4-0:1.0: USB hub found
[    1.939399] hub 4-0:1.0: 1 port detected
[    1.943507] ohci-exynos: OHCI EXYNOS driver
[    1.947956] xhci-hcd ee000000.usb: xHCI Host Controller
[    1.953189] xhci-hcd ee000000.usb: new USB bus registered, assigned bus number 5
[    1.960623] xhci-hcd ee000000.usb: Direct firmware load for r8a779x_usb3_v2.dlmem failed with error -2
[    1.969931] xhci-hcd ee000000.usb: can't setup: -2
[    1.974722] xhci-hcd ee000000.usb: USB bus 5 deregistered
[    1.980150] xhci-hcd: probe of ee000000.usb failed with error -2
[    1.986379] usbcore: registered new interface driver usb-storage
[    1.993054] mousedev: PS/2 mouse device common for all mice
[    1.999257] i2c /dev entries driver
[    2.008931] cs2000-cp 2-004f: revision - C1
[    2.013145] i2c-rcar e6510000.i2c: probed
[    2.018621] sdhci: Secure Digital Host Controller Interface driver
[    2.020745] ata1: SATA link down (SStatus 0 SControl 300)
[    2.030204] sdhci: Copyright(c) Pierre Ossman
[    2.034997] sh_mobile_sdhi ee100000.sd: Got CD GPIO
[    2.039895] sh_mobile_sdhi ee100000.sd: Got WP GPIO
[    2.044991] sh_mobile_sdhi ee160000.sd: Got CD GPIO
[    2.049955] sh_mobile_sdhi ee160000.sd: Got WP GPIO
[    2.055009] Synopsys Designware Multimedia Card Interface Driver
[    2.061359] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.067694] ledtrig-cpu: registered to indicate activity on CPUs
[    2.074275] usbcore: registered new interface driver usbhid
[    2.079855] usbhid: USB HID core driver
[    2.089130] rcar_sound ec500000.sound: probed
[    2.093747] NET: Registered protocol family 17
[    2.098257] 9pnet: Installing 9P2000 support
[    2.102578] Key type dns_resolver registered
[    2.107232] registered taskstats version 1
[    2.115654] renesas_irqc e61c0000.interrupt-controller: driving 6 irqs
[    2.123912] ehci-platform ee080100.usb: EHCI Host Controller
[    2.129597] ehci-platform ee080100.usb: new USB bus registered, assigned bus number 5
[    2.137571] ehci-platform ee080100.usb: irq 143, io mem 0xee080100
[    2.157340] ehci-platform ee080100.usb: USB 2.0 started, EHCI 1.10
[    2.163931] hub 5-0:1.0: USB hub found
[    2.167695] hub 5-0:1.0: 1 port detected
[    2.172090] ohci-platform ee080000.usb: Generic Platform OHCI controller
[    2.178803] ohci-platform ee080000.usb: new USB bus registered, assigned bus number 6
[    2.186721] ohci-platform ee080000.usb: irq 143, io mem 0xee080000
[    2.282067] hub 6-0:1.0: USB hub found
[    2.285829] hub 6-0:1.0: 1 port detected
[    2.290413] sh_mobile_sdhi ee100000.sd: Got CD GPIO
[    2.295316] sh_mobile_sdhi ee100000.sd: Got WP GPIO
[    2.421469] sh_mobile_sdhi ee100000.sd: mmc0 base at 0xee100000 max clock rate 200 MHz
[    2.429770] sh_mobile_sdhi ee160000.sd: Got CD GPIO
[    2.434670] sh_mobile_sdhi ee160000.sd: Got WP GPIO
[    2.561432] sh_mobile_sdhi ee160000.sd: mmc1 base at 0xee160000 max clock rate 200 MHz
[    2.569994] asoc-simple-card sound: ak4613-hifi <-> ec500000.sound mapping ok
[    2.578877] hctosys: unable to open rtc device (rtc0)
[    2.661121] ravb e6800000.ethernet eth0: limited PHY to 100Mbit/s
[    2.667228] Micrel KSZ9031 Gigabit PHY e6800000.etherne:00: attached PHY driver [Micrel KSZ9031 Gigabit PHY] (mii_bus:phy_a)
[    4.493892] ravb e6800000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[    4.533338] IP-Config: Guessing netmask 255.255.255.0
[    4.538389] IP-Config: Complete:
[    4.541619]      device=eth0, hwaddr=2e:09:0a:00:a2:e0, ipaddr=192.168.1.18, mask=255.255.255.0, gw=255.255.255.255
[    4.552050]      host=192.168.1.18, domain=, nis-domain=(none)
[    4.557880]      bootserver=255.255.255.255, rootserver=192.168.1.8, rootpath=
[    4.565497] SDHI0 Vcc: disabling
[    4.568721] SDHI3 Vcc: disabling
[    4.571950] SDHI0 VccQ: disabling
[    4.575264] SDHI3 VccQ: disabling
[    4.578580] ALSA device list:
[    4.581545]   #0: rsnd-dai.0-ak4613-hifi
[    4.589452] VFS: Mounted root (nfs filesystem) on device 0:14.
[    4.595611] devtmpfs: mounted
[    4.599197] Freeing unused kernel memory: 1024K (ffff800008c30000 - ffff800008d30000)
[    4.619261] random: fast init done
Mount failed for selinuxfs on /sys/fs/selinux:  No such file or directory
[    5.016987] init: plymouth-upstart-bridge main process (1332) terminated with status 1
[    5.025040] init: plymouth-upstart-bridge main process ended, respawning
[    5.040623] init: hwclock main process (1335) terminated with status 1
[    5.195978] init: plymouth-upstart-bridge main process (1342) terminated with status 1
[    5.203985] init: plymouth-upstart-bridge main process ended, respawning
[    9.562611] systemd-udevd[1447]: starting version 204
[    9.966300] random: crng init done
[   10.255232] init: udev-fallback-graphics main process (1970) terminated with status 1
 * Stopping Send an event to indicate plymouth is up[ OK ]
 * Starting Mount filesystems on boot[ OK ]
 * Starting Signal sysvinit that the rootfs is mounted[ OK ]
 * Starting Populate /dev filesystem[ OK ]
 * Stopping Populate /dev filesystem[ OK ]
 * Starting Clean /tmp directory[ OK ]
 * Stopping Clean /tmp directory[ OK ]
 * Starting Populate and link to /run filesystem[ OK ]
 * Stopping Populate and link to /run filesystem[ OK ]
 * Stopping Track if upstart is running in a container[ OK ]
 * Starting Signal sysvinit that virtual filesystems are mounted[ OK ]
 * Starting Signal sysvinit that virtual filesystems are mounted[ OK ]
 * Starting Bridge udev events into upstart[ OK ]
 * Starting Signal sysvinit that local filesystems are mounted[ OK ]
 * Starting Signal sysvinit that remote filesystems are mounted[ OK ]
 * Starting device node and kernel event manager[ OK ]
 * Starting Flush boot log to disk[ OK ]
 * Starting flush early job output to logs[ OK ]
 * Stopping Mount filesystems on boot[ OK ]
 * Stopping Flush boot log to disk[ OK ]
 * Starting load modules from /e[   11.942478] init: failsafe main process (1951) killed by TERM signal

tc/modules[ OK ]
* Starting cold plug devices[ OK ]
* Starting log initial device creation[ OK ]
* Stopping flush early job output to logs[ OK ]
* Stopping load modules from /etc/modules[ OK ]
* Starting D-Bus system message bus[ OK ]
* Starting configure network device security[ OK ]
* Starting configure network device[ OK ]
* Starting system logging daemon[ OK ]
* Starting configure network device security[ OK ]
* Starting Mount network filesystems[ OK ]
* Starting Failsafe Boot Delay[ OK ]
* Stopping cold plug devices[ OK ]
* Stopping log initial device creation[ OK ]
* Starting load fallback graphics devices[ OK ]
* Starting configure network device security[ OK ]
* Starting SystemD login management service[ OK ]
* Starting load fallback graphics devices[fail]
* Starting save udev log and update rules[ OK ]
* Starting set console font[ OK ]
* Stopping Mount network filesystems[ OK ]
* Stopping set console font[ OK ]
* Starting userspace bootsplash[ OK ]
* Stopping userspace bootsplash[ OK ]
* Starting Send an event to indicate plymouth is up[ OK ]
* Starting configure network device[ OK ]
* Stopping Failsafe Boot Delay[ OK ]
* Starting configure virtual network devices[ OK ]
* Stopping save udev log and update rules[ OK ]
No sensors found!
Make sure you loaded all the kernel drivers you need. Try sensors-detect to find out which these are.
No sensors found!
Make sure you loaded all the kernel drivers you need. Try sensors-detect to find out which these are.
[ OK ]ting sensors limits
* Starting System V initialisation compatibility[ OK ]
* Stopping Send an event to indicate plymouth is up[ OK ]
* Starting Bridge file events into upstart[ OK ]
* Starting Bridge socket events into upstart[ OK ]
[ OK ]ting up X socket directories...
* Stopping System V initialisation compatibility[ OK ]
* Starting System V runlevel compatibility[ OK ]
* Starting Restore Sound Card State[ OK ]
* Starting regular background program processing daemon[ OK ]
* Starting save kernel messages[ OK ]

[   14.215294] init: alsa-restore main process (2157) terminated with status 99
 * Starting Restore Sound Card State[fail]
 * Starting OpenSSH server[ OK ]
 * Stopping Restore Sound Card State[ OK ]
 * Stopping System V runlevel compatibility[ OK ]
[   14.814799] init: tty1 main process (2201) killed by TERM signal

Last login: Thu Jan 1 00:00:17 UTC 1970 on tty1

[   15.024052] init: plymouth-upstart-bridge main process ended, respawning

Welcome to Linaro 14.04 (GNU/Linux 4.9.0-00001-g4a5b13a-dirty aarch64)

* Documentation: https://wiki.linaro.org/
root@linaro-nano:~#
root@linaro-nano:~#

root@linaro-nano:~# stty cols 150 
root@linaro-nano:~# echo enabled > /sys/devices/platform/soc/e6e88000.serial/tty/ttySC0/power/wakeup
root@linaro-nano:~# cat /sys/devices/platform/soc/e6e88000.serial/tty/ttySC0/power/wakeup
enabled
root@linaro-nano:~# echo mem > /sys/power/state
[  782.817882] PM: Syncing filesystems ... done.
[  782.823169] Freezing user space processes ... (elapsed 0.001 seconds) done.
[  782.831703] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
[  782.840318] Suspending console(s) (use no_console_suspend to debug)
#4 lore raw

Re: The failure summary report of GEN3 for linux stable v4.9

In reply to Geert Uytterhoeven

Dear Geert Uytterhoeven,

I have retested PM, recheck the PM test procedures.
I am using board H3 ES1.1, procedures involving i2cset is right.

With the same test procedures and setting for this version and previous version(v4.9-rc2), but the results are different.

(Only U-boot versions are different for two version)

I am using U-boot version(U-Boot 2015.04 (Sep 13 2016 - 11:32:36)).

I attach the test log file of PM. Please have a look at the log.

Quoted 13 lines · Geert Uytterhoeven

Hi Hoan,

Quoted 10 lines · Hoan Nguyen An

My name is Hoan from Jinzai Solution.
We have tested the linux stable v4.9 for Gen3 Salvator-X (H3)

So we would like to report the summary of the failure. 1 PM: It is not working, can't return to the system. NG New issue

root@linaro-nano:~# echo mem > /sys/power/state
[  221.280712] PM: Syncing filesystems ... done.
[  221.286474] Freezing user space processes ... (elapsed 0.001 seconds) done.
[  221.295013] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
[  221.303691] Suspending console(s) (use no_console_suspend to debug)
Quoted 3 lines

Are you using R-Car H3 ES1.0?
AFAIK, tbe newer firmware supports system suspend/resume on H3 ES1.1 only, and only when following the right procedure involving i2cset.

I only set the following command for test.

root@linaro-nano:~# echo enabled > /sys/devices/platform/soc/e6e68000.serial/tty/ttySC1/power/wakeup
root@linaro-nano:~# echo enabled > /sys/devices/platform/soc/e6e88000.serial/tty/ttySC0/power/wakeup
root@linaro-nano:~# echo mem > /sys/power/state

Could you please tell me more details for using i2cset?.

Thanks,
Jinzai Solution/Linux Team,
Hoan.

NOTICE:  BL2: R-Car Gen3 Initial Program Loader(CA57) Rev.1.0.9
NOTICE:  BL2: PRR is R-Car H3 ES1.1
NOTICE:  BL2: Boot device is HyperFlash(80MHz)
NOTICE:  BL2: LCM state is CM
NOTICE:  BL2: AVS setting succeeded. DVFS_SetVID=0x52
NOTICE:  BL2: DDR1600(rev.0.15)
NOTICE:  BL2: DRAM Split is 4ch
NOTICE:  BL2: QoS is default setting(rev.0.32)
NOTICE:  BL2: v1.1(release):3ad02ac
NOTICE:  BL2: Built : 11:32:54, Sep 13 2016
NOTICE:  BL2: Normal boot
NOTICE:  BL2: dst=0xe631a208 src=0x8180000 len=512(0x200)
NOTICE:  BL2: dst=0x43f00000 src=0x8180400 len=6144(0x1800)
NOTICE:  BL2: dst=0x44000000 src=0x81c0000 len=65536(0x10000)
NOTICE:  BL2: dst=0x44100000 src=0x8200000 len=524288(0x80000)
NOTICE:  BL2: dst=0x49000000 src=0x8640000 len=1048576(0x100000)

U-Boot 2015.04 (Sep 13 2016 - 11:32:36)

CPU: Renesas Electronics R8A7795 rev 1.1
Board: Salvator-X
I2C:   ready
DRAM:  3.9 GiB
MMC:   sh-sdhi: 0, sh-sdhi: 1, sh-sdhi: 2
In:    serial
Out:   serial
Err:   serial
Net:   ravb
Hit any key to stop autoboot:  0 

ravb Waiting for PHY auto negotiation to complete.. done
ravb: 100Base/Full
Using ravb device
TFTP from server 192.168.1.8; our IP address is 192.168.1.18 Filename 'Salvator-X/Image'.
Load address: 0x50000000
Loading: #################################################################

         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #########################################################
         1 MiB/s

done
Bytes transferred = 14182912 (d86a00 hex)
ravb:0 is connected to ravb. Reconnecting to ravb ravb Waiting for PHY auto negotiation to complete.. done
ravb: 100Base/Full
Using ravb device
TFTP from server 192.168.1.8; our IP address is 192.168.1.18 Filename 'Salvator-X/r8a7795-salvator-x.dtb'.
Load address: 0x48f00000
Loading: ###

         6.8 KiB/s

done
Bytes transferred = 35648 (8b40 hex)
## Flattened Device Tree blob at 48f00000
Booting using the fdt blob at 0x48f00000
Using Device Tree in place at 0000000048f00000, end 0000000048f0bb3f

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.9.0-00001-g4a5b13a-dirty (hoan@HoanNa) (gcc version 4.9.2 20140904 (prerelease) (crosstool-NG l6
[    0.000000] Boot CPU: AArch64 Processor [411fd073]
[    0.000000] debug: ignoring loglevel setting.
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi: UEFI not found.
[    0.000000] cma: Reserved 16 MiB at 0x000000007f000000
[    0.000000] On node 0 totalpages: 1015808
[    0.000000]   DMA zone: 3584 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 229376 pages, LIFO batch:31
[    0.000000]   Normal zone: 12288 pages used for memmap
[    0.000000]   Normal zone: 786432 pages, LIFO batch:31
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.0 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: Trusted OS migration not required
[    0.000000] percpu: Embedded 21 pages/cpu @ffff8006fff72000 s48000 r8192 d29824 u86016
[    0.000000] pcpu-alloc: s48000 r8192 d29824 u86016 alloc=21*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
[    0.000000] Detected PIPT I-cache on CPU0
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 999936
[    0.000000] Kernel command line: console=ttySC0,115200 ignore_loglevel consoleblank=0 rw root=/dev/nfs nfsroot=192.168.1.8:8
[    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: 14588(89%)
[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)
[    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)
[    0.000000] software IO TLB [mem 0x7afff000-0x7efff000] (64MB) mapped at [ffff80003afff000-ffff80003effefff]
[    0.000000] Memory: 3894396K/4063232K available (8252K kernel code, 858K rwdata, 3644K rodata, 1024K init, 281K bss, 152452)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     modules : 0xffff000000000000 - 0xffff000008000000   (   128 MB)
[    0.000000]     vmalloc : 0xffff000008000000 - 0xffff7dffbfff0000   (129022 GB)
[    0.000000]       .text : 0xffff000008080000 - 0xffff000008890000   (  8256 KB)
[    0.000000]     .rodata : 0xffff000008890000 - 0xffff000008c30000   (  3712 KB)
[    0.000000]       .init : 0xffff000008c30000 - 0xffff000008d30000   (  1024 KB)
[    0.000000]       .data : 0xffff000008d30000 - 0xffff000008e06a00   (   859 KB)
[    0.000000]        .bss : 0xffff000008e06a00 - 0xffff000008e4cf40   (   282 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]               0xffff7e0000200000 - 0xffff7e001c000000   (   446 MB actual)
[    0.000000]     memory  : 0xffff800008000000 - 0xffff800700000000   ( 28544 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] arm_arch_timer: Architected cp15 timer(s) running at 8.33MHz (virt).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x1ec02923e, max_idle_ns: 440795202125 ns
[    0.000003] sched_clock: 56 bits at 8MHz, resolution 120ns, wraps every 2199023255496ns
[    0.000201] Console: colour dummy device 80x25
[    0.000221] Calibrating delay loop (skipped), value calculated using timer frequency.. 16.66 BogoMIPS (lpj=33333)
[    0.000228] pid_max: default: 32768 minimum: 301
[    0.000272] Security Framework initialized
[    0.000298] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes)
[    0.000303] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes)
[    0.000972] ASID allocator initialised with 65536 entries
[    0.032777] EFI services will not be available.
[    0.080193] Detected PIPT I-cache on CPU1
[    0.080226] CPU1: Booted secondary processor [411fd073]
[    0.112212] Detected PIPT I-cache on CPU2
[    0.112231] CPU2: Booted secondary processor [411fd073]
[    0.144249] Detected PIPT I-cache on CPU3
[    0.144266] CPU3: Booted secondary processor [411fd073]
[    0.144302] Brought up 4 CPUs
[    0.144314] SMP: Total of 4 processors activated.
[    0.144320] CPU features: detected feature: 32-bit EL0 Support
[    0.144356] CPU: All CPU(s) started at EL1
[    0.145000] devtmpfs: initialized
[    0.148591] DMI not present or invalid.
[    0.148738] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.149025] pinctrl core: initialized pinctrl subsystem
[    0.149844] NET: Registered protocol family 16
[    0.160198] cpuidle: using governor menu
[    0.160452] vdso: 2 pages (1 code @ ffff000008897000, 1 data @ ffff000008d34000)
[    0.160466] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.160938] DMA: preallocated 256 KiB pool for atomic allocations
[    0.161097] Serial: AMBA PL011 UART driver
[    0.163720] sh-pfc e6060000.pfc: r8a77950_pfc support registered
[    0.163975] renesas_irqc e61c0000.interrupt-controller: failed to add to PM domain always-on: -517
[    0.193002] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[    0.193830] ACPI: Interpreter disabled.
[    0.195735] vgaarb: loaded
[    0.195891] SCSI subsystem initialized
[    0.195998] libata version 3.00 loaded.
[    0.196170] usbcore: registered new interface driver usbfs
[    0.196200] usbcore: registered new interface driver hub
[    0.196246] usbcore: registered new device driver usb
[    0.196606] pps_core: LinuxPPS API ver. 1 registered
[    0.196611] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <[email protected]>
[    0.196623] PTP clock support registered
[    0.196713] dmi: Firmware registration failed.
[    0.196837] Advanced Linux Sound Architecture Driver Initialized.
[    0.197331] clocksource: Switched to clocksource arch_sys_counter
[    0.197426] VFS: Disk quotas dquot_6.6.0
[    0.197458] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.197615] pnp: PnP ACPI: disabled
[    0.202918] NET: Registered protocol family 2
[    0.203280] TCP established hash table entries: 32768 (order: 6, 262144 bytes)
[    0.203380] TCP bind hash table entries: 32768 (order: 7, 524288 bytes)
[    0.203682] TCP: Hash tables configured (established 32768 bind 32768)
[    0.203755] UDP hash table entries: 2048 (order: 4, 65536 bytes)
[    0.203775] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes)
[    0.203896] NET: Registered protocol family 1
[    0.204125] RPC: Registered named UNIX socket transport module.
[    0.204132] RPC: Registered udp transport module.
[    0.204134] RPC: Registered tcp transport module.
[    0.204137] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.204145] PCI: CLS 0 bytes, default 128
[    0.204571] hw perfevents: enabled with armv8_cortex_a57 PMU driver, 7 counters available
[    0.204856] kvm [1]: HYP mode not available
[    0.206183] futex hash table entries: 1024 (order: 5, 131072 bytes)
[    0.206263] audit: initializing netlink subsys (disabled)
[    0.206293] audit: type=2000 audit(0.203:1): initialized
[    0.206713] workingset: timestamp_bits=46 max_order=20 bucket_order=0
[    0.213602] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.214179] NFS: Registering the id_resolver key type
[    0.214199] Key type id_resolver registered
[    0.214202] Key type id_legacy registered
[    0.214209] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.214363] 9p: Installing v9fs 9p2000 file system support
[    0.215757] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[    0.215765] io scheduler noop registered
[    0.215864] io scheduler cfq registered (default)
[    0.218562] libphy: mdio_driver_register: phy-bcm-ns2-pci
[    0.220270] gpio_rcar e6050000.gpio: driving 16 GPIOs
[    0.220929] gpio_rcar e6051000.gpio: driving 28 GPIOs
[    0.221401] gpio_rcar e6052000.gpio: driving 15 GPIOs
[    0.221900] gpio_rcar e6053000.gpio: driving 16 GPIOs
[    0.222412] gpio_rcar e6054000.gpio: driving 18 GPIOs
[    0.223004] gpio_rcar e6055000.gpio: driving 26 GPIOs
[    0.223681] gpio_rcar e6055400.gpio: driving 32 GPIOs
[    0.223974] gpio_rcar e6055800.gpio: driving 4 GPIOs
[    0.224787] OF: PCI: host bridge /soc/pcie@fe000000 ranges:
[    0.224809] OF: PCI:    IO 0xfe100000..0xfe1fffff -> 0x00000000
[    0.224819] OF: PCI:   MEM 0xfe200000..0xfe3fffff -> 0xfe200000
[    0.224827] OF: PCI:   MEM 0x30000000..0x37ffffff -> 0x30000000
[    0.224832] OF: PCI:   MEM 0x38000000..0x3fffffff -> 0x38000000
[    0.381336] rcar-pcie fe000000.pcie: PCIe link down
[    0.381407] OF: PCI: host bridge /soc/pcie@ee800000 ranges:
[    0.381419] OF: PCI:    IO 0xee900000..0xee9fffff -> 0x00000000
[    0.381427] OF: PCI:   MEM 0xeea00000..0xeebfffff -> 0xeea00000
[    0.381434] OF: PCI:   MEM 0xc0000000..0xc7ffffff -> 0xc0000000
[    0.381439] OF: PCI:   MEM 0xc8000000..0xcfffffff -> 0xc8000000
[    0.541332] rcar-pcie ee800000.pcie: PCIe link down
[    0.553411] xenfs: not registering filesystem on non-xen platform
[    0.556518] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    0.558001] SuperH (H)SCI(F) driver initialized
[    0.558391] e6e68000.serial: ttySC1 at MMIO 0xe6e68000 (irq = 134, base_baud = 0) is a scif
[    0.558773] e6e88000.serial: ttySC0 at MMIO 0xe6e88000 (irq = 135, base_baud = 0) is a scif
[    1.462841] console [ttySC0] enabled
[    1.466969] msm_serial: driver initialized
[    1.475317] loop: module loaded
[    1.479170] hisi_sas: driver version v1.6
[    1.484627] scsi host0: sata_rcar
[    1.488139] ata1: SATA max UDMA/133 irq 137
[    1.493518] libphy: Fixed MDIO Bus: probed
[    1.498017] tun: Universal TUN/TAP device driver, 1.6
[    1.503070] tun: (C) 1999-2004 Max Krasnyansky <[email protected]>
[    1.510143] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
[    1.515980] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    1.521951] igb: Intel(R) Gigabit Ethernet Network Driver - version 5.4.0-k
[    1.528913] igb: Copyright (c) 2007-2014 Intel Corporation.
[    1.534531] igbvf: Intel(R) Gigabit Virtual Function Network Driver - version 2.4.0-k
[    1.542361] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[    1.548322] sky2: driver version 1.30
[    1.552532] libphy: ravb_mii: probed
[    1.556908] ravb e6800000.ethernet eth0: Base address at 0xe6800000, 2e:09:0a:00:a2:e0, IRQ 131.
[    1.566148] VFIO - User Level meta-driver version: 0.3
[    1.572366] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.578904] ehci-pci: EHCI PCI platform driver
[    1.583391] ehci-platform: EHCI generic platform driver
[    1.588847] ehci-platform ee0a0100.usb: EHCI Host Controller
[    1.594521] ehci-platform ee0a0100.usb: new USB bus registered, assigned bus number 1
[    1.602477] ehci-platform ee0a0100.usb: irq 144, io mem 0xee0a0100
[    1.621341] ehci-platform ee0a0100.usb: USB 2.0 started, EHCI 1.10
[    1.627909] hub 1-0:1.0: USB hub found
[    1.631674] hub 1-0:1.0: 1 port detected
[    1.635831] ehci-platform ee0c0100.usb: EHCI Host Controller
[    1.641498] ehci-platform ee0c0100.usb: new USB bus registered, assigned bus number 2
[    1.649431] ehci-platform ee0c0100.usb: irq 145, io mem 0xee0c0100
[    1.669340] ehci-platform ee0c0100.usb: USB 2.0 started, EHCI 1.10
[    1.675804] hub 2-0:1.0: USB hub found
[    1.679566] hub 2-0:1.0: 1 port detected
[    1.683686] ehci-exynos: EHCI EXYNOS driver
[    1.687974] ehci-msm: Qualcomm On-Chip EHCI Host Controller
[    1.693603] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.699790] ohci-pci: OHCI PCI platform driver
[    1.704265] ohci-platform: OHCI generic platform driver
[    1.709649] ohci-platform ee0a0000.usb: Generic Platform OHCI controller
[    1.716358] ohci-platform ee0a0000.usb: new USB bus registered, assigned bus number 3
[    1.724274] ohci-platform ee0a0000.usb: irq 144, io mem 0xee0a0000
[    1.819615] hub 3-0:1.0: USB hub found
[    1.823377] hub 3-0:1.0: 1 port detected
[    1.827502] ohci-platform ee0c0000.usb: Generic Platform OHCI controller
[    1.834212] ohci-platform ee0c0000.usb: new USB bus registered, assigned bus number 4
[    1.842103] ohci-platform ee0c0000.usb: irq 145, io mem 0xee0c0000
[    1.909338] ata1: link resume succeeded after 1 retries
[    1.935638] hub 4-0:1.0: USB hub found
[    1.939399] hub 4-0:1.0: 1 port detected
[    1.943507] ohci-exynos: OHCI EXYNOS driver
[    1.947956] xhci-hcd ee000000.usb: xHCI Host Controller
[    1.953189] xhci-hcd ee000000.usb: new USB bus registered, assigned bus number 5
[    1.960623] xhci-hcd ee000000.usb: Direct firmware load for r8a779x_usb3_v2.dlmem failed with error -2
[    1.969931] xhci-hcd ee000000.usb: can't setup: -2
[    1.974722] xhci-hcd ee000000.usb: USB bus 5 deregistered
[    1.980150] xhci-hcd: probe of ee000000.usb failed with error -2
[    1.986379] usbcore: registered new interface driver usb-storage
[    1.993054] mousedev: PS/2 mouse device common for all mice
[    1.999257] i2c /dev entries driver
[    2.008931] cs2000-cp 2-004f: revision - C1
[    2.013145] i2c-rcar e6510000.i2c: probed
[    2.018621] sdhci: Secure Digital Host Controller Interface driver
[    2.020745] ata1: SATA link down (SStatus 0 SControl 300)
[    2.030204] sdhci: Copyright(c) Pierre Ossman
[    2.034997] sh_mobile_sdhi ee100000.sd: Got CD GPIO
[    2.039895] sh_mobile_sdhi ee100000.sd: Got WP GPIO
[    2.044991] sh_mobile_sdhi ee160000.sd: Got CD GPIO
[    2.049955] sh_mobile_sdhi ee160000.sd: Got WP GPIO
[    2.055009] Synopsys Designware Multimedia Card Interface Driver
[    2.061359] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.067694] ledtrig-cpu: registered to indicate activity on CPUs
[    2.074275] usbcore: registered new interface driver usbhid
[    2.079855] usbhid: USB HID core driver
[    2.089130] rcar_sound ec500000.sound: probed
[    2.093747] NET: Registered protocol family 17
[    2.098257] 9pnet: Installing 9P2000 support
[    2.102578] Key type dns_resolver registered
[    2.107232] registered taskstats version 1
[    2.115654] renesas_irqc e61c0000.interrupt-controller: driving 6 irqs
[    2.123912] ehci-platform ee080100.usb: EHCI Host Controller
[    2.129597] ehci-platform ee080100.usb: new USB bus registered, assigned bus number 5
[    2.137571] ehci-platform ee080100.usb: irq 143, io mem 0xee080100
[    2.157340] ehci-platform ee080100.usb: USB 2.0 started, EHCI 1.10
[    2.163931] hub 5-0:1.0: USB hub found
[    2.167695] hub 5-0:1.0: 1 port detected
[    2.172090] ohci-platform ee080000.usb: Generic Platform OHCI controller
[    2.178803] ohci-platform ee080000.usb: new USB bus registered, assigned bus number 6
[    2.186721] ohci-platform ee080000.usb: irq 143, io mem 0xee080000
[    2.282067] hub 6-0:1.0: USB hub found
[    2.285829] hub 6-0:1.0: 1 port detected
[    2.290413] sh_mobile_sdhi ee100000.sd: Got CD GPIO
[    2.295316] sh_mobile_sdhi ee100000.sd: Got WP GPIO
[    2.421469] sh_mobile_sdhi ee100000.sd: mmc0 base at 0xee100000 max clock rate 200 MHz
[    2.429770] sh_mobile_sdhi ee160000.sd: Got CD GPIO
[    2.434670] sh_mobile_sdhi ee160000.sd: Got WP GPIO
[    2.561432] sh_mobile_sdhi ee160000.sd: mmc1 base at 0xee160000 max clock rate 200 MHz
[    2.569994] asoc-simple-card sound: ak4613-hifi <-> ec500000.sound mapping ok
[    2.578877] hctosys: unable to open rtc device (rtc0)
[    2.661121] ravb e6800000.ethernet eth0: limited PHY to 100Mbit/s
[    2.667228] Micrel KSZ9031 Gigabit PHY e6800000.etherne:00: attached PHY driver [Micrel KSZ9031 Gigabit PHY] (mii_bus:phy_a)
[    4.493892] ravb e6800000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[    4.533338] IP-Config: Guessing netmask 255.255.255.0
[    4.538389] IP-Config: Complete:
[    4.541619]      device=eth0, hwaddr=2e:09:0a:00:a2:e0, ipaddr=192.168.1.18, mask=255.255.255.0, gw=255.255.255.255
[    4.552050]      host=192.168.1.18, domain=, nis-domain=(none)
[    4.557880]      bootserver=255.255.255.255, rootserver=192.168.1.8, rootpath=
[    4.565497] SDHI0 Vcc: disabling
[    4.568721] SDHI3 Vcc: disabling
[    4.571950] SDHI0 VccQ: disabling
[    4.575264] SDHI3 VccQ: disabling
[    4.578580] ALSA device list:
[    4.581545]   #0: rsnd-dai.0-ak4613-hifi
[    4.589452] VFS: Mounted root (nfs filesystem) on device 0:14.
[    4.595611] devtmpfs: mounted
[    4.599197] Freeing unused kernel memory: 1024K (ffff800008c30000 - ffff800008d30000)
[    4.619261] random: fast init done
Mount failed for selinuxfs on /sys/fs/selinux:  No such file or directory
[    5.016987] init: plymouth-upstart-bridge main process (1332) terminated with status 1
[    5.025040] init: plymouth-upstart-bridge main process ended, respawning
[    5.040623] init: hwclock main process (1335) terminated with status 1
[    5.195978] init: plymouth-upstart-bridge main process (1342) terminated with status 1
[    5.203985] init: plymouth-upstart-bridge main process ended, respawning
[    9.562611] systemd-udevd[1447]: starting version 204
[    9.966300] random: crng init done
[   10.255232] init: udev-fallback-graphics main process (1970) terminated with status 1
 * Stopping Send an event to indicate plymouth is up[ OK ]
 * Starting Mount filesystems on boot[ OK ]
 * Starting Signal sysvinit that the rootfs is mounted[ OK ]
 * Starting Populate /dev filesystem[ OK ]
 * Stopping Populate /dev filesystem[ OK ]
 * Starting Clean /tmp directory[ OK ]
 * Stopping Clean /tmp directory[ OK ]
 * Starting Populate and link to /run filesystem[ OK ]
 * Stopping Populate and link to /run filesystem[ OK ]
 * Stopping Track if upstart is running in a container[ OK ]
 * Starting Signal sysvinit that virtual filesystems are mounted[ OK ]
 * Starting Signal sysvinit that virtual filesystems are mounted[ OK ]
 * Starting Bridge udev events into upstart[ OK ]
 * Starting Signal sysvinit that local filesystems are mounted[ OK ]
 * Starting Signal sysvinit that remote filesystems are mounted[ OK ]
 * Starting device node and kernel event manager[ OK ]
 * Starting Flush boot log to disk[ OK ]
 * Starting flush early job output to logs[ OK ]
 * Stopping Mount filesystems on boot[ OK ]
 * Stopping Flush boot log to disk[ OK ]
 * Starting load modules from /e[   11.942478] init: failsafe main process (1951) killed by TERM signal

tc/modules[ OK ]
* Starting cold plug devices[ OK ]
* Starting log initial device creation[ OK ]
* Stopping flush early job output to logs[ OK ]
* Stopping load modules from /etc/modules[ OK ]
* Starting D-Bus system message bus[ OK ]
* Starting configure network device security[ OK ]
* Starting configure network device[ OK ]
* Starting system logging daemon[ OK ]
* Starting configure network device security[ OK ]
* Starting Mount network filesystems[ OK ]
* Starting Failsafe Boot Delay[ OK ]
* Stopping cold plug devices[ OK ]
* Stopping log initial device creation[ OK ]
* Starting load fallback graphics devices[ OK ]
* Starting configure network device security[ OK ]
* Starting SystemD login management service[ OK ]
* Starting load fallback graphics devices[fail]
* Starting save udev log and update rules[ OK ]
* Starting set console font[ OK ]
* Stopping Mount network filesystems[ OK ]
* Stopping set console font[ OK ]
* Starting userspace bootsplash[ OK ]
* Stopping userspace bootsplash[ OK ]
* Starting Send an event to indicate plymouth is up[ OK ]
* Starting configure network device[ OK ]
* Stopping Failsafe Boot Delay[ OK ]
* Starting configure virtual network devices[ OK ]
* Stopping save udev log and update rules[ OK ]
No sensors found!
Make sure you loaded all the kernel drivers you need. Try sensors-detect to find out which these are.
No sensors found!
Make sure you loaded all the kernel drivers you need. Try sensors-detect to find out which these are.
[ OK ]ting sensors limits
* Starting System V initialisation compatibility[ OK ]
* Stopping Send an event to indicate plymouth is up[ OK ]
* Starting Bridge file events into upstart[ OK ]
* Starting Bridge socket events into upstart[ OK ]
[ OK ]ting up X socket directories...
* Stopping System V initialisation compatibility[ OK ]
* Starting System V runlevel compatibility[ OK ]
* Starting Restore Sound Card State[ OK ]
* Starting regular background program processing daemon[ OK ]
* Starting save kernel messages[ OK ]

[   14.215294] init: alsa-restore main process (2157) terminated with status 99
 * Starting Restore Sound Card State[fail]
 * Starting OpenSSH server[ OK ]
 * Stopping Restore Sound Card State[ OK ]
 * Stopping System V runlevel compatibility[ OK ]
[   14.814799] init: tty1 main process (2201) killed by TERM signal

Last login: Thu Jan 1 00:00:17 UTC 1970 on tty1

[   15.024052] init: plymouth-upstart-bridge main process ended, respawning

Welcome to Linaro 14.04 (GNU/Linux 4.9.0-00001-g4a5b13a-dirty aarch64)

* Documentation: https://wiki.linaro.org/
root@linaro-nano:~#
root@linaro-nano:~#

root@linaro-nano:~# stty cols 150 
root@linaro-nano:~# echo enabled > /sys/devices/platform/soc/e6e88000.serial/tty/ttySC0/power/wakeup
root@linaro-nano:~# cat /sys/devices/platform/soc/e6e88000.serial/tty/ttySC0/power/wakeup
enabled
root@linaro-nano:~# echo mem > /sys/power/state
[  782.817882] PM: Syncing filesystems ... done.
[  782.823169] Freezing user space processes ... (elapsed 0.001 seconds) done.
[  782.831703] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
[  782.840318] Suspending console(s) (use no_console_suspend to debug)
#5 lore raw

Re: The failure summary report of GEN3 for linux stable v4.9

Hi Hoan,

Quoted 31 lines · Hoan Nguyen An

I have retested PM, recheck the PM test procedures.
I am using board H3 ES1.1, procedures involving i2cset is right.

With the same test procedures and setting for this version and previous version(v4.9-rc2), but the results are different.

(Only U-boot versions are different for two version)

I am using U-boot version(U-Boot 2015.04 (Sep 13 2016 - 11:32:36)).

I attach the test log file of PM. Please have a look at the log.

Quoted 14 lines · Geert Uytterhoeven

On Tue, Dec 27, 2016 at 11:35 AM, Hoan Nguyen An <[email protected]>

Quoted 5 lines

My name is Hoan from Jinzai Solution.
We have tested the linux stable v4.9 for Gen3 Salvator-X (H3)

So we would like to report the summary of the failure. 1 PM: It is not working, can't return to the system. NG New issue

Quoted 7 lines
root@linaro-nano:~# echo mem > /sys/power/state
[  221.280712] PM: Syncing filesystems ... done.
[  221.286474] Freezing user space processes ... (elapsed 0.001 seconds)
done.
[  221.295013] Freezing remaining freezable tasks ... (elapsed 0.001
seconds) done.
[  221.303691] Suspending console(s) (use no_console_suspend to debug)
Quoted 3 lines

Are you using R-Car H3 ES1.0?
AFAIK, tbe newer firmware supports system suspend/resume on H3 ES1.1 only, and only when following the right procedure involving i2cset.

Quoted 5 lines

I only set the following command for test.

root@linaro-nano:~# echo enabled >
/sys/devices/platform/soc/e6e68000.serial/tty/ttySC1/power/wakeup
root@linaro-nano:~# echo enabled >
/sys/devices/platform/soc/e6e88000.serial/tty/ttySC0/power/wakeup

Wake-up through any other wake-up source than SW23 is not yet supported on Salvator-X boards, as the PSCI firmware doesn't know about those wake-up sources, and powers down the whole SoC during suspend to RAM.

It may start to work once kernel support for suspend-to-idle has been added.

Quoted 3 lines
root@linaro-nano:~# echo mem > /sys/power/state

Could you please tell me more details for using i2cset?.

The official (cumbersome) procedure goes like this:

- Set to PMIC to backup mode via i2c-tools command

# i2cset -f -y 7 0x30 0x20 0x0F

- (Suspend) Change SW23 to OFF
- Request System Suspend to RAM

        # echo mem > /sys/power/state

- (Resume) Change SW23 to ON

Note that this doesn't work with current upstream, as the upstream DTS doesn't have a device node for i2c7 yet...

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds