AnsweredAssumed Answered

suspend to ram ,wakeup fail

Question asked by linson linson on Sep 24, 2015

root@freescale ~$ echo mem > /sys/power/state

PM: Syncing filesystems ... done.

Freezing user space processes ... (elapsed 0.01 seconds) done.

Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done.

Suspending console(s) (use no_console_suspend to debug)

HTLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLFLC

PowerPrep start initialize power...

 

 

Configured for DCDC_BATT only power source.

LLLCSep 24 201517:33:03

FRAC 0x92925552

memory type is DDR2

                   Wait for ddr ready 1power 0x00820710

Frac 0x92925552

start change cpu freq

hbus 0x00000003

cpu 0x00010001

LLLLLLLFLCRemoving MTD device #1 (gpmi-nfc-general-use) with use count 3

PM: suspend of devices complete after 11.468 msecs

PM: late suspend of devices complete after 0.656 msecs

suspend to RAM

wake up

PM: early resume of devices complete after 0.468 msecs

NFC: Version 1, 8-chip GPMI and BCH

Scanning for NAND Flash chips...

NAND device: Manufacturer ID: 0xec, Chip ID: 0xda (Samsung NAND 256MiB 3,3V 8-bit)

-----------------------------

NAND Flash Device Information

-----------------------------

Manufacturer      : Samsung (0xec)

Device Code       : 0xda

Cell Technology   : SLC

Chip Size         : 256 MiB

Pages per Block   : 64

Page Geometry     : 2048+64

ECC Strength      : 4 bits

ECC Size          : 512 B

Data Setup Time   : 20 ns

Data Hold Time    : 10 ns

Address Setup Time: 20 ns

GPMI Sample Delay : 6 ns

tREA              : Unknown

tRLOH             : Unknown

tRHOH             : Unknown

Description       : K9F2G08U0A

-----------------

Physical Geometry

-----------------

Chip Count             : 1

Page Data Size in Bytes: 2048 (0x800)

Page OOB Size in Bytes : 64

Block Size in Bytes    : 131072 (0x20000)

Block Size in Pages    : 64 (0x40)

Chip Size in Bytes     : 268435456 (0x10000000)

Chip Size in Pages     : 131072 (0x20000)

Chip Size in Blocks    : 2048 (0x800)

Medium Size in Bytes   : 268435456 (0x10000000)

------------

NFC Geometry

------------

ECC Algorithm          : BCH

ECC Strength           : 8

Page Size in Bytes     : 2112

Metadata Size in Bytes : 10

ECC Chunk Size in Bytes: 512

ECC Chunk Count        : 4

Payload Size in Bytes  : 2048

Auxiliary Size in Bytes: 16

Auxiliary Status Offset: 12

Block Mark Byte Offset : 1999

Block Mark Bit Offset  : 0

-----------------

Boot ROM Geometry

-----------------

Boot Area Count            : 1

Boot Area Size in Bytes    : 20971520 (0x1400000)

Stride Size in Pages       : 64

Search Area Stride Exponent: 2

Scanning device for bad blocks

Bad eraseblock 1511 at 0x00000bce0000

Boot area protection is enabled.

Creating 2 MTD partitions on "gpmi-nfc-main":

0x000000000000-0x000001400000 : "gpmi-nfc-0-boot"

0x000001400000-0x000010000000 : "gpmi-nfc-general-use"

PM: resume of devices complete after 540.218 msecs

pswitch goto suspend

Restarting tasks ... done.

root@freescale ~$  

root@freescale ~$ ls

root@freescale ~$ cd /usr/shUnable to handle kernel NULL pointer dereference at virtual address 00000000

pgd = c710c000

[00000000] *pgd=47102031, *pte=00000000, *ppte=00000000

