Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Sep 2007 09:31:13 +0200
From:      Harald Schmalzbauer <h.schmalzbauer@omnisec.de>
To:        freebsd-current@freebsd.org
Cc:        Nathan Butcher <n-butcher@fusiongol.com>
Subject:   Re: DVD drive not detected on GA-G33-DS3R
Message-ID:  <200709060931.13903.h.schmalzbauer@omnisec.de>
In-Reply-To: <46DF8F1B.3020003@fusiongol.com>
References:  <46DF8F1B.3020003@fusiongol.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200709060931.13903.h.schmalzbauer>