home *** CD-ROM | disk | FTP | other *** search
Wrap
Received: from sloth.swcp.com (sloth.swcp.com [198.59.115.25]) by nacm.com (8.6.10/8.6.9) with ESMTP id IAA08422 for <executor@nacm.com>; Fri, 8 Sep 1995 08:11:07 -0700 Received: from iclone.UUCP (uucp@localhost) by sloth.swcp.com (8.6.9/8.6.9) with UUCP id JAA08417; Fri, 8 Sep 1995 09:11:01 -0600 Received: from gwar.ardi.com by mailhost with smtp (nextstep Smail3.1.29.0 #11) id m0sr4yu-000YbDC; Fri, 8 Sep 95 09:04 MDT Received: by gwar.ardi.com (linux Smail3.1.28.1 #5) id m0sr4yu-000GOkC; Fri, 8 Sep 95 09:04 MDT Message-Id: <m0sr4yu-000GOkC@gwar.ardi.com> Date: Fri, 8 Sep 95 09:04 MDT From: mat@ardi.com (Mat Hostetter) To: jowaters@NMSU.Edu Cc: executor@nacm.com Subject: Re: Svga & Linux In-Reply-To: <199509072132.PAA14123@NMSU.Edu> References: <Pine.3.89.9509071353.A15878-0100000@gold.tc.umn.edu> <199509072132.PAA14123@NMSU.Edu> Sender: owner-paper@nacm.com Precedence: bulk >>>>> "jowaters" == jowaters <jowaters@NMSU.Edu> writes: jowaters> Oh, for the record ARDI folks, executor 1.2.7 doesn't jowaters> work on my machine either (I'm running a 2-meg VL-bus S3 jowaters> 805 board, like others who have already posted bug jowaters> reports... I guess it's a chipset problem right now...) jowaters> But the X version is amazing. I'm totally impressed jowaters> with the work you folks have done so far. If there's jowaters> anything I can do to help debug the svgalib version (my jowaters> screen goes black, but I still retain control of the jowaters> machine) I'd love to help... I don't know how to get jowaters> any debug output from it right now though. Here's a message from the linux-svgalib mailing list yesterday, from one of the main svgalib maintainers. It explains what we believe to be the problem (cottons@ardi.com figured it out). Basically, `vga_safety_fork' (an svgalib routine Executor calls) is broken because it throws away important I/O port permissions. We should have a workaround in the next BleedingEdge release. Thanks for your patience. -Mat ---------------------------------------------------------------------- From: Michael Weller <eowmob@exp-math.uni-essen.de> Sender: vger.rutgers.edu!owner-linux-svgalib Sender: owner-linux-svgalib@vger.rutgers.edu To: linux-svgalib@vger.rutgers.edu Subject: vga_safety_fork() Date: Thu, 7 Sep 1995 17:36:28 +0200 (MSZ) I was pointed to a problem with vga_safety_fork(). iopermissions are not inherited through forks which causes a segfault when the ports are accessed. The segfault handler tries to restore textmode which again segfaults when accessing the ports -> endless loop. One could change get_vga_perm to get the required access permissions, but this doesn't help coz it does not care for the access permissions of all card specific registers. Calling the cards initialization routines a second time might not work well for all drivers. I don't see an easy fix for this problem. A new card specific driver func might be needed to clone the permissions. I'll investigate further, but if I don't find a simple solution I'll make vga_safety_fork a noop until a working solution is found. One could, however, just call iopl(3) in the forked off proc as we really trust it (do we?). Comments/Suggestions? Michael. (eowmob@exp-math.uni-essen.de or eowmob@pollux.exp-math.uni-essen.de Please do not use my vm or de0hrz1a accounts anymore. In case of real problems reaching me try mat42b@aixrs1.hrz.uni-essen.de instead.) ----------------------------------------------------------------------