Date: Tue, 3 Oct 2000 01:12:59 -0400 (EDT) From: bush doctor <dervish@ganja.nubisci.net> To: bugs@ganja.nubisci.net Subject: ports/21718: XFree86-4 (4.0.1) server does not start for Mach64 based video adapters Message-ID: <200010030512.e935Cxf11168@ganja.nubisci.net>
next in thread | raw e-mail | index | archive | help
>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<return> or XFree86<return> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200010030512.e935Cxf11168>