Re: [rt-tests v2 v2 01/20] cyclictest: Always use libnuma

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Daniel,

On Fri Feb 19 2021, Daniel Wagner wrote:
> Hi Kurt,
>
> On Fri, Feb 19, 2021 at 02:44:36PM +0100, Kurt Kanzenbach wrote:
>> It seems like with this particular commit, it's not possible to run
>> cyclictest on arm32 systems anymore. I guess due to missing NUMA
>> support?
>
> Yes, your distro needs to provide libnuma. cyclictest runs fine on arm32
> with the library.

I'm using Debian and it provides libnuma.

>
>> Just tested on a dual core Cyclone V:
>> 
>> root@tsn:~/rt-tests# ./cyclictest -S -m -p 99 --secaligned
>> FATAL: Couldn't initialize libnuma
>
> I think you would see the same error when trying to use the '-a' option
> without the patch. The dependency is not new.
>
>> I've used the current unstable/devel/latest branch. Any suggestions?
>
> The simplest thing is obviously to get libnuma on your system. I assume
> this is not so simple in your case. In this case you could build
> cyclictest a static binary.
>
> First, build numactl as static libary:
>
>   ./configure --enable-static && make
>
> and then rt-tests with
>
>   CFLAGS="-static -L../numactl/.libs/" make

Static building with the newest numactl library also doesn't work:

|root@tsn:~/rt-tests# file cyclictest 
|cyclictest: ELF 32-bit LSB executable, ARM, EABI5 version 1 (GNU/Linux), statically linked, for GNU/Linux 3.2.0, BuildID[sha1]=248eaf8847544423dc51c6ceea18bbffc487991e, with debug_info, not stripped
|root@tsn:~/rt-tests# ./cyclictest 
|FATAL: Couldn't initialize libnuma
|root@tsn:~/rt-tests#

Hmm.

Thanks,
Kurt

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux