ehci-omap 休眠唤醒段错误死机问题。
机器上面是用 ehci接到 tusb1210上面,然后再接到中兴的wcdma模块上面。
当机器睡眠后,隔几秒后去唤醒,没问题。
但是如果时间久一点,比如一分钟后,去唤醒,出现如下错误。
有没有人遇到过???????
部分log如下:
PM: Finishing wakeup.
Restarting tasks …request_suspend_state: wakeup (3->0) at 61652313241 (2013-11-08 08:13:05.517242431 UTC)
done.
suspend: exit suspend, ret = 0 (2013-11-08 08:13:05.529205321 UTC)
request_suspend_state: sleep (0->3) at 63437530491 (2013-11-08 08:13:07.302459681 UTC)
PM: Syncing filesystems … done.
PM: Preparing system for mem sleep
Freezing user space processes … (elapsed 0.02 seconds) done.
Freezing remaining freezable tasks … (elapsed 0.01 seconds) done.
PM: Entering mem sleep
option: option_instat_callback: error -2
PM: suspend of devices complete after 117.370 msecs
PM: late suspend of devices complete after 0.366 msecs
Successfully put all powerdomains to target state
PM: early resume of devices complete after 0.488 msecs
wakeup wake lock: event2-1371
PM: resume of devices complete after 336.975 msecs
PM: Finishing wakeup.
Restarting tasks …request_suspend_state: wakeup (3->0) at 64253967296 (2013-11-08 08:13:10.517150880 UTC)
done.
suspend: exit suspend, ret = 0 (2013-11-08 08:13:10.529693605 UTC)
request_suspend_state: sleep (0->3) at 67578308116 (2013-11-08 08:13:13.841491700 UTC)
PM: Syncing filesystems … done.
PM: Preparing system for mem sleep
Freezing user space processes … (elapsed 0.02 seconds) done.
Freezing remaining freezable tasks … (elapsed 0.01 seconds) done.
PM: Entering mem sleep
option: option_instat_callback: error -2
PM: suspend of devices complete after 117.462 msecs
PM: late suspend of devices complete after 0.396 msecs
Successfully put all powerdomains to target state
PM: early resume of devices complete after 0.488 msecs
wakeup wake lock: event2-1371
PM: resume of devices complete after 336.791 msecs
PM: Finishing wakeup.
Restarting tasks … done.
suspend: exit suspend, ret = 0 (2013-11-08 08:13:38.540100097 UTC)
swap_free: Bad swap file entry 00000040
BUG: Bad page map in process HeapWorker pte:00008000 pmd:9840f031
addr:49d73000 vm_flags:00200073 anon_vma:da2bdb28 mapping: (null) index:49d73
Backtrace:[<c004ee1c>] (dump_backtrace+0x0/0x110) from [<c04f2058>] (dump_stack+0x18/0x1c)
r7:00000000 r6:00049d73 r5:49d73000 r4:d84d0f98
[<c04f2040>] (dump_stack+0x0/0x1c) from [<c00ec468>] (print_bad_pte+0x16c/0x198)
[<c00ec2fc>] (print_bad_pte+0x0/0x198) from [<c00ee94c>] (unmap_vmas+0x3b4/0x5a4)
[<c00ee598>] (unmap_vmas+0x0/0x5a4) from [<c00eebb0>] (zap_page_range+0x74/0xb8)
[<c00eeb3c>] (zap_page_range+0x0/0xb8) from [<c00ebf38>] (sys_madvise+0x300/0x500)
[<c00ebc38>] (sys_madvise+0x0/0x500) from [<c004a880>] (ret_fast_syscall+0x0/0x30)
Disabling lock debugging due to kernel taint
alarm_release: clear alarm, pending 0
alarm_release: clear alarm, pending 0
alarm_release: clear alarm, pending 0
request_suspend_state: wakeup (3->0) at 68974700941 (2013-11-08 08:13:39.073852538 UTC)
swap_free: Bad swap file entry 00020000
BUG: Bad page map in process RefQueueWorker@ pte:04000000 pmd:958bf031
addr:41b1c000 vm_flags:08100071 anon_vma: (null) mapping:dedc0a20 index:132
vma->vm_ops->fault: filemap_fault+0x0/0x3b4
vma->vm_file->f_op->mmap: ubifs_file_mmap+0x0/0x28
Backtrace:[<c004ee1c>] (dump_backtrace+0x0/0x110) from [<c04f2058>] (dump_stack+0x18/0x1c)
r7:dedc0a20 r6:00000132 r5:41b1c000 r4:d846bf40
[<c04f2040>] (dump_stack+0x0/0x1c) from [<c00ec468>] (print_bad_pte+0x16c/0x198)
[<c00ec2fc>] (print_bad_pte+0x0/0x198) from [<c00ee94c>] (unmap_vmas+0x3b4/0x5a4)
[<c00ee598>] (unmap_vmas+0x0/0x5a4) from [<c00f1260>] (exit_mmap+0x104/0x1a0)
[<c00f115c>] (exit_mmap+0x0/0x1a0) from [<c0078d6c>] (mmput+0x3c/0xd8)
[<c0078d30>] (mmput+0x0/0xd8) from [<c007cab8>] (exit_mm+0x140/0x14c)
r5:d7921080 r4:d8471840
[<c007c978>] (exit_mm+0x0/0x14c) from [<c007e238>] (do_exit+0x1c4/0x638)
r7:d84704c0 r6:d7bc6000 r5:00000009 r4:d7921080
[<c007e074>] (do_exit+0x0/0x638) from [<c007e730>] (do_group_exit+0x84/0xb4)
[<c007e6ac>] (do_group_exit+0x0/0xb4) from [<c008b854>] (get_signal_to_deliver+0x344/0x380)
r5:d7bc7ec8 r4:00418004
[<c008b510>] (get_signal_to_deliver+0x0/0x380) from [<c004da94>] (do_signal+0x70/0x660)
[<c004da24>] (do_signal+0x0/0x660) from [<c004e0a4>] (do_notify_resume+0x20/0x64)
[<c004e084>] (do_notify_resume+0x0/0x64) from [<c004a8d8>] (work_pending+0x24/0x28)
r5:0011c8f8 r4:0011c908
BUG: Bad page map in process Binder Thread # pte:00000004 pmd:95b32031
addr:a9503000 vm_flags:08100075 anon_vma: (null) mapping:dedaf278 index:3
vma->vm_ops->fault: filemap_fault+0x0/0x3b4
vma->vm_file->f_op->mmap: ubifs_file_mmap+0x0/0x28
Backtrace:[<c004ee1c>] (dump_backtrace+0x0/0x110) from [<c04f2058>] (dump_stack+0x18/0x1c)
r7:dedaf278 r6:00000003 r5:a9503000 r4:d5b221d8
[<c04f2040>] (dump_stack+0x0/0x1c) from [<c00ec468>] (print_bad_pte+0x16c/0x198)
[<c00ec2fc>] (print_bad_pte+0x0/0x198) from [<c00ee94c>] (unmap_vmas+0x3b4/0x5a4)
[<c00ee598>] (unmap_vmas+0x0/0x5a4) from [<c00f1260>] (exit_mmap+0x104/0x1a0)
[<c00f115c>] (exit_mmap+0x0/0x1a0) from [<c0078d6c>] (mmput+0x3c/0xd8)
[<c0078d30>] (mmput+0x0/0xd8) from [<c007cab8>] (exit_mm+0x140/0x14c)
r5:d7921400 r4:d8471cc0
[<c007c978>] (exit_mm+0x0/0x14c) from [<c007e238>] (do_exit+0x1c4/0x638)
r7:d8470b80 r6:d7bc4000 r5:00000009 r4:d7921400
[<c007e074>] (do_exit+0x0/0x638) from [<c007e730>] (do_group_exit+0x84/0xb4)
[<c007e6ac>] (do_group_exit+0x0/0xb4) from [<c008b854>] (get_signal_to_deliver+0x344/0x380)
r5:d7bc5ec8 r4:00418004
[<c008b510>] (get_signal_to_deliver+0x0/0x380) from [<c004da94>] (do_signal+0x70/0x660)
[<c004da24>] (do_signal+0x0/0x660) from [<c004e0a4>] (do_notify_resume+0x20/0x64)
[<c004e084>] (do_notify_resume+0x0/0x64) from [<c004a8d8>] (work_pending+0x24/0x28)
r5:0007ca20 r4:0007c9f0
BUG: Bad page map in process AsyncTask #1 pte:9740010f pmd:987cf031
page:c0ac0000 count:1 mapcount:-1 mapping:dee0cba8 index:0xc4
page flags: 0x27c(referenced|uptodate|dirty|lru|active|arch_1)
addr:41443000 vm_flags:080000d1 anon_vma: (null) mapping:dee0cba8 index:c4
vma->vm_ops->fault: filemap_fault+0x0/0x3b4
vma->vm_file->f_op->mmap: ubifs_file_mmap+0x0/0x28
Backtrace:[<c004ee1c>] (dump_backtrace+0x0/0x110) from [<c04f2058>] (dump_stack+0x18/0x1c)
r7:dee0cba8 r6:000000c4 r5:41443000 r4:d85a03e8
[<c04f2040>] (dump_stack+0x0/0x1c) from [<c00ec468>] (print_bad_pte+0x16c/0x198)
[<c00ec2fc>] (print_bad_pte+0x0/0x198) from [<c00ee8e8>] (unmap_vmas+0x350/0x5a4)
[<c00ee598>] (unmap_vmas+0x0/0x5a4) from [<c00f1260>] (exit_mmap+0x104/0x1a0)
[<c00f115c>] (exit_mmap+0x0/0x1a0) from [<c0078d6c>] (mmput+0x3c/0xd8)
[<c0078d30>] (mmput+0x0/0xd8) from [<c007cab8>] (exit_mm+0x140/0x14c)
r5:d87b8140 r4:dea31540
[<c007c978>] (exit_mm+0x0/0x14c) from [<c007e238>] (do_exit+0x1c4/0x638)
r7:de94e940 r6:d7a2e000 r5:00000009 r4:d87b8140
[<c007e074>] (do_exit+0x0/0x638) from [<c007e730>] (do_group_exit+0x84/0xb4)
[<c007e6ac>] (do_group_exit+0x0/0xb4) from [<c008b854>] (get_signal_to_deliver+0x344/0x380)
r5:d7a2fec8 r4:00418004
[<c008b510>] (get_signal_to_deliver+0x0/0x380) from [<c004da94>] (do_signal+0x70/0x660)
[<c004da24>] (do_signal+0x0/0x660) from [<c004e0a4>] (do_notify_resume+0x20/0x64)
[<c004e084>] (do_notify_resume+0x0/0x64) from [<c004a8d8>] (work_pending+0x24/0x28)
r5:001c79c0 r4:001c79d0
BUG: Bad page state in process AsyncTask #1 pfn:97400
page:c0ac0000 count:0 mapcount:-1 mapping:dee0cba8 index:0xc4
page flags: 0x21c(referenced|uptodate|dirty|arch_1)
Backtrace:[<c004ee1c>] (dump_backtrace+0x0/0x110) from [<c04f2058>] (dump_stack+0x18/0x1c)
r7:00000000 r6:c0ac0000 r5:c0749bac r4:c0ac0000
[<c04f2040>] (dump_stack+0x0/0x1c) from [<c00d8ee4>] (bad_page+0xcc/0xf8)
[<c00d8e18>] (bad_page+0x0/0xf8) from [<c00d9800>] (free_pages_prepare+0xb8/0xf8)
r5:00000001 r4:00000000
[<c00d9748>] (free_pages_prepare+0x0/0xf8) from [<c00d997c>] (free_hot_cold_page+0x28/0x17c)
r9:d87cf90c r8:00000000 r7:00000000 r6:0000021c r5:c0ac0000
r4:00000000
[<c00d9954>] (free_hot_cold_page+0x0/0x17c) from [<c00dd8a0>] (put_page+0x134/0x148)
r7:d85a03e8 r6:c06b48f0 r5:c0ac0000 r4:00000000
[<c00dd76c>] (put_page+0x0/0x148) from [<c00f9864>] (free_page_and_swap_cache+0x5c/0x60)
r5:c0ac0000 r4:c0ac0000
[<c00f9808>] (free_page_and_swap_cache+0x0/0x60) from [<c00ee8f0>] (unmap_vmas+0x358/0x5a4)
r5:c0ac0000 r4:41443000
[<c00ee598>] (unmap_vmas+0x0/0x5a4) from [<c00f1260>] (exit_mmap+0x104/0x1a0)
[<c00f115c>] (exit_mmap+0x0/0x1a0) from [<c0078d6c>] (mmput+0x3c/0xd8)
[<c0078d30>] (mmput+0x0/0xd8) from [<c007cab8>] (exit_mm+0x140/0x14c)
r5:d87b8140 r4:dea31540
[<c007c978>] (exit_mm+0x0/0x14c) from [<c007e238>] (do_exit+0x1c4/0x638)
r7:de94e940 r6:d7a2e000 r5:00000009 r4:d87b8140
[<c007e074>] (do_exit+0x0/0x638) from [<c007e730>] (do_group_exit+0x84/0xb4)
[<c007e6ac>] (do_group_exit+0x0/0xb4) from [<c008b854>] (get_signal_to_deliver+0x344/0x380)
r5:d7a2fec8 r4:00418004
[<c008b510>] (get_signal_to_deliver+0x0/0x380) from [<c004da94>] (do_signal+0x70/0x660)
[<c004da24>] (do_signal+0x0/0x660) from [<c004e0a4>] (do_notify_resume+0x20/0x64)
[<c004e084>] (do_notify_resume+0x0/0x64) from [<c004a8d8>] (work_pending+0x24/0x28)
r5:001c79c0 r4:001c79d0
BUG: Bad page map in process Binder Thread # pte:00000002 pmd:97aff031
addr:100e4000 vm_flags:00200073 anon_vma:d8519d08 mapping: (null) index:100e4
Backtrace:[<c004ee1c>] (dump_backtrace+0x0/0x110) from [<c04f2058>] (dump_stack+0x18/0x1c)
r7:00000000 r6:000100e4 r5:100e4000 r4:d7af15a0
[<c04f2040>] (dump_stack+0x0/0x1c) from [<c00ec468>] (print_bad_pte+0x16c/0x198)
[<c00ec2fc>] (print_bad_pte+0x0/0x198) from [<c00ee94c>] (unmap_vmas+0x3b4/0x5a4)
[<c00ee598>] (unmap_vmas+0x0/0x5a4) from [<c00f1260>] (exit_mmap+0x104/0x1a0)
[<c00f115c>] (exit_mmap+0x0/0x1a0) from [<c0078d6c>] (mmput+0x3c/0xd8)
[<c0078d30>] (mmput+0x0/0xd8) from [<c007cab8>] (exit_mm+0x140/0x14c)
r5:d794b780 r4:deb03e00
[<c007c978>] (exit_mm+0x0/0x14c) from [<c007e238>] (do_exit+0x1c4/0x638)
r7:dbc90b80 r6:d5a66000 r5:00000009 r4:d794b780
[<c007e074>] (do_exit+0x0/0x638) from [<c007e730>] (do_group_exit+0x84/0xb4)
[<c007e6ac>] (do_group_exit+0x0/0xb4) from [<c008b854>] (get_signal_to_deliver+0x344/0x380)
r5:d5a67ec8 r4:00418004
[<c008b510>] (get_signal_to_deliver+0x0/0x380) from [<c004da94>] (do_signal+0x70/0x660)
[<c004da24>] (do_signal+0x0/0x660) from [<c004e0a4>] (do_notify_resume+0x20/0x64)
[<c004e084>] (do_notify_resume+0x0/0x64) from [<c004a8d8>] (work_pending+0x24/0x28)
r5:001b4168 r4:001b4138
swap_free: Bad swap file entry 00000010
BUG: Bad page map in process AsyncTask #4 pte:00002000 pmd:985ec031
addr:42b85000 vm_flags:080000d1 anon_vma: (null) mapping:dedd5eb8 index:3c4
vma->vm_ops->fault: filemap_fault+0x0/0x3b4
vma->vm_file->f_op->mmap: ubifs_file_mmap+0x0/0x28
Backtrace:[<c004ee1c>] (dump_backtrace+0x0/0x110) from [<c04f2058>] (dump_stack+0x18/0x1c)
r7:dedd5eb8 r6:000003c4 r5:42b85000 r4:d8591128
[<c04f2040>] (dump_stack+0x0/0x1c) from [<c00ec468>] (print_bad_pte+0x16c/0x198)
[<c00ec2fc>] (print_bad_pte+0x0/0x198) from [<c00ee94c>] (unmap_vmas+0x3b4/0x5a4)
[<c00ee598>] (unmap_vmas+0x0/0x5a4) from [<c00f1260>] (exit_mmap+0x104/0x1a0)
[<c00f115c>] (exit_mmap+0x0/0x1a0) from [<c0078d6c>] (mmput+0x3c/0xd8)
[<c0078d30>] (mmput+0x0/0xd8) from [<c007cab8>] (exit_mm+0x140/0x14c)
r5:d87a07c0 r4:deb03800
[<c007c978>] (exit_mm+0x0/0x14c) from [<c007e238>] (do_exit+0x1c4/0x638)
r7:dead4040 r6:d7a00000 r5:00000009 r4:d87a07c0
[<c007e074>] (do_exit+0x0/0x638) from [<c007e730>] (do_group_exit+0x84/0xb4)
[<c007e6ac>] (do_group_exit+0x0/0xb4) from [<c008b854>] (get_signal_to_deliver+0x344/0x380)
r5:d7a01ec8 r4:00418004
[<c008b510>] (get_signal_to_deliver+0x0/0x380) from [<c004da94>] (do_signal+0x70/0x660)
[<c004da24>] (do_signal+0x0/0x660) from [<c004e0a4>] (do_notify_resume+0x20/0x64)
[<c004e084>] (do_notify_resume+0x0/0x64) from [<c004a8d8>] (work_pending+0x24/0x28)
r5:0019cc80 r4:0019cc90
kun huang2:
表示遇到同样的问题,不知道楼主有没有解决呢,麻烦分享分享。
Yaoming Qin:
回复 kun huang2:
请问是哪个片子?跑的什么系统
kun huang2:
回复 Yaoming Qin:
am335x sdk6.0
root@am335x-evm:~# echo mem > /sys/power/state [13216.186737] == == == = = ==enter_state [13216.190765] PM: Syncing filesystems … done. [13217.991943] PM: Preparing system for mem sleep [13217.996643] == == == = = ==suspend_prepare [13218.001708] am33xx_sr_cpufreq_transition: prechange [13218.007324] am33xx_sr_cpufreq_transition: postchange [13218.012573] am33xx_sr_cpufreq_transition: postchange, new opp=0 [13218.094543] ++ ++ ++ ++ 0erroe====0 [13218.097259] ,errorFreezing user space processes … (elapsed 0.01 seconds) d.[13218.119049] Freezing remaining freezable tasks … (elapsed 0.01 seconds) do.[13218.139038] PM: Entering mem sleep [13218.142608] == == == = = ==suspend_devices_and_enter [13218.161560] pm_op(): platform_pm_suspend+0x0/0x5c returns -16 [13218.167816] PM: Device musb-hdrc.0 failed to suspend: error -16 [13218.320892] net eth0: CPSW phy found : id is : 0x7c0f1 [13218.329589] PM: resume of devices complete after 155.517 msecs -sh: echo: write error: Device or resource busy