From owner-freebsd-ports Mon Oct 2 22:20: 5 2000 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 1465B37B66C for ; Mon, 2 Oct 2000 22:20:01 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id WAA02466; Mon, 2 Oct 2000 22:20:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from ganja.nubisci.net (ikhala.tcimet.net [198.109.166.215]) by hub.freebsd.org (Postfix) with ESMTP id C5B2A37B675 for ; Mon, 2 Oct 2000 22:12:59 -0700 (PDT) Received: (from dervish@localhost) by ganja.nubisci.net (8.11.0/8.11.0) id e935Cxf11168; Tue, 3 Oct 2000 01:12:59 -0400 (EDT) (envelope-from dervish) Message-Id: <200010030512.e935Cxf11168@ganja.nubisci.net> Date: Tue, 3 Oct 2000 01:12:59 -0400 (EDT) From: bush doctor To: bugs@ganja.nubisci.net X-Send-Pr-Version: 3.113 Subject: ports/21718: XFree86-4 (4.0.1) server does not start for Mach64 based video adapters Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 21718 >Category: ports >Synopsis: XFree86-4 (4.0.1) server does not start for Mach64 based video adapter >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Oct 02 22:20:00 PDT 2000 >Closed-Date: >Last-Modified: >Originator: bush doctor >Release: unknown-1.0 >Organization: NubiSci Software Labs >Environment: System: FreeBSD ganja.nubisci.net 5.0-CURRENT FreeBSD 5.0-CURRENT #52: Fri Sep 29 01:26:54 EDT 2000 root@ganja.nubisci.net:/usr/src/sys/compile/GANJA i386 >Description: XFree86-4 (4.0.1) server will fail to start for users of Mach64 based video adapters. Server will fail with the following diagnostic in /var/log/XFree86.0.log: "INVALID IO ALLOCATION" (or "Unsupported XCLK source" on ATI Mach64"). >How-To-Repeat: Type startx or XFree86 after building and installing the XFree86-4 port. >Fix: Apply the following patch retrived from XFree86.org (changed to diff -urN) http://www.xfree86.org/pipermail/newbie/2000-September/001134.html --- programs/Xserver/hw/xfree86/common/xf86pciBus.c.orig Tue Jun 20 21:23:12 2000 +++ programs/Xserver/hw/xfree86/common/xf86pciBus.c Wed Sep 27 21:13:47 2000 @@ -1207,10 +1207,8 @@ (*p_size)++; (*p_base) = H2B(tag,range.rBegin,type); -#ifdef DEBUG ErrorF("New PCI res %i base: 0x%lx, size: 0x%lx, type %s\n", res_n,(*p_base),(1 << (*p_size)),type | ResMem ? "Mem" : "Io"); -#endif if (res_n != 0xff) { pciWriteLong(tag,PCI_CMD_BASE_REG + res_n * sizeof(CARD32), @@ -1724,7 +1722,6 @@ resPtr tmp, avoid = NULL; if (!pvp->validate) continue; - avoid = xf86DupResList(pciAvoidRes); NonSys = xf86DupResList(Sys); m = n; while ((pvp1 = xf86PciVideoInfo[m++])) { >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message