From: Nguyen Viet Dung <nv-dung@jinso.co.jp>
To: linux-sh@vger.kernel.org, linux-mmc@vger.kernel.org,
ltsi-dev@lists.linuxfoundation.org, "Simon さん" <simon@horms.net>
Cc: S開12/坂戸SC <ryusuke.sakato.bx@renesas.com>,
"Shimoda, Yoshihiro" <yoshihiro.shimoda.uh@renesas.com>,
"Magnus さん" <magnus.damm@gmail.com>,
"Hisao Munakata" <hisao.munakata.vt@renesas.com>
Subject: [bug] kernel panic if writting data to mmc after suspendding
Date: Fri, 11 Dec 2015 10:07:30 +0900 [thread overview]
Message-ID: <566A21D2.4080009@jinso.co.jp> (raw)
[-- Attachment #1: Type: text/plain, Size: 695 bytes --]
Hi,
While is testting LTSI-v4.1.13-rc1, we have found the following the
failure of mmcif.
1. mount mmc block
2. write data to mmc block
3. suspend/resume
4. write data to mmc block one again => happen kernel panic
(Probability in this test procedure is 100%)
We have used git bisect to find cause of failure in LTS-v4.1.13 to
LTSI-v4.1.13-rc1
and have found commit which cause failure.
(On LTS-v4.1.13 has not this failure)
drivers: sh: Disable PM runtime for multi-platform ARM with genpd
commit :cbc41d0a761bffb3166a413a3c77100a737c0cd7
Please confirm for this failure with error log on Lager(Rcar-H2).
Log:LAGER_copy-to-mmc-after-suspend-error_log.txt
Best regard,
Nguyen Viet Dung
[-- Attachment #2: LAGER_copy-to-mmc-after-suspend-error_log.txt --]
[-- Type: text/plain, Size: 32511 bytes --]
root@linaro-nano:~#
LAGER SPI_LOADER V0.27 2014.06.20
DEVICE S25FL512
U-Boot 2013.01.01-gcb82c56 (Jul 17 2015 - 16:32:07)
CPU: Renesas Electronics R8A7790 rev 2.0
Board: Lager Board
DRAM: 2 GiB
MMC: sh_mmcif: 0, sh-sdhi: 1, sh-sdhi: 2
SF: Detected S25FL512S with page size 256 KiB, total 64 MiB
In: serial
Out: serial
Err: serial
Net: sh_eth
=>
=>
=>
=> bootp
sh_eth Waiting for PHY auto negotiation to complete.. done
sh_eth: 100Base/Full
BOOTP broadcast 1
DHCP client bound to address 172.16.1.215
Using sh_eth device
TFTP from server 172.16.1.205; our IP address is 172.16.1.215
Filename 'lager/uImage.dtb'.
Load address: 0x40007fc0
Loading: #################################################################
#################################################################
#################################################################
###############################################
7.7 MiB/s
done
Bytes transferred = 3544402 (361552 hex)
=>
=>
=> bootm
## Booting kernel from Legacy Image at 40007fc0 ...
Image Name: Linux-ltsi-4.1.13-rc1
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3544338 Bytes = 3.4 MiB
Load Address: 40008000
Entry Point: 40008000
Verifying Checksum ... OK
XIP Kernel Image ... OK
OK
Starting kernel ...
Booting Linux on physical CPU 0x0
Linux version 4.1.13-ltsi-00392-g1126bdd-dirty (duclm@le-minh-duc) (gcc version 4.9.2 20140904 (prere5
CPU: ARMv7 Processor [413fc0f2] revision 2 (ARMv7), cr=10c5307d
CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
Machine model: Lager
Ignoring memory block 0x140000000 - 0x200000000
debug: ignoring loglevel setting.
Memory policy: Data cache writealloc
On node 0 totalpages: 262144
free_area_init_node: node 0, pgdat c06ef240, node_mem_map eeff9000
Normal zone: 1520 pages used for memmap
Normal zone: 0 pages reserved
Normal zone: 194560 pages, LIFO batch:31
HighMem zone: 67584 pages, LIFO batch:15
PERCPU: Embedded 9 pages/cpu @eef8c000 s15872 r0 d20992 u36864
pcpu-alloc: s15872 r0 d20992 u36864 alloc=9*4096
pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [0] 4 [0] 5 [0] 6 [0] 7
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 260624
Kernel command line: console=ttySC0,38400 ignore_loglevel rw root=/dev/nfs ip=dhcp
PID hash table entries: 4096 (order: 2, 16384 bytes)
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 1031808K/1048576K available (5128K kernel code, 186K rwdata, 1468K rodata, 284K init, 194K bs)
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
vmalloc : 0xf0000000 - 0xff000000 ( 240 MB)
lowmem : 0xc0000000 - 0xef800000 ( 760 MB)
pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
.text : 0xc0008000 - 0xc067a03c (6601 kB)
.init : 0xc067b000 - 0xc06c2000 ( 284 kB)
.data : 0xc06c2000 - 0xc06f0b40 ( 187 kB)
.bss : 0xc06f3000 - 0xc0723b94 ( 195 kB)
Hierarchical RCU implementation.
Additional per-CPU info printed with stalls.
NR_IRQS:16 nr_irqs:16 16
Architected cp15 timer(s) running at 10.00MHz (virt).
clocksource arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x24e6a1710, max_idle_ns: 4407952021s
sched_clock: 56 bits at 10MHz, resolution 100ns, wraps every 4398046511100ns
Switching to timer-based delay loop, resolution 100ns
Console: colour dummy device 80x30
Calibrating delay loop (skipped), value calculated using timer frequency.. 20.00 BogoMIPS (lpj=100000)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
CPU: Testing write buffer coherency: ok
CPU0: update cpu_capacity 1535
CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
Setting up static identity map for 0x40009000 - 0x40009058
CPU1: update cpu_capacity 1535
CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
CPU2: update cpu_capacity 1535
CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
CPU3: update cpu_capacity 1535
CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
CPU4: failed to boot: -22
CPU5: failed to boot: -22
CPU6: failed to boot: -22
CPU7: failed to boot: -22
Brought up 4 CPUs
SMP: Total of 4 processors activated (80.00 BogoMIPS).
CPU: All CPU(s) started in SVC mode.
devtmpfs: initialized
VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
pinctrl core: initialized pinctrl subsystem
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
renesas_irqc e61c0000.interrupt-controller: driving 4 irqs
sh-pfc e6060000.pfc: r8a77900_pfc support registered
No ATAGs?
hw-breakpoint: Failed to enable monitor mode on CPU 2.
IRQ2 is asserted, installing da9063/da9210 regulator quirk
gpio-regulator regulator@2: Could not obtain regulator setting GPIOs: -517
gpio-regulator regulator@4: Could not obtain regulator setting GPIOs: -517
vgaarb: loaded
SCSI subsystem initialized
libata version 3.00 loaded.
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
i2c-sh_mobile e6500000.i2c: I2C adapter 4, bus speed 100000 Hz
i2c-sh_mobile e6510000.i2c: I2C adapter 5, bus speed 100000 Hz
i2c-sh_mobile e6520000.i2c: I2C adapter 6, bus speed 100000 Hz
i2c 7-0058: Masking da9063 interrupt sources
i2c 7-0068: Masking da9210 interrupt sources
i2c 7-0068: IRQ2 is not asserted, removing quirk
i2c-sh_mobile e60b0000.i2c: I2C adapter 7, bus speed 100000 Hz
media: Linux media interface: v0.10
Linux video capture interface: v2.00
sh_cmt ffca0000.timer: ch0: used for clock events
sh_cmt ffca0000.timer: ch1: used as clock source
clocksource ffca0000.timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000000s
Advanced Linux Sound Architecture Driver Initialized.
Switched to clocksource arch_sys_counter
NET: Registered protocol family 2
TCP established hash table entries: 8192 (order: 3, 32768 bytes)
TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
UDP hash table entries: 512 (order: 2, 16384 bytes)
UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
PCI: CLS 0 bytes, default 64
futex hash table entries: 2048 (order: 5, 131072 bytes)
NFS: Registering the id_resolver key type
Key type id_resolver registered
Key type id_legacy registered
nfs4filelayout_init: NFSv4 File Layout Driver Registering...
nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
bounce: pool size: 64 pages
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
gpio_rcar e6050000.gpio: driving 32 GPIOs
gpio_rcar e6051000.gpio: driving 32 GPIOs
gpio_rcar e6052000.gpio: driving 32 GPIOs
gpio_rcar e6053000.gpio: driving 32 GPIOs
gpio_rcar e6054000.gpio: driving 32 GPIOs
gpio_rcar e6055000.gpio: driving 32 GPIOs
pci-rcar-gen2 ee090000.pci: PCI: bus0 revision 11
pci-rcar-gen2 ee090000.pci: PCI host bridge to bus 0000:00
pci_bus 0000:00: root bus resource [io 0xee080000-0xee0810ff]
pci_bus 0000:00: root bus resource [mem 0xee080000-0xee0810ff]
pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
pci 0000:00:00.0: [1033:0000] type 00 class 0x060000
pci 0000:00:00.0: reg 0x10: [mem 0xee090800-0xee090bff]
pci 0000:00:00.0: reg 0x14: [mem 0x40000000-0x7fffffff pref]
pci 0000:00:01.0: [1033:0035] type 00 class 0x0c0310
pci 0000:00:01.0: reg 0x10: [mem 0x00000000-0x00000fff]
pci 0000:00:01.0: supports D1 D2
pci 0000:00:01.0: PME# supported from D0 D1 D2 D3hot
pci 0000:00:02.0: [1033:00e0] type 00 class 0x0c0320
pci 0000:00:02.0: reg 0x10: [mem 0x00000000-0x000000ff]
pci 0000:00:02.0: supports D1 D2
pci 0000:00:02.0: PME# supported from D0 D1 D2 D3hot
PCI: bus0: Fast back to back transfers disabled
pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
pci 0000:00:01.0: BAR 0: assigned [mem 0xee080000-0xee080fff]
pci 0000:00:02.0: BAR 0: assigned [mem 0xee081000-0xee0810ff]
pci 0000:00:01.0: enabling device (0140 -> 0142)
pci 0000:00:02.0: enabling device (0140 -> 0142)
pci-rcar-gen2 ee0b0000.pci: PCI: bus0 revision 11
pci-rcar-gen2 ee0b0000.pci: PCI host bridge to bus 0001:01
pci_bus 0001:01: root bus resource [io 0xee0a0000-0xee0a10ff]
pci_bus 0001:01: root bus resource [mem 0xee0a0000-0xee0a10ff]
pci_bus 0001:01: No busn resource found for root bus, will use [bus 01-ff]
pci 0001:01:00.0: [1033:0000] type 00 class 0x060000
pci 0001:01:00.0: reg 0x10: [mem 0xee0b0800-0xee0b0bff]
pci 0001:01:00.0: reg 0x14: [mem 0x40000000-0x7fffffff pref]
pci 0001:01:01.0: [1033:0035] type 00 class 0x0c0310
pci 0001:01:01.0: reg 0x10: [mem 0x00000000-0x00000fff]
pci 0001:01:01.0: supports D1 D2
pci 0001:01:01.0: PME# supported from D0 D1 D2 D3hot
pci 0001:01:02.0: [1033:00e0] type 00 class 0x0c0320
pci 0001:01:02.0: reg 0x10: [mem 0x00000000-0x000000ff]
pci 0001:01:02.0: supports D1 D2
pci 0001:01:02.0: PME# supported from D0 D1 D2 D3hot
PCI: bus1: Fast back to back transfers disabled
pci_bus 0001:01: busn_res: [bus 01-ff] end is updated to 01
pci 0001:01:01.0: BAR 0: assigned [mem 0xee0a0000-0xee0a0fff]
pci 0001:01:02.0: BAR 0: assigned [mem 0xee0a1000-0xee0a10ff]
pci 0001:01:01.0: enabling device (0140 -> 0142)
pci 0001:01:02.0: enabling device (0140 -> 0142)
pci-rcar-gen2 ee0d0000.pci: PCI: bus0 revision 11
pci-rcar-gen2 ee0d0000.pci: PCI host bridge to bus 0002:02
pci_bus 0002:02: root bus resource [io 0xee0c0000-0xee0c10ff]
pci_bus 0002:02: root bus resource [mem 0xee0c0000-0xee0c10ff]
pci_bus 0002:02: No busn resource found for root bus, will use [bus 02-ff]
pci 0002:02:00.0: [1033:0000] type 00 class 0x060000
pci 0002:02:00.0: reg 0x10: [mem 0xee0d0800-0xee0d0bff]
pci 0002:02:00.0: reg 0x14: [mem 0x40000000-0x7fffffff pref]
pci 0002:02:01.0: [1033:0035] type 00 class 0x0c0310
pci 0002:02:01.0: reg 0x10: [mem 0x00000000-0x00000fff]
pci 0002:02:01.0: supports D1 D2
pci 0002:02:01.0: PME# supported from D0 D1 D2 D3hot
pci 0002:02:02.0: [1033:00e0] type 00 class 0x0c0320
pci 0002:02:02.0: reg 0x10: [mem 0x00000000-0x000000ff]
pci 0002:02:02.0: supports D1 D2
pci 0002:02:02.0: PME# supported from D0 D1 D2 D3hot
PCI: bus2: Fast back to back transfers disabled
pci_bus 0002:02: busn_res: [bus 02-ff] end is updated to 02
pci 0002:02:01.0: BAR 0: assigned [mem 0xee0c0000-0xee0c0fff]
pci 0002:02:02.0: BAR 0: assigned [mem 0xee0c1000-0xee0c10ff]
pci 0002:02:01.0: enabling device (0140 -> 0142)
pci 0002:02:02.0: enabling device (0140 -> 0142)
Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
SuperH (H)SCI(F) driver initialized
e6c40000.serial: ttySC0 at MMIO 0xe6c40000 (irq = 103, base_baud = 0) is a scifa
console [ttySC0] enabled
e6c50000.serial: ttySC1 at MMIO 0xe6c50000 (irq = 104, base_baud = 0) is a scifa
[drm] Initialized drm 1.1.0 20060810
[drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[drm] No driver support for vblank timestamp query.
rcar-du feb00000.display: failed to initialize encoder /i2c@e6520000/hdmi@39 (-38), skipping
rcar-du feb00000.display: fb0: frame buffer device
rcar-du feb00000.display: registered panic notifier
[drm] Initialized rcar-du 1.0.0 20130110 on minor 0
da9063 7-0058: Device detected (chip-ID: 0x61, var-ID: 0x30)
scsi host0: sata_rcar
ata1: SATA max UDMA/133 irq 106
renesas_spi e6b10000.spi: DMA available
m25p80 spi0.0: s25fl512s (65536 Kbytes)
3 ofpart partitions found on MTD device spi0.0
Creating 3 MTD partitions on "spi0.0":
0x000000000000-0x000000040000 : "loader"
0x000000040000-0x000000440000 : "user"
0x000000440000-0x000004000000 : "flash"
renesas_spi e6b10000.spi: probed
spi_sh_msiof e6e10000.spi: DMA available
libphy: sh_mii: probed
sh-eth ee700000.ethernet eth0: Base address at 0xee700000, 2e:09:0a:00:3d:c8, IRQ 105.
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-pci: EHCI PCI platform driver
ehci-pci 0000:00:02.0: EHCI Host Controller
ehci-pci 0000:00:02.0: new USB bus registered, assigned bus number 1
ehci-pci 0000:00:02.0: irq 120, io mem 0xee081000
ehci-pci 0000:00:02.0: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
ehci-pci 0001:01:02.0: EHCI Host Controller
ehci-pci 0001:01:02.0: new USB bus registered, assigned bus number 2
ehci-pci 0001:01:02.0: irq 121, io mem 0xee0a1000
ehci-pci 0001:01:02.0: USB 2.0 started, EHCI 1.00
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
ehci-pci 0002:02:02.0: EHCI Host Controller
ehci-pci 0002:02:02.0: new USB bus registered, assigned bus number 3
ehci-pci 0002:02:02.0: irq 122, io mem 0xee0c1000
ehci-pci 0002:02:02.0: USB 2.0 started, EHCI 1.00
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 1 port detected
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
ata1: link resume succeeded after 1 retries
ohci-pci: OHCI PCI platform driver
ohci-pci 0000:00:01.0: OHCI PCI host controller
ohci-pci 0000:00:01.0: new USB bus registered, assigned bus number 4
ohci-pci 0000:00:01.0: irq 120, io mem 0xee080000
ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata1.00: ATA-8: ST500DM002-1BD142, KC45, max UDMA/133
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 1 port detected
ohci-pci 0001:01:01.0: OHCI PCI host controller
ohci-pci 0001:01:01.0: new USB bus registered, assigned bus number 5
ohci-pci 0001:01:01.0: irq 121, io mem 0xee0a0000
ata1.00: 976773168 sectors, multi 0: LBA48 NCQ (depth 0/32)
hub 5-0:1.0: USB hub found
hub 5-0:1.0: 1 port detected
ohci-pci 0002:02:01.0: OHCI PCI host controller
ohci-pci 0002:02:01.0: new USB bus registered, assigned bus number 6
ata1.00: configured for UDMA/133
ohci-pci 0002:02:01.0: irq 122, io mem 0xee0c0000
scsi 0:0:0:0: Direct-Access ATA ST500DM002-1BD14 KC45 PQ: 0 ANSI: 5
sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/465 GiB)
sd 0:0:0:0: [sda] 4096-byte physical blocks
sd 0:0:0:0: [sda] Write Protect is off
hub 6-0:1.0: USB hub found
hub 6-0:1.0: 1 port detected
sh-pfc e6060000.pfc: pin GP_5_19 already requested by ee090000.pci; cannot claim for e6590000.usb
sh-pfc e6060000.pfc: pin-179 (e6590000.usb) status -22
sh-pfc e6060000.pfc: could not request pin 179 (GP_5_19) from group usb0_ovc_vbus on device sh-pfc
renesas_usbhs e6590000.usb: Error applying setting, reverse things back
renesas_usbhs e6590000.usb: transceiver found
renesas_usbhs e6590000.usb: gadget probed
phy phy-e6590100.usb-phy.1: phy init failed --> -16
renesas_usbhs e6590000.usb: probed
using random self ethernet address
using random host ethernet address
usb0: HOST MAC fa:f3:44:a6:41:71
usb0: MAC fa:f2:59:4e:93:2d
using random self ethernet address
using random host ethernet address
g_ether gadget: Ethernet Gadget, version: Memorial Day 2008
g_ether gadget: g_ether ready
mousedev: PS/2 mouse device common for all mice
i2c /dev entries driver
adv7180 6-0020: chip found @ 0x20 (e6520000.i2c)
renesas_usbhs e6590000.usb: fifo select error
soc-camera-pdrv soc-camera-pdrv.0: Probing soc-camera-pdrv.0
rcar_vin e6ef1000.video: group probe failed: -6
rcar_thermal e61f0000.thermal: 1 sensor probed
sh_mobile_sdhi ee100000.sd: Got CD GPIO
sh_mobile_sdhi ee140000.sd: Got CD GPIO
sh_mmcif ee220000.mmc: No vqmmc regulator found
sh_mmcif ee220000.mmc: Chip version 0x0003, clock rate 12MHz
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
rcar_sound ec500000.sound: probed
NET: Registered protocol family 10
sit: IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
Key type dns_resolver registered
Registering SWP/SWPB emulation handler
sh_mobile_sdhi ee100000.sd: Got CD GPIO
sh_mobile_sdhi ee100000.sd: mmc1 base at 0xee100000 clock rate 97 MHz
sh_mobile_sdhi ee140000.sd: Got CD GPIO
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sda: sda1 sda2
sd 0:0:0:0: [sda] Attached SCSI disk
sh_mobile_sdhi ee140000.sd: mmc2 base at 0xee140000 clock rate 97 MHz
asoc-simple-card sound: ak4642-hifi <-> ec500000.sound mapping ok
mmc0: MAN_BKOPS_EN bit is not set
input: keyboard as /devices/platform/keyboard/input/input0
hctosys: unable to open rtc device (rtc0)
mmc0: new high speed MMC card at address 0001
mmcblk0: mmc0:0001 MMC08G 7.32 GiB
mmcblk0boot0: mmc0:0001 MMC08G partition 1 2.00 MiB
mmcblk0boot1: mmc0:0001 MMC08G partition 2 2.00 MiB
mmcblk0: p1
sh-eth ee700000.ethernet eth0: attached PHY 1 (IRQ 344) to driver Micrel KSZ8041RNLI
IPv6: ADDRCONF(NETDEV_UP): usb0: link is not ready
Sending DHCP requests .
sh-eth ee700000.ethernet eth0: Link is Up - 100Mbps/Full - flow control off
., OK
IP-Config: Got DHCP answer from 172.16.1.205, my address is 172.16.1.215
IP-Config: Complete:
device=eth0, hwaddr=2e:09:0a:00:3d:c8, ipaddr=172.16.1.215, mask=255.255.255.0, gw=172.16.1.205
host=172.16.1.215, domain=, nis-domain=(none)
bootserver=172.16.1.205, rootserver=172.16.1.205, rootpath=
nameserver0=172.16.1.30, nameserver1=172.16.1.40, nameserver2=8.8.8.8
SDHI2 VccQ: disabling
SDHI0 VccQ: disabling
SDHI2 Vcc: disabling
SDHI0 Vcc: disabling
ALSA device list:
#0: rsnd-dai.0-ak4642-hifi
VFS: Mounted root (nfs filesystem) on device 0:14.
devtmpfs: mounted
Freeing unused kernel memory: 284K (c067b000 - c06c2000)
Mount failed for selinuxfs on /sys/fs/selinux: No such file or directory
random: init urandom read with 54 bits of entropy available
init: plymouth-upstart-bridge main process (929) terminated with status 1
init: plymouth-upstart-bridge main process ended, respawning
init: plymouth-upstart-bridge main process (939) terminated with status 1
init: plymouth-upstart-bridge main process ended, respawning
random: nonblocking pool is initialized
systemd-udevd[1034]: starting version 204
init: systemd-logind pre-start process (1551) terminated with status 32
systemd-udevd[1537]: could not open moddep file '/lib/modules/4.1.13-ltsi-00392-g1126bdd-dirty/module'
CPU4: failed to boot: -22
CPU7: failed to boot: -22
CPU6: failed to boot: -22
CPU5: failed to boot: -22
init: udev-fallback-graphics main process (1704) 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 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 set console keymap[ 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 ]
* Stopping set console keymap[ OK ]
* Starting Enabling additional executable binary formats[ OK ]
* Starting flush early job output to logs[ OK ]
* Stopping Mount filesystems on boot[ OK ]
* Starting D-Bus system message bus[ OK ]
* Starting cold plug devices[ OK ]
* Starting log initial device creation[ OK ]
* Stopping flush early job output to logs[ OK ]
* Starting SystemD login management service[fail]
* Stopping SystemD login management service[ OK ]
* Starting configure network device security[ OK ]
* Starting configure network device[ OK ]
* Starting system logging daemon[ OK ]
* Starting configure network device security[ 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 configure network device[ OK ]
* Starting load fallback graphics devices[fail]
* Starting save udev log and update rules[ OK ]
* Starting set console font[ OK ]
* Stopping set console font[ OK ]
* Starting userspace bootsplash[ OK ]
* Stopping save udev log and update rules[ OK ]
* Stopping userspace bootsplash[ OK ]
* Starting Send an event to indicate plymouth is up[ OK ]
* Stopping Send an event to indicate plymouth is up[ OK ]
* Starting System V initialisation compatibility[ OK ]
* Starting configure virtual network devices[ OK ]
* Starting configure network device security[ OK ]
* Starting configure network device security[ OK ]
* Starting configure network device[ OK ]
* Starting configure network device[ OK ]
* Starting Mount network filesystems[ OK ]
* Starting Failsafe Boot Delay[ OK ]
* Stopping Mount network filesystems[ 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.
* Setting sensors limits * Starting Bridge socket events into upstart[ OK ]
[ OK ]
* Starting Bridge file 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 init: alsa-restore main process (1917) terminated with status 99
regular background program processing daemon[ OK ]
* Starting save kernel messages[ OK ]
* Starting Restore Sound Card State[fail]
* Starting OpenSSH server[ OK ]
* Stopping Restore Sound Card State[ OK ]
* Stopping System V runlevel compatibility[ OK ]
Last login: Thu Jan 1 00:00:22 UTC 1970 on ttySC0
init: tty1 main process (1956) killed by TERM signal
Welcome to Linaro 14.04 (GNU/Linux 4.1.13-ltsi-00392-g1126bdd-dirty armv7l)
* Documentation:init: plymouth-upstart-bridge main process ended, respawning
https://wiki.linaro.org/
root@linaro-nano:~#
root@linaro-nano:~#
root@linaro-nano:~#
SC0/power/wakeup:~# echo enabled > /sys/devices/platform/e6c40000.serial/tty/tty
root@linaro-nano:~#
root@linaro-nano:~# mkdir -p /tmp/temp
root@linaro-nano:~#
root@linaro-nano:~# mkdir -p /mnt/sd0
root@linaro-nano:~#
root@linaro-nano:~# mount -t tmpfs -o size=400M tmpfs /tmp/temp
root@linaro-nano:~#
root@linaro-nano:~# mount /dev/mmcblk0p1 /mnt/sd0
kjournald starting. Commit interval 5 seconds
EXT3-fs (mmcblk0p1): using internal journal
EXT3-fs (mmcblk0p1): recovery complete
EXT3-fs (mmcblk0p1): mounted filesystem with ordered data mode
root@linaro-nano:~#
root@linaro-nano:~#
root@linaro-nano:~# dd if=/dev/urandom of=/tmp/temp/file-100mb bs=1M count=100
100+0 records in
100+0 records out
104857600 bytes (105 MB) copied, 23.2821 s, 4.5 MB/s
root@linaro-nano:~#
root@linaro-nano:~#
root@linaro-nano:~#
root@linaro-nano:~# cp /tmp/temp/file-100mb /mnt/sd0
root@linaro-nano:~#
root@linaro-nano:~#
root@linaro-nano:~# sync
root@linaro-nano:~#
root@linaro-nano:~#
root@linaro-nano:~# cmp /tmp/temp/file-100mb /mnt/sd0/file-100mb
root@linaro-nano:~#
root@linaro-nano:~#
root@linaro-nano:~# echo mem > /sys/power/state
PM: Syncing filesystems ... done.
Freezing user space processes ... (elapsed 0.024 seconds) done.
Freezing remaining freezable tasks ... (elapsed 0.021 seconds) done.
Suspending console(s) (use no_console_suspend to debug)
sd 0:0:0:0: [sda] Synchronizing SCSI cache
sd 0:0:0:0: [sda] Stopping disk
PM: suspend of devices complete after 332.576 msecs
PM: late suspend of devices complete after 6.234 msecs
PM: noirq suspend of devices complete after 25.523 msecs
Disabling non-boot CPUs ...
CPU1: shutdown
CPU2: shutdown
CPU3: shutdown
Enabling non-boot CPUs ...
CPU1 is up
CPU2 is up
CPU3 is up
PM: noirq resume of devices complete after 16.279 msecs
PM: early resume of devices complete after 4.173 msecs
sh-eth ee700000.ethernet eth0: attached PHY 1 (IRQ 344) to driver Micrel KSZ8041RNLI
sd 0:0:0:0: [sda] Starting disk
renesas_usbhs e6590000.usb: fifo select error
ata1: link resume succeeded after 1 retries
ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
sh-eth ee700000.ethernet eth0: Link is Up - 100Mbps/Full - flow control off
ata1.00: configured for UDMA/133
PM: resume of devices complete after 3709.245 msecs
Restarting tasks ... done.
root@linaro-nano:~#
root@linaro-nano:~#
root@linaro-nano:~# dd if=/dev/urandom of=/tmp/temp/file-100mb bs=1M count=100
100+0 records in
100+0 records out
104857600 bytes (105 MB) copied, 23.1692 s, 4.5 MB/s
root@linaro-nano:~#
root@linaro-nano:~# cp /tmp/temp/file-100mb /mnt/sd0
root@linaro-nano:~# Unable to handle kernel NULL pointer dereference at virtual address 00000000
pgd = c0004000
[00000000] *pgd=00000000
Internal error: Oops: 17 [#1] SMP ARM
CPU: 0 PID: 860 Comm: irq/100-ee22000 Not tainted 4.1.13-ltsi-00392-g1126bdd-dirty #7
Hardware name: Generic R8A7790 (Flattened Device Tree)
task: ee1e5100 ti: ee11a000 task.ti: ee11a000
PC is at sh_mmcif_irqt+0x8c0/0xbc4
LR is at sh_mmcif_irqt+0x50/0xbc4
pc : [<c03c6b60>] lr : [<c03c62f0>] psr: 80000013
sp : ee11beb8 ip : ee11beb8 fp : ee11bf04
r10: 00000000 r9 : 00000001 r8 : edc2c1e0
r7 : edc2c1c0 r6 : edbfae14 r5 : edbfad50 r4 : edc2d340
r3 : 00000000 r2 : 00000200 r1 : 00000000 r0 : edc2d3b8
Flags: Nzcv IRQs on FIQs on Mode SVC_32 ISA ARM Segment kernel
Control: 10c5307d Table: 6df6406a DAC: 00000015
Process irq/100-ee22000 (pid: 860, stack limit = 0xee11a210)
Stack: (0xee11beb8 to 0xee11c000)
bea0: ee11bf0c ee11bec8
bec0: c0505dbc c004222c 00000003 00000001 edc2d374 edc2d3b8 ee11bf14 edc2c1c0
bee0: ee11a000 eea77a00 edc2c1c0 edc2c1e0 00000001 00000000 ee11bf24 ee11bf08
bf00: c005e040 c03c62ac eea77a00 ee11a000 c005e01c edc2c1c0 ee11bf5c ee11bf28
bf20: c005e320 c005e028 00000000 c005e178 00000000 edc2c180 00000000 edc2c1c0
bf40: c005e22c 00000000 00000000 00000000 ee11bfac ee11bf60 c003e288 c005e238
bf60: c00369dc 00000000 c000b3a8 edc2c1c0 00000000 00000000 ee11bf78 ee11bf78
bf80: 00000000 00000000 ee11bf88 ee11bf88 edc2c180 c003e1a8 00000000 00000000
bfa0: 00000000 ee11bfb0 c000fc88 c003e1b4 00000000 00000000 00000000 00000000
bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
bfe0: 00000000 00000000 00000000 00000000 00000013 00000000 6f7fd821 6f7fdc21
Backtrace:
[<c03c62a0>] (sh_mmcif_irqt) from [<c005e040>] (irq_thread_fn+0x24/0x3c)
r10:00000000 r9:00000001 r8:edc2c1e0 r7:edc2c1c0 r6:eea77a00 r5:ee11a000
r4:edc2c1c0
[<c005e01c>] (irq_thread_fn) from [<c005e320>] (irq_thread+0xf4/0x16c)
r7:edc2c1c0 r6:c005e01c r5:ee11a000 r4:eea77a00
[<c005e22c>] (irq_thread) from [<c003e288>] (kthread+0xe0/0xf4)
r10:00000000 r9:00000000 r8:00000000 r7:c005e22c r6:edc2c1c0 r5:00000000
r4:edc2c180
[<c003e1a8>] (kthread) from [<c000fc88>] (ret_from_fork+0x14/0x2c)
r7:00000000 r6:00000000 r5:c003e1a8 r4:edc2c180
Code: e7f001f2 e5942068 e1530122 2a000004 (e4910004)
---[ end trace 7ef9a16c0c18005a ]---
Unable to handle kernel paging request at virtual address ffffffec
pgd = c0004000
[ffffffec] *pgd=6f7fd821, *pte=00000000, *ppte=00000000
Internal error: Oops: 17 [#2] SMP ARM
CPU: 0 PID: 860 Comm: irq/100-ee22000 Tainted: G D 4.1.13-ltsi-00392-g1126bdd-dirty #7
Hardware name: Generic R8A7790 (Flattened Device Tree)
task: ee1e5100 ti: ee11a000 task.ti: ee11a000
PC is at kthread_data+0x10/0x18
LR is at irq_thread_dtor+0x58/0xb4
pc : [<c003e46c>] lr : [<c005e1d0>] psr: 20000113
sp : ee11bc60 ip : ee11bc70 fp : ee11bc6c
r10: c06c856c r9 : ee11bd22 r8 : 00000001
r7 : ee11bcb8 r6 : c06f41a8 r5 : ee1e5100 r4 : ee1e5100
r3 : 00000000 r2 : ee11bf28 r1 : ee11bf28 r0 : ee1e5100
Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
Control: 10c5307d Table: 6df6406a DAC: 00000015
Process irq/100-ee22000 (pid: 860, stack limit = 0xee11a210)
Stack: (0xee11bc60 to 0xee11c000)
bc60: ee11bc84 ee11bc70 c005e1d0 c003e468 ee1e5100 00000000 ee11bca4 ee11bc88
bc80: c003d1fc c005e184 ee1e5100 00000000 0000000b ee11bcb8 ee11bcd4 ee11bca8
bca0: c002870c c003d14c ee11be70 0000000b c03c6b62 00000000 ee11bcd4 ee11bcc8
bcc0: c00262cc c03c6b62 ee11bd54 ee11bcd8 c0013420 c0028358 ee11a210 0000000b
bce0: c03c6b60 60000113 00000008 00000000 6505c48c 30306637 20326631 34393565
bd00: 38363032 35316520 32313033 61322032 30303030 28203430 31393465 34303030
bd20: c0002029 c050406c c061c5b3 00000000 ee11be70 00000017 00000000 00000000
bd40: 00000017 00000000 ee11bd6c ee11bd58 c0503dcc c0013140 ee11be70 ee1e5100
bd60: ee11bdc4 ee11bd70 c001c7dc c0503d7c c005dbe4 c005ff08 00000002 c06f0968
bd80: ee11bdc4 eea77a00 eea77a60 c06bfbe4 ee806000 00000001 00000001 00000017
bda0: 00000000 c06c89a4 ee11be70 edc2c1e0 00000001 00000000 ee11be6c ee11bdc8
bdc0: c000a24c c001c534 c06bfbe4 ee806000 00000001 00000001 ee11bdfc ee11bde8
bde0: c00295e0 c0066fd0 ee11be14 ee11bdf8 c0069220 c050939c c070668c edc2d374
be00: edc2d384 ee11be6c ee11be64 ee11be18 c003a15c c0037624 ee11be44 a0000093
be20: c000a3b0 edc2d374 edc2d374 00000003 ee11be64 ee11be40 c0038f34 c0069dc8
be40: 00000001 ffffffe0 edc2d374 00000001 c03c6b60 80000013 ffffffff ee11bea4
be60: ee11bf04 ee11be70 c0013c58 c000a21c edc2d3b8 00000000 00000200 00000000
be80: edc2d340 edbfad50 edbfae14 edc2c1c0 edc2c1e0 00000001 00000000 ee11bf04
bea0: ee11beb8 ee11beb8 c03c62f0 c03c6b60 80000013 ffffffff ee11bf0c ee11bec8
bec0: c0505dbc c004222c 00000003 00000001 edc2d374 edc2d3b8 ee11bf14 edc2c1c0
bee0: ee11a000 eea77a00 edc2c1c0 edc2c1e0 00000001 00000000 ee11bf24 ee11bf08
bf00: c005e040 c03c62ac eea77a00 ee11a000 c005e01c edc2c1c0 ee11bf5c ee11bf28
bf20: c005e320 c005e028 00000000 c005e178 00000000 edc2c180 00000000 edc2c1c0
bf40: c005e22c 00000000 00000000 00000000 ee11bfac ee11bf60 c003e288 c005e238
bf60: c00369dc 00000000 c000b3a8 edc2c1c0 00000000 00000000 ee11bf78 ee11bf78
bf80: 00000001 00010001 ee11bf88 ee11bf88 edc2c180 c003e1a8 00000000 00000000
bfa0: 00000000 ee11bfb0 c000fc88 c003e1b4 00000000 00000000 00000000 00000000
bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
bfe0: 00000000 00000000 00000000 00000000 00000013 00000000 6f7fd821 6f7fdc21
Backtrace:
[<c003e45c>] (kthread_data) from [<c005e1d0>] (irq_thread_dtor+0x58/0xb4)
[<c005e178>] (irq_thread_dtor) from [<c003d1fc>] (task_work_run+0xbc/0xd0)
r5:00000000 r4:ee1e5100
[<c003d140>] (task_work_run) from [<c002870c>] (do_exit+0x3c0/0x870)
r7:ee11bcb8 r6:0000000b r5:00000000 r4:ee1e5100
[<c002834c>] (do_exit) from [<c0013420>] (die+0x2ec/0x3ec)
r7:c03c6b62
[<c0013134>] (die) from [<c0503dcc>] (__do_kernel_fault.part.0+0x5c/0x7c)
r10:00000000 r9:00000017 r8:00000000 r7:00000000 r6:00000017 r5:ee11be70
r4:00000000
[<c0503d70>] (__do_kernel_fault.part.0) from [<c001c7dc>] (do_page_fault+0x2b4/0x33c)
r7:ee1e5100 r4:ee11be70
[<c001c528>] (do_page_fault) from [<c000a24c>] (do_DataAbort+0x3c/0xbc)
i2c-sh_mobile e60b0000.i2c: Transfer request timed out
r10:00000000 r9:00000001 r8:edc2c1e0 r7:ee11be70 r6:c06c89a4 r5:00000000
r4:00000017
[<c000a210>] (do_DataAbort) from [<c0013c58>] (__dabt_svc+0x38/0x60)
Exception stack(0xee11be70 to 0xee11beb8)
be60: edc2d3b8 00000000 00000200 00000000
be80: edc2d340 edbfad50 edbfae14 edc2c1c0 edc2c1e0 00000001 00000000 ee11bf04
bea0: ee11beb8 ee11beb8 c03c62f0 c03c6b60 80000013 ffffffff
r7:ee11bea4 r6:ffffffff r5:80000013 r4:c03c6b60
[<c03c62a0>] (sh_mmcif_irqt) from [<c005e040>] (irq_thread_fn+0x24/0x3c)
r10:00000000 r9:00000001 r8:edc2c1e0 r7:edc2c1c0 r6:eea77a00 r5:ee11a000
r4:edc2c1c0
[<c005e01c>] (irq_thread_fn) from [<c005e320>] (irq_thread+0xf4/0x16c)
r7:edc2c1c0 r6:c005e01c r5:ee11a000 r4:eea77a00
[<c005e22c>] (irq_thread) from [<c003e288>] (kthread+0xe0/0xf4)
r10:00000000 r9:00000000 r8:00000000 r7:c005e22c r6:edc2c1c0 r5:00000000
r4:edc2c180
[<c003e1a8>] (kthread) from [<c000fc88>] (ret_from_fork+0x14/0x2c)
r7:00000000 r6:00000000 r5:c003e1a8 r4:edc2c180
Code: e1a0c00d e92dd800 e24cb004 e5903270 (e5130014)
sched: RT throttling activated
---[ end trace 7ef9a16c0c18005b ]---
Fixing recursive fault but reboot is needed!
WARNING: multiple messages have this Message-ID (diff)
From: Nguyen Viet Dung <nv-dung@jinso.co.jp>
To: linux-sh@vger.kernel.org, linux-mmc@vger.kernel.org,
ltsi-dev@lists.linuxfoundation.org, "Simon さん" <simon@horms.net>
Cc: S開12/坂戸SC <ryusuke.sakato.bx@renesas.com>,
"Shimoda, Yoshihiro" <yoshihiro.shimoda.uh@renesas.com>,
"Magnus さん" <magnus.damm@gmail.com>,
"Hisao Munakata" <hisao.munakata.vt@renesas.com>
Subject: [bug] kernel panic if writting data to mmc after suspendding
Date: Fri, 11 Dec 2015 01:07:30 +0000 [thread overview]
Message-ID: <566A21D2.4080009@jinso.co.jp> (raw)
[-- Attachment #1: Type: text/plain, Size: 695 bytes --]
Hi,
While is testting LTSI-v4.1.13-rc1, we have found the following the
failure of mmcif.
1. mount mmc block
2. write data to mmc block
3. suspend/resume
4. write data to mmc block one again => happen kernel panic
(Probability in this test procedure is 100%)
We have used git bisect to find cause of failure in LTS-v4.1.13 to
LTSI-v4.1.13-rc1
and have found commit which cause failure.
(On LTS-v4.1.13 has not this failure)
drivers: sh: Disable PM runtime for multi-platform ARM with genpd
commit :cbc41d0a761bffb3166a413a3c77100a737c0cd7
Please confirm for this failure with error log on Lager(Rcar-H2).
Log:LAGER_copy-to-mmc-after-suspend-error_log.txt
Best regard,
Nguyen Viet Dung
[-- Attachment #2: LAGER_copy-to-mmc-after-suspend-error_log.txt --]
[-- Type: text/plain, Size: 32511 bytes --]
root@linaro-nano:~#
LAGER SPI_LOADER V0.27 2014.06.20
DEVICE S25FL512
U-Boot 2013.01.01-gcb82c56 (Jul 17 2015 - 16:32:07)
CPU: Renesas Electronics R8A7790 rev 2.0
Board: Lager Board
DRAM: 2 GiB
MMC: sh_mmcif: 0, sh-sdhi: 1, sh-sdhi: 2
SF: Detected S25FL512S with page size 256 KiB, total 64 MiB
In: serial
Out: serial
Err: serial
Net: sh_eth
=>
=>
=>
=> bootp
sh_eth Waiting for PHY auto negotiation to complete.. done
sh_eth: 100Base/Full
BOOTP broadcast 1
DHCP client bound to address 172.16.1.215
Using sh_eth device
TFTP from server 172.16.1.205; our IP address is 172.16.1.215
Filename 'lager/uImage.dtb'.
Load address: 0x40007fc0
Loading: #################################################################
#################################################################
#################################################################
###############################################
7.7 MiB/s
done
Bytes transferred = 3544402 (361552 hex)
=>
=>
=> bootm
## Booting kernel from Legacy Image at 40007fc0 ...
Image Name: Linux-ltsi-4.1.13-rc1
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3544338 Bytes = 3.4 MiB
Load Address: 40008000
Entry Point: 40008000
Verifying Checksum ... OK
XIP Kernel Image ... OK
OK
Starting kernel ...
Booting Linux on physical CPU 0x0
Linux version 4.1.13-ltsi-00392-g1126bdd-dirty (duclm@le-minh-duc) (gcc version 4.9.2 20140904 (prere5
CPU: ARMv7 Processor [413fc0f2] revision 2 (ARMv7), cr=10c5307d
CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
Machine model: Lager
Ignoring memory block 0x140000000 - 0x200000000
debug: ignoring loglevel setting.
Memory policy: Data cache writealloc
On node 0 totalpages: 262144
free_area_init_node: node 0, pgdat c06ef240, node_mem_map eeff9000
Normal zone: 1520 pages used for memmap
Normal zone: 0 pages reserved
Normal zone: 194560 pages, LIFO batch:31
HighMem zone: 67584 pages, LIFO batch:15
PERCPU: Embedded 9 pages/cpu @eef8c000 s15872 r0 d20992 u36864
pcpu-alloc: s15872 r0 d20992 u36864 alloc=9*4096
pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [0] 4 [0] 5 [0] 6 [0] 7
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 260624
Kernel command line: console=ttySC0,38400 ignore_loglevel rw root=/dev/nfs ip=dhcp
PID hash table entries: 4096 (order: 2, 16384 bytes)
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 1031808K/1048576K available (5128K kernel code, 186K rwdata, 1468K rodata, 284K init, 194K bs)
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
vmalloc : 0xf0000000 - 0xff000000 ( 240 MB)
lowmem : 0xc0000000 - 0xef800000 ( 760 MB)
pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
.text : 0xc0008000 - 0xc067a03c (6601 kB)
.init : 0xc067b000 - 0xc06c2000 ( 284 kB)
.data : 0xc06c2000 - 0xc06f0b40 ( 187 kB)
.bss : 0xc06f3000 - 0xc0723b94 ( 195 kB)
Hierarchical RCU implementation.
Additional per-CPU info printed with stalls.
NR_IRQS:16 nr_irqs:16 16
Architected cp15 timer(s) running at 10.00MHz (virt).
clocksource arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x24e6a1710, max_idle_ns: 4407952021s
sched_clock: 56 bits at 10MHz, resolution 100ns, wraps every 4398046511100ns
Switching to timer-based delay loop, resolution 100ns
Console: colour dummy device 80x30
Calibrating delay loop (skipped), value calculated using timer frequency.. 20.00 BogoMIPS (lpj=100000)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
CPU: Testing write buffer coherency: ok
CPU0: update cpu_capacity 1535
CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
Setting up static identity map for 0x40009000 - 0x40009058
CPU1: update cpu_capacity 1535
CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
CPU2: update cpu_capacity 1535
CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
CPU3: update cpu_capacity 1535
CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
CPU4: failed to boot: -22
CPU5: failed to boot: -22
CPU6: failed to boot: -22
CPU7: failed to boot: -22
Brought up 4 CPUs
SMP: Total of 4 processors activated (80.00 BogoMIPS).
CPU: All CPU(s) started in SVC mode.
devtmpfs: initialized
VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
pinctrl core: initialized pinctrl subsystem
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
renesas_irqc e61c0000.interrupt-controller: driving 4 irqs
sh-pfc e6060000.pfc: r8a77900_pfc support registered
No ATAGs?
hw-breakpoint: Failed to enable monitor mode on CPU 2.
IRQ2 is asserted, installing da9063/da9210 regulator quirk
gpio-regulator regulator@2: Could not obtain regulator setting GPIOs: -517
gpio-regulator regulator@4: Could not obtain regulator setting GPIOs: -517
vgaarb: loaded
SCSI subsystem initialized
libata version 3.00 loaded.
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
i2c-sh_mobile e6500000.i2c: I2C adapter 4, bus speed 100000 Hz
i2c-sh_mobile e6510000.i2c: I2C adapter 5, bus speed 100000 Hz
i2c-sh_mobile e6520000.i2c: I2C adapter 6, bus speed 100000 Hz
i2c 7-0058: Masking da9063 interrupt sources
i2c 7-0068: Masking da9210 interrupt sources
i2c 7-0068: IRQ2 is not asserted, removing quirk
i2c-sh_mobile e60b0000.i2c: I2C adapter 7, bus speed 100000 Hz
media: Linux media interface: v0.10
Linux video capture interface: v2.00
sh_cmt ffca0000.timer: ch0: used for clock events
sh_cmt ffca0000.timer: ch1: used as clock source
clocksource ffca0000.timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000000s
Advanced Linux Sound Architecture Driver Initialized.
Switched to clocksource arch_sys_counter
NET: Registered protocol family 2
TCP established hash table entries: 8192 (order: 3, 32768 bytes)
TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
UDP hash table entries: 512 (order: 2, 16384 bytes)
UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
PCI: CLS 0 bytes, default 64
futex hash table entries: 2048 (order: 5, 131072 bytes)
NFS: Registering the id_resolver key type
Key type id_resolver registered
Key type id_legacy registered
nfs4filelayout_init: NFSv4 File Layout Driver Registering...
nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
bounce: pool size: 64 pages
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
gpio_rcar e6050000.gpio: driving 32 GPIOs
gpio_rcar e6051000.gpio: driving 32 GPIOs
gpio_rcar e6052000.gpio: driving 32 GPIOs
gpio_rcar e6053000.gpio: driving 32 GPIOs
gpio_rcar e6054000.gpio: driving 32 GPIOs
gpio_rcar e6055000.gpio: driving 32 GPIOs
pci-rcar-gen2 ee090000.pci: PCI: bus0 revision 11
pci-rcar-gen2 ee090000.pci: PCI host bridge to bus 0000:00
pci_bus 0000:00: root bus resource [io 0xee080000-0xee0810ff]
pci_bus 0000:00: root bus resource [mem 0xee080000-0xee0810ff]
pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
pci 0000:00:00.0: [1033:0000] type 00 class 0x060000
pci 0000:00:00.0: reg 0x10: [mem 0xee090800-0xee090bff]
pci 0000:00:00.0: reg 0x14: [mem 0x40000000-0x7fffffff pref]
pci 0000:00:01.0: [1033:0035] type 00 class 0x0c0310
pci 0000:00:01.0: reg 0x10: [mem 0x00000000-0x00000fff]
pci 0000:00:01.0: supports D1 D2
pci 0000:00:01.0: PME# supported from D0 D1 D2 D3hot
pci 0000:00:02.0: [1033:00e0] type 00 class 0x0c0320
pci 0000:00:02.0: reg 0x10: [mem 0x00000000-0x000000ff]
pci 0000:00:02.0: supports D1 D2
pci 0000:00:02.0: PME# supported from D0 D1 D2 D3hot
PCI: bus0: Fast back to back transfers disabled
pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
pci 0000:00:01.0: BAR 0: assigned [mem 0xee080000-0xee080fff]
pci 0000:00:02.0: BAR 0: assigned [mem 0xee081000-0xee0810ff]
pci 0000:00:01.0: enabling device (0140 -> 0142)
pci 0000:00:02.0: enabling device (0140 -> 0142)
pci-rcar-gen2 ee0b0000.pci: PCI: bus0 revision 11
pci-rcar-gen2 ee0b0000.pci: PCI host bridge to bus 0001:01
pci_bus 0001:01: root bus resource [io 0xee0a0000-0xee0a10ff]
pci_bus 0001:01: root bus resource [mem 0xee0a0000-0xee0a10ff]
pci_bus 0001:01: No busn resource found for root bus, will use [bus 01-ff]
pci 0001:01:00.0: [1033:0000] type 00 class 0x060000
pci 0001:01:00.0: reg 0x10: [mem 0xee0b0800-0xee0b0bff]
pci 0001:01:00.0: reg 0x14: [mem 0x40000000-0x7fffffff pref]
pci 0001:01:01.0: [1033:0035] type 00 class 0x0c0310
pci 0001:01:01.0: reg 0x10: [mem 0x00000000-0x00000fff]
pci 0001:01:01.0: supports D1 D2
pci 0001:01:01.0: PME# supported from D0 D1 D2 D3hot
pci 0001:01:02.0: [1033:00e0] type 00 class 0x0c0320
pci 0001:01:02.0: reg 0x10: [mem 0x00000000-0x000000ff]
pci 0001:01:02.0: supports D1 D2
pci 0001:01:02.0: PME# supported from D0 D1 D2 D3hot
PCI: bus1: Fast back to back transfers disabled
pci_bus 0001:01: busn_res: [bus 01-ff] end is updated to 01
pci 0001:01:01.0: BAR 0: assigned [mem 0xee0a0000-0xee0a0fff]
pci 0001:01:02.0: BAR 0: assigned [mem 0xee0a1000-0xee0a10ff]
pci 0001:01:01.0: enabling device (0140 -> 0142)
pci 0001:01:02.0: enabling device (0140 -> 0142)
pci-rcar-gen2 ee0d0000.pci: PCI: bus0 revision 11
pci-rcar-gen2 ee0d0000.pci: PCI host bridge to bus 0002:02
pci_bus 0002:02: root bus resource [io 0xee0c0000-0xee0c10ff]
pci_bus 0002:02: root bus resource [mem 0xee0c0000-0xee0c10ff]
pci_bus 0002:02: No busn resource found for root bus, will use [bus 02-ff]
pci 0002:02:00.0: [1033:0000] type 00 class 0x060000
pci 0002:02:00.0: reg 0x10: [mem 0xee0d0800-0xee0d0bff]
pci 0002:02:00.0: reg 0x14: [mem 0x40000000-0x7fffffff pref]
pci 0002:02:01.0: [1033:0035] type 00 class 0x0c0310
pci 0002:02:01.0: reg 0x10: [mem 0x00000000-0x00000fff]
pci 0002:02:01.0: supports D1 D2
pci 0002:02:01.0: PME# supported from D0 D1 D2 D3hot
pci 0002:02:02.0: [1033:00e0] type 00 class 0x0c0320
pci 0002:02:02.0: reg 0x10: [mem 0x00000000-0x000000ff]
pci 0002:02:02.0: supports D1 D2
pci 0002:02:02.0: PME# supported from D0 D1 D2 D3hot
PCI: bus2: Fast back to back transfers disabled
pci_bus 0002:02: busn_res: [bus 02-ff] end is updated to 02
pci 0002:02:01.0: BAR 0: assigned [mem 0xee0c0000-0xee0c0fff]
pci 0002:02:02.0: BAR 0: assigned [mem 0xee0c1000-0xee0c10ff]
pci 0002:02:01.0: enabling device (0140 -> 0142)
pci 0002:02:02.0: enabling device (0140 -> 0142)
Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
SuperH (H)SCI(F) driver initialized
e6c40000.serial: ttySC0 at MMIO 0xe6c40000 (irq = 103, base_baud = 0) is a scifa
console [ttySC0] enabled
e6c50000.serial: ttySC1 at MMIO 0xe6c50000 (irq = 104, base_baud = 0) is a scifa
[drm] Initialized drm 1.1.0 20060810
[drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[drm] No driver support for vblank timestamp query.
rcar-du feb00000.display: failed to initialize encoder /i2c@e6520000/hdmi@39 (-38), skipping
rcar-du feb00000.display: fb0: frame buffer device
rcar-du feb00000.display: registered panic notifier
[drm] Initialized rcar-du 1.0.0 20130110 on minor 0
da9063 7-0058: Device detected (chip-ID: 0x61, var-ID: 0x30)
scsi host0: sata_rcar
ata1: SATA max UDMA/133 irq 106
renesas_spi e6b10000.spi: DMA available
m25p80 spi0.0: s25fl512s (65536 Kbytes)
3 ofpart partitions found on MTD device spi0.0
Creating 3 MTD partitions on "spi0.0":
0x000000000000-0x000000040000 : "loader"
0x000000040000-0x000000440000 : "user"
0x000000440000-0x000004000000 : "flash"
renesas_spi e6b10000.spi: probed
spi_sh_msiof e6e10000.spi: DMA available
libphy: sh_mii: probed
sh-eth ee700000.ethernet eth0: Base address at 0xee700000, 2e:09:0a:00:3d:c8, IRQ 105.
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-pci: EHCI PCI platform driver
ehci-pci 0000:00:02.0: EHCI Host Controller
ehci-pci 0000:00:02.0: new USB bus registered, assigned bus number 1
ehci-pci 0000:00:02.0: irq 120, io mem 0xee081000
ehci-pci 0000:00:02.0: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
ehci-pci 0001:01:02.0: EHCI Host Controller
ehci-pci 0001:01:02.0: new USB bus registered, assigned bus number 2
ehci-pci 0001:01:02.0: irq 121, io mem 0xee0a1000
ehci-pci 0001:01:02.0: USB 2.0 started, EHCI 1.00
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
ehci-pci 0002:02:02.0: EHCI Host Controller
ehci-pci 0002:02:02.0: new USB bus registered, assigned bus number 3
ehci-pci 0002:02:02.0: irq 122, io mem 0xee0c1000
ehci-pci 0002:02:02.0: USB 2.0 started, EHCI 1.00
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 1 port detected
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
ata1: link resume succeeded after 1 retries
ohci-pci: OHCI PCI platform driver
ohci-pci 0000:00:01.0: OHCI PCI host controller
ohci-pci 0000:00:01.0: new USB bus registered, assigned bus number 4
ohci-pci 0000:00:01.0: irq 120, io mem 0xee080000
ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata1.00: ATA-8: ST500DM002-1BD142, KC45, max UDMA/133
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 1 port detected
ohci-pci 0001:01:01.0: OHCI PCI host controller
ohci-pci 0001:01:01.0: new USB bus registered, assigned bus number 5
ohci-pci 0001:01:01.0: irq 121, io mem 0xee0a0000
ata1.00: 976773168 sectors, multi 0: LBA48 NCQ (depth 0/32)
hub 5-0:1.0: USB hub found
hub 5-0:1.0: 1 port detected
ohci-pci 0002:02:01.0: OHCI PCI host controller
ohci-pci 0002:02:01.0: new USB bus registered, assigned bus number 6
ata1.00: configured for UDMA/133
ohci-pci 0002:02:01.0: irq 122, io mem 0xee0c0000
scsi 0:0:0:0: Direct-Access ATA ST500DM002-1BD14 KC45 PQ: 0 ANSI: 5
sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/465 GiB)
sd 0:0:0:0: [sda] 4096-byte physical blocks
sd 0:0:0:0: [sda] Write Protect is off
hub 6-0:1.0: USB hub found
hub 6-0:1.0: 1 port detected
sh-pfc e6060000.pfc: pin GP_5_19 already requested by ee090000.pci; cannot claim for e6590000.usb
sh-pfc e6060000.pfc: pin-179 (e6590000.usb) status -22
sh-pfc e6060000.pfc: could not request pin 179 (GP_5_19) from group usb0_ovc_vbus on device sh-pfc
renesas_usbhs e6590000.usb: Error applying setting, reverse things back
renesas_usbhs e6590000.usb: transceiver found
renesas_usbhs e6590000.usb: gadget probed
phy phy-e6590100.usb-phy.1: phy init failed --> -16
renesas_usbhs e6590000.usb: probed
using random self ethernet address
using random host ethernet address
usb0: HOST MAC fa:f3:44:a6:41:71
usb0: MAC fa:f2:59:4e:93:2d
using random self ethernet address
using random host ethernet address
g_ether gadget: Ethernet Gadget, version: Memorial Day 2008
g_ether gadget: g_ether ready
mousedev: PS/2 mouse device common for all mice
i2c /dev entries driver
adv7180 6-0020: chip found @ 0x20 (e6520000.i2c)
renesas_usbhs e6590000.usb: fifo select error
soc-camera-pdrv soc-camera-pdrv.0: Probing soc-camera-pdrv.0
rcar_vin e6ef1000.video: group probe failed: -6
rcar_thermal e61f0000.thermal: 1 sensor probed
sh_mobile_sdhi ee100000.sd: Got CD GPIO
sh_mobile_sdhi ee140000.sd: Got CD GPIO
sh_mmcif ee220000.mmc: No vqmmc regulator found
sh_mmcif ee220000.mmc: Chip version 0x0003, clock rate 12MHz
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
rcar_sound ec500000.sound: probed
NET: Registered protocol family 10
sit: IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
Key type dns_resolver registered
Registering SWP/SWPB emulation handler
sh_mobile_sdhi ee100000.sd: Got CD GPIO
sh_mobile_sdhi ee100000.sd: mmc1 base at 0xee100000 clock rate 97 MHz
sh_mobile_sdhi ee140000.sd: Got CD GPIO
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sda: sda1 sda2
sd 0:0:0:0: [sda] Attached SCSI disk
sh_mobile_sdhi ee140000.sd: mmc2 base at 0xee140000 clock rate 97 MHz
asoc-simple-card sound: ak4642-hifi <-> ec500000.sound mapping ok
mmc0: MAN_BKOPS_EN bit is not set
input: keyboard as /devices/platform/keyboard/input/input0
hctosys: unable to open rtc device (rtc0)
mmc0: new high speed MMC card at address 0001
mmcblk0: mmc0:0001 MMC08G 7.32 GiB
mmcblk0boot0: mmc0:0001 MMC08G partition 1 2.00 MiB
mmcblk0boot1: mmc0:0001 MMC08G partition 2 2.00 MiB
mmcblk0: p1
sh-eth ee700000.ethernet eth0: attached PHY 1 (IRQ 344) to driver Micrel KSZ8041RNLI
IPv6: ADDRCONF(NETDEV_UP): usb0: link is not ready
Sending DHCP requests .
sh-eth ee700000.ethernet eth0: Link is Up - 100Mbps/Full - flow control off
., OK
IP-Config: Got DHCP answer from 172.16.1.205, my address is 172.16.1.215
IP-Config: Complete:
device=eth0, hwaddr=2e:09:0a:00:3d:c8, ipaddr=172.16.1.215, mask=255.255.255.0, gw=172.16.1.205
host=172.16.1.215, domain=, nis-domain=(none)
bootserver=172.16.1.205, rootserver=172.16.1.205, rootpath=
nameserver0=172.16.1.30, nameserver1=172.16.1.40, nameserver2=8.8.8.8
SDHI2 VccQ: disabling
SDHI0 VccQ: disabling
SDHI2 Vcc: disabling
SDHI0 Vcc: disabling
ALSA device list:
#0: rsnd-dai.0-ak4642-hifi
VFS: Mounted root (nfs filesystem) on device 0:14.
devtmpfs: mounted
Freeing unused kernel memory: 284K (c067b000 - c06c2000)
Mount failed for selinuxfs on /sys/fs/selinux: No such file or directory
random: init urandom read with 54 bits of entropy available
init: plymouth-upstart-bridge main process (929) terminated with status 1
init: plymouth-upstart-bridge main process ended, respawning
init: plymouth-upstart-bridge main process (939) terminated with status 1
init: plymouth-upstart-bridge main process ended, respawning
random: nonblocking pool is initialized
systemd-udevd[1034]: starting version 204
init: systemd-logind pre-start process (1551) terminated with status 32
systemd-udevd[1537]: could not open moddep file '/lib/modules/4.1.13-ltsi-00392-g1126bdd-dirty/module'
CPU4: failed to boot: -22
CPU7: failed to boot: -22
CPU6: failed to boot: -22
CPU5: failed to boot: -22
init: udev-fallback-graphics main process (1704) 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 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 set console keymap[ 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 ]
* Stopping set console keymap[ OK ]
* Starting Enabling additional executable binary formats[ OK ]
* Starting flush early job output to logs[ OK ]
* Stopping Mount filesystems on boot[ OK ]
* Starting D-Bus system message bus[ OK ]
* Starting cold plug devices[ OK ]
* Starting log initial device creation[ OK ]
* Stopping flush early job output to logs[ OK ]
* Starting SystemD login management service[fail]
* Stopping SystemD login management service[ OK ]
* Starting configure network device security[ OK ]
* Starting configure network device[ OK ]
* Starting system logging daemon[ OK ]
* Starting configure network device security[ 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 configure network device[ OK ]
* Starting load fallback graphics devices[fail]
* Starting save udev log and update rules[ OK ]
* Starting set console font[ OK ]
* Stopping set console font[ OK ]
* Starting userspace bootsplash[ OK ]
* Stopping save udev log and update rules[ OK ]
* Stopping userspace bootsplash[ OK ]
* Starting Send an event to indicate plymouth is up[ OK ]
* Stopping Send an event to indicate plymouth is up[ OK ]
* Starting System V initialisation compatibility[ OK ]
* Starting configure virtual network devices[ OK ]
* Starting configure network device security[ OK ]
* Starting configure network device security[ OK ]
* Starting configure network device[ OK ]
* Starting configure network device[ OK ]
* Starting Mount network filesystems[ OK ]
* Starting Failsafe Boot Delay[ OK ]
* Stopping Mount network filesystems[ 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.
* Setting sensors limits * Starting Bridge socket events into upstart[ OK ]
[ OK ]
* Starting Bridge file 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 init: alsa-restore main process (1917) terminated with status 99
regular background program processing daemon[ OK ]
* Starting save kernel messages[ OK ]
* Starting Restore Sound Card State[fail]
* Starting OpenSSH server[ OK ]
* Stopping Restore Sound Card State[ OK ]
* Stopping System V runlevel compatibility[ OK ]
Last login: Thu Jan 1 00:00:22 UTC 1970 on ttySC0
init: tty1 main process (1956) killed by TERM signal
Welcome to Linaro 14.04 (GNU/Linux 4.1.13-ltsi-00392-g1126bdd-dirty armv7l)
* Documentation:init: plymouth-upstart-bridge main process ended, respawning
https://wiki.linaro.org/
root@linaro-nano:~#
root@linaro-nano:~#
root@linaro-nano:~#
SC0/power/wakeup:~# echo enabled > /sys/devices/platform/e6c40000.serial/tty/tty
root@linaro-nano:~#
root@linaro-nano:~# mkdir -p /tmp/temp
root@linaro-nano:~#
root@linaro-nano:~# mkdir -p /mnt/sd0
root@linaro-nano:~#
root@linaro-nano:~# mount -t tmpfs -o size=400M tmpfs /tmp/temp
root@linaro-nano:~#
root@linaro-nano:~# mount /dev/mmcblk0p1 /mnt/sd0
kjournald starting. Commit interval 5 seconds
EXT3-fs (mmcblk0p1): using internal journal
EXT3-fs (mmcblk0p1): recovery complete
EXT3-fs (mmcblk0p1): mounted filesystem with ordered data mode
root@linaro-nano:~#
root@linaro-nano:~#
root@linaro-nano:~# dd if=/dev/urandom of=/tmp/temp/file-100mb bs=1M count=100
100+0 records in
100+0 records out
104857600 bytes (105 MB) copied, 23.2821 s, 4.5 MB/s
root@linaro-nano:~#
root@linaro-nano:~#
root@linaro-nano:~#
root@linaro-nano:~# cp /tmp/temp/file-100mb /mnt/sd0
root@linaro-nano:~#
root@linaro-nano:~#
root@linaro-nano:~# sync
root@linaro-nano:~#
root@linaro-nano:~#
root@linaro-nano:~# cmp /tmp/temp/file-100mb /mnt/sd0/file-100mb
root@linaro-nano:~#
root@linaro-nano:~#
root@linaro-nano:~# echo mem > /sys/power/state
PM: Syncing filesystems ... done.
Freezing user space processes ... (elapsed 0.024 seconds) done.
Freezing remaining freezable tasks ... (elapsed 0.021 seconds) done.
Suspending console(s) (use no_console_suspend to debug)
sd 0:0:0:0: [sda] Synchronizing SCSI cache
sd 0:0:0:0: [sda] Stopping disk
PM: suspend of devices complete after 332.576 msecs
PM: late suspend of devices complete after 6.234 msecs
PM: noirq suspend of devices complete after 25.523 msecs
Disabling non-boot CPUs ...
CPU1: shutdown
CPU2: shutdown
CPU3: shutdown
Enabling non-boot CPUs ...
CPU1 is up
CPU2 is up
CPU3 is up
PM: noirq resume of devices complete after 16.279 msecs
PM: early resume of devices complete after 4.173 msecs
sh-eth ee700000.ethernet eth0: attached PHY 1 (IRQ 344) to driver Micrel KSZ8041RNLI
sd 0:0:0:0: [sda] Starting disk
renesas_usbhs e6590000.usb: fifo select error
ata1: link resume succeeded after 1 retries
ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
sh-eth ee700000.ethernet eth0: Link is Up - 100Mbps/Full - flow control off
ata1.00: configured for UDMA/133
PM: resume of devices complete after 3709.245 msecs
Restarting tasks ... done.
root@linaro-nano:~#
root@linaro-nano:~#
root@linaro-nano:~# dd if=/dev/urandom of=/tmp/temp/file-100mb bs=1M count=100
100+0 records in
100+0 records out
104857600 bytes (105 MB) copied, 23.1692 s, 4.5 MB/s
root@linaro-nano:~#
root@linaro-nano:~# cp /tmp/temp/file-100mb /mnt/sd0
root@linaro-nano:~# Unable to handle kernel NULL pointer dereference at virtual address 00000000
pgd = c0004000
[00000000] *pgd=00000000
Internal error: Oops: 17 [#1] SMP ARM
CPU: 0 PID: 860 Comm: irq/100-ee22000 Not tainted 4.1.13-ltsi-00392-g1126bdd-dirty #7
Hardware name: Generic R8A7790 (Flattened Device Tree)
task: ee1e5100 ti: ee11a000 task.ti: ee11a000
PC is at sh_mmcif_irqt+0x8c0/0xbc4
LR is at sh_mmcif_irqt+0x50/0xbc4
pc : [<c03c6b60>] lr : [<c03c62f0>] psr: 80000013
sp : ee11beb8 ip : ee11beb8 fp : ee11bf04
r10: 00000000 r9 : 00000001 r8 : edc2c1e0
r7 : edc2c1c0 r6 : edbfae14 r5 : edbfad50 r4 : edc2d340
r3 : 00000000 r2 : 00000200 r1 : 00000000 r0 : edc2d3b8
Flags: Nzcv IRQs on FIQs on Mode SVC_32 ISA ARM Segment kernel
Control: 10c5307d Table: 6df6406a DAC: 00000015
Process irq/100-ee22000 (pid: 860, stack limit = 0xee11a210)
Stack: (0xee11beb8 to 0xee11c000)
bea0: ee11bf0c ee11bec8
bec0: c0505dbc c004222c 00000003 00000001 edc2d374 edc2d3b8 ee11bf14 edc2c1c0
bee0: ee11a000 eea77a00 edc2c1c0 edc2c1e0 00000001 00000000 ee11bf24 ee11bf08
bf00: c005e040 c03c62ac eea77a00 ee11a000 c005e01c edc2c1c0 ee11bf5c ee11bf28
bf20: c005e320 c005e028 00000000 c005e178 00000000 edc2c180 00000000 edc2c1c0
bf40: c005e22c 00000000 00000000 00000000 ee11bfac ee11bf60 c003e288 c005e238
bf60: c00369dc 00000000 c000b3a8 edc2c1c0 00000000 00000000 ee11bf78 ee11bf78
bf80: 00000000 00000000 ee11bf88 ee11bf88 edc2c180 c003e1a8 00000000 00000000
bfa0: 00000000 ee11bfb0 c000fc88 c003e1b4 00000000 00000000 00000000 00000000
bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
bfe0: 00000000 00000000 00000000 00000000 00000013 00000000 6f7fd821 6f7fdc21
Backtrace:
[<c03c62a0>] (sh_mmcif_irqt) from [<c005e040>] (irq_thread_fn+0x24/0x3c)
r10:00000000 r9:00000001 r8:edc2c1e0 r7:edc2c1c0 r6:eea77a00 r5:ee11a000
r4:edc2c1c0
[<c005e01c>] (irq_thread_fn) from [<c005e320>] (irq_thread+0xf4/0x16c)
r7:edc2c1c0 r6:c005e01c r5:ee11a000 r4:eea77a00
[<c005e22c>] (irq_thread) from [<c003e288>] (kthread+0xe0/0xf4)
r10:00000000 r9:00000000 r8:00000000 r7:c005e22c r6:edc2c1c0 r5:00000000
r4:edc2c180
[<c003e1a8>] (kthread) from [<c000fc88>] (ret_from_fork+0x14/0x2c)
r7:00000000 r6:00000000 r5:c003e1a8 r4:edc2c180
Code: e7f001f2 e5942068 e1530122 2a000004 (e4910004)
---[ end trace 7ef9a16c0c18005a ]---
Unable to handle kernel paging request at virtual address ffffffec
pgd = c0004000
[ffffffec] *pgd=6f7fd821, *pte=00000000, *ppte=00000000
Internal error: Oops: 17 [#2] SMP ARM
CPU: 0 PID: 860 Comm: irq/100-ee22000 Tainted: G D 4.1.13-ltsi-00392-g1126bdd-dirty #7
Hardware name: Generic R8A7790 (Flattened Device Tree)
task: ee1e5100 ti: ee11a000 task.ti: ee11a000
PC is at kthread_data+0x10/0x18
LR is at irq_thread_dtor+0x58/0xb4
pc : [<c003e46c>] lr : [<c005e1d0>] psr: 20000113
sp : ee11bc60 ip : ee11bc70 fp : ee11bc6c
r10: c06c856c r9 : ee11bd22 r8 : 00000001
r7 : ee11bcb8 r6 : c06f41a8 r5 : ee1e5100 r4 : ee1e5100
r3 : 00000000 r2 : ee11bf28 r1 : ee11bf28 r0 : ee1e5100
Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
Control: 10c5307d Table: 6df6406a DAC: 00000015
Process irq/100-ee22000 (pid: 860, stack limit = 0xee11a210)
Stack: (0xee11bc60 to 0xee11c000)
bc60: ee11bc84 ee11bc70 c005e1d0 c003e468 ee1e5100 00000000 ee11bca4 ee11bc88
bc80: c003d1fc c005e184 ee1e5100 00000000 0000000b ee11bcb8 ee11bcd4 ee11bca8
bca0: c002870c c003d14c ee11be70 0000000b c03c6b62 00000000 ee11bcd4 ee11bcc8
bcc0: c00262cc c03c6b62 ee11bd54 ee11bcd8 c0013420 c0028358 ee11a210 0000000b
bce0: c03c6b60 60000113 00000008 00000000 6505c48c 30306637 20326631 34393565
bd00: 38363032 35316520 32313033 61322032 30303030 28203430 31393465 34303030
bd20: c0002029 c050406c c061c5b3 00000000 ee11be70 00000017 00000000 00000000
bd40: 00000017 00000000 ee11bd6c ee11bd58 c0503dcc c0013140 ee11be70 ee1e5100
bd60: ee11bdc4 ee11bd70 c001c7dc c0503d7c c005dbe4 c005ff08 00000002 c06f0968
bd80: ee11bdc4 eea77a00 eea77a60 c06bfbe4 ee806000 00000001 00000001 00000017
bda0: 00000000 c06c89a4 ee11be70 edc2c1e0 00000001 00000000 ee11be6c ee11bdc8
bdc0: c000a24c c001c534 c06bfbe4 ee806000 00000001 00000001 ee11bdfc ee11bde8
bde0: c00295e0 c0066fd0 ee11be14 ee11bdf8 c0069220 c050939c c070668c edc2d374
be00: edc2d384 ee11be6c ee11be64 ee11be18 c003a15c c0037624 ee11be44 a0000093
be20: c000a3b0 edc2d374 edc2d374 00000003 ee11be64 ee11be40 c0038f34 c0069dc8
be40: 00000001 ffffffe0 edc2d374 00000001 c03c6b60 80000013 ffffffff ee11bea4
be60: ee11bf04 ee11be70 c0013c58 c000a21c edc2d3b8 00000000 00000200 00000000
be80: edc2d340 edbfad50 edbfae14 edc2c1c0 edc2c1e0 00000001 00000000 ee11bf04
bea0: ee11beb8 ee11beb8 c03c62f0 c03c6b60 80000013 ffffffff ee11bf0c ee11bec8
bec0: c0505dbc c004222c 00000003 00000001 edc2d374 edc2d3b8 ee11bf14 edc2c1c0
bee0: ee11a000 eea77a00 edc2c1c0 edc2c1e0 00000001 00000000 ee11bf24 ee11bf08
bf00: c005e040 c03c62ac eea77a00 ee11a000 c005e01c edc2c1c0 ee11bf5c ee11bf28
bf20: c005e320 c005e028 00000000 c005e178 00000000 edc2c180 00000000 edc2c1c0
bf40: c005e22c 00000000 00000000 00000000 ee11bfac ee11bf60 c003e288 c005e238
bf60: c00369dc 00000000 c000b3a8 edc2c1c0 00000000 00000000 ee11bf78 ee11bf78
bf80: 00000001 00010001 ee11bf88 ee11bf88 edc2c180 c003e1a8 00000000 00000000
bfa0: 00000000 ee11bfb0 c000fc88 c003e1b4 00000000 00000000 00000000 00000000
bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
bfe0: 00000000 00000000 00000000 00000000 00000013 00000000 6f7fd821 6f7fdc21
Backtrace:
[<c003e45c>] (kthread_data) from [<c005e1d0>] (irq_thread_dtor+0x58/0xb4)
[<c005e178>] (irq_thread_dtor) from [<c003d1fc>] (task_work_run+0xbc/0xd0)
r5:00000000 r4:ee1e5100
[<c003d140>] (task_work_run) from [<c002870c>] (do_exit+0x3c0/0x870)
r7:ee11bcb8 r6:0000000b r5:00000000 r4:ee1e5100
[<c002834c>] (do_exit) from [<c0013420>] (die+0x2ec/0x3ec)
r7:c03c6b62
[<c0013134>] (die) from [<c0503dcc>] (__do_kernel_fault.part.0+0x5c/0x7c)
r10:00000000 r9:00000017 r8:00000000 r7:00000000 r6:00000017 r5:ee11be70
r4:00000000
[<c0503d70>] (__do_kernel_fault.part.0) from [<c001c7dc>] (do_page_fault+0x2b4/0x33c)
r7:ee1e5100 r4:ee11be70
[<c001c528>] (do_page_fault) from [<c000a24c>] (do_DataAbort+0x3c/0xbc)
i2c-sh_mobile e60b0000.i2c: Transfer request timed out
r10:00000000 r9:00000001 r8:edc2c1e0 r7:ee11be70 r6:c06c89a4 r5:00000000
r4:00000017
[<c000a210>] (do_DataAbort) from [<c0013c58>] (__dabt_svc+0x38/0x60)
Exception stack(0xee11be70 to 0xee11beb8)
be60: edc2d3b8 00000000 00000200 00000000
be80: edc2d340 edbfad50 edbfae14 edc2c1c0 edc2c1e0 00000001 00000000 ee11bf04
bea0: ee11beb8 ee11beb8 c03c62f0 c03c6b60 80000013 ffffffff
r7:ee11bea4 r6:ffffffff r5:80000013 r4:c03c6b60
[<c03c62a0>] (sh_mmcif_irqt) from [<c005e040>] (irq_thread_fn+0x24/0x3c)
r10:00000000 r9:00000001 r8:edc2c1e0 r7:edc2c1c0 r6:eea77a00 r5:ee11a000
r4:edc2c1c0
[<c005e01c>] (irq_thread_fn) from [<c005e320>] (irq_thread+0xf4/0x16c)
r7:edc2c1c0 r6:c005e01c r5:ee11a000 r4:eea77a00
[<c005e22c>] (irq_thread) from [<c003e288>] (kthread+0xe0/0xf4)
r10:00000000 r9:00000000 r8:00000000 r7:c005e22c r6:edc2c1c0 r5:00000000
r4:edc2c180
[<c003e1a8>] (kthread) from [<c000fc88>] (ret_from_fork+0x14/0x2c)
r7:00000000 r6:00000000 r5:c003e1a8 r4:edc2c180
Code: e1a0c00d e92dd800 e24cb004 e5903270 (e5130014)
sched: RT throttling activated
---[ end trace 7ef9a16c0c18005b ]---
Fixing recursive fault but reboot is needed!
next reply other threads:[~2015-12-11 1:07 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-11 1:07 Nguyen Viet Dung [this message]
2015-12-11 1:07 ` [bug] kernel panic if writting data to mmc after suspendding Nguyen Viet Dung
2015-12-14 2:34 ` Nguyen Viet Dung
2015-12-14 2:34 ` Nguyen Viet Dung
2015-12-14 2:49 ` Nguyen Viet Dung
2015-12-14 2:49 ` Nguyen Viet Dung
2015-12-18 9:33 ` Geert Uytterhoeven
2015-12-18 9:33 ` Geert Uytterhoeven
2015-12-18 10:27 ` Ulf Hansson
2015-12-18 10:27 ` Ulf Hansson
2015-12-22 3:16 ` Nguyen Viet Dung
2015-12-22 3:16 ` Nguyen Viet Dung
2016-02-04 0:52 ` Nguyen Viet Dung
2016-02-04 0:52 ` Nguyen Viet Dung
2016-02-04 8:26 ` Ulf Hansson
2016-02-04 8:26 ` Ulf Hansson
2016-02-05 17:34 ` Ulf Hansson
2016-02-05 17:34 ` Ulf Hansson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=566A21D2.4080009@jinso.co.jp \
--to=nv-dung@jinso.co.jp \
--cc=hisao.munakata.vt@renesas.com \
--cc=linux-mmc@vger.kernel.org \
--cc=linux-sh@vger.kernel.org \
--cc=ltsi-dev@lists.linuxfoundation.org \
--cc=magnus.damm@gmail.com \
--cc=ryusuke.sakato.bx@renesas.com \
--cc=simon@horms.net \
--cc=yoshihiro.shimoda.uh@renesas.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.