<div dir="ltr">Nice to meet you all.<br>My name's Nhan. I am using some LTP test cases<br><br>I faced 2 problems when running testcase "zram01.sh" & "zram02.sh" on<br>my 32-bit ARM board.<div><br>- First is regarding <b>Zram01</b>:<br><br>My target is using a optimized version of dd command.<br>In this testcase it use below command:<br>" dd conv=notrunc if=/dev/zero of=zram${i}/file oflag=append count=1<br>bs=1024 status=none > /dev/null 2>&1 || break "<br><br> However , my "dd --help" output:<br><br><i>BusyBox v1.24.1 (2017-09-26 20:41:13 CEST) multi-call binary.<br>Usage: dd [if=FILE] [of=FILE] [bs=N] [count=N] [skip=N]<br>[seek=N]<br>Copy a file with converting and formatting<br>if=FILE Read from FILE instead of stdin<br>of=FILE Write to FILE instead of stdout<br>bs=N Read and write N bytes at a time<br>count=N Copy only N input blocks<br>skip=N Skip N input blocks<br>seek=N Skip N output blocks<br>N may be suffixed by c (1), w (2), b (512), kB (1000), k (1024), MB, M, GB, G</i><br><br>So I don't have conv, oflag & status" arguments for dd command<br>Therefore, when I run "zram01.sh", it is failed<br>But when I remove those argument, it is passed.<br>Can I remove those arguments. Dose it make sense, still keep the<br>meaning of this test case?<br><br>- Second is regarding <b>Zram02</b>:<br>This is the output when I execute this test:<br><br><i>root@arm:/opt/ltp/testcases/bin# ./zram02.sh<br>zram02 1 TINFO: create '1' zram device(s)<br>zram02 1 TPASS: test succeeded<br>zram02 2 TCONF: The device attribute max_comp_streams was introduced<br>in kernel 3.15 and deprecated in 4.7<br>zram02 2 TINFO: set disk size to zram device(s)<br>/opt/ltp/testcases/bin/zram_lib.sh: line 121: echo: write error:<br>Cannot allocate memory<br>zram02 2 TFAIL: can't set '107374182400' to /sys/block/zram0/disksize<br>zram02 3 TINFO: zram cleanup<br></i><br>I think this testcase is not the kind of Stress test, so we don't need<br>to configure disksize of zram with such 100GB (it is so large).<br>We only need to confirm that we can configure disksize.<br><br>So I think 10GB is fine , Is it OK?<br><br>Please help me to clarify those problems(Zram 01&Zram02)?<br>I look forward to any reply<br><br>---------------------------------------------------------------------------------------------------------<br><br>Thanks and best regard,<br><br>Le Minh Nhan</div></div>