<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hi Yang,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
It seems NUMA is not supported on my arch.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I have other question, I saw LTP is getting maintained on Master branch only but i am able to see there are some tags i want to know on what basis these tags are getting updated ?? </div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Thanks!</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Yang Xu <xuyang2018.jy@cn.fujitsu.com><br>
<b>Sent:</b> Thursday, September 10, 2020 8:09 AM<br>
<b>To:</b> Pankaj Vinadrao Joshi <Pankaj.VJ@exaleapsemi.com><br>
<b>Cc:</b> ltp@lists.linux.it <ltp@lists.linux.it><br>
<b>Subject:</b> Re: [LTP] Error with cpuset_inherit</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">Hi Pankaj<br>
<br>
grep it on kernel code as below:<br>
[root@localhost linux]# grep -nsr has_normal_memory<br>
drivers/base/node.c:971:        [N_NORMAL_MEMORY] =<br>
_NODE_ATTR(has_normal_memory, N_NORMAL_MEMORY),<br>
Documentation/ABI/stable/sysfs-devices-node:13:What:<br>
/sys/devices/system/node/has_normal_memory<br>
[root@localhost linux]#<br>
<br>
vim driver/base/Makefile<br>
obj-$(CONFIG_NUMA)      += node.o<br>
<br>
I guess your kernel doesn't enable CONFIG_NUMA.<br>
<br>
> Hi,<br>
> Can you suggest what all configs are needed for this testcase??<br>
> ------------------------------------------------------------------------<br>
> *From:* Yang Xu <xuyang2018.jy@cn.fujitsu.com><br>
> *Sent:* Wednesday, September 9, 2020 2:19 PM<br>
> *To:* Pankaj Vinadrao Joshi <Pankaj.VJ@exaleapsemi.com>;<br>
> ltp@lists.linux.it <ltp@lists.linux.it><br>
> *Subject:* Re: [LTP] Error with cpuset_inherit<br>
> Hi Pankaj<br>
><br>
> :<br>
>> Hi,<br>
>> i am running cpuset_inherit from LTP version:20200515-267-g9677c5573 on<br>
>> custom kernel 5.5.6 but i am getting following failure with the<br>
>> mentioned testcase<br>
>><br>
>> earlycon=sbi earlycon=sbi root=/dev/mmcblk0p3 rootwait console=ttySIF0<br>
>> console=tty0<br>
>><br>
>> Gnu C                  gcc (GCC) 8.3.0<br>
>> Clang<br>
>> Gnu make               4.2.1<br>
>> util-linux             2.34<br>
>> mount                  linux 2.34 (libmount 2.34.0: btrfs, namespaces,<br>
>> assert, debug)<br>
>> modutils               26<br>
>> e2fsprogs              1.45.4<br>
>> Linux C Library        > libc.2.30<br>
>> Dynamic linker (ldd)   2.30<br>
>> Linux C++ Library      6.0.25<br>
>> Procps                 3.3.15<br>
>> iproute2               iproute2-ss190924<br>
>> iputils                'V'<br>
>> Kbd                    2.2.0<br>
>> Sh-utils               8.31<br>
>> Modules Loaded         veth ofpart cmdlinepart spi_nor<br>
>><br>
>> free reports:<br>
>>                total        used        free      shared  buff/cache<br>
>> available<br>
>> Mem:        8167360       63568     7098176       17980     1005616<br>
>> 7994892<br>
>> Swap:             0           0           0<br>
>><br>
>> cpuinfo:<br>
>> Architecture:        riscv64<br>
>> Byte Order:          Little Endian<br>
>> CPU(s):              4<br>
>> On-line CPU(s) list: 0-3<br>
>> Thread(s) per core:  4<br>
>> Core(s) per socket:  1<br>
>> Socket(s):           1<br>
>> L1d cache:           32 KiB<br>
>> L1i cache:           32 KiB<br>
>> L2 cache:            2 MiB<br>
>><br>
>> AppArmor disabled<br>
>><br>
>> SELinux mode: unknown<br>
>> no big block device was specified on commandline.<br>
>> Tests which require a big block device are disabled.<br>
>> You can specify it with option -z<br>
>> COMMAND:    /opt/ltp/bin/ltp-pan   -e -S   -a 10318     -n 10318 -p -f<br>
>> /tmp/ltp-NOCHmuGYM1/alltests -l<br>
>> /opt/ltp/results/LTP_RUN_ON-2020_09_08-11h_09m_36s.log  -C<br>
>> /opt/ltp/output/LTP_RUN_ON-2020_09_08-11h_09m_36s.failed -T<br>
>> /opt/ltp/output/LTP_RUN_ON-2020_09_08-11h_09m_36s.tconf<br>
>> INFO: Restricted to cpuset_inherit<br>
>> LOG File: /opt/ltp/results/LTP_RUN_ON-2020_09_08-11h_09m_36s.log<br>
>> FAILED COMMAND File:<br>
>> /opt/ltp/output/LTP_RUN_ON-2020_09_08-11h_09m_36s.failed<br>
>> TCONF COMMAND File: /opt/ltp/output/LTP_RUN_ON-2020_09_08-11h_09m_36s.tconf<br>
>> Running tests.......<br>
>> <<<test_start>>><br>
>> tag=cpuset_inherit stime=1599563376<br>
>> cmdline="cpuset_inherit_testset.sh"<br>
>> contacts=""<br>
>> analysis=exit<br>
>> <<<test_output>>><br>
>> cat: /sys/devices/system/node/has_normal_memory: No such file or directory<br>
> You should investigate why your system doesn't have this file because we<br>
> use this file value to compare in test case.<br>
><br>
> I guess you may miss some kernel config.<br>
><br>
><br>
>> cpuset_inherit 1 TPASS: cpus: Inherited information is right!<br>
>> cpuset_inherit 3 TPASS: cpus: Inherited information is right!<br>
>> cpuset_inherit 5 TPASS: cpus: Inherited information is right!<br>
>> cpuset_inherit 7 TPASS: cpus: Inherited information is right!<br>
>> cpuset_inherit 9 TPASS: cpus: Inherited information is right!<br>
>> cpuset_inherit 11 TPASS: cpus: Inherited information is right!<br>
>> cpuset_inherit 13 TPASS: mems: Inherited information is right!<br>
>> cpuset_inherit 15 TPASS: mems: Inherited information is right!<br>
>> cpuset_inherit 17 TPASS: mems: Inherited information is right!<br>
>> cpuset_inherit 19 TPASS: mems: Inherited information is right!<br>
>> cpuset_inherit 21 TPASS: mems: Inherited information is right!<br>
>> *cpuset_inherit 23 TFAIL: mems: Test result - 0 Expected string - ""*<br>
>> cpuset_inherit 25 TPASS: cpu_exclusive: Inherited information is right!<br>
>> cpuset_inherit 27 TPASS: cpu_exclusive: Inherited information is right!<br>
>> cpuset_inherit 29 TPASS: mem_exclusive: Inherited information is right!<br>
>> cpuset_inherit 31 TPASS: mem_exclusive: Inherited information is right!<br>
>> cpuset_inherit 33 TPASS: mem_hardwall: Inherited information is right!<br>
>> cpuset_inherit 35 TPASS: mem_hardwall: Inherited information is right!<br>
>> cpuset_inherit 37 TPASS: memory_migrate: Inherited information is right!<br>
>> cpuset_inherit 39 TPASS: memory_migrate: Inherited information is right!<br>
>> cpuset_inherit 41 TPASS: memory_spread_page: Inherited information is right!<br>
>> cpuset_inherit 43 TPASS: memory_spread_page: Inherited information is right!<br>
>> cpuset_inherit 45 TPASS: memory_spread_slab: Inherited information is right!<br>
>> cpuset_inherit 47 TPASS: memory_spread_slab: Inherited information is right!<br>
>> cpuset_inherit 49 TPASS: sched_load_balance: Inherited information is right!<br>
>> cpuset_inherit 51 TPASS: sched_load_balance: Inherited information is right!<br>
>> cpuset_inherit 53 TPASS: sched_relax_domain_level: Inherited information<br>
>> is right!<br>
>> cpuset_inherit 55 TPASS: sched_relax_domain_level: Inherited information<br>
>> is right!<br>
>> cpuset_inherit 57 TPASS: sched_relax_domain_level: Inherited information<br>
>> is right!<br>
>> cpuset_inherit 59 TPASS: sched_relax_domain_level: Inherited information<br>
>> is right!<br>
>> cpuset_inherit 61 TPASS: sched_relax_domain_level: Inherited information<br>
>> is right!<br>
>> cpuset_inherit 63 TPASS: sched_relax_domain_level: Inherited information<br>
>> is right!<br>
>> cpuset_inherit 65 TPASS: sched_relax_domain_level: Inherited information<br>
>> is right!<br>
>> incrementing stop<br>
>> <<<execution_status>>><br>
>> initiation_status="ok"<br>
>> duration=3 termination_type=exited termination_id=1 corefile=no<br>
>> cutime=131 cstime=194<br>
>> <<<test_end>>><br>
>> INFO: ltp-pan reported some tests FAIL<br>
>> LTP Version: 20200515-267-g9677c5573<br>
>><br>
>>         ###############################################################<br>
>><br>
>>              Done executing testcases.<br>
>>              LTP Version:  20200515-267-g9677c5573<br>
>>         ###############################################################<br>
>><br>
>> Can someone help me why this test is getting failed and how i can<br>
>> resolve it??<br>
>><br>
>> Thanks!<br>
>><br>
>><br>
>><br>
>><br>
><br>
><br>
> [EXT]<br>
<br>
<br>
[EXT]<br>
</div>
</span></font></div>
</body>
</html>