All of lore.kernel.org
 help / color / mirror / Atom feed
From: Henning Schild <henning.schild@siemens.com>
To: Jackson Jones <jackson.jones@gmail.com>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai] Cpusets and the cpu_affinity test
Date: Tue, 2 May 2017 11:23:29 +0200	[thread overview]
Message-ID: <20170502112329.1b4ef22a@md1em3qc> (raw)
In-Reply-To: <20170502112039.54c4ae04@md1em3qc>

Am Tue, 2 May 2017 11:20:39 +0200
schrieb Henning Schild <henning.schild@siemens.com>:

> Am Mon, 1 May 2017 14:19:40 -0700
> schrieb Jackson Jones <jackson.jones@gmail.com>:
> 
> > I am having trouble getting the cpu_affinity test to run. The check
> > for CPU restriction always fails. I have tried to remedy this by
> > setting the bootargs.
> > 
> > 1.) I am running an NXP i.MX6 QUAD/DUAL VAR-SOM-MX6 based board
> > (Variscite var_som_mx6). The kernel is an 4.1.15 NXT/Variscite
> > kernel (with the BSP patched in). I patched in the
> > ipipe-core-4.1.15-arm-8.patch.
> > 
> > 2.) I am running Xenomai 3.0.3
> > 
> > 3.) The Linux distro is Debian Jessie 8.7 (provided by Variscite and
> > Linaro)
> > 
> > 4.) The gcc version is 4.9.2, the libc versioni is 2.19.
> > 
> > 5.) My configure options are:
> > ./configure \
> >     --with-core=cobalt \
> >     --enable-smp \
> >     --enable-registry \
> >     --enable-pshared \
> >     --enable-dlopen-libs \
> >     --enable-sanity \
> >     --disable-tls \
> >     --enable-valgrind-client \
> >     --disable-assert
> > 
> > 6.) Here are the uboot parameters (bootargs):
> > setenv videoargs 'if hdmidet; then setenv bootargs ${bootargs}
> > video=mxcfb0:dev=hdmi,1024x768M@60,if=RGB24; else setenv bootargs
> > ${bootargs} video=mxcfb0:dev=ldb,bpp=32; fi; setenv bootargs
> > xenomai.supported_cpus=0x0000000f isolcpus=1 ${bootargs}
> > vmalloc=400M fbmem=32M fbcon=32M gpumem=32M
> > galcore.contiguousSize=201326592 galcore.contiguousBase=0x00000000
> > video=mxcfb1:off video=mxcfb2:off video=mxcfb3:off;'
> > 
> > 7.) I have attached the kernel configuration.
> > 
> > I noticed that if I leave any cpus out of the supported cpus, the
> > kernel will hang (e.g. if I put a 7 instead of F).  
> 
> If you want to use all cores in Xenomai, that parameter is not
> required and probably should not be set. However the kernel should
> not hang when you do not include all, but that is probably another
> issue.
> 
> Why did you set "isolcpus=1"?
> 
> And please tell us how exactly the test fails and what the output is.
> I guess you are talking about smokey cpu_affinity.
> 
> testsuite/smokey --run=cpu_affinity --verbose=100

And the Mail subject talks about "cpusets", are you using cgroups or
where does that term come from?

> regards,
> Henning
> 
> > I have read through all the documentation and have not found an
> > answer.
> > 
> > Thanks in advance for any help.
> > 
> > 
> > Sincerely,
> > 
> > Jackson Jones
> > 
> > Stellartech Research Corporation
> > -------------- next part --------------
> > A non-text attachment was scrubbed...
> > Name: config
> > Type: application/octet-stream
> > Size: 111084 bytes
> > Desc: not available
> > URL:
> > <http://xenomai.org/pipermail/xenomai/attachments/20170501/1e5c6f2d/attachment.obj>
> > _______________________________________________ Xenomai mailing list
> > Xenomai@xenomai.org
> > https://xenomai.org/mailman/listinfo/xenomai  
> 
> 
> _______________________________________________
> Xenomai mailing list
> Xenomai@xenomai.org
> https://xenomai.org/mailman/listinfo/xenomai



  reply	other threads:[~2017-05-02  9:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-01 21:19 [Xenomai] Cpusets and the cpu_affinity test Jackson Jones
2017-05-02  9:20 ` Henning Schild
2017-05-02  9:23   ` Henning Schild [this message]
     [not found]     ` <CADXNiGX-djx=SXt3e_eojpGahVeSe47R9o3Dk6REYH5TFwqRhw@mail.gmail.com>
2017-05-03  9:24       ` Henning Schild
2017-05-04  0:04         ` Jackson Jones

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170502112329.1b4ef22a@md1em3qc \
    --to=henning.schild@siemens.com \
    --cc=jackson.jones@gmail.com \
    --cc=xenomai@xenomai.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.