You are not logged in.

#1 2019-07-09 08:50:23

azrielb
Member
Registered: 2019-07-01
Posts: 5

mmap operation not permitted - migration from 2010 to 2019 [RESOLVED]

Recently we upgraded our system from ArchLinux 2010 i686 to the latest version of ArchLinux 2019 x64-x86.
We are facing of problems when trying to call proprietary FPGA kernel driver (kernel object).
The same code (driver & test application) works perfect on the old operating-system, but now we get the error "operation not permitted" while calling mmap.
Actually we call mmap 3 times: cfg (length: 0x4000), mem (length: 0x100000), dma (length: 0x400000). The cfg & dma calls work fine, but a problem occurs when calling mmap for mem.

Any thoughts?

We guess that the problem lies  in the migration from 32 bit to 64 bit.

Thank you

Last edited by azrielb (2019-07-11 12:16:56)

Offline

#2 2019-07-09 12:00:06

seth
Member
Registered: 2012-09-03
Posts: 51,684

Re: mmap operation not permitted - migration from 2010 to 2019 [RESOLVED]

https://stackoverflow.com/questions/821 … -permitted

W/o the actual code it's not possible to say anything more.

Also "upgraded our system from ArchLinux 2010 i686 to the latest version of ArchLinux 2019 x64-x86" no such things do exist, Arch is a rolling release distro.

Offline

#3 2019-07-11 09:06:35

azrielb
Member
Registered: 2019-07-01
Posts: 5

Re: mmap operation not permitted - migration from 2010 to 2019 [RESOLVED]

seth wrote:

https://stackoverflow.com/questions/821 … -permitted

W/o the actual code it's not possible to say anything more.

Also "upgraded our system from ArchLinux 2010 i686 to the latest version of ArchLinux 2019 x64-x86" no such things do exist, Arch is a rolling release distro.

Thank you. I test the last answer in that page, and the problem was resolved.

Offline

#4 2019-07-11 10:19:38

seth
Member
Registered: 2012-09-03
Posts: 51,684

Re: mmap operation not permitted - migration from 2010 to 2019 [RESOLVED]

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

#5 2019-07-11 11:46:54

azrielb
Member
Registered: 2019-07-01
Posts: 5

Re: mmap operation not permitted - migration from 2010 to 2019 [RESOLVED]

seth wrote:

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

I don't find this option.

(Sorry, I'm new here)

Offline

#6 2019-07-11 11:59:22

seth
Member
Registered: 2012-09-03
Posts: 51,684

Re: mmap operation not permitted - migration from 2010 to 2019 [RESOLVED]

Lower right corner of the post…
https://bbs.archlinux.org/edit.php=1853305

Offline

#7 2019-07-11 12:04:49

azrielb
Member
Registered: 2019-07-01
Posts: 5

Re: mmap operation not permitted - migration from 2010 to 2019 [RESOLVED]

seth wrote:

Lower right corner of the post…
https://bbs.archlinux.org/edit.php=1853305

I click on the "edit" link, but I didn't see any button/checkbox for "resolved".
Should I edit the title manualy?

Offline

#8 2019-07-11 12:10:58

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,790

Re: mmap operation not permitted - migration from 2010 to 2019 [RESOLVED]

Yes.

Offline

#9 2019-07-11 12:17:19

azrielb
Member
Registered: 2019-07-01
Posts: 5

Re: mmap operation not permitted - migration from 2010 to 2019 [RESOLVED]

Done.
Thank you all.

Offline

Board footer

Powered by FluxBB