From owner-freebsd-current@FreeBSD.ORG Sun Jan 18 11:00:51 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 064A11065674; Sun, 18 Jan 2009 11:00:51 +0000 (UTC) (envelope-from conrads@cox.net) Received: from eastrmmtao107.cox.net (eastrmmtao107.cox.net [68.230.240.59]) by mx1.freebsd.org (Postfix) with ESMTP id A1F9D8FC0A; Sun, 18 Jan 2009 11:00:50 +0000 (UTC) (envelope-from conrads@cox.net) Received: from eastrmimpo01.cox.net ([68.1.16.119]) by eastrmmtao107.cox.net (InterMail vM.7.08.02.01 201-2186-121-102-20070209) with ESMTP id <20090118110051.UAPF23750.eastrmmtao107.cox.net@eastrmimpo01.cox.net>; Sun, 18 Jan 2009 06:00:51 -0500 Received: from serene.no-ip.org ([72.200.37.152]) by eastrmimpo01.cox.net with bizsmtp id 4z0m1b0083Gxf8w02z0pva; Sun, 18 Jan 2009 06:00:50 -0500 X-Authority-Analysis: v=1.0 c=1 a=XUCd45H-lvu0iG0MZtYA:9 a=CBnoIuOwWh0yHNOyQM4A:7 a=qVWdJnJC_s2fsIb8eSE2MStFt0oA:4 a=4vB-4DCPJfMA:10 a=LY0hPdMaydYA:10 X-CM-Score: 0.00 Received: from serene.no-ip.org (localhost [127.0.0.1]) by serene.no-ip.org (8.14.3/8.14.3) with ESMTP id n0IB0kJG010206; Sun, 18 Jan 2009 05:00:46 -0600 (CST) (envelope-from conrads@cox.net) Date: Sun, 18 Jan 2009 05:00:45 -0600 From: "Conrad J. Sabatier" To: "Conrad J. Sabatier" Message-ID: <20090118050045.39b8ab47@serene.no-ip.org> In-Reply-To: <20090114163846.0dfa6080@serene.no-ip.org> References: <20090114163846.0dfa6080@serene.no-ip.org> X-Mailer: Claws Mail 3.7.0 (GTK+ 2.14.7; amd64-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org, sos@freebsd.org Subject: Re: nv-pv2 (Was: I give up) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Jan 2009 11:00:51 -0000 On Wed, 14 Jan 2009 16:38:46 -0600 "Conrad J. Sabatier" wrote: > OK, I took Soren's advice and modified the device ID in one of the > patches he had originally sent me. The SATA controller is now being > recognized, as well as the hard drive, but still no CD/DVD. > > What else do I need to do to complete this remedy? I've included my > modifications to Soren's original patches below. > > Thank you, and sorry for the long lag in following up on this issue. > > Conrad I should hqve included the output of "ataconf list": # atacontrol list ATA channel 2: (this is the internal hard drive) Master: ad4 Serial ATA II Slave: no device present ATA channel 3: Master: no device present Slave: no device present ATA channel 4: Master: no device present Slave: no device present ATA channel 5: Master: no device present Slave: no device present ATA channel 6: Master: no device present Slave: no device present ATA channel 7: Master: no device present Slave: no device present So where the heck is my CD/DVD connected to? This is one of the most bizarre problems I've ever encountered. Pciconf, camcontrol both turn up equally blank info. I'm quite at a loss here. And what could be the reason for no ATA channels 0 or 1 showing up? HELP! Conrad, quite at his wits' end with this mystery, Thanks for any further advice, > Begin forwarded message: > > Date: Wed, 31 Dec 2008 22:32:51 -0600 (CST) > From: conrads@serene.no-ip.org (Conrad J. Sabatier) > To: conrads@cox.net > Subject: nv-pv2 > > > Index: chipsets/ata-nvidia.c > =================================================================== > --- chipsets/ata-nvidia.c (revision 184585) > +++ chipsets/ata-nvidia.c (working copy) > @@ -61,6 +61,7 @@ > /* misc defines */ > #define NV4 0x01 > #define NVQ 0x02 > +#define NVAHCI 0x04 > > > /* > @@ -99,6 +100,7 @@ > { ATA_NFORCE_MCP67, 0, 0, 0, ATA_UDMA6, "nForce > MCP67" }, { ATA_NFORCE_MCP73, 0, 0, 0, ATA_UDMA6, "nForce > MCP73" }, { ATA_NFORCE_MCP77, 0, 0, 0, ATA_UDMA6, "nForce > MCP77" }, > + { ATA_NFORCE_MCP77_A8, 0, NVAHCI, 0, ATA_SA300, "nForce > MCP77" }, { 0, 0, 0, 0, 0, 0}} ; > > if (pci_get_vendor(dev) != ATA_NVIDIA_ID) > @@ -108,7 +110,10 @@ > return ENXIO; > > ata_set_desc(dev); > - ctlr->chipinit = ata_nvidia_chipinit; > + if (ctlr->chip->cfg1 & NVAHCI) > + ctlr->chipinit = ata_ahci_chipinit; > + else > + ctlr->chipinit = ata_nvidia_chipinit; > return 0; > } > > Index: ata-pci.h > =================================================================== > --- ata-pci.h (revision 184585) > +++ ata-pci.h (working copy) > @@ -255,8 +255,44 @@ > #define ATA_NFORCE_MCP61_S3 0x03f710de > #define ATA_NFORCE_MCP65 0x044810de > #define ATA_NFORCE_MCP67 0x056010de > +#define ATA_NFORCE_MCP67_A0 0x055010de > +#define ATA_NFORCE_MCP67_A1 0x055110de > +#define ATA_NFORCE_MCP67_A2 0x055210de > +#define ATA_NFORCE_MCP67_A3 0x055310de > +#define ATA_NFORCE_MCP67_A4 0x055410de > +#define ATA_NFORCE_MCP67_A5 0x055510de > +#define ATA_NFORCE_MCP67_A6 0x055610de > +#define ATA_NFORCE_MCP67_A7 0x055710de > +#define ATA_NFORCE_MCP67_A8 0x055810de > +#define ATA_NFORCE_MCP67_A9 0x055910de > +#define ATA_NFORCE_MCP67_Aa 0x055a10de > +#define ATA_NFORCE_MCP67_Ab 0x055b10de > #define ATA_NFORCE_MCP73 0x056c10de > +#define ATA_NFORCE_MCP73_A0 0x07f010de > +#define ATA_NFORCE_MCP73_A1 0x07f110de > +#define ATA_NFORCE_MCP73_A2 0x07f210de > +#define ATA_NFORCE_MCP73_A3 0x07f310de > +#define ATA_NFORCE_MCP73_A4 0x07f410de > +#define ATA_NFORCE_MCP73_A5 0x07f510de > +#define ATA_NFORCE_MCP73_A6 0x07f610de > +#define ATA_NFORCE_MCP73_A7 0x07f710de > +#define ATA_NFORCE_MCP73_A8 0x07f810de > +#define ATA_NFORCE_MCP73_A9 0x07f910de > +#define ATA_NFORCE_MCP73_Aa 0x07fa10de > +#define ATA_NFORCE_MCP73_Ab 0x07fb10de > #define ATA_NFORCE_MCP77 0x075910de > +#define ATA_NFORCE_MCP77_A0 0x0ad010de > +#define ATA_NFORCE_MCP77_A1 0x0ad110de > +#define ATA_NFORCE_MCP77_A2 0x0ad210de > +#define ATA_NFORCE_MCP77_A3 0x0ad310de > +#define ATA_NFORCE_MCP77_A4 0x0ad410de > +#define ATA_NFORCE_MCP77_A5 0x0ad510de > +#define ATA_NFORCE_MCP77_A6 0x0ad610de > +#define ATA_NFORCE_MCP77_A7 0x0ad710de > +#define ATA_NFORCE_MCP77_A8 0x0ad810de > +#define ATA_NFORCE_MCP77_A9 0x0ad910de > +#define ATA_NFORCE_MCP77_Aa 0x0ada10de > +#define ATA_NFORCE_MCP77_Ab 0x0adb10de > > #define ATA_PROMISE_ID 0x105a > #define ATA_PDC20246 0x4d33105a > > -- Conrad J. Sabatier