Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved/invalid] apps don't work anymore on a different CPU
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
as.gentoo
Guru
Guru


Joined: 07 Aug 2004
Posts: 319

PostPosted: Thu Sep 06, 2018 11:36 am    Post subject: [solved/invalid] apps don't work anymore on a different CPU Reply with quote

Greetz!

Since I have a new CPU some programs do not work anymore. I get:

Code:
$> ./glxs
bash: ./glxs: Permission denied
$>
$> ls -al ./glxs
-rwxr-xr-x 1 xxx users 422704 Sep  3 08:05 ./glxs
$>
(gdb) run ./glxs
Starting program: /home/xxx/glexcess/glxs
/bin/bash: /home/xxx/glexcess/glxs: Permission denied
/bin/bash: line 0: exec: /home/xxx/glexcess/glxs: cannot execute: Permission denied
During startup program exited with code 126.
$>
$> strace ./glxs
execve("./glxs", ["./glxs"], [/* 68 vars */]) = -1 EACCES (Permission denied)
write(2, "strace: exec: Permission denied\n", 32strace: exec: Permission denied
) = 32
exit_group(1)                           = ?
+++ exited with 1 +++
$>
$> file ./glxs
./glxs: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, not stripped


Maybe it's something completely different. Please help!
Thanks in advance!

[Moderator edit: changed [quote] tags to [code] tags to preserve output layout. -Hu]


Last edited by as.gentoo on Thu Sep 06, 2018 2:22 pm; edited 1 time in total
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30862
Location: here

PostPosted: Thu Sep 06, 2018 11:49 am    Post subject: Reply with quote

It seems a permission problem, what permission have /home/xxx/glexcess/glxs file?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Thu Sep 06, 2018 11:52 am    Post subject: Reply with quote

Perhaps the filesystem is mounted with noexec?
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
as.gentoo
Guru
Guru


Joined: 07 Aug 2004
Posts: 319

PostPosted: Thu Sep 06, 2018 11:56 am    Post subject: Reply with quote

citation + text below

Last edited by as.gentoo on Thu Sep 06, 2018 12:05 pm; edited 1 time in total
Back to top
View user's profile Send private message
as.gentoo
Guru
Guru


Joined: 07 Aug 2004
Posts: 319

PostPosted: Thu Sep 06, 2018 12:00 pm    Post subject: Reply with quote

Jaglover wrote:
Perhaps the filesystem is mounted with noexec?

No:
Code:
/dev/sdi on /home type xfs (rw,nosuid,nodev,noexec,noatime,attr2,inode64,noquota,uhelper=udisks2)
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Thu Sep 06, 2018 12:01 pm    Post subject: Reply with quote

I see noexec as active mount option.
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
as.gentoo
Guru
Guru


Joined: 07 Aug 2004
Posts: 319

PostPosted: Thu Sep 06, 2018 12:03 pm    Post subject: Reply with quote

Jaglover wrote:
I see noexec as active mount option.

Ah, thanks a lot! … Altough I think I remember not using 'noexec' and glxs still worked…

EDIT: That was tmpfs…


Last edited by as.gentoo on Thu Sep 06, 2018 12:11 pm; edited 1 time in total
Back to top
View user's profile Send private message
as.gentoo
Guru
Guru


Joined: 07 Aug 2004
Posts: 319

PostPosted: Thu Sep 06, 2018 12:04 pm    Post subject: Reply with quote

fedeliallalinea wrote:
It seems a permission problem, what permission have /home/xxx/glexcess/glxs file?


Code:
$ ls -al . ./data | grep -vE '.cpp$|.h$|.o$|.dsp$|.dsw|.raw$' | sed 's,gentoo,xxx,'
.:
total 2156
drwxr-xr-x 3 xxx users 4096 Sep 6 13:45 .
drwxr-xr-x 4 xxx users 109 Sep 6 01:25 ..
-rw-r--r-- 1 xxx users 1612 Oct 11 2003 ChangeLog
-rw-r--r-- 1 xxx users 17992 Oct 11 2003 LICENSE
-rw-r--r-- 1 xxx users 1356 Oct 11 2003 Makefile
-rw-r--r-- 1 xxx users 1908 Oct 11 2003 ReadMe.txt
drwxr-xr-x 2 xxx users 4096 Oct 11 2003 data
-rwxr-xr-x 1 xxx users 422704 Sep 6 01:25 glxs

./data:
total 34432
drwxr-xr-x 2 xxx users 4096 Oct 11 2003 .
drwxr-xr-x 3 xxx users 4096 Sep 6 13:45 ..
-rw-r--r-- 1 xxx users 16384 Jun 17 2003 face.dat


[Moderator edit: added [code] tags to preserve output layout. -Hu]
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum