From nobody@FreeBSD.org  Thu Aug  5 15:35:27 2004
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 580AD16A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Thu,  5 Aug 2004 15:35:27 +0000 (GMT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 58BD243D46
	for <freebsd-gnats-submit@FreeBSD.org>; Thu,  5 Aug 2004 15:35:27 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.11/8.12.11) with ESMTP id i75FZRvs093272
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 5 Aug 2004 15:35:27 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.11/8.12.11/Submit) id i75FZR0s093271;
	Thu, 5 Aug 2004 15:35:27 GMT
	(envelope-from nobody)
Message-Id: <200408051535.i75FZR0s093271@www.freebsd.org>
Date: Thu, 5 Aug 2004 15:35:27 GMT
From: Mark Tinguely <tinguely@casselton.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: ALI AGP fails / panics system
X-Send-Pr-Version: www-2.3

>Number:         70037
>Category:       kern
>Synopsis:       [panic] ALI AGP fails / panics system
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 05 15:40:31 GMT 2004
>Closed-Date:    Fri Jun 24 10:01:27 GMT 2005
>Last-Modified:  Fri Jun 24 10:01:27 GMT 2005
>Originator:     Mark Tinguely
>Release:        FreeBSD 4.x and 5.x
>Organization:
>Environment:
>Description:
      Many ALI based AGP chipsets cannot correct detect the Aperture size.  In FreeBSD 4.x kernels, this causes a panic. In FreeBSD-current just fails to initialize the AGP. The problem is the ALI Aperture size test is wrong. This fix was taken from NetBSD. I do not agree with the mask in the agp_ali_detach() routine and put a "XXX comment". The below patch has been confirmed by another person who has the chipset.
>How-To-Repeat:
      Boot a AGP enabled kernel on certain ALI chipset on FreeBSD 4.x or FreeBSD 5.x.
>Fix:
The following URL is a FreeBSD 4.10-RELEASE and FreeBSD-current (08/05/2004) unified diff to solve the problem:

      http://www.casselton.net/~tinguely/agpali.patch.

This came from NetBSD. Visually, I think the agp_ali_detach() mask does not return the chipset to its original value.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->patched 
State-Changed-By: anholt 
State-Changed-When: Sat Aug 21 06:24:28 GMT 2004 
State-Changed-Why:  
Fix committed to -current, with edits from me.  Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=70037 

From: Matteo Riondato <rionda@gufi.org>
To: Gnats PR Database <freebsd-gnats-submit@freebsd.org>
Cc: anholt@freebsd.org
Subject: Re: kern/70037: [panic] ALI AGP fails / panics system
Date: Fri, 8 Apr 2005 22:47:54 +0200

 --7tPHY7RFL01rOa8z
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 This was fixed and merged to RELENG_5 back in 2004.
 This PR can be closed.
 Thank you.
 Best Regards
 --=20
 Rionda aka Matteo Riondato
 Disinformato per default
 G.U.F.I. Staff Member (http://www.gufi.org)
 FreeSBIE Developer (http://www.freesbie.org)
 
 --7tPHY7RFL01rOa8z
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.0 (FreeBSD)
 
 iD8DBQFCVu362Mp4pR7Fa+wRAv0vAJ9d0E7I4vl8ajS12fkettdDD6T/PQCcCw5Q
 LjQ/9+H/WnxuPszPnGvHRHI=
 =LNGe
 -----END PGP SIGNATURE-----
 
 --7tPHY7RFL01rOa8z--
State-Changed-From-To: patched->closed 
State-Changed-By: anholt 
State-Changed-When: Fri Jun 24 10:01:03 GMT 2005 
State-Changed-Why:  
Fixed in -current and 5-stable. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=70037 
>Unformatted:
