Date: Wed, 27 Mar 1996 21:58:18 -0800 From: Steven Wallace <swallace@ece.uci.edu> To: Bruce Evans <bde@zeta.org.au> Cc: current@freebsd.org Subject: Re: 2.2-960323-SNAP: ibcs2 panic Message-ID: <199603280558.VAA00988@newport.ece.uci.edu> In-Reply-To: Your message of "Thu, 28 Mar 1996 15:32:34 %2B1100." <199603280432.PAA09588@godzilla.zeta.org.au>
next in thread | previous in thread | raw e-mail | index | archive | help
>>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199603280558.VAA00988>