From owner-freebsd-emulation Sun Feb 7 10:13:07 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA23487 for freebsd-emulation-outgoing; Sun, 7 Feb 1999 10:13:07 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from pagesz.net (nina.pagesz.net [208.194.157.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA23482 for ; Sun, 7 Feb 1999 10:13:06 -0800 (PST) (envelope-from rhh@pagesz.net) Received: from stealth.dummynet. (juana-23.pagesz.net [208.213.126.23]) by pagesz.net (8.8.7/8.8.7) with ESMTP id NAA26573; Sun, 7 Feb 1999 13:13:07 -0500 Received: (from rhh@localhost) by stealth.dummynet. (8.9.1/8.8.8) id NAA19948; Sun, 7 Feb 1999 13:13:28 -0500 (EST) (envelope-from rhh) Date: Sun, 7 Feb 1999 13:13:28 -0500 From: Randall Hopper To: Marcel Moolenaar Cc: emulation@FreeBSD.ORG Subject: Re: XessLite4 Spreadsheet - Problem on 3.0-RELEASE Message-ID: <19990207131328.A19703@pagesz.net> References: <19990116102334.A5244@pagesz.net> <36A1BC26.F222F5B3@scc.nl> <19990206204310.A29695@pagesz.net> <36BDD125.EB51D53A@scc.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.1i In-Reply-To: <36BDD125.EB51D53A@scc.nl>; from Marcel Moolenaar on Sun, Feb 07, 1999 at 06:45:09PM +0100 Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Marcel Moolenaar: |[snip] |> |> I've created /compat/linux/proc/{version,cpuinfo} with copies of these |> |> files from a Linux box that Xesslite4 runs on, but no success. |> | |> |At what point does it fail when you do have the files? |> |> It fails at pretty much the same place as without them. The tail of the |> output is the same (except for a few bytes in the read() GIOs, except that |> this line is added: |> |[snip] | |This is what happens (no ktraces included): | |When the files (version and cpuinfo) are not present, lstat fails and xslite4 |aborts. When the files are present lstat succeeds, but xslite4 fails because |the files have length > 0 (on Red Hat they have length 0; on FreeBSD they are |regular files). As a result xslite4 aborts. When you create empty files, |lstat succeeds and xslite4 will open the files and read them, but will fail |because it does read what it expects and aborts; after which I aborted :-) | |XessLite4 will only run when /proc is properly emulated. |Sorry, Thanks for the explanation. I didn't get as much as you did from the ktrace output. Don't suppose there is some FreeBSD feature with which one could emulate this behavior? Maybe a socket or named pipe with a daemon sleeping on the other end? Randall To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message