epickrram / cpuset

Automatically exported from code.google.com/p/cpuset
GNU General Public License v2.0
0 stars 0 forks source link

Errno 22 invalid argument on SLES 11 SP1 #15

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. login as root
2. run "cset -l /tmp/x shield --cpu=1-7 --kthread=on"

What is the expected output? What do you see instead?
I expect not seeing any errors but got ERRNO 22 Invalid Argument error.

What version of the product are you using? On what operating system?
See attached file

Please provide any additional information below.
See attached file

Original issue reported on code.google.com by gan.d...@gmail.com on 23 Jul 2012 at 1:20

Attachments:

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Deleting my previous comments.  This works fine as long as you haven't already 
set up a shield using cset shield commands.  

Original comment by marksta...@gmail.com on 13 Aug 2012 at 9:21

GoogleCodeExporter commented 9 years ago
Ah, yes.  The cset shield command should be used exclusively to the cset 
set/proc commands.  This however is not enforced by the cset tool.  If you 
intermix set/proc commands with the shield command you should know how shield 
works for it not to error out or do something you're not expecting.  

You can create a "shield" with cset set and proc commands.  If your "shield" or 
other configuration is more complex than what the built-in shield command 
provides, you should use the proc and set commands to set it up.  This is also 
covered in the docs (tutorial, man pages), fyi.

Original comment by tsariou...@gmail.com on 13 Aug 2012 at 9:29