[#6326] Wakeup from mem has error with adv7393/tftlcd on bf537-stamp in 10r1 branch
Submitted By: Vivi Li
Open Date
2010-11-01 07:24:03
Priority:
Medium Assignee:
steven miao
Status:
Open Fixed In Release:
N/A
Found In Release:
2011R1 Release:
Category:
N/A Board:
N/A
Processor:
BF537 Silicon Revision:
Is this bug repeatable?:
Yes Resolution:
Assigned (Not Start)
Uboot version or rev.:
Toolchain version or rev.:
2010r1
App binary format:
N/A
Summary: Wakeup from mem has error with adv7393/tftlcd on bf537-stamp in 10r1 branch
Details:
Wakeup from mem has error with adv7393 on bf537-stamp in 10r1 branch.
This test pass in trunk svn9171 on Sep. 26, 2010. Before that, it failed on trunk.
On 2010r1 branch, it failed since svn 9186 on Oct. 1st. I don't have the log of 2010r1 between Sep. 25 and Sep. 30.
Bellow is the error log:
--
Linux version 2.6.34.7-ADI-2010R1-svn9290 (test@uclinux54-adv7393-ad1981-usb1362) (gcc version 4.3.5 (ADI-2010R1-RC4) ) #92 Sun Oct 31 05:16:44 CST 2010
register early platform devices
bootconsole [early_shadow0] enabled
bootconsole [early_BFuart0] enabled
early printk enabled on early_BFuart0
Limiting kernel memory to 56MB due to anomaly 05000263
Board Memory: 64MB
Kernel Managed Memory: 64MB
Memory map:
fixedcode = 0x00000400-0x00000490
text = 0x00001000-0x00118248
rodata = 0x00118248-0x00176c04
bss = 0x00177000-0x001875e0
data = 0x001875e0-0x0019a000
stack = 0x00198000-0x0019a000
init = 0x0019a000-0x0082b000
available = 0x0082b000-0x03800000
DMA Zone = 0x03f00000-0x04000000
Hardware Trace Active and Enabled
Boot Mode: 0
Reset caused by Software reset
Blackfin support (C) 2004-2010 Analog Devices, Inc.
Compiled for ADSP-BF537 Rev 0.2
Blackfin Linux support by http://blackfin.uclinux.org/
Processor Speed: 500 MHz core clock and 125 MHz System Clock
NOMPU: setting up cplb tables
Instruction Cache Enabled for CPU0
External memory: cacheable in instruction cache
Data Cache Enabled for CPU0
External memory: cacheable (write-back) in data cache
Built 1 zonelists in Zone order, mobility grouping off. Total pages: 14224
Kernel command line: root=/dev/mtdblock0 rw ip=10.100.4.50 earlyprintk=serial,uart0,57600 console=ttyBF0,57600 ip=10.100.4.50:10.100.4.174:10.100.4.174:255.255.255.0:bf537-stamp:eth0:off
PID hash table entries: 256 (order: -2, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory available: 48412k/65536k RAM, (6724k init code, 1116k kernel code, 520k data, 1024k dma, 7740k reserved)
Hierarchical RCU implementation.
NR_IRQS:138
Configuring Blackfin Priority Driven Interrupts
console [ttyBF0] enabled, bootconsole disabled
console [ttyBF0] enabled, bootconsole disabled
Calibrating delay loop... 993.28 BogoMIPS (lpj=1986560)
Security Framework initialized
Mount-cache hash table entries: 512
Blackfin Scratchpad data SRAM: 4 KB
Blackfin L1 Data A SRAM: 16 KB (16 KB free)
Blackfin L1 Data B SRAM: 16 KB (16 KB free)
Blackfin L1 Instruction SRAM: 48 KB (35 KB free)
NET: Registered protocol family 16
Blackfin DMA Controller
stamp_init(): registering device resources
bio: create slab <bio-0> at 0
Switching to clocksource bfin_cs_cycles
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
msgmni has been set to 94
io scheduler noop registered
io scheduler cfq registered (default)
bfin-uart: Blackfin serial driver
bfin-uart.0: ttyBF0 at MMIO 0xffc00400 (irq = 18) is a BFIN-UART
brd: module loaded
bfin_mii_bus: probed
bfin_mac: attached PHY driver [SMSC LAN83C185] (mii_bus:phy_addr=0:01, irq=-1, mdc_clk=2500000Hz(mdc_div=24)@sclk=125MHz)
bfin_mac bfin_mac.0: Blackfin on-chip Ethernet MAC driver, Version 1.1
rtc-bfin rtc-bfin: rtc core: registered rtc-bfin as rtc0
bfin-wdt: initialized: timeout=20 sec (nowayout=0)
TCP cubic registered
NET: Registered protocol family 17
rtc-bfin rtc-bfin: setting system clock to 1970-01-15 18:47:30 UTC (1277250)^VIP-Config: Complete:
device=eth0, addr=10.100.4.50, mask=255.255.255.0, gw=10.100.4.174,
host=bf537-stamp, domain=, nis-domain=(none),
bootserver=10.100.4.174, rootserver=10.100.4.174, rootpath=
dma_alloc_init: dma_page @ 0x02889000 - 256 pages at 0x03f00000
Freeing unused kernel memory: 6724k freed
_____________________________________
a8888b. / Welcome to the uClinux distribution \
d888888b. / _ _ \
8P"YP"Y88 / | | |_| __ __ (TM) |
8|o||o|88 _____/ | | _ ____ _ _ \ \/ / |
8' .88 \ | | | | _ \| | | | \ / |
8`._.' Y8. \ | |__ | | | | | |_| | / \ |
d/ `8b. \ \____||_|_| |_|\____|/_/\_\ |
dP . Y8b. \ For embedded processors including |
d8:' " `::88b \ the Analog Devices Blackfin /
d8" 'Y88b \___________________________________/
:8P ' :888
8a. : _a88P For further information, check out:
._/"Yaa_: .| 88P| - http://blackfin.uclinux.org/
\ YP" `| 8P `. - http://docs.blackfin.uclinux.org/
/ \.___.d| .' - http://www.uclinux.org/
`--..__)8888P`._.' jgs/a:f - https://www.analog.com/blackfin
Have a lot of fun...
BusyBox v1.16.2 (2010-10-31 05:13:46 CST) hush - the humble shell
root:/> version
kernel: Linux release 2.6.34.7-ADI-2010R1-svn9290, build #92 Sun Oct 31 05:16:44 CST 2010
toolchain: bfin-uclinux-gcc release gcc version 4.3.5 (ADI-2010R1-RC4)
user-dist: release svn-9870, build #1876 Sun Oct 31 05:15:25 CST 2010
root:/>
root:/> modprobe i2c-bfin-twi
i2c-bfin-twi i2c-bfin-twi.0: Blackfin BF5xx on-chip I2C TWI Contoller, regs_base@ffc01400
root:/> lsmod
Module Size Used by
i2c_bfin_twi 4858 0
i2c_core 12456 1 i2c_bfin_twi
root:/> modprobe bfin_adv7393fb
bfin-adv7393 0-002b: fb0: BFIN ADV7393 frame buffer device
bfin-adv7393 0-002b: fb memory address : 0x03f01000
root:/> lsmod
Module Size Used by
bfin_adv7393fb 7389 0
cfbimgblt 1472 1 bfin_adv7393fb
cfbcopyarea 3027 1 bfin_adv7393fb
cfbfillrect 2639 1 bfin_adv7393fb
i2c_bfin_twi 4858 0
i2c_core 12456 2 bfin_adv7393fb,i2c_bfin_twi
root:/> video_test
^C
root:/> cat /proc/mounts
rootfs / rootfs rw 0 0
proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0
sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
mdev /dev tmpfs rw,nosuid,relatime,mode=0755,size=10M 0 0
devpts /dev/pts devpts rw,nosuid,noexec,relatime,mode=600 0 0
var /var ramfs rw,relatime 0 0
tmp /tmp tmpfs rw,nosuid,nodev,relatime 0 0
debugfs /sys/kernel/debug debugfs rw,relatime 0 0
root:/> ls /sys/power
mpm_async state
root:/>
root:/> rtcwake -s 15 -m mem
wakeup from "mem" at Thu Jan 15 18:48:15 1970
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)
PM: suspend of devices complete after 925.037 msecs
PM: late suspend of devices complete after 0.121 msecs
PM: early resume of devices complete after 0.057 msecs
PM: resume of devices complete after 1.227 msecs
Restarting tasks ... done.
root:/> video_test
^C
root:/>
root:/> rtcwake -s 15 -m mem
wakeup from "mem" at Thu Jan 15 18:48:48 1970
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)
PM: suspend of devices complete after 924.725 msecs
PM: late suspend of devices complete after 0.179 msecs
------------[ cut here ]------------
WARNING: at drivers/base/sys.c:481 _sysdev_resume+0x8c/0x94()
Interrupts enabled while resuming system devices
Modules linked in: bfin_adv7393fb cfbimgblt cfbcopyarea cfbfillrect i2c_bfin_twi i2c_core
Hardware Trace:
0 Target : <0x0011813c> { _dump_stack + 0x0 }
Source : <0x000113a4> { _warn_slowpath_common + 0x40 } JUMP.L
1 Target : <0x000113a4> { _warn_slowpath_common + 0x40 }
Source : <0x0002dfc0> { _print_modules + 0x4c } RTS
2 Target : <0x0002dfba> { _print_modules + 0x46 }
Source : <0x00118240> { _printk + 0x14 } RTS
3 Target : <0x0011823c> { _printk + 0x10 }
Source : <0x00012012> { _vprintk + 0x16a } RTS
4 Target : <0x00011fe0> { _vprintk + 0x138 }
Source : <0x00011a6e> { _try_acquire_console_sem + 0x52 } RTS
5 Target : <0x00011a68> { _try_acquire_console_sem + 0x4c }
Source : <0x00025042> { _up + 0x3e } RTS
6 Target : <0x0002503c> { _up + 0x38 }
Source : <0x0002502e> { _up + 0x2a } IF CC JUMP pcrel (BP)
7 Target : <0x00025004> { _up + 0x0 }
Source : <0x00011a64> { _try_acquire_console_sem + 0x48 } JUMP.L
8 Target : <0x00011a5c> { _try_acquire_console_sem + 0x40 }
Source : <0x00011a3c> { _try_acquire_console_sem + 0x20 } IF !CC JUMP pcrel
9 Target : <0x00011a2c> { _try_acquire_console_sem + 0x10 }
Source : <0x00025002> { _down_trylock + 0x2a } RTS
10 Target : <0x00024ffe> { _down_trylock + 0x26 }
Source : <0x00024ff0> { _down_trylock + 0x18 } IF CC JUMP pcrel (BP)
11 Target : <0x00024fd8> { _down_trylock + 0x0 }
Source : <0x00011a28> { _try_acquire_console_sem + 0xc } JUMP.L
12 Target : <0x00011a1c> { _try_acquire_console_sem + 0x0 }
Source : <0x00011fdc> { _vprintk + 0x134 } CALL pcrel
13 Target : <0x00011fdc> { _vprintk + 0x134 }
Source : <0x00011f9a> { _vprintk + 0xf2 } IF CC JUMP pcrel
14 Target : <0x00011f94> { _vprintk + 0xec }
Source : <0x00012018> { _vprintk + 0x170 } JUMP.S
15 Target : <0x00012014> { _vprintk + 0x16c }
Source : <0x00011f8e> { _vprintk + 0xe6 } IF CC JUMP pcrel
Stack info:
SP: [0x02a65d8c] <0x02a65d8c> /* kernel dynamic memory */
FP: (0x02a65ef8)
Memory from 0x02a65d80 to 02a66000
02a65d80: 0000003f 02a65d8c 0011fda4 [000113a4] 000113a8 02a65dd0 00158598 04830000
02a65da0: 00158598 000001e1 000aea38 000113fa 001857a4 00000000 00000003 00000003
02a65dc0: 02b80000 000040fb 02a65ef0 02a65dd0 001585cc 02a65de8 000aea38 00000000
02a65de0: 00000003 00000003 000314be 001822e0 00000003 0011fda4 00000000 00000002
02a65e00: 00000003 0011fda4 00031530 001822e0 00000000 003fffff 00000002 00000003
02a65e20: 00031362 00031608 00119744 00000000 00000003 00000003 137e7407 ffffffc0
02a65e40: 00000001 00030f04 0014e9d4 00000003 02b6bfa3 00000000 00000003 <00078f88>
02a65e60: 02a691a0 02012c14 020089e0 00000003 02a691b4 028d4440 00000000 00000002
02a65e80: 00000000 00000003 02b6bdc4 <000472f4> 028d4440 00000004 0000004f 02a65ef0
02a65ea0: 02b6bfa3 00000003 00000003 028d4440 00000020 00000004 02a65ef0 ffffff9c
02a65ec0: 00000000 00047418 028d4440 00000004 02b6bfa3 00000003 00000004 00000004
02a65ee0: 0000004f 00000001 ffffe000 02a65ef0 00000000 00000000 (00000000)<ffa0097a>
02a65f00: 000473e8 00000000 ffffe000 ffffe000 00000000 0000fffe 80808080 00000004
02a65f20: 00000004 02b037fa <00008000> 00000000 00000000 02a66000 02b037fa 02b037fa
02a65f40: 02b19eb0 ffa01120 02001044 02b0cb71 02b0caa3 02b0cb26 02b0ca90 00000000
02a65f60: ffffffff 00000a3d 00000000 00000a3d 00000000 00000000 00000000 00000000
02a65f80: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
02a65fa0: 00000004 00000000 02b6be54 0000004f 02b61b08 02b6bdb8 02b6bdc4 02b61b00
02a65fc0: 02b6bf64 0000004f 02b62018 02b6bfa4 00000004 00000003 02b6bfa3 00000004
02a65fe0: 00000004 80808080 00000003 02b6bfa3 00000004 00000004 00000004 00000006
Return addresses in stack:
address : <0x00078f88> { _sysfs_write_file + 0xac }
address : <0x000472f4> { _vfs_write + 0x68 }
frame 1 : <0xffa0097a> { _system_call + 0x6a }
address : <0x00008000> { _show_regs + 0x68 }
---[ end trace b7a86ee5b15ebf82 ]---
------------[ cut here ]------------
WARNING: at drivers/base/sys.c:359 ___sysdev_resume+0xc4/0xcc()
Interrupts enabled after (null)
Modules linked in: bfin_adv7393fb cfbimgblt cfbcopyarea cfbfillrect i2c_bfin_twi i2c_core
Hardware Trace:
0 Target : <0x0011813c> { _dump_stack + 0x0 }
Source : <0x000113a4> { _warn_slowpath_common + 0x40 } JUMP.L
1 Target : <0x000113a4> { _warn_slowpath_common + 0x40 }
Source : <0x0002dfc0> { _print_modules + 0x4c } RTS
2 Target : <0x0002dfba> { _print_modules + 0x46 }
Source : <0x00118240> { _printk + 0x14 } RTS
3 Target : <0x0011823c> { _printk + 0x10 }
Source : <0x00012012> { _vprintk + 0x16a } RTS
4 Target : <0x00011fe0> { _vprintk + 0x138 }
Source : <0x00011a6e> { _try_acquire_console_sem + 0x52 } RTS
5 Target : <0x00011a68> { _try_acquire_console_sem + 0x4c }
Source : <0x00025042> { _up + 0x3e } RTS
6 Target : <0x0002503c> { _up + 0x38 }
Source : <0x0002502e> { _up + 0x2a } IF CC JUMP pcrel (BP)
7 Target : <0x00025004> { _up + 0x0 }
Source : <0x00011a64> { _try_acquire_console_sem + 0x48 } JUMP.L
8 Target : <0x00011a5c> { _try_acquire_console_sem + 0x40 }
Source : <0x00011a3c> { _try_acquire_console_sem + 0x20 } IF !CC JUMP pcrel
9 Target : <0x00011a2c> { _try_acquire_console_sem + 0x10 }
Source : <0x00025002> { _down_trylock + 0x2a } RTS
10 Target : <0x00024ffe> { _down_trylock + 0x26 }
Source : <0x00024ff0> { _down_trylock + 0x18 } IF CC JUMP pcrel (BP)
11 Target : <0x00024fd8> { _down_trylock + 0x0 }
Source : <0x00011a28> { _try_acquire_console_sem + 0xc } JUMP.L
12 Target : <0x00011a1c> { _try_acquire_console_sem + 0x0 }
Source : <0x00011fdc> { _vprintk + 0x134 } CALL pcrel
13 Target : <0x00011fdc> { _vprintk + 0x134 }
Source : <0x00011f9a> { _vprintk + 0xf2 } IF CC JUMP pcrel
14 Target : <0x00011f94> { _vprintk + 0xec }
Source : <0x00012018> { _vprintk + 0x170 } JUMP.S
15 Target : <0x00012014> { _vprintk + 0x16c }
Source : <0x00011f8e> { _vprintk + 0xe6 } IF CC JUMP pcrel
Stack info:
SP: [0x02a65d5c] <0x02a65d5c> /* kernel dynamic memory */
FP: (0x02a65ef8)
Memory from 0x02a65d50 to 02a66000
02a65d50: 0000003f 02a65d5c 001857ac [000113a4] 000113a8 02a65da0 00158598 0011823c
02a65d70: 00158598 00000167 000ae9a4 000113fa 001857a6 00191090 00000003 00000003
02a65d90: 000113a8 02a65dd0 000113c4 02a65da0 001585ac 02a65db8 000ae9a4 000113fa
02a65db0: 001857a4 00000000 00000000 02a65ef0 000ae9ee 00188234 00191074 001857ac
02a65dd0: 00191090 00000003 00000003 00000000 00000003 00000003 000314be 001822e0
02a65df0: 00000003 0011fda4 00000000 00000002 00000003 0011fda4 00031530 001822e0
02a65e10: 00000000 003fffff 00000002 00000003 00031362 00031608 00119744 00000000
02a65e30: 00000003 00000003 137e7407 ffffffc0 00000001 00030f04 0014e9d4 00000003
02a65e50: 02b6bfa3 00000000 00000003 <00078f88> 02a691a0 02012c14 020089e0 00000003
02a65e70: 02a691b4 028d4440 00000000 00000002 00000000 00000003 02b6bdc4 <000472f4>
02a65e90: 028d4440 00000004 0000004f 02a65ef0 02b6bfa3 00000003 00000003 028d4440
02a65eb0: 00000020 00000004 02a65ef0 ffffff9c 00000000 00047418 028d4440 00000004
02a65ed0: 02b6bfa3 00000003 00000004 00000004 0000004f 00000001 ffffe000 02a65ef0
02a65ef0: 00000000 00000000 (00000000)<ffa0097a> 000473e8 00000000 ffffe000 ffffe000
02a65f10: 00000000 0000fffe 80808080 00000004 00000004 02b037fa <00008000> 00000000
02a65f30: 00000000 02a66000 02b037fa 02b037fa 02b19eb0 ffa01120 02001044 02b0cb71
02a65f50: 02b0caa3 02b0cb26 02b0ca90 00000000 ffffffff 00000a3d 00000000 00000a3d
02a65f70: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
02a65f90: 00000000 00000000 00000000 00000000 00000004 00000000 02b6be54 0000004f
02a65fb0: 02b61b08 02b6bdb8 02b6bdc4 02b61b00 02b6bf64 0000004f 02b62018 02b6bfa4
02a65fd0: 00000004 00000003 02b6bfa3 00000004 00000004 80808080 00000003 02b6bfa3
02a65ff0: 00000004 00000004 00000004 00000006
Return addresses in stack:
address : <0x00078f88> { _sysfs_write_file + 0xac }
address : <0x000472f4> { _vfs_write + 0x68 }
frame 1 : <0xffa0097a> { _system_call + 0x6a }
address : <0x00008000> { _show_regs + 0x68 }
---[ end trace b7a86ee5b15ebf83 ]---
------------[ cut here ]------------
WARNING: at kernel/hrtimer.c:663 _hres_timers_resume+0x4a/0x50()
hres_timers_resume() called with IRQs enabled!
Modules linked in: bfin_adv7393fb cfbimgblt cfbcopyarea cfbfillrect i2c_bfin_twi i2c_core
Hardware Trace:
0 Target : <0x0011813c> { _dump_stack + 0x0 }
Source : <0x000113a4> { _warn_slowpath_common + 0x40 } JUMP.L
1 Target : <0x000113a4> { _warn_slowpath_common + 0x40 }
Source : <0x0002dfc0> { _print_modules + 0x4c } RTS
2 Target : <0x0002dfba> { _print_modules + 0x46 }
Source : <0x00118240> { _printk + 0x14 } RTS
3 Target : <0x0011823c> { _printk + 0x10 }
Source : <0x00012012> { _vprintk + 0x16a } RTS
4 Target : <0x00011fe0> { _vprintk + 0x138 }
Source : <0x00011a6e> { _try_acquire_console_sem + 0x52 } RTS
5 Target : <0x00011a68> { _try_acquire_console_sem + 0x4c }
Source : <0x00025042> { _up + 0x3e } RTS
6 Target : <0x0002503c> { _up + 0x38 }
Source : <0x0002502e> { _up + 0x2a } IF CC JUMP pcrel (BP)
7 Target : <0x00025004> { _up + 0x0 }
Source : <0x00011a64> { _try_acquire_console_sem + 0x48 } JUMP.L
8 Target : <0x00011a5c> { _try_acquire_console_sem + 0x40 }
Source : <0x00011a3c> { _try_acquire_console_sem + 0x20 } IF !CC JUMP pcrel
9 Target : <0x00011a2c> { _try_acquire_console_sem + 0x10 }
Source : <0x00025002> { _down_trylock + 0x2a } RTS
10 Target : <0x00024ffe> { _down_trylock + 0x26 }
Source : <0x00024ff0> { _down_trylock + 0x18 } IF CC JUMP pcrel (BP)
11 Target : <0x00024fd8> { _down_trylock + 0x0 }
Source : <0x00011a28> { _try_acquire_console_sem + 0xc } JUMP.L
12 Target : <0x00011a1c> { _try_acquire_console_sem + 0x0 }
Source : <0x00011fdc> { _vprintk + 0x134 } CALL pcrel
13 Target : <0x00011fdc> { _vprintk + 0x134 }
Source : <0x00011f9a> { _vprintk + 0xf2 } IF CC JUMP pcrel
14 Target : <0x00011f94> { _vprintk + 0xec }
Source : <0x00012018> { _vprintk + 0x170 } JUMP.S
15 Target : <0x00012014> { _vprintk + 0x16c }
Source : <0x00011f8e> { _vprintk + 0xe6 } IF CC JUMP pcrel
Stack info:
SP: [0x02a65d10] <0x02a65d10> /* kernel dynamic memory */
FP: (0x02a65d90)
Memory from 0x02a65d10 to 02a66000
02a65d10:[000113a4] 000113a8 02a65d54 0014f64c 00000000 0014f64c 00000297 0002421a
02a65d30: 000113fa 001820ee 00137d82 0000ffff 00000003 0000ffff 00000000 00000006
02a65d50: 02a65d54 0014f698 02a65d6c 0002421a 00188320 0018218c 00182160 00027e04
02a65d70: 00188320 b7a86ee5 000ae9a4 000113fa 001857a6 00191090 000113fa 45984f00
02a65d90:(00000000)<000ae8f2> 0018b690 0018b644 001857ac 0018b660 00000003 000113fa
02a65db0: 001857a4 00000000 00000000 02a65ef0 000ae9ee 0018b690 0018b644 001857ac
02a65dd0: 0018b660 00000003 00000003 00000000 00000003 00000003 000314be 001822e0
02a65df0: 00000003 0011fda4 00000000 00000002 00000003 0011fda4 00031530 001822e0
02a65e10: 00000000 003fffff 00000002 00000003 00031362 00031608 00119744 00000000
02a65e30: 00000003 00000003 137e7407 ffffffc0 00000001 00030f04 0014e9d4 00000003
02a65e50: 02b6bfa3 00000000 00000003 <00078f88> 02a691a0 02012c14 020089e0 00000003
02a65e70: 02a691b4 028d4440 00000000 00000002 00000000 00000003 02b6bdc4 <000472f4>
02a65e90: 028d4440 00000004 0000004f 02a65ef0 02b6bfa3 00000003 00000003 028d4440
02a65eb0: 00000020 00000004 02a65ef0 ffffff9c 00000000 00047418 028d4440 00000004
02a65ed0: 02b6bfa3 00000003 00000004 00000004 0000004f 00000001 ffffe000 02a65ef0
02a65ef0: 00000000 00000000 00000000 <ffa0097a> 000473e8 00000000 ffffe000 ffffe000
02a65f10: 00000000 0000fffe 80808080 00000004 00000004 02b037fa <00008000> 00000000
02a65f30: 00000000 02a66000 02b037fa 02b037fa 02b19eb0 ffa01120 02001044 02b0cb71
02a65f50: 02b0caa3 02b0cb26 02b0ca90 00000000 ffffffff 00000a3d 00000000 00000a3d
02a65f70: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
02a65f90: 00000000 00000000 00000000 00000000 00000004 00000000 02b6be54 0000004f
02a65fb0: 02b61b08 02b6bdb8 02b6bdc4 02b61b00 02b6bf64 0000004f 02b62018 02b6bfa4
02a65fd0: 00000004 00000003 02b6bfa3 00000004 00000004 80808080 00000003 02b6bfa3
02a65ff0: 00000004 00000004 00000004 00000006
Return addresses in stack:
frame 1 : <0x000ae8f2> { ___sysdev_resume + 0x12 }
address : <0x00078f88> { _sysfs_write_file + 0xac }
address : <0x000472f4> { _vfs_write + 0x68 }
address : <0xffa0097a> { _system_call + 0x6a }
address : <0x00008000> { _show_regs + 0x68 }
---[ end trace b7a86ee5b15ebf84 ]---
PM: early resume of devices complete after 0.066 msecs
PM: resume of devices complete after 1.235 msecs
Restarting tasks ... done.
root:/>
--
Follow-ups
--- Vivi Li 2010-11-03 00:25:24
The same problem happens with tft lcd on bf537-stamp.
--- steven miao 2010-11-03 05:57:59
since linux-2.6.31 the kernel suspend framework will do disable_irq/enable_irq,
so save/restore irq in standby and suspend to mem callback should be dropped.
--- Vivi Li 2010-11-09 01:10:01
This bug still exists on various platform.
--- steven miao 2010-11-16 05:14:20
can't reproduce it. maybe this warning was caused by hardware error interrupt
debugging option, try it again with kernel hacking-> hardware error interrupt
debugging off.
--- Vivi Li 2010-11-18 01:08:27
Build script is modified to disable hardware error interrupt debugging option.
Need to recheck results later.
--- Mike Frysinger 2010-11-18 04:05:12
disabling the config option is not a fix
--- Vivi Li 2010-12-31 02:56:43
After hardware error interrupt debugging option is disabled, this test still
fail once in a while.
--- Vivi Li 2011-09-19 23:21:49
Now I can sometimes see warning at kernel/time/timekeeping.c when kernel wake up
from mem.
Bellow is the example on bf537-stamp:
--
root:/> rtcwake -s 10 -m mem
wakeup from "mem" at Thu Jan 1 06:26:25 1970
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)
PM: suspend of devices complete after 444.617 msecs
PM: late suspend of devices complete after 0.135 msecs
------------[ cut here ]------------
WARNING: at kernel/time/timekeeping.c:245
Modules linked in:
ADSP-BF537-0.2 500(MHz CCLK) 125(MHz SCLK) (mpu off)
Linux version 3.0.0-ADI-2011R1-pre-svn10085 (test@linux73-bf537-wt) (gcc
version 4.3.5 (ADI-2011R1-RC1) ) #78 Mon Sep 19 19:33:18 CST 2011
SEQUENCER STATUS: Not tainted
SEQSTAT: 00000021 IPEND: 8048 IMASK: 001f SYSCFG: 0006
Peripheral interrupts masked off
Kernel interrupts masked off
EXCAUSE : 0x21
physical IVG3 asserted : <0xffa007a0> { _trap + 0x0 }
physical IVG6 asserted : <0xffa00e1c> { _evt_timer + 0x0 }
physical IVG15 asserted : <0xffa00edc> { _evt_system_call + 0x0 }
logical irq 6 mapped : <0xffa003c0> { _bfin_coretmr_interrupt + 0x0
}
logical irq 10 mapped : <0x000c78c0> { _bfin_rtc_interrupt + 0x0 }
logical irq 106 mapped : <0x000c1eb8> { _bfin_mac_interrupt + 0x0 }
RETE: <0x00000000> /* Maybe null pointer? */
RETN: <0x02069b90> /* kernel dynamic memory */
RETX: <0x00000480> /* Maybe fixed code section */
RETS: <0x000277b8> { _hrtimer_interrupt + 0x2c }
PC : <0x0002be50> { _ktime_get + 0xf0 }
DCPLB_FAULT_ADDR: <0x001952f4> /* kernel dynamic memory */
ICPLB_FAULT_ADDR: <0x0002be50> { _ktime_get + 0xf0 }
PROCESSOR STATE:
R0 : 00000001 R1 : 00000000 R2 : 00010000 R3 : 0000001f
R4 : 00000006 R5 : 00000000 R6 : ffffffff R7 : 7fffffff
P0 : 00000006 P1 : 0002778c P2 : 001952f4 P3 : ffe02104
P4 : ffffffc0 P5 : 0019a924 FP : 02069ba0 SP : 02069ab4
LB0: ffa015c8 LT0: ffa015c6 LC0: 00000000
LB1: 00097872 LT1: 00097868 LC1: 00000000
B0 : 00000020 L0 : 00000000 M0 : 028addac I0 : 00200200
B1 : 0000001f L1 : 00000000 M1 : 00000001 I1 : 0019c054
B2 : 00134410 L2 : 00000000 M2 : 00000007 I2 : 00000000
B3 : 0000ffff L3 : 00000000 M3 : 00000000 I3 : 0000000e
A0.w: 00003842 A0.x: 00000000 A1.w: 00000042 A1.x: 00000000
USP : 02bf3dbc ASTAT: 02003044
---[ end trace 6a14290b60accb47 ]---
Disabling lock debugging due to kernel taint
Hardware Trace:
0 Target : <0x00003fa4> { _trap_c + 0x0 }
Source : <0xffa00734> { _exception_to_level5 + 0xa4 } JUMP.L
1 Target : <0xffa00690> { _exception_to_level5 + 0x0 }
Source : <0xffa00544> { _bfin_return_from_exception + 0x20 } RTX
2 Target : <0xffa00524> { _bfin_return_from_exception + 0x0 }
Source : <0xffa005e8> { _ex_trap_c + 0x74 } JUMP.S
3 Target : <0xffa00574> { _ex_trap_c + 0x0 }
Source : <0xffa00806> { _trap + 0x66 } JUMP (P4)
4 Target : <0xffa007be> { _trap + 0x1e }
Source : <0xffa007ba> { _trap + 0x1a } IF CC JUMP pcrel
5 Target : <0xffa007a0> { _trap + 0x0 }
FAULT : <0x0002be50> { _ktime_get + 0xf0 } BUG
Source : <0x0002bd72> { _ktime_get + 0x12 } IF !CC JUMP pcrel
6 Target : <0x0002bd60> { _ktime_get + 0x0 }
Source : <0x000277b4> { _hrtimer_interrupt + 0x28 } JUMP.L
7 Target : <0x0002778c> { _hrtimer_interrupt + 0x0 }
Source : <0xffa003d0> { _bfin_coretmr_interrupt + 0x10 } CALL (P1)
8 Target : <0xffa003c0> { _bfin_coretmr_interrupt + 0x0 }
Source : <0x00035ada> { _handle_irq_event_percpu + 0x36 } CALL (P2)
9 Target : <0x00035ad4> { _handle_irq_event_percpu + 0x30 }
Source : <0x00035abe> { _handle_irq_event_percpu + 0x1a } JUMP.S
10 Target : <0x00035aa4> { _handle_irq_event_percpu + 0x0 }
Source : <0x00035c00> { _handle_irq_event + 0x18 } CALL pcrel
11 Target : <0x00035be8> { _handle_irq_event + 0x0 }
Source : <0x0003763c> { _handle_simple_irq + 0x50 } JUMP.L
12 Target : <0x000375ec> { _handle_simple_irq + 0x0 }
Source : <0x00035824> { _generic_handle_irq + 0x28 } CALL (P2)
13 Target : <0x000357fc> { _generic_handle_irq + 0x0 }
Source : <0xffa00392> { _asm_do_IRQ + 0x6e } JUMP.L
14 Target : <0xffa00390> { _asm_do_IRQ + 0x6c }
Source : <0xffa00346> { _asm_do_IRQ + 0x22 } IF CC JUMP pcrel (BP)
15 Target : <0xffa00340> { _asm_do_IRQ + 0x1c }
Source : <0x000158f0> { _irq_enter + 0x3c } RTS
------------[ cut here ]------------
WARNING: at kernel/time/timekeeping.c:245
Modules linked in:
ADSP-BF537-0.2 500(MHz CCLK) 125(MHz SCLK) (mpu off)
Linux version 3.0.0-ADI-2011R1-pre-svn10085 (test@linux73-bf537-wt) (gcc
version 4.3.5 (ADI-2011R1-RC1) ) #78 Mon Sep 19 19:33:18 CST 2011
SEQUENCER STATUS: Tainted: P
SEQSTAT: 00060021 IPEND: 8048 IMASK: 001f SYSCFG: 0006
Peripheral interrupts masked off
Kernel interrupts masked off
EXCAUSE : 0x21
physical IVG3 asserted : <0xffa007a0> { _trap + 0x0 }
physical IVG6 asserted : <0xffa00e1c> { _evt_timer + 0x0 }
physical IVG15 asserted : <0xffa00edc> { _evt_system_call + 0x0 }
logical irq 6 mapped : <0xffa003c0> { _bfin_coretmr_interrupt + 0x0
}
logical irq 10 mapped : <0x000c78c0> { _bfin_rtc_interrupt + 0x0 }
logical irq 106 mapped : <0x000c1eb8> { _bfin_mac_interrupt + 0x0 }
RETE: <0x00000000> /* Maybe null pointer? */
RETN: <0x02069b2c> /* kernel dynamic memory */
RETX: <0x00000480> /* Maybe fixed code section */
RETS: <0x000307ae> { _tick_sched_timer + 0x16 }
PC : <0x0002be50> { _ktime_get + 0xf0 }
DCPLB_FAULT_ADDR: <0x001952f4> /* kernel dynamic memory */
ICPLB_FAULT_ADDR: <0x0002be50> { _ktime_get + 0xf0 }
PROCESSOR STATE:
R0 : 00000001 R1 : 0019e038 R2 : 0018f344 R3 : 0018f344
R4 : 00000000 R5 : 02069ca8 R6 : 7fffffff R7 : 00000000
P0 : 00000000 P1 : 0018f344 P2 : 001952f4 P3 : 0019e038
P4 : 0019db68 P5 : 0019e038 FP : 02069b3c SP : 02069a50
LB0: ffa015c8 LT0: ffa015c6 LC0: 00000000
LB1: 00097872 LT1: 00097868 LC1: 00000000
B0 : 00000020 L0 : 00000000 M0 : 028addac I0 : 00200200
B1 : 0000001f L1 : 00000000 M1 : 00000001 I1 : 0019c054
B2 : 00134410 L2 : 00000000 M2 : 00000007 I2 : 00000000
B3 : 0000ffff L3 : 00000000 M3 : 00000000 I3 : 0000000e
A0.w: 000011e8 A0.x: 00000000 A1.w: 000000f9 A1.x: 00000000
USP : 02bf3dbc ASTAT: 02003044
---[ end trace 6a14290b60accb48 ]---
Hardware Trace:
0 Target : <0x00003fa4> { _trap_c + 0x0 }
Source : <0xffa00734> { _exception_to_level5 + 0xa4 } JUMP.L
1 Target : <0xffa00690> { _exception_to_level5 + 0x0 }
Source : <0xffa00544> { _bfin_return_from_exception + 0x20 } RTX
2 Target : <0xffa00524> { _bfin_return_from_exception + 0x0 }
Source : <0xffa005e8> { _ex_trap_c + 0x74 } JUMP.S
3 Target : <0xffa00574> { _ex_trap_c + 0x0 }
Source : <0xffa00806> { _trap + 0x66 } JUMP (P4)
4 Target : <0xffa007be> { _trap + 0x1e }
Source : <0xffa007ba> { _trap + 0x1a } IF CC JUMP pcrel
5 Target : <0xffa007a0> { _trap + 0x0 }
FAULT : <0x0002be50> { _ktime_get + 0xf0 } BUG
Source : <0x0002bd72> { _ktime_get + 0x12 } IF !CC JUMP pcrel
6 Target : <0x0002bd60> { _ktime_get + 0x0 }
Source : <0x000307aa> { _tick_sched_timer + 0x12 } JUMP.L
7 Target : <0x00030798> { _tick_sched_timer + 0x0 }
Source : <0x00026f1e> { ___run_hrtimer + 0x2e } CALL (P2)
8 Target : <0x00026f1a> { ___run_hrtimer + 0x2a }
Source : <0x00026e0e> { ___remove_hrtimer + 0x36 } RTS
9 Target : <0x00026e00> { ___remove_hrtimer + 0x28 }
Source : <0x00096470> { _timerqueue_del + 0x3c } RTS
10 Target : <0x0009645e> { _timerqueue_del + 0x2a }
Source : <0x00095576> { _rb_erase + 0x8a } RTS
11 Target : <0x0009556c> { _rb_erase + 0x80 }
Source : <0x00095754> { _rb_erase + 0x268 } JUMP.S
12 Target : <0x00095752> { _rb_erase + 0x266 }
Source : <0x000956d8> { _rb_erase + 0x1ec } IF CC JUMP pcrel
13 Target : <0x000956ca> { _rb_erase + 0x1de }
Source : <0x000956ba> { _rb_erase + 0x1ce } IF CC JUMP pcrel
14 Target : <0x000956aa> { _rb_erase + 0x1be }
Source : <0x000954fa> { _rb_erase + 0xe } IF CC JUMP pcrel
15 Target : <0x000954ec> { _rb_erase + 0x0 }
Source : <0x0009645a> { _timerqueue_del + 0x26 } JUMP.L
------------[ cut here ]------------
WARNING: at kernel/time/timekeeping.c:245
Modules linked in:
ADSP-BF537-0.2 500(MHz CCLK) 125(MHz SCLK) (mpu off)
Linux version 3.0.0-ADI-2011R1-pre-svn10085 (test@linux73-bf537-wt) (gcc
version 4.3.5 (ADI-2011R1-RC1) ) #78 Mon Sep 19 19:33:18 CST 2011
SEQUENCER STATUS: Tainted: P
SEQSTAT: 00060021 IPEND: 8048 IMASK: 001f SYSCFG: 0006
Peripheral interrupts masked off
Kernel interrupts masked off
EXCAUSE : 0x21
physical IVG3 asserted : <0xffa007a0> { _trap + 0x0 }
physical IVG6 asserted : <0xffa00e1c> { _evt_timer + 0x0 }
physical IVG15 asserted : <0xffa00edc> { _evt_system_call + 0x0 }
logical irq 6 mapped : <0xffa003c0> { _bfin_coretmr_interrupt + 0x0
}
logical irq 10 mapped : <0x000c78c0> { _bfin_rtc_interrupt + 0x0 }
logical irq 106 mapped : <0x000c1eb8> { _bfin_mac_interrupt + 0x0 }
RETE: <0x00000000> /* Maybe null pointer? */
RETN: <0x02069b40> /* kernel dynamic memory */
RETX: <0x00000480> /* Maybe fixed code section */
RETS: <0x0003041c> { _tick_dev_program_event + 0x10 }
PC : <0x0002be50> { _ktime_get + 0xf0 }
DCPLB_FAULT_ADDR: <0x001952f4> /* kernel dynamic memory */
ICPLB_FAULT_ADDR: <0x0002be50> { _ktime_get + 0xf0 }
PROCESSOR STATE:
R0 : 00000001 R1 : 27d0df00 R2 : 00000070 R3 : 27d0df00
R4 : 27d0df00 R5 : 00000070 R6 : 00000070 R7 : 00000070
P0 : 00000000 P1 : 0019e038 P2 : 001952f4 P3 : 27d0df00
P4 : 00000070 P5 : 0019a99c FP : 02069b50 SP : 02069a64
LB0: ffa01838 LT0: ffa01818 LC0: 00000000
LB1: 0000cf18 LT1: 0000cef2 LC1: 00000000
B0 : 00000020 L0 : 00000000 M0 : 00000001 I0 : 0019d31c
B1 : 0000001f L1 : 00000000 M1 : 00000001 I1 : 001287f0
B2 : 00134410 L2 : 00000000 M2 : 00000007 I2 : 001287f0
B3 : 0000ffff L3 : 00000000 M3 : 00000000 I3 : 000003ff
A0.w: 00000000 A0.x: 00000000 A1.w: 00000000 A1.x: 00000000
USP : 02bf3dbc ASTAT: 02003044
---[ end trace 6a14290b60accb49 ]---
Hardware Trace:
0 Target : <0x00003fa4> { _trap_c + 0x0 }
Source : <0xffa00734> { _exception_to_level5 + 0xa4 } JUMP.L
1 Target : <0xffa00690> { _exception_to_level5 + 0x0 }
Source : <0xffa00544> { _bfin_return_from_exception + 0x20 } RTX
2 Target : <0xffa00524> { _bfin_return_from_exception + 0x0 }
Source : <0xffa005e8> { _ex_trap_c + 0x74 } JUMP.S
3 Target : <0xffa00574> { _ex_trap_c + 0x0 }
Source : <0xffa00806> { _trap + 0x66 } JUMP (P4)
4 Target : <0xffa007be> { _trap + 0x1e }
Source : <0xffa007ba> { _trap + 0x1a } IF CC JUMP pcrel
5 Target : <0xffa007a0> { _trap + 0x0 }
FAULT : <0x0002be50> { _ktime_get + 0xf0 } BUG
Source : <0x0002bd72> { _ktime_get + 0x12 } IF !CC JUMP pcrel
6 Target : <0x0002bd60> { _ktime_get + 0x0 }
Source : <0x00030418> { _tick_dev_program_event + 0xc } JUMP.L
7 Target : <0x0003040c> { _tick_dev_program_event + 0x0 }
Source : <0x00030572> { _tick_program_event + 0x22 } CALL pcrel
8 Target : <0x00030550> { _tick_program_event + 0x0 }
Source : <0x000278b2> { _hrtimer_interrupt + 0x126 } JUMP.L
9 Target : <0x0002789c> { _hrtimer_interrupt + 0x110 }
Source : <0x0002794a> { _hrtimer_interrupt + 0x1be } JUMP.S
10 Target : <0x00027946> { _hrtimer_interrupt + 0x1ba }
Source : <0x000277fa> { _hrtimer_interrupt + 0x6e } IF CC JUMP pcrel
(BP)
11 Target : <0x000277f0> { _hrtimer_interrupt + 0x64 }
Source : <0x000278a2> { _hrtimer_interrupt + 0x116 } IF !CC JUMP
pcrel (BP)
12 Target : <0x0002789c> { _hrtimer_interrupt + 0x110 }
Source : <0x0002794a> { _hrtimer_interrupt + 0x1be } JUMP.S
13 Target : <0x00027946> { _hrtimer_interrupt + 0x1ba }
Source : <0x000277fa> { _hrtimer_interrupt + 0x6e } IF CC JUMP pcrel
(BP)
14 Target : <0x000277f0> { _hrtimer_interrupt + 0x64 }
Source : <0x000278a2> { _hrtimer_interrupt + 0x116 } IF !CC JUMP
pcrel (BP)
15 Target : <0x0002789c> { _hrtimer_interrupt + 0x110 }
Source : <0x0002795c> { _hrtimer_interrupt + 0x1d0 } JUMP.S
--
Files
Changes
Commits
Dependencies
Duplicates
Associations
Tags
File Name File Type File Size Posted By
config.power application/octet-stream 35826 Vivi Li