Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Harald Koenig <koenig@tat.physik.uni-tuebingen.de>
Subject: Re: Running Digital Unix Binaries on Red Hat Linux 3.0.3
Date: Fri, 19 Jul 1996 08:45:13 +0200 (MET DST)	[thread overview]
Message-ID: <199607190659.IAA28957@ceres.tat.physik.uni-tuebingen.de> (raw)
In-Reply-To: <Pine.LNX.3.91.960718135708.21597H-100000@linux.cs.Helsinki.FI>

> The shared libs is a start, but you need to make sure you have a 
> filesystem that looks like Digital UNIX binaries expect too. The error 
> above does seem to imply you're missing the shared libs (and the loader: 
> /sbin/loader), but just in case you do have a license for the libs, you 
> _also_ need at least a /usr/bin/sh (just link it to /bin/sh), and some 
> special files in /etc/ that Digital UNIX binaries tend to assume.
> 
> To get a working Digital UNIX binary environment, get the shared libs, 
> and then use "strace" to see what files etc the binary tries to open. 
> It's not hard, but there is no ready-made package for this as the shared 
> libs are obviously not freely available..

there are some DEC program which don't run at the moment: these are
"f77", "f90" and "cc -migrate" (which calls /usr/lib/cmplrs/cc/gemc_cc;
cc without "-migrate" does work fine and even produces shared binaries...).
I know a number of people who think about running their DEC Unix workstations
under Linux but they'll need DECs fortran and/or C compiler for various
(compatibility) reasons and they *have* licences for these tools 
so their which is leal...

this can't be due to problems with the not running/available licence manager
(which would be really nice to have [and important for some people]) as
the DEC "dbx" shows (strace below).

