Kselftest pstore test failure on riscv

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

To run the Kselftest pstore test suite I use following:

Hardware: Freedom U540
Architecture: RISCV
Kernel: 5.4.3

Steps followed to run the test:
1.Cloning linux kernel sources from https://github.com/torvalds/linux.git
2.Extracting it.
3.From the cloned kernel source top directory running: # make -C
tools/testing/selftests/ TARGETS=pstore run_tests

Following is the log:
make: Entering directory '/mnt/linux-master/tools/testing/selftests'
make --no-builtin-rules ARCH=riscv -C ../../.. headers_install
make[1]: Entering directory '/mnt/linux-master'
  INSTALL ./usr/include
make[1]: Leaving directory '/mnt/linux-master'
make[1]: Entering directory '/mnt/linux-master/tools/testing/selftests/pstore'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/mnt/linux-master/tools/testing/selftests/pstore'
make[1]: Entering directory '/mnt/linux-master/tools/testing/selftests/pstore'
TAP version 13
1..2
# selftests: pstore: pstore_tests
# === Pstore unit tests (pstore_tests) ===
# UUID=a5947bf3-bc04-4175-ac85-4056024cbc4b
# Checking pstore backend is registered ... ok
#     backend=(null)
#     cmdline=earlycon=sbi earlycon=sbi root=/dev/mmcblk0p3 rootwait
console=ttySIF0 console=tty0
# Checking pstore console is registered ... FAIL
# Checking /dev/pmsg0 exists ... FAIL
# Writing unique string to /dev/pmsg0 ... FAIL
not ok 1 selftests: pstore: pstore_tests # exit=1
# selftests: pstore: pstore_post_reboot_tests
# === Pstore unit tests (pstore_post_reboot_tests) ===
# UUID=265706d3-ab26-4568-842c-2cf1756ad9db
# Checking pstore backend is registered ... ok
#     backend=(null)
#     cmdline=earlycon=sbi earlycon=sbi root=/dev/mmcblk0p3 rootwait
console=ttySIF0 console=tty0
# pstore_crash_test has not been executed yet. we skip further tests.
not ok 2 selftests: pstore: pstore_post_reboot_tests # SKIP
make[1]: Leaving directory '/mnt/linux-master/tools/testing/selftests/pstore'
make: Leaving directory '/mnt/linux-master/tools/testing/selftests'

Trying to find reasons for failue:
# Checking pstore console is registered ... FAIL
# Checking /dev/pmsg0 exists ... FAIL
# Writing unique string to /dev/pmsg0 ... FAIL

Thankyou



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux