Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Digital UNIX syscalls
@ 1996-12-13 15:29 Laurent Bartholdi
  0 siblings, 0 replies; 4+ messages in thread
From: Laurent Bartholdi @ 1996-12-13 15:29 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 3279 bytes --]

Hello world,
I tried to run two programs originally written for Digital Unix
on my Linux PC and ran into problems that seem to be due to
missing system calls.
The programs are Maple and crisp, for which OSF versions exist but
Linux not. Both report license violations, and I can't get Maple to
configure a new license (needless to say, they run fine on the OSF/1
machine).
Strace'ing the programs under Linux returns the following lines
(among valid system calls):

For mcr:
SYS_142(0x11ffff358, 0x11fffb210, 0x44, 0, 0x14001a6e8) = -1 EPERM
(Operation not permitted)
SYS_251(0x11fffb2d8, 0x11fffb2d0, 0, 0x140035fe0, 0x140035fc0) = 0
SYS_251(0x11ffff778, 0x11ffff770, 0, 0, 0x1c6a) = 0
SYS_251(0x11ffff6a8, 0x11ffff6a0, 0, 0x140040b70, 0xe678) = 0
SYS_251(0x11ffff6a8, 0x11ffff6a0, 0, 0x1400abc80, 0x1400abca0) = 0

With maple

SYS_112(0, 0x11ffff500, 0, 0x11ffff4d8, 0x140026268) = -1 EPERM
(Operation not permitted)
SYS_112(0, 0x11fffefa0, 0, 0x11fffef78, 0x140078010) = -1 EPERM
(Operation not permitted)
SYS_112(0, 0x11ffff500, 0, 0x11ffff4d8, 0) = -1 EPERM (Operation not
permitted)
SYS_112(0, 0x11fffeff0, 0, 0x11fffefc8, 0x140078820) = -1 EPERM
(Operation not permitted)
SYS_112(0, 0x11fffe610, 0, 0x11fffe5e8, 0x1400822e8) = -1 EPERM
(Operation not permitted)
SYS_112(0, 0x11fffe610, 0, 0x11fffe5e8, 0x140082010) = -1 EPERM
(Operation not permitted)
SYS_112(0, 0x11fffe610, 0, 0x11fffe5e8, 0x14008b880) = -1 EPERM
(Operation not permitted)
SYS_112(0, 0x11fffe610, 0, 0x11fffe5e8, 0x14008b998) = -1 EPERM
(Operation not permitted)
SYS_112(0, 0x11fffe610, 0, 0x11fffe5e8, 0x14008ba40) = -1 EPERM
(Operation not permitted)
SYS_112(0, 0x11fffe610, 0, 0x11fffe5e8, 0x14008bb20) = -1 EPERM
(Operation not permitted)
SYS_112(0, 0x11fffe610, 0, 0x11fffe5e8, 0x14008bc00) = -1 EPERM
(Operation not permitted)
SYS_112(0, 0x11fffe610, 0, 0x11fffe5e8, 0x14008bce0) = -1 EPERM
(Operation not permitted)
SYS_112(0, 0x11fffe610, 0, 0x11fffe5e8, 0x14008bdc0) = -1 EPERM
(Operation not permitted)
SYS_112(0, 0x11fffe610, 0, 0x11fffe5e8, 0x14008bea0) = -1 EPERM
(Operation not permitted)
SYS_112(0, 0x11fffe610, 0, 0x11fffe5e8, 0x14008bf48) = -1 EPERM
(Operation not permitted)
SYS_112(0, 0x11fffe610, 0, 0x11fffe5e8, 0x14008c028) = -1 EPERM
(Operation not permitted)
SYS_112(0, 0x11fffe610, 0, 0x11fffe5e8, 0x14008c0d0) = -1 EPERM
(Operation not permitted)
SYS_112(0, 0x11fffe630, 0, 0x11fffe608, 0x8001500000001) = -1 EPERM
(Operation not permitted)
SYS_112(0, 0x11fffdc50, 0, 0x11fffdc28, 0x14008c1b0) = -1 EPERM
(Operation not permitted)
SYS_112(0, 0x11fffd680, 0, 0x11fffd658, 0x500000000) = -1 EPERM
(Operation not permitted)

Does anybody know what these are? I plan to patch the kernel
to add these system calls and make them return mock success values.

