*BSD News Article 68431


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mira.net.au!news.mel.connect.com.au!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!newsfeed.internetmci.com!news.sprintlink.net!new-news.sprintlink.net!helena.MT.net!nate
From: nate@trout.sri.MT.net (Nate Williams)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: SCO emul and libsocksys
Date: 13 May 1996 17:56:15 GMT
Organization: SRI Intl. - Montana Operations
Lines: 56
Message-ID: <4n7t3v$qha@helena.MT.net>
References: <4mnn9v$67t@service2.uky.edu>
Reply-To: "Nate Williams" <nate@sneezy.sri.com>
NNTP-Posting-Host: trout.sri.mt.net

[ Emailed as well ]

In article <4mnn9v$67t@service2.uky.edu>,
John Soward <soward@neworder.cc.uky.edu> wrote:
>
>I searched through the old articles and found a lot of questions about this  
>but no definative answers. I'm trying to run an SCO binary under the  
>2.2-950501 SNAP, it runs, but when it tries to make a network connection I get  
>something like this:
>
>demo29# ./client
>User> connect convex.uky.edu
>libsocket: open(/dev/socksys) failure: No such device or address
>libsocket: open(/dev/socksys) failure: No such device or address
>libsocket: open(/dev/socksys) failure: No such device or address
>libsocket: open(/dev/socksys) failure: No such device or address
>
>Now, I've made /dev/socksys and I have the ibcs stuff loaded...In 2.1 there  
>was some socksys stuff in /usr/src/lkm/socksys, this doesn't seem to be there  
>in 2.2, so I figure it's rolled into the ibcs stuff, but...

Here's what you should have:
root# cd /compat/ibcs2/dev
root# ls -lag
total 4
drwxr-xr-x  2 root  wheel       512 Apr 26 13:51 .
drwxr-xr-x  5 root  wheel       512 May  1 13:06 ..
lrwxr-xr-x  1 root  wheel         9 Apr 26 13:51 X0R -> /dev/null
lrwxr-xr-x  1 root  wheel         9 Apr 26 13:51 nfsd -> /dev/null
lrwxr-xr-x  1 root  wheel         9 Apr 26 13:51 null -> /dev/null
lrwxr-xr-x  1 root  wheel         9 Apr 26 13:51 socksys -> /dev/null
crw-rw-rw-  1 root  wheel   41,   1 Apr 26 13:50 spx
root#

Also, you may want to do the following as well.
root# cd /compat/ibcs2/bin
root# ls -alag uname
-rwxr-xr-x  1 root  wheel  22 May  1 13:05 uname
root# cat uname
#!/bin/sh
hostname -s
root# cd /compat/ibcs2/usr/bin
root# ls -alag uname
lrwxr-xr-x  1 root  wheel   15 May  1 13:06 uname -> ../../bin/uname
root#

Hope this helps.


Nate

-- 
nate@sri.com           | Research Engineer, SRI Intl. - Montana Operations
nate@trout.mt.sri.com  | Loving life in God's country, the great state of
work #: (406) 449-7662 | Montana.
home #: (406) 443-7063 | A fly pole and a 4x4 Chevy truck = Heaven on Earth