From owner-freebsd-bugs@FreeBSD.ORG Thu Aug 5 15:40:31 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EAADA16A4CE for ; Thu, 5 Aug 2004 15:40:31 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id CCFE743D5A for ; Thu, 5 Aug 2004 15:40:31 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id i75FeV0R023451 for ; Thu, 5 Aug 2004 15:40:31 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i75FeVd6023450; Thu, 5 Aug 2004 15:40:31 GMT (envelope-from gnats) Resent-Date: Thu, 5 Aug 2004 15:40:31 GMT Resent-Message-Id: <200408051540.i75FeVd6023450@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Mark Tinguely Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 580AD16A4CE for ; 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 ; 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 ; 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 To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: kern/70037: ALI AGP fails / panics system X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Aug 2004 15:40:32 -0000 >Number: 70037 >Category: kern >Synopsis: ALI AGP fails / panics system >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Aug 05 15:40:31 GMT 2004 >Closed-Date: >Last-Modified: >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: >Unformatted: