Results 1 to 2 of 2

Thread: Problem with setrlimit() on ia-32 Execution Layer

Hybrid View

  1. #1
    tuliom NNTP User

    Problem with setrlimit() on ia-32 Execution Layer


    Hello,

    I am trying to run an x86 application on SLES 11 for ia-64 trough the
    ia-32 Execution Layer.
    This application calls setrlimit() to change de queue limits.

    It works fine when executed on x86 processors. However, when I run it
    on an Itanium it returns the exit code 22 (Invalid argument).

    I created a simple program to test if the problem was related with the
    resource number.
    It tries to set all resources limits (resources 0 to 14).
    When compiling this test for ia64, it works nice. Also, when compiling
    it for x86 and running on x86 processor. However, it failed on Itanium
    when compiled for x86 with resources 11 to 14.

    Thank you in advance.


    +----------------------------------------------------------------------+
    |Filename: setrlimit-test.zip |
    |Download: http://forums.novell.com/attachment....achmentid=4153 |
    +----------------------------------------------------------------------+

    --
    tuliom
    ------------------------------------------------------------------------
    tuliom's Profile: http://forums.novell.com/member.php?userid=67690
    View this thread: http://forums.novell.com/showthread.php?t=405098


  2. #2
    tuliom NNTP User

    Re: Problem with setrlimit() on ia-32 Execution Layer


    It looks like the problem is on file
    src/ia32x_utils/include/kernel_subst64.h of the ia-32 Execultion Layer.

    I can create a patch for it but I don't know where I should send it.


    --
    tuliom
    ------------------------------------------------------------------------
    tuliom's Profile: http://forums.novell.com/member.php?userid=67690
    View this thread: http://forums.novell.com/showthread.php?t=405098


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •