In both md/004 and md/002, when loading the scsi_debug module, "true" is passed as the value for per_host_store. However, on older kernels, kstrtobool is more limited, so we get the error: "scsi_debug: `true' invalid for parameter `per_host_store'". Change the boolean from "true" to "1" to avoid this issue. Signed-off-by: John Pittman --- tests/md/002 | 2 +- tests/md/004 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/md/002 b/tests/md/002 index 1af4bfb..1349a18 100755 --- a/tests/md/002 +++ b/tests/md/002 @@ -22,7 +22,7 @@ test() { atomic_wr=1 num_tgts=1 add_host=4 - per_host_store=true + per_host_store=1 dev_size_mb=16 ) diff --git a/tests/md/004 b/tests/md/004 index 9084066..6cae99a 100755 --- a/tests/md/004 +++ b/tests/md/004 @@ -24,7 +24,7 @@ setup_test_device() { local scsi_debug_params=( num_tgts=1 add_host=2 - per_host_store=true + per_host_store=1 "${@:2}" ) -- 2.51.1