Harald
-------------------------------------------------------------------------------
execve("/usr/lib/cmplrs/fort/decfort", ["/usr/lib/cmplrs/fort/decfort", "-o", "/tmp/forAAAaafdpa.o", "hello.f"], [18 vars]) = 0
sigaction(SIGBUS, {...}, {...})         = 0
sigaction(SIGSEGV, {...}, {...})        = 0
brk(0x10062ec0)                         = 0x10062ec0
brk(0x10064000)                         = 0x10064000
brk(0x10064000)                         = 0x10064000
brk(0x10064000)                         = 0x10064000
brk(0x10084000)                         = 0x10084000
brk(0x10084000)                         = 0x10084000
--- SIGSEGV (Segmentation fault) ---
write(2, ": Fatal: A memory access violati"..., 116) = 116
close(0)                                = 0
close(1)                                = 0
close(2)                                = 0
exit(-1)                                = ?
-------------------------------------------------------------------------------
execve("/usr/lib/cmplrs/fort90/decfort90", ["/usr/lib/cmplrs/fort90/decfort90", "-o", "/tmp/forAAAaafdsa.o", "hello.f"], [18 vars]) = 0
sigaction(SIGBUS, {...}, {...})         = 0
sigaction(SIGSEGV, {...}, {...})        = 0
brk(0x101ce550)                         = 0x101ce550
brk(0x101cf600)                         = 0x101cf600
brk(0x101cf600)                         = 0x101cf600
brk(0x101cf600)                         = 0x101cf600
brk(0x101ef600)                         = 0x101ef600
brk(0x101ef600)                         = 0x101ef600
--- SIGSEGV (Segmentation fault) ---
write(2, ": Fatal: A memory access violati"..., 116) = 116
close(0)                                = 0
close(1)                                = 0
close(2)                                = 0
exit(-1)                                = ?
-------------------------------------------------------------------------------
execve("/usr/lib/cmplrs/cc/gemc_cc", [" ", "-D__LANGUAGE_C__", "-D__unix__", "-D__osf__", "-D__alpha", "-D_SYSTYPE_BSD", "-D_LONGLONG", "-DLANGUAGE_C", "-Dunix", "-DSYSTYPE_BSD", "-I/usr/include3.11", "-g1", "-O1", "-common", "-o", ...], [17 vars]) = 0
getpagesize()                           = 0x2000
getpagesize()                           = 0x2000
brk(0xc0005e20)                         = 0xc0005e20
open("/usr/lib/cmplrs/cc/gemc_cc", O_RDONLY) = 4
brk(0xc0009e20)                         = 0xc0009e20
getxuid()                               = 0
getxgid(0x3ffc0002000)                  = 0
getrusage(RUSAGE_SELF, {...})           = 0
getrusage(RUSAGE_CHILDREN, {...})       = 0
read(4, "\203\1\26\0\222\272\307.\0\0\0\0"..., 2664) = 2664
mmap()                                  = 0x12000000
mmap()                                  = 0x14000000
mmap()                                  = 0x140e4000
brk(0xc0009e20)                         = 0xc0009e20
brk(0xc0011e20)                         = 0xc0011e20
open("/usr/shlib/libm.so", O_RDONLY)    = 5
read(5, "\203\1\22\0\373{1/\0 \17\0\0\0\0"..., 2664) = 2664
mmap()                                  = 0x240f2000
munmap(0x240f2000, 974848)              = 0
mmap()                                  = 0x64042000
munmap(0x64042000, 16384)               = 0
mmap()                                  = 0x240f2000
mmap()                                  = 0x64042000
close(5)                                = 0
stat("/usr/shlib/libm.so", {st_mode=S_IFREG|0664, st_size=1269760, ...}) = 0
brk(0xc0011e20)                         = 0xc0011e20
open("/usr/shlib/libc.so", O_RDONLY)    = 5
read(5, "\203\1\25\0\232\306\3140\0\340\16"..., 2664) = 2664
mmap()                                  = 0x241e0000
munmap(0x241e0000, 917504)              = 0
mmap()                                  = 0x641e0000
munmap(0x641e0000, 103632)              = 0
mmap()                                  = 0x241e0000
mmap()                                  = 0x641e0000
mmap()                                  = 0x641ee000
close(5)                                = 0
stat("/usr/shlib/libc.so", {st_mode=S_IFREG|0664, st_size=1269760, ...}) = 0
open("/usr/shlib/libots.so", O_RDONLY)  = 5
read(5, "\203\1\20\0\321\2001/\0 \1\0\0\0"..., 2664) = 2664
mmap()                                  = 0x242c0000
munmap(0x242c0000, 57344)               = 0
mmap()                                  = 0x63ac0000
munmap(0x63ac0000, 16384)               = 0
mmap()                                  = 0x242c0000
mmap()                                  = 0x63ac0000
close(5)                                = 0
stat("/usr/shlib/libots.so", {st_mode=S_IFREG|0664, st_size=139264, ...}) = 0
brk(0xc0011e20)                         = 0xc0011e20
getrusage(RUSAGE_SELF, {...})           = 0
getrusage(RUSAGE_CHILDREN, {...})       = 0
close(4)                                = 0
getpagesize()                           = 0x2000
getrlimit(RLIMIT_DATA, {rlim_cur=RLIM_INFINITY, rlim_max=RLIM_INFINITY}) = 0
mmap()                                  = 0x140f2000
sigaction(SIGBUS, {...}, {...})         = 0
sigaction(SIGSEGV, {...}, {...})        = 0
getrlimit(RLIMIT_DATA, {rlim_cur=RLIM_INFINITY, rlim_max=RLIM_INFINITY}) = 0
mmap()                                  = 0x14100000
--- SIGSEGV (Segmentation fault) ---
write(2, ": Fatal: A memory access violati"..., 116) = 116
getrusage(RUSAGE_SELF, {...})           = 0
getrusage(RUSAGE_CHILDREN, {...})       = 0
getrusage(RUSAGE_SELF, {...})           = 0
getrusage(RUSAGE_CHILDREN, {...})       = 0
close(0)                                = 0
close(1)                                = 0
close(2)                                = 0
exit(-1)                                = ?
-------------------------------------------------------------------------------
getpagesize()                           = 0x2000
getpagesize()                           = 0x2000
brk(0xc0003e20)                         = 0xc0003e20
brk(0xc0007e20)                         = 0xc0007e20
open("/bin/dbx", O_RDONLY)              = 4
getxuid()                               = 0
getxgid(0x3ffc0003000)                  = 0
getrusage(RUSAGE_SELF, {...})           = 0
getrusage(RUSAGE_CHILDREN, {...})       = 0
read(4, "\203\1\25\0>\0102/\0\0\0\0\0\0\0"..., 2664) = 2664
mmap()                                  = 0x20000000
mmap()                                  = 0x40000000
mmap()                                  = 0x4002e000
brk(0xc0007e20)                         = 0xc0007e20
brk(0xc000be20)                         = 0xc000be20
open("/usr/shlib/libc.so", O_RDONLY)    = 5
read(5, "\203\1\25\0\232\306\3140\0\340\16"..., 2664) = 2664
mmap()                                  = 0x80080000
mmap()                                  = 0xc0080000
mmap()                                  = 0xc008e000
close(5)                                = 0
stat("/usr/shlib/libc.so", {st_mode=S_IFREG|0664, st_size=1269760, ...}) = 0
getrusage(RUSAGE_SELF, {...})           = 0
getrusage(RUSAGE_CHILDREN, {...})       = 0
close(4)                                = 0
getpagesize()                           = 0x2000
getrlimit(RLIMIT_DATA, {rlim_cur=RLIM_INFINITY, rlim_max=RLIM_INFINITY}) = 0
mmap()                                  = 0x40062000
getdtablesize()                         = 256
fstat(3, {st_mode=S_IFREG|0664, st_size=1500, ...}) = 0
fstat(4, 0x1ffffc38)                    = -1 EBADF (Bad file number)
	[ ... ]
