You are not logged in.

#1 2009-05-07 17:31:11

jmetal88
Member
Registered: 2007-12-09
Posts: 85

Why won't these files run on my Archlinux?

I wasn't really sure which category to post this in.

Anyway I'm trying to run the files in the bin/ directory of the archive I've uploaded here:

http://www.filedropper.com/jaglinuxtools

On Archlinux all I get is:

bash: ./aln: cannot execute binary file

and so on for the other three files.

I can boot up a live CD of another Linux distribution (kubuntu in this case), mount my Linux partition, and run the files from the same directory, and they all behave as they're supposed to.

What's the deal here?  I'm sure my permissions are set up correctly in Archlinux. I've chmodded the files with an a+x on my machine and I even setuid/setgid on the suggestion of someone from the Atari Jaguar forums.  That archive has the original files with unmodified permissions, by the way.

Anyone have any clue why this isn't working on my Archlinux?  Does it work on any of your Archlinux setups either?

Offline

#2 2009-05-07 18:19:06

SamC
Member
From: Calgary
Registered: 2008-05-13
Posts: 611
Website

Re: Why won't these files run on my Archlinux?

What arch are you running? i686 or x86_64?

Offline

#3 2009-05-07 18:24:20

jmetal88
Member
Registered: 2007-12-09
Posts: 85

Re: Why won't these files run on my Archlinux?

I'm running x86_64 at the moment, but IIRC I tried these files a few months back when I was still running i686 and they still wouldn't work.

I do have all the officially available 32-bit compatibility libraries installed, by the way.

Offline

#4 2009-05-07 18:24:38

ash
Member
Registered: 2008-12-17
Posts: 134

Re: Why won't these files run on my Archlinux?

the closest thing i can think of is support for all kinds of binaries in the kernel

i recall i saw something lake that in menuconfig when i used gentoo

Offline

#5 2009-05-07 18:26:59

jmetal88
Member
Registered: 2007-12-09
Posts: 85

Re: Why won't these files run on my Archlinux?

Yeah I was thinking that too but I didn't know if there was an option for that in the kernel or not.  Is there a nifty way to build a kernel with that option turned on under ABS, or should I do it the good old-fashioned way?

Offline

#6 2009-05-07 18:29:24

jmetal88
Member
Registered: 2007-12-09
Posts: 85

Re: Why won't these files run on my Archlinux?

Actually come to think of it, back when I was running i686 the files did work the first time I used them, but I did a pacman -Syu shortly afterward and after that they started giving this error about not being able to execute them.  It would make sense if the official Archlinux kernel options were changed to exclude this type of binary between my upgrades at that time.

Offline

#7 2009-05-07 19:50:19

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: Why won't these files run on my Archlinux?

Try "modprobe binfmt_aout".

Offline

#8 2009-05-07 20:17:42

jmetal88
Member
Registered: 2007-12-09
Posts: 85

Re: Why won't these files run on my Archlinux?

lucke wrote:

Try "modprobe binfmt_aout".

FATAL: Module binfmt_aout not found.

Offline

#9 2009-05-07 20:28:09

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: Why won't these files run on my Archlinux?

Seems that this one is for 32-bit kernels. Try "modprobe ia32_aout" instead.

Offline

#10 2009-05-07 20:31:06

jmetal88
Member
Registered: 2007-12-09
Posts: 85

Re: Why won't these files run on my Archlinux?

lucke wrote:

Seems that this one is for 32-bit kernels. Try "modprobe ia32_aout" instead.

Yes!

Thank you so much, that fixed everything!

Offline

#11 2009-05-07 20:45:41

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: Why won't these files run on my Archlinux?

Please add [Solved] to the topic title.

Offline

Board footer

Powered by FluxBB