Bugfix: Failed memtester
This commit is contained in:
parent
034f9e79f6
commit
10f79be654
4 changed files with 4 additions and 4 deletions
|
@ -3,5 +3,5 @@ GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
|
|||
GRUB_DEFAULT=saved
|
||||
GRUB_DISABLE_SUBMENU=true
|
||||
GRUB_TERMINAL_OUTPUT="console"
|
||||
GRUB_CMDLINE_LINUX="quiet elevator=noop"
|
||||
GRUB_CMDLINE_LINUX="elevator=noop"
|
||||
GRUB_DISABLE_RECOVERY="true"
|
||||
|
|
|
@ -84,7 +84,7 @@ fi
|
|||
# Hardcoded 13 GiB for debug
|
||||
#MEM_TESTABLE=13631488
|
||||
# Hardcoded 13 MiB for debug
|
||||
#MEM_TESTABLE=16384
|
||||
MEM_TESTABLE=16384
|
||||
# Hardcoded 130 MiB for debug
|
||||
#MEM_TESTABLE=163840
|
||||
export MEM_TESTABLE
|
||||
|
|
|
@ -31,6 +31,7 @@ if [[ -f $OUTPUT_DIR/memtester.pass ]] ; then
|
|||
fi
|
||||
|
||||
|
||||
FAIL=0
|
||||
if [[ $SUMMARY == 0 ]] ; then
|
||||
if [[ -f $OUTPUT_DIR/memtester.fail ]] ; then
|
||||
echo "Previuos failed test faound on "
|
||||
|
@ -53,7 +54,6 @@ if [[ $SUMMARY == 0 ]] ; then
|
|||
done
|
||||
rm -f /run/memtester.waiting
|
||||
|
||||
FAIL=0
|
||||
for (( PROC=1; PROC<=$CONCURRENCY; PROC=PROC+1 )) ; do
|
||||
if [[ -f $OUTPUT_DIR/memtester_$PROC.ret ]] ; then
|
||||
RET=`cat $OUTPUT_DIR/memtester_$PROC.ret | sed 's/[^0-9]//g'`
|
||||
|
|
|
@ -42,7 +42,7 @@ fi
|
|||
|
||||
#TPATTERN=0x55
|
||||
TPATTERN=0xaa
|
||||
#LST_BLCK=10000000 # TODO: Debug limit. Comment out for production
|
||||
LST_BLCK=10000000 # TODO: Debug limit. Comment out for production
|
||||
#SMARTLOG=15
|
||||
SMARTLOG=300 # check every 5 min
|
||||
BLK_SIZE=`cat /sys/block/$DISK/queue/physical_block_size`
|
||||
|
|
Loading…
Reference in a new issue