From owner-freebsd-current Wed Mar 27 21:58:24 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id VAA02507 for current-outgoing; Wed, 27 Mar 1996 21:58:24 -0800 (PST) Received: from meter.eng.uci.edu (root@meter.eng.uci.edu [128.200.85.3]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id VAA02502 for ; Wed, 27 Mar 1996 21:58:22 -0800 (PST) Received: from newport.ece.uci.edu by meter.eng.uci.edu (8.7.4) id VAA21238; Wed, 27 Mar 1996 21:58:21 -0800 (PST) Received: from localhost by newport.ece.uci.edu (8.7.4) id VAA00988; Wed, 27 Mar 1996 21:58:19 -0800 (PST) Message-Id: <199603280558.VAA00988@newport.ece.uci.edu> To: Bruce Evans cc: current@freebsd.org Subject: Re: 2.2-960323-SNAP: ibcs2 panic In-reply-to: Your message of "Thu, 28 Mar 1996 15:32:34 +1100." <199603280432.PAA09588@godzilla.zeta.org.au> Date: Wed, 27 Mar 1996 21:58:18 -0800 From: Steven Wallace Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >>Make sure your /compat/ibcs2/dev directory looks like: > >>lrwxr-xr-x 1 root wheel 9 Oct 15 22:20 X0R@ -> /dev/null >>lrwxr-xr-x 1 root wheel 7 Oct 15 22:20 nfsd@ -> socksys >>-rw-rw-r-- 1 root wheel 0 Mar 27 10:44 null >>lrwxr-xr-x 1 root wheel 9 Oct 15 22:20 socksys@ -> /dev/null >>crw-rw-rw- 1 root wheel 41, 1 Oct 15 22:14 spx > > I think spx will have to be a link to /dev/spx for devfs. spx isnt in > devfs or /sys/i386/conf/majors.i386. > As I explained when I wrote the spx "support" it is truely a hack. Look at the code: #ifdef SPX_HACK if(ret == ENXIO) if(!strcmp(SCARG(uap, path), "/compat/ibcs2/dev/spx")) ret = spx_open(p, uap, retval); else #endif /* SPX_HACK */ It doesn't matter what device it opens, just as long as it doesn't exist. Then it returns ENXIO so it checks the path. This is for speed so not all opens check the path. Since the old socksys support was deprecated, the old spx device that no longer exists is a good choice for this hack! Steven