fstat(255, 0x1ffffc38)                  = -1 EBADF (Bad file number)
ioctl(0, TIOCGETP, 0x1ffffc98)          = 0
ioctl(1, TIOCGETP, 0x1ffffc98)          = 0
ioctl(2, TIOCGETP, 0x1ffffc98)          = 0
ioctl(0, TIOCGETP, 0x4004e950)          = 0
ioctl(0, TIOCGETC, 0x4004e956)          = 0
ioctl(0, TIOCGLTC, 0x4004e95c)          = 0
ioctl(0, 0x40047400, 0x4004e964)        = -1 EINVAL (Invalid argument)
ioctl(0, TIOCGPGRP, [5370])             = 0
ioctl(0, 0x4004747c, 0x4004e968)        = -1 EINVAL (Invalid argument)
fcntl(0, F_GETFL)                       = 0x2 (flags O_RDWR)
ioctl(1, TIOCGETP, 0x4004e974)          = 0
ioctl(1, TIOCGETC, 0x4004e97a)          = 0
ioctl(1, TIOCGLTC, 0x4004e980)          = 0
ioctl(1, 0x40047400, 0x4004e988)        = -1 EINVAL (Invalid argument)
ioctl(1, TIOCGPGRP, [5370])             = 0
ioctl(1, 0x4004747c, 0x4004e98c)        = -1 EINVAL (Invalid argument)
fcntl(1, F_GETFL)                       = 0x2 (flags O_RDWR)
ioctl(2, TIOCGETP, 0x4004e998)          = 0
ioctl(2, TIOCGETC, 0x4004e99e)          = 0
ioctl(2, TIOCGLTC, 0x4004e9a4)          = 0
ioctl(2, 0x40047400, 0x4004e9ac)        = -1 EINVAL (Invalid argument)
ioctl(2, TIOCGPGRP, [5370])             = 0
ioctl(2, 0x4004747c, 0x4004e9b0)        = -1 EINVAL (Invalid argument)
fcntl(2, F_GETFL)                       = 0x2 (flags O_RDWR)
sigprocmask(SIG_BLOCK, NULL, NULL)      = 0
sigaction(SIGINT, {...}, {...})         = 0
getxpid()                               = 5371
open("/proc/5371", O_RDONLY|0x8000)     = 4
close(4)                                = 0
osf_utsname(0x11ffffbd0)                = 0
open("a.out", O_RDONLY)                 = 4
close(4)                                = 0
osf_setsysinfo(0x7, 0x11ffffa40, 0xa0, 0, 0x4) = -1 EL2NSYNC (Operation not supported on transport endpoint)
osf_setsysinfo(0x7, 0x11ffffa40, 0xa0, 0, 0x4) = -1 EL2NSYNC (Operation not supported on transport endpoint)
osf_setsysinfo(0x7, 0x11ffffa40, 0xa0, 0, 0x4) = -1 EL2NSYNC (Operation not supported on transport endpoint)
osf_setsysinfo(0x7, 0x11ffffa40, 0xa0, 0, 0x4) = -1 EL2NSYNC (Operation not supported on transport endpoint)
osf_setsysinfo(0x7, 0x11ffffa40, 0xa0, 0, 0x4) = -1 EL2NSYNC (Operation not supported on transport endpoint)
osf_setsysinfo(0x7, 0x11ffffa40, 0xa0, 0, 0x4) = -1 EL2NSYNC (Operation not supported on transport endpoint)
ioctl(1, TIOCGETP, 0x1ffff138)          = 0
write(1, "Valid license for one of the fol"..., 78) = 78
write(1, "Product OSF-DEVTK (OSF Developer"..., 71) = 71
write(1, "Product OSF-DEVTK-USER (OSF Deve"..., 91) = 91
write(1, "Product OSF-DEVTK-G (OSF Develop"..., 80) = 80
write(1, "Product OSF-DEV (OSF Developer\'"..., 72) = 72
write(1, "Product OSF-DEV-USER (OSF Develo"..., 92) = 92
write(1, "Product OSF-DEV-G (OSF Developer"..., 81) = 81
ioctl(0, TIOCSETP, 0x4004e950)          = 0
ioctl(0, TIOCSETC, 0x4004e956)          = 0
ioctl(0, TIOCSLTC, 0x4004e95c)          = 0
ioctl(0, 0x80047401, 0x4004e964)        = -1 EINVAL (Invalid argument)
ioctl(0, 0x8004747d, 0x4004e968)        = -1 EINVAL (Invalid argument)
fcntl(0, F_SETFL, O_RDWR)               = 0
ioctl(1, TIOCSETP, 0x4004e974)          = 0
ioctl(1, TIOCSETC, 0x4004e97a)          = 0
ioctl(1, TIOCSLTC, 0x4004e980)          = 0
ioctl(1, 0x80047401, 0x4004e988)        = -1 EINVAL (Invalid argument)
ioctl(1, 0x8004747d, 0x4004e98c)        = -1 EINVAL (Invalid argument)
fcntl(1, F_SETFL, O_RDWR)               = 0
ioctl(2, TIOCSETP, 0x4004e998)          = 0
ioctl(2, TIOCSETC, 0x4004e99e)          = 0
ioctl(2, TIOCSLTC, 0x4004e9a4)          = 0
ioctl(2, 0x80047401, 0x4004e9ac)        = -1 EINVAL (Invalid argument)
ioctl(2, 0x8004747d, 0x4004e9b0)        = -1 EINVAL (Invalid argument)
fcntl(2, F_SETFL, O_RDWR)               = 0
getrusage(RUSAGE_SELF, {...})           = 0
getrusage(RUSAGE_CHILDREN, {...})       = 0
getrusage(RUSAGE_SELF, {...})           = 0
getrusage(RUSAGE_CHILDREN, {...})       = 0
close(0)                                = 0
close(1)                                = 0
close(2)                                = 0
exit(0)                                 = ?
-------------------------------------------------------------------------------

