From nobody@FreeBSD.org  Tue Aug 15 22:00:32 2006
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 9A71616A4DE
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 15 Aug 2006 22:00:32 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 25D3343D73
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 15 Aug 2006 22:00:32 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k7FM0Vpo074996
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 15 Aug 2006 22:00:32 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id k7FM0VHk074995;
	Tue, 15 Aug 2006 22:00:31 GMT
	(envelope-from nobody)
Message-Id: <200608152200.k7FM0VHk074995@www.freebsd.org>
Date: Tue, 15 Aug 2006 22:00:31 GMT
From: Dirk Kleinhesselink <dkleinh@phy.ucsf.edu>
To: freebsd-gnats-submit@FreeBSD.org
Subject: 6.1-Release (amd64 & i386) install boot hangs nvidia sata 
X-Send-Pr-Version: www-2.3

>Number:         102120
>Category:       kern
>Synopsis:       [ata] [patch] 6.1-Release (amd64 & i386) install boot hangs nvidia sata
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    sos
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 15 22:10:13 GMT 2006
>Closed-Date:    Mon Sep 18 18:47:28 GMT 2006
>Last-Modified:  Mon Sep 18 18:47:28 GMT 2006
>Originator:     Dirk Kleinhesselink
>Release:        6.1-Release
>Organization:
UCSF
>Environment:
cannot install OS 
>Description:
FreeBSD 6.1-Release both i386 and amd64 versions hang on boot from
install CD when querying on-board Nvidia SATA controller.  If controller
is disabled in bios, boot will complete to installer screen.  6.0-Release
amd64 (did not try i386) will boot to installer setup.  Motherboard
is ASUS M2NPV-VM with 3800+ X2 dual core processor (socket AM2).

>How-To-Repeat:
Stick in install CD and boot...
>Fix:

>Release-Note:
>Audit-Trail:

From: Dirk Kleinhesselink <dkleinh@phy.ucsf.edu>
To: bug-followup@FreeBSD.org, dkleinh@phy.ucsf.edu
Cc:  
Subject: Re: kern/102120: 6.1-Release (amd64 & i386) install boot hangs
	nvidia sata
Date: Fri, 25 Aug 2006 20:49:07 +0000

 The problem is that the Nvidia NFORCE_MCP51 code is apparently broken.  
 FreeBSD 6.0 and below did not know about this chip/controller and the
 ata-chipset routine defaulted to generic ata, which works.  The patch
 below removes the check for the Nvidia NFORCE_MCP51 chip/controller
 and the routine will then identify the controller as generic and the
 kernel will boot.  Wish there was some way to have a boot-time option
 to tell it not to try the specific chipset patch.
 
 --- /usr/src/sys/dev/ata/ata-pci.h      Thu Mar 16 13:28:51 2006
 +++ /usr/src/sys/dev/ata/ata-pci.h.new  Thu Aug 24 11:41:49 2006
 @@ -196,9 +196,6 @@
  #define ATA_NFORCE_CK804        0x005310de
  #define ATA_NFORCE_CK804_S1     0x005410de
  #define ATA_NFORCE_CK804_S2     0x005510de
 -#define ATA_NFORCE_MCP51        0x026510de
 -#define ATA_NFORCE_MCP51_S1     0x026610de
 -#define ATA_NFORCE_MCP51_S2     0x026710de
  #define ATA_NFORCE_MCP55        0x036e10de
  #define ATA_NFORCE_MCP55_S1     0x037e10de
  #define ATA_NFORCE_MCP55_S2     0x037f10de
 --- /usr/src/sys/dev/ata-chipset.c      Thu Mar 16 13:28:51 2006
 +++ /usr/src/sys/dev/ata-chipset.c.new  Thu Aug 24 11:43:05 2006
 @@ -2741,9 +2741,6 @@
       { ATA_NFORCE_CK804,    0, AMDNVIDIA, NVIDIA, ATA_UDMA6, "nForce
 CK804" },
       { ATA_NFORCE_CK804_S1, 0, 0,         NV4OFF, ATA_SA300, "nForce
 CK804" },
       { ATA_NFORCE_CK804_S2, 0, 0,         NV4OFF, ATA_SA300, "nForce
 CK804" },
 -     { ATA_NFORCE_MCP51,    0, AMDNVIDIA, NVIDIA, ATA_UDMA6, "nForce
 MCP51" },
 -     { ATA_NFORCE_MCP51_S1, 0, 0,         NV4OFF, ATA_SA300, "nForce
 MCP51" },
 -     { ATA_NFORCE_MCP51_S2, 0, 0,         NV4OFF, ATA_SA300, "nForce
 MCP51" },
       { ATA_NFORCE_MCP55,    0, AMDNVIDIA, NVIDIA, ATA_UDMA6, "nForce
 MCP55" },
       { ATA_NFORCE_MCP55_S1, 0, 0,         NV4OFF, ATA_SA300, "nForce
 MCP55" },
       { ATA_NFORCE_MCP55_S2, 0, 0,         NV4OFF, ATA_SA300, "nForce
 MCP55" },
 
 
Responsible-Changed-From-To: freebsd-bugs->sos 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Fri Aug 25 22:52:42 UTC 2006 
Responsible-Changed-Why:  
Perhaps Soeren can take a look. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=102120 
State-Changed-From-To: open->closed 
State-Changed-By: sos 
State-Changed-When: Mon Sep 18 18:46:45 UTC 2006 
State-Changed-Why:  
Fixed in both -current and -stable. 

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