From owner-freebsd-questions Thu Dec 14 15:50:08 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id PAA01156 for questions-outgoing; Thu, 14 Dec 1995 15:50:08 -0800 (PST) Received: from muse.microunity.com (muse1.microunity.com [192.216.206.2]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id PAA01151 for ; Thu, 14 Dec 1995 15:50:06 -0800 (PST) Received: from gaea.microunity.com by muse.microunity.com (4.1/ericm1.1) id AA24146; Thu, 14 Dec 95 15:49:35 PST Received: from gallifrey.microunity.com by gaea.microunity.com (4.1/muse1.3) id AA06852; Thu, 14 Dec 95 15:49:31 PST Received: by gallifrey.microunity.com (8.6.10/muse-sgi.2) id PAA11740; Thu, 14 Dec 1995 15:49:27 -0800 From: deborah@microunity.com (Deborah Gronke Bennett) Message-Id: <9512141549.ZM11738@gallifrey.microunity.com> Date: Thu, 14 Dec 1995 15:49:25 -0800 X-Mailer: Z-Mail (3.1.0 22feb94 MediaMail) To: questions@freebsd.org, xfree86@xfree86.org Subject: Summary: Re: can I run XFree86 on FreeBSD 2.0.5 from a mounted filesystem? Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 Sender: owner-questions@freebsd.org Precedence: bulk Earlier today, I submitted a question to both these lists like this: > > I have a network of 5 identical lab machines which are all > Gateway 90MHz pentium machines with ATI Mach64 graphics cards. > For administration reasons, I would prefer to have them mount > /usr/X11R6 from a network location. I am trying to run XFree86 this > way, and having no luck. > > I have created an XF86Config file that works > fine on one of the machines which happens to have a full XFree86 > installation. I have copied that XF86Config file to /etc/XF86Config > on one of the other machines. I have also made the symbolic link > from usr/X11R6/bin/X to usr/X11R6/bin/XF86_Mach64 on the server. > I have mounted usr/X11R6 from the server on /usr/X11R6 on the client. > When I run startx, I get this error message: > ld.so: xinit: libXmu.so.0: Undefined error: 0 Boyd Faulkner (faulkner@mpd.tandem.com) wins the prize for the first and correct answer. Yes, you can XFree86 from NFS. The error message above is caused by the fact that ldconfig is not adding /usr/X11R6. The root cause was that I was trying to access /usr/X11R6 through a symlink, which referred to an nfs-mounted filesystem I get to with amd (an automounter). When I switched to mounting /usr/X11R6 in /etc/fstab, ldconfig found it OK and I got startx to run. For anyone else attempting this kind of config, here's what I did to the mounted usr/X11R6 tree: - make a link on the server from usr/X11R6/bin/X to usr/X11R6/bin/XF86_Mach64 (all of my machines are identical, and have ATI Mach64 graphics) - I ran xf86config on the one machine which has XFree86 installed, then put a copy of the XF86Config file it created into usr/X11R6/lib/X11/XF86Config on the server. (Again, I can do this since all my machines are identical). Unfortunately, I am now having kernel reliability problems. Sometimes, with some kernel configurations, this nfs-mounted X configuration works just fine. But sometimes when I run startx, I am apparently falling over some kind of bug in the vnode or vm system, where I get this stack traceback: panic: vm_object_deallocate: object deallocated too many times Debugger("panic") Stopped at _Debugger+0x2b: movb $0,_in_Debugger.110 db> trace _Debugger(f0116f6b,f0116f60,f018800b,efbffe8c,f06f2080) at _Debugger+0x2b _panic(f018800b,f06f7680,0,f06ec000,efbffec0) at _panic+0x3b _vm_object_deallocate(f06f2080,f06ec000,f06f4900,f01b918c,f06f7680) at _vm_object_deallocate+0x21 _vn_close(f06f7680,1,f06e5300,f06ec000,efbfff24) at _vn_close+0x70 _vn_closefile(f06f4900,f06ec000,f06d7e80,4,f06ec000) at _vn_closefile+0x19 _closef(f06f4900,f06ec000,efbfff94,f06ec000,0) at _closef+0x12c _close(f06ec000,efbfff94,efbfff8c,817a060,8184fc4) at _close+0x83 _syscall(27,27,0,8184fc4,efbfd2f8) at _syscall+0x161 I am attempting to isolate this problem now, and I will communicate with the FreeBSD bugs mailing list. Thanks again to all the helpful people who took time to respond so quickly to my question. -deborah bennett ---------- Deborah Gronke Bennett (WD5HJH) kernel and device drivers engineer deborah@microunity.com (408)-734-8100 MicroUnity Systems Eng., 255 Caspian Drive, Sunnyvale, CA 94089-1015 USA