Internal error: Oops: 80000005 [#1] PREEMPT

last sysfs file: /sys/power/state

Modules linked in:

CPU: 0    Not tainted  (2.6.35.3-670-g914558e #2)

PC is at 0x0

LR is at ubi_io_read+0x60/0xe0

pc : [<00000000>]    lr : [<c0282478>]    psr: 00000013

sp : c728bd38  ip : c728bd90  fp : c728bd8c

r10: 00015320  r9 : c77b2040  r8 : 00000003

r7 : 00000000  r6 : c77a8800  r5 : 0000003c  r4 : 00060000

r3 : 00000000  r2 : 00075320  r1 : 00000000  r0 : c77fc200

Flags: nzcv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user

Control: 0005317f  Table: 4710c000  DAC: 00000015

Process sh (pid: 1871, stack limit = 0xc728a270)

Stack: (0xc728bd38 to 0xc728c000)

bd20:                                                       0000003c c728bd5c

bd40: c77b2040 c77a8800 00000000 0000000d 00075320 00000000 c728bd8c c728bd68

bd60: c02805f4 c77a8800 00000000 c7580c00 c77b2040 00000003 00000003 00000000

bd80: c728bdd4 c728bd90 c0281fa8 c0282428 0000003c 00000000 00000000 c77b2040

bda0: 0000000d 00000000 00000000 c7580c00 00014320 00000000 c77b2040 00000003

bdc0: c7081000 0000000d c728be0c c728bdd8 c027fc98 c0281e10 00014320 0000003c

bde0: 00000000 c728bdf0 c01c4e44 c7105780 c77b2040 00000002 0000003c 00014320

be00: c728be4c c728be10 c01975d4 c027fbcc 0000003c 00000000 c00c1044 c009af7c

be20: c7126000 c7105780 c77b2040 00000002 c7081000 c7105700 00000060 c7081178

be40: c728be74 c728be50 c01ac3f4 c01975a0 0000000d 00014320 c7105780 c728bf18

be60: c77b2040 c7081000 c728be94 c728be78 c01997b0 c01ac390 c7081000 c728bf18

be80: c77b2040 c7105760 c728bedc c728be98 c019a340 c0199780 c728bf0c c00cbf2c

bea0: 00000000 4023605a c7105700 00000004 c728bf78 c77b2540 c7126000 c77b2578

bec0: c728bf78 0023605a 00000000 c7081000 c728bf4c c728bee0 c0190ef0 c019a234

bee0: 0023605a 00000000 00000270 00000000 00000004 00000000 c728bf14 c00d1b18

bf00: 0023605a 00000000 c728bf44 c728bf18 00000003 c77b2578 00000239 4023605a

bf20: c7126000 c7126000 c781a074 c00d1b18 00000000 c728bf78 c728a000 c781a000

bf40: c728bf74 c728bf50 c00d1ef4 c0190bf4 00000000 00008000 000abcb0 c7126000

bf60: c002dba8 00000000 c728bfa4 c728bf78 c00d1f94 c00d1e80 000abcf8 000abce0

bf80: 00007fb8 ffffffea 000abcb0 00000000 000abc98 000000d9 00000000 c728bfa8

bfa0: c002da00 c00d1f38 000abcb0 00000000 00000003 000abcb0 00008000 00000000

bfc0: 000abcb0 00000000 000abc98 000000d9 000a8a7c bef75830 000a9fb8 00000000

bfe0: 000a6544 bef75790 400b6710 400b663c 60000010 00000003 70742029 206d7261

Backtrace:

[<c0282418>] (ubi_io_read+0x0/0xe0) from [<c0281fa8>] (ubi_eba_read_leb+0x1a8/0x29c)

[<c0281e00>] (ubi_eba_read_leb+0x0/0x29c) from [<c027fc98>] (ubi_leb_read+0xdc/0x134)

[<c027fbbc>] (ubi_leb_read+0x0/0x134) from [<c01975d4>] (ubifs_read_node+0x44/0x1a4)

r8:00014320 r7:0000003c r6:00000002 r5:c77b2040 r4:c7105780

[<c0197590>] (ubifs_read_node+0x0/0x1a4) from [<c01ac3f4>] (ubifs_tnc_read_node+0x74/0xdc)

[<c01ac380>] (ubifs_tnc_read_node+0x0/0xdc) from [<c01997b0>] (tnc_read_node_nm+0x40/0x88)

r7:c7081000 r6:c77b2040 r5:c728bf18 r4:c7105780

[<c0199770>] (tnc_read_node_nm+0x0/0x88) from [<c019a340>] (ubifs_tnc_next_ent+0x11c/0x154)

r7:c7105760 r6:c77b2040 r5:c728bf18 r4:c7081000

[<c019a224>] (ubifs_tnc_next_ent+0x0/0x154) from [<c0190ef0>] (ubifs_readdir+0x30c/0x3b4)

[<c0190be4>] (ubifs_readdir+0x0/0x3b4) from [<c00d1ef4>] (vfs_readdir+0x84/0xb8)

[<c00d1e70>] (vfs_readdir+0x0/0xb8) from [<c00d1f94>] (sys_getdents64+0x6c/0xbc)

[<c00d1f28>] (sys_getdents64+0x0/0xbc) from [<c002da00>] (ret_fast_syscall+0x0/0x2c)

r7:000000d9 r6:000abc98 r5:00000000 r4:000abcb0

Code: bad PC value

---[ end trace 5b5736f180d9ba61 ]---

process '/sbin/getty -L ttyAM0 115200 vt100' (pid 1871) exited. Scheduling for restart.

starting pid 1903, tty '': '/sbin/getty -L ttyAM0 115200 vt100'

 

 

arm-none-linux-gnueabi-gcc (Freescale MAD -- Linaro 2011.07 -- Built at 2011/08/10 09:20) 4.6.2 20110630 (prerelease)

root filesystem built on Tue, 05 Feb 2013 11:11:58 +0800

Freescale Semiconductor, Inc.

Original Attachment has been moved to: .config.zip

Original Attachment has been moved to: ucl.xml.zip

Outcomes