*BSD News Article 69440


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!nntp.coast.net!zombie.ncsc.mil!news.mathworks.com!newsfeed.internetmci.com!tank.news.pipex.net!pipex!usenet1.news.uk.psi.net!uknet!EU.net!sun4nl!Utrecht.NL.net!news.iaf.nl!news.es.iaf.nl!fozzie.sun3.iaf.nl!fozzie.sun3.iaf.nl!not-for-mail
From: geert@fozzie.sun3.iaf.nl (Geert Bosch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Read the FAQ (Was: FreeBSD with ATI Mach64)
Date: 26 May 1996 00:56:10 +0200
Organization: La Calandre Infortunee
Lines: 58
Message-ID: <4o836a$5fk@fozzie.sun3.iaf.nl>
References: <31A341A7.45B2@ccohs.ca> <31A5D4CF.167EB0E7@chiak.kaist.ac.kr>
NNTP-Posting-Host: fozzie.sun3.iaf.nl
X-Newsreader: TIN [version 1.2 PL2]

Minsung Kim (stair@chiak.kaist.ac.kr) wrote:
`` Try disabling sio3 at boot time.  Boot with -c option and
   you'll get to the configuration editor. ''

This won't help, you'll need to disable all serial ports, or
FreeBSD will probe sio3 anyway. (A bug IMHO.)

I advise anybody with problems to look at the FAQ which clearly
(I hope) explains the ATI Mach 64 related problems and their solutions.
These FAQs are meant to stop those frequent questions and frequent
answers which are often wrong, imprecise or otherwise not so helpful.

Here's the FAQ: (it's also at www.freebsd.org)

Subject: FAQ: ATI Mach64 problems
Date: 20 Feb 1996 12:47:05 +0100

Q: When I boot FreeBSD with my ATI Mach 64 videocard the following happens:
   when the system probes the hardware during boot the screen goes black 
   and synchronization is lost and I'm not even using X! What's the problem?!
A: The problem is that the ATI Mach 64 uses address 2e8, and the fourth serial
   port does too. Due to a bug (feature?) in the sio.c driver it will
   touch this port even if you don't have the fourth serial port, and
   *even* if you disable sio3 (the fourth port) which normally uses this 
   address.

Q: What's the solution or workaround for this problem?
A: Until the bug has been fixed, you can use this workaround:
   1. Enter -c at the bootprompt. 
      [ the kernel goes into configuration mode ]
   2. Disable sio0, sio1, sio2 and sio3 (all of them).
      This way the sio driver doesn't get activated -> no problems.
   3. Type exit to continue booting.

Q: The workaround works fine, but now I want to use my serial ports.
A: You'll have to build a new kernel with the following modification:
   in sio.c (/usr/src/sys/i386/isa/sio.c I believe) find the one
   occurrence of the string 0x2e8 and remove that string and the
   preceding comma (keep the trailing comma). 
   Now follow the normal procedure of building a new kernel.

Q: Now everything runs great, except for X Windows: my screen goes black
   or X Windows runs but with all kinds of problems.
A: Some newer ATI Mach 64 video cards (notably ATI Mach Xpression) do not 
   run with the current version of XFree86. You can get a beta-version of
   a new X-server that works better, by looking at http://www.xfree86.org
   and following the links to the new beta release. Get the following 
   files:
     AccelCards, BetaReport, Cards, Devices, FILES, README.ati, 
     README.FreeBSD, README.Mach64, RELNOTES, VGADriver.Doc,
     X312BMa64.tgz
   Replace the older files with the new versions and make sure you
   run xf86config again.


-- 
E-Mail: geert@sun3.iaf.nl     *** The moon may be smaller than ***
 Phone: +31-53-4303054        ** Earth,  but it's further away. **