Subject: ibcs2/svr4 compat questions
To: None <port-i386@NetBSD.ORG>
From: John Kohl <jtk@kolvir.arlington-heights.ma.us>
List: port-i386
Date: 09/16/1997 23:28:19
I'm trying to run some UPS software.  I have the option of using SCO,
UnixWare 1, or UnixWare 2 stuff.

SCO stuff seems to be statically linked, so that's what I'm trying right
now.

Problems so far:
libsocket: open(/dev/socksys) failure: No such file or directory

and:
failed to set port characteristics for /dev/UPS
error: Invalid argument

The latter is more fully described by this part of a ktrace output:

   681 ls3      CALL  open(0x41687e,0x882,0)
   681 ls3      NAMI  "/emul/ibcs2/dev/UPS"
   681 ls3      NAMI  "/dev/UPS"
   681 ls3      RET   open 6
   681 ls3      CALL  sigsys(0xe,0)
   681 ls3      RET   sigsys 15688/0x3d48
   681 ls3      CALL  alarm(0)
   681 ls3      RET   alarm 2
   681 ls3      CALL  sigsys(0xe,0x3d48)
   681 ls3      RET   sigsys 0
   681 ls3      CALL  alarm(0x2)
   681 ls3      RET   alarm 0
   681 ls3      CALL  ioctl(0x6,_IO('x',0x1,0),0xf7bfd850)
   681 ls3      RET   ioctl 0
   681 ls3      CALL  sigsys(0xe,0)
   681 ls3      RET   sigsys 15688/0x3d48
   681 ls3      CALL  alarm(0)
   681 ls3      RET   alarm 2
   681 ls3      CALL  sigsys(0xe,0x3d48)
   681 ls3      RET   sigsys 0
   681 ls3      CALL  alarm(0x2)
   681 ls3      RET   alarm 0
   681 ls3      CALL  ioctl(0x6,_IO('x',0x4,0),0xf7bfd850)
   681 ls3      RET   ioctl -1 errno 22 Invalid argument

Any suggestions?  Is this just missing support?  /dev/socksys seems to
be mentioned in some of the source code for svr4 and ibcs2 compat, but
nothing seems to create it?

==John