Wind River Support Network

HomeDefectsLIN6-8424
Fixed

LIN6-8424 : Cannot find /sys/class/rtc/rtc0/device/power/wakeup

Created: Sep 16, 2014    Updated: Dec 3, 2018
Resolved Date: Sep 27, 2014
Found In Version: 6.0.0.13
Fix Version: 6.0.0.13
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: BSP

Description

Key Logs:

# cat SUSPEND_TO_RAM.log 
Not found the kernel fragment for testing SUSPEND_TO_RAM, Continue test.
SUSPEND_TO_RAM.pkg readable!
util-linux-2.23.2-r5.0.armv7a_vfp_neon
Found the util-linux package installed.
150+0 records in
150+0 records out
157286400 bytes (157 MB) copied, 356.098 s, 442 kB/s
====== [ SUSPEND_TO_RAM ] Subtesting: Suspend-to-RAM ======
-------------
unlink: Tue Sep 16 09:29:08 UTC 2014
cannot unlink 'dsktest-res': No such file or directory
rtcwake: cannot open /sys/class/rtc/rtc0/device/power/wakeup: No such file or directory
rtcwake: /dev/rtc0 not enabled for wakeup events
	FAIL	s3 test.
	PASS	disk copy testing.
	Tests Passed	: 1
	Tests Failed	: 1
	Tests Skiped	: 0
	Tests Manual	: 0
	Total Tested	: 2
[  596.252133] BUG: Bad page state in process operation_progr  pfn:2c9f6
There was Call Trace/BUG information during the testing
[  596.252133] BUG: Bad page state in process operation_progr  pfn:2c9f6
[  596.257220] page:816eeec0 count:1024 mapcount:0 mapping:  (null) index:0x0
[  596.263782] page flags: 0x0()
[  596.265606] Modules linked in:
[  596.267339] CPU: 0 PID: 693 Comm: operation_progr Not tainted 3.10.38-ltsi-WR6.0.0.0_standard #1
[  596.275025] [<800170e0>] (unwind_backtrace+0x0/0xec) from [<800125ec>] (show_stack+0x20/0x24)
[  596.282343] [<800125ec>] (show_stack+0x20/0x24) from [<806a698c>] (dump_stack+0x20/0x28)
[  596.289181] [<806a698c>] (dump_stack+0x20/0x28) from [<800f9b04>] (bad_page+0xe8/0x118)
[  596.295835] [<800f9b04>] (bad_page+0xe8/0x118) from [<800f9fd0>] (get_page_from_freelist+0x23c/0x554)
[  596.303909] [<800f9fd0>] (get_page_from_freelist+0x23c/0x554) from [<800fb00c>] (__alloc_pages_nodemask+0x1e8/0xa8c)
[  596.313161] [<800fb00c>] (__alloc_pages_nodemask+0x1e8/0xa8c) from [<8011689c>] (__pte_alloc+0x30/0x134)
[  596.322525] [<8011689c>] (__pte_alloc+0x30/0x134) from [<80118024>] (copy_pte_range+0xb4/0x46c)
[  596.329990] [<80118024>] (copy_pte_range+0xb4/0x46c) from [<801184ac>] (copy_page_range+0xd0/0x100)
[  596.337676] [<801184ac>] (copy_page_range+0xd0/0x100) from [<80026b54>] (dup_mm+0x318/0x410)
[  596.344883] [<80026b54>] (dup_mm+0x318/0x410) from [<800275a4>] (copy_process.part.51+0x900/0x1150)
[  596.352735] [<800275a4>] (copy_process.part.51+0x900/0x1150) from [<80027f1c>] (do_fork+0xd0/0x41c)
[  596.360680] [<80027f1c>] (do_fork+0xd0/0x41c) from [<80028348>] (SyS_clone+0x2c/0x34)
[  596.367149] [<80028348>] (SyS_clone+0x2c/0x34) from [<8000dde0>] (ret_fast_syscall+0x0/0x48)
[  596.374338] Disabling lock debugging due to kernel taint
root@localhost:/opt/wr-test/testcases/bts/SUSPEND_TO_RAM#

Steps to Reproduce

1). build project
/wrlinux-x/wrlinux/configure --enable-board=xilinx-zynq --enable-kernel=standard --enable-rootfs=glibc-std --enable-test=yes --with-layer=/wr-testing/kts-test,/wr-testing/bts,/wr-testing/ltp,/wr-testing/bts-new --with-template=feature/kts-basic,feature/kts-extended,feature/kts-standard,feature/bts --enable-parallel-pkgbuilds=16 --enable-jobs=16 --enable-reconfig && make fs

2). run test
./main_test.sh -u xxx -F -s SUSPEND_TO_RAM

Other Downloads


Live chat
Online