From owner-freebsd-current@FreeBSD.ORG Thu Sep 6 07:30:26 2007 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 9723E16A5FC for ; Thu, 6 Sep 2007 07:30:26 +0000 (UTC) (envelope-from h.schmalzbauer@omnisec.de) Received: from host.omnisec.de (host.omnisec.de [62.245.232.135]) by mx1.freebsd.org (Postfix) with ESMTP id 0A6BC13C468 for ; Thu, 6 Sep 2007 07:30:25 +0000 (UTC) (envelope-from h.schmalzbauer@omnisec.de) Received: from tek.flintsbach.schmalzbauer.de (tek.flintsbach.schmalzbauer.de [172.21.2.3]) by host.omnisec.de (8.13.8/8.13.8) with ESMTP id l867UBbr069491 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 6 Sep 2007 09:30:16 +0200 (CEST) (envelope-from h.schmalzbauer@omnisec.de) Received: from titan.flintsbach.schmalzbauer.de (titan.flintsbach.schmalzbauer.de [IPv6:fec0::1:0:0:1:1]) by tek.flintsbach.schmalzbauer.de (8.13.8/8.13.8) with ESMTP id l867UBRX042084; Thu, 6 Sep 2007 09:30:11 +0200 (CEST) (envelope-from h.schmalzbauer@omnisec.de) Received: by titan.flintsbach.schmalzbauer.de (8.14.1/8.14.1/Submit) id l867VE1j001380; Thu, 6 Sep 2007 09:31:14 +0200 (CEST) (envelope-from h.schmalzbauer@omnisec.de) X-Authentication-Warning: titan.flintsbach.schmalzbauer.de: harry set sender to h.schmalzbauer@omnisec.de using -f From: Harald Schmalzbauer Organization: OmniSEC To: freebsd-current@freebsd.org Date: Thu, 6 Sep 2007 09:31:13 +0200 User-Agent: KMail/1.9.7 References: <46DF8F1B.3020003@fusiongol.com> In-Reply-To: <46DF8F1B.3020003@fusiongol.com> MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_Bz63GZWEvKQVUfO" Message-Id: <200709060931.13903.h.schmalzbauer@omnisec.de> Cc: Nathan Butcher Subject: Re: DVD drive not detected on GA-G33-DS3R 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: Thu, 06 Sep 2007 07:30:26 -0000 --Boundary-00=_Bz63GZWEvKQVUfO Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: 7bit Content-Disposition: inline Am Donnerstag, 6. September 2007 07:24:43 schrieb Nathan Butcher: > I picked up a Gigabyte GA-G33-DS3R with the intent on running ZFS on it. > The GA-G33-DS3R has 8 internal SATA ports of which 6 are provided by the > Intel Southbridge ICH9 chipset and the other 2 are provided by the > 'Gigabyte SATAII' chipset, which in reality is a JMicron JMB363, a > supposedly very well supported chip, and FreeBSD detects it as such. > > I have a standard SATA DVD combo drive, but regardless of what mode > (IDE, RAID, AHCI) I put the "Gigabyte SATAII chipset" in, FreeBSD won't > detect it as /dev/acd0. Strange, because I can boot up the snapshot CD > and get as far as selecting media from which to install FreeBSD -- > except to be told that no CD drive is found. > > Working from the 200708-amd64 snapshot, the ICH9 only works in SATA300 > mode when the chipset is placed in RAID mode, and is then detected by > FreeBSD as ICH8 - and that seems to work. FreeBSD isn't picking up the > drives when the chipset is in AHCI mode despite this message back in July: Please find attached a patch I use with my ich9 board. The original author wanted to check some registers before commiting but I heard several times that ich8 and ich9 are identical regarding ATA. I'm using AHCI and it works fine, although I have some CD-Rom problems too (ATAPI) but haven't hd time to track it down (mostly burncd makes trouble) Best regards, -Harry --Boundary-00=_Bz63GZWEvKQVUfO Content-Type: text/x-diff; charset="iso-2022-jp"; name="ata-ich9.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="ata-ich9.diff" --- sys/dev/ata/ata-pci.h.orig 2007-07-09 10:50:35.000000000 +0200 +++ sys/dev/ata/ata-pci.h 2007-07-17 20:35:45.000000000 +0200 @@ -167,6 +167,10 @@ #define ATA_I82801HB_S2 0x28258086 #define ATA_I82801HBM_S1 0x28298086 #define ATA_I82801HBM_S2 0x282a8086 +#define ATA_I82801IB_S1 0x29208086 +#define ATA_I82801IB_AH6 0x29228086 +#define ATA_I82801IB_AH4 0x29238086 +#define ATA_I82801IB_S2 0x29268086 #define ATA_I31244 0x32008086 #define ATA_ITE_ID 0x1283 --- sys/dev/ata/ata-chipset.c.orig 2007-07-09 10:50:35.000000000 +0200 +++ sys/dev/ata/ata-chipset.c 2007-07-17 20:35:35.000000000 +0200 @@ -1710,6 +1710,10 @@ { ATA_I82801HB_AH6, 0, AHCI, 0x00, ATA_SA300, "ICH8" }, { ATA_I82801HBM_S1, 0, AHCI, 0x00, ATA_SA300, "ICH8M" }, { ATA_I82801HBM_S2, 0, AHCI, 0x00, ATA_SA300, "ICH8M" }, + { ATA_I82801IB_S1, 0, AHCI, 0x00, ATA_SA300, "ICH9" }, + { ATA_I82801IB_S2, 0, AHCI, 0x00, ATA_SA300, "ICH9" }, + { ATA_I82801IB_AH4, 0, AHCI, 0x00, ATA_SA300, "ICH9" }, + { ATA_I82801IB_AH6, 0, AHCI, 0x00, ATA_SA300, "ICH9" }, { ATA_I31244, 0, 0, 0x00, ATA_SA150, "31244" }, { 0, 0, 0, 0, 0, 0}}; char buffer[64]; --Boundary-00=_Bz63GZWEvKQVUfO--