-- 
E-Mail: mailto:Laurent.Bartholdi@math.unige.ch   Finger:
lbartho@cui.unige.ch
WWW: http://www.unige.ch/math/folks/bartholdi   FTP:
ftp://cui.unige.ch/pub/lbartho
S-Mail: Laurent Bartholdi, Barillette 11, 1260 NYON, Switzerland
Office: #614, Rue du Lièvre 2-4, Case Postale 240, 1211 GENEVE 24,
Switzerland
Phones: +41 22 3610222 (Home)  +41 22 3435060 (Office)  +41 22 3002064
(Fax)

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Digital UNIX syscalls
       [not found] <32B17675.46B7@math.unige.ch>
@ 1996-12-13 15:43 ` Jim Nance
  1996-12-13 23:26 ` quake ACK!! Aaron
  1 sibling, 0 replies; 4+ messages in thread
From: Jim Nance @ 1996-12-13 15:43 UTC (permalink / raw)


> For mcr:
> SYS_142(0x11ffff358, 0x11fffb210, 0x44, 0, 0x14001a6e8) = -1 EPERM
> SYS_251(0x11fffb2d8, 0x11fffb2d0, 0, 0x140035fe0, 0x140035fc0) = 0

> With maple
> SYS_112(0, 0x11ffff500, 0, 0x11ffff4d8, 0x140026268) = -1 EPERM

> Does anybody know what these are? I plan to patch the kernel
> to add these system calls and make them return mock success values.

From /usr/include/sys/syscall.h:

#define SYS_gethostid   142
#define SYS_usleep_thread       251
#define SYS_sigstack    112

Hope this helps,

Jim

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Digital UNIX syscalls
@ 1996-12-13 20:30 Przemek Klosowski
  0 siblings, 0 replies; 4+ messages in thread
From: Przemek Klosowski @ 1996-12-13 20:30 UTC (permalink / raw)


You asked about DIGITAL UNIX  syscalls:

  For mcr:
   SYS_142(0x11ffff358, 0x11fffb210, 0x44, 0, 0x14001a6e8) = -1 EPERM
   SYS_251(0x11fffb2d8, 0x11fffb2d0, 0, 0x140035fe0, 0x140035fc0) = 0
  With maple
   SYS_112(0, 0x11ffff500, 0, 0x11ffff4d8, 0x140026268) = -1 EPERM

The syscalls you observed are:

112	sigstack(instack, outstack) Sets and gets signal stack context
142	gethostid()     Gets the unique identifier of the current host
251	usleep_thread   not documented; it is called from sleep() and usleep() 
			in libc.

The above is based on reading the manual pages and listing contents of /lib/libc.a

	przemek

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* quake ACK!!
       [not found] <32B17675.46B7@math.unige.ch>
  1996-12-13 15:43 ` Digital UNIX syscalls Jim Nance
@ 1996-12-13 23:26 ` Aaron
  1 sibling, 0 replies; 4+ messages in thread
From: Aaron @ 1996-12-13 23:26 UTC (permalink / raw)


Well I fianlly got around to doing wuake BUT
this is what I get when I try to run it 

-snip-
[cluge@maserati ~/quake]# xf86quake 
Added packfile ./id1/pak0.pak (339 files)
FindFile: can't find gfx/pop.lmp
Playing shareware version.
Error: You must have the registered version to use modified games
-snip-

Any ideas?? Any help??  

TIA

\--------------------------------------------------------------------------/
 \ Aaron Gee AKA Spdracer					          /
  \"Maseratis are more than cars, they are a passion that is understood  /
   \by some, but enjoyed by a very few"				  	/
    \URL-----> http://maserati.worldwide.net			       /
     \e-mail--> spdracer@america.com   Fax-->1 (904) 253 1006         /
      \--------------------------------------------------------------/
				\  |  /
				 \_|_/
				 (---)
				   0 

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1996-12-13 23:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <32B17675.46B7@math.unige.ch>
1996-12-13 15:43 ` Digital UNIX syscalls Jim Nance
1996-12-13 23:26 ` quake ACK!! Aaron
1996-12-13 20:30 Digital UNIX syscalls Przemek Klosowski
  -- strict thread matches above, loose matches on Subject: below --
1996-12-13 15:29 Laurent Bartholdi

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