-- 
All SCSI disks will from now on                     ___       _____
be required to send an email notice                0--,|    /OOOOOOO\
24 hours prior to complete hardware failure!      <_/  /  /OOOOOOOOOOO\
                                                    \  \/OOOOOOOOOOOOOOO\
                                                      \ OOOOOOOOOOOOOOOOO|//
Harald Koenig,                                         \/\/\/\/\/\/\/\/\/
Inst.f.Theoret.Astrophysik                              //  /     \\  \
koenig@tat.physik.uni-tuebingen.de                     ^^^^^       ^^^^^

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

       reply	other threads:[~1996-07-19  6:45 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Pine.LNX.3.91.960718135708.21597H-100000@linux.cs.Helsinki.FI>
1996-07-19  6:45 ` Harald Koenig [this message]
     [not found] <Pine.LNX.3.94.960718124232.11048A-100000@zardoz.aisb.org>
1996-07-19  7:52 ` Running Digital Unix Binaries on Red Hat Linux 3.0.3 Harald Koenig
     [not found] <Pine.LNX.3.93.960717212447.3557A-100000@redhat.com>
1996-07-18 11:01 ` Linus Torvalds
1996-07-18  1:23 David Andrew Bushnell
1996-07-18  1:15 ` Dave Mitchell
1996-07-18  1:25 ` Erik Troan
1996-07-18  7:03 ` Rudolf Gabler
1996-07-18 16:44   ` Doug DeJulio
1996-07-18  8:16 ` Harald Koenig
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox