public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] ksm03, ksm04 testcases don't work with cgroup
@ 2020-02-20 12:49 Pankaj Vinadrao Joshi
  2020-02-20 13:36 ` Cyril Hrubis
  0 siblings, 1 reply; 2+ messages in thread
From: Pankaj Vinadrao Joshi @ 2020-02-20 12:49 UTC (permalink / raw)
  To: ltp

Hi,

I am running ksm03 and kms04 on my RISC  v system wth linux 5.4.3,LTP Version: 20200120-55-g537fb6535
with custom Yocto distro,the test is getting failed with following errors.why it is failing?

root@exaleapsemi:~/pankaj_ltp/ltp/testcases/kernel/mem/ksm# ./ksm03
tst_test.c:1215: INFO: Timeout per run is 0h 05m 00s
safe_macros.c:167: BROK: mem.c:750: mkdir(/dev/cgroup,0777) failed: EEXIST (17)

Thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linux.it/pipermail/ltp/attachments/20200220/3cc5cefb/attachment.htm>

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [LTP] ksm03, ksm04 testcases don't work with cgroup
  2020-02-20 12:49 [LTP] ksm03, ksm04 testcases don't work with cgroup Pankaj Vinadrao Joshi
@ 2020-02-20 13:36 ` Cyril Hrubis
  0 siblings, 0 replies; 2+ messages in thread
From: Cyril Hrubis @ 2020-02-20 13:36 UTC (permalink / raw)
  To: ltp

Hi!
> I am running ksm03 and kms04 on my RISC  v system wth linux 5.4.3,LTP Version: 20200120-55-g537fb6535
> with custom Yocto distro,the test is getting failed with following errors.why it is failing?
> 
> root@exaleapsemi:~/pankaj_ltp/ltp/testcases/kernel/mem/ksm# ./ksm03
> tst_test.c:1215: INFO: Timeout per run is 0h 05m 00s
> safe_macros.c:167: BROK: mem.c:750: mkdir(/dev/cgroup,0777) failed: EEXIST (17)

That's more of the system problem than anything else, kernel itself does
not mount cgroups anywhere, that's usually done it the boot process and
it ends up under /sys/fs/cgroups/ on most of the recent distributions.

It looks like something has mounted cgroups over the /dev/cgroup on your
system, it's up to you to figure out why is it mounted there.

-- 
Cyril Hrubis
chrubis@suse.cz

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-02-20 13:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-20 12:49 [LTP] ksm03, ksm04 testcases don't work with cgroup Pankaj Vinadrao Joshi
2020-02-20 13:36 ` Cyril Hrubis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox