Trying to run SCO 3.2v4.2 binaries on RedHat Linux 7.0. The presence of
the kernel-ibcs rpm seems to indicate this intended functionality.
[root@metroid games]# rpm -qa | egrep -i iBCS
[root@metroid games]# ls -l hangman
-rwx--x--x 1 gdm ftp 11170 Feb 27 1991 hangman
[root@metroid games]# ./hangman
bash: ./hangman: cannot execute binary file
The result is identical for *any* binary in the system.
This is a problem, too:
[root@metroid games]# /sbin/modprobe binfmt_coff
modprobe: Can't locate module binfmt_coff
This is maybe an obvious question, however, have you loaded the iBCS module?
Hi Giulio - we seem to bump into each other all over the place ;-)
If this is what you mean:
[root@metroid hylafax]# rpm -qa | grep -i "ibcs"
[root@metroid hylafax]# find / -name "binfmt_coff*"
find: /proc/6/fd: Permission denied
then yes, the module is loaded, although I can't see it anywhere either.
Actually, AFAIK, iBCS was deprecated by Linux-ABI which is run by Christoph
Hellwig (of Caldera - which assimilated SCO) at
and has a functioning patch for kernel 2.4.3 there.
I have discussed the issue above about SCO 3.2v4.2 binaries not working with
him, and although he can use other peoples' SCO 3.2v4.2 binaries - he cannot
use any of mine from this particular system (which work perfectly fine in
SCO). And that's bizarre.
According to him (from what I understood), however, "modprobe: Can't locate
module binfmt_coff" indicates that RedHat's iBCS implementation is incomplete
or incorrect. I have to admit, though, that I haven't been extremely diligent
in trying to root-out this particular problem - as it became readily apparent
that I wasn't going to be able to migrate that SCO 3.2v4.2 system to Linux
Didn't see it was you :-). I had a problem related to iBCS so I did a search
# modprobe iBCS
$ lsmod|grep iBCS
iBCS 65948 0
That works fine, but I didn't have this module loaded before when testing that
hangman binary. Too bad I don't have that binary around to test with any more
(3.2v4.2 didn't come with TCP/IP by default, so it's a bit difficult to get
back via tape or floppy). It wasn't loaded before, though. Possibly RedHat
changed the names of the module? Maybe I'll hunt around for that binary