From owner-freebsd-questions@FreeBSD.ORG Tue Mar 17 19:46:23 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3464810656CE for ; Tue, 17 Mar 2009 19:46:23 +0000 (UTC) (envelope-from Joerg.Pulz@frm2.tum.de) Received: from mailhost.frm2.tum.de (mailhost.frm2.tum.de [129.187.179.12]) by mx1.freebsd.org (Postfix) with ESMTP id CEF7C8FC26 for ; Tue, 17 Mar 2009 19:46:22 +0000 (UTC) (envelope-from Joerg.Pulz@frm2.tum.de) Received: from localhost (mailhost.frm2.tum.de [129.187.179.12]) by mailhost.frm2.tum.de (8.14.3/8.14.3) with ESMTP id n2HJPT7k044771; Tue, 17 Mar 2009 20:25:29 +0100 (CET) (envelope-from jpulz@frm2.tum.de) X-Virus-Scanned: at mailhost.frm2.tum.de Received: from hades.admin.frm2 (hades.admin.frm2 [172.25.1.10]) by mailhost.frm2.tum.de (8.14.3/8.14.3) with ESMTP id n2HJPPld044766 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 17 Mar 2009 20:25:25 +0100 (CET) (envelope-from jpulz@frm2.tum.de) Received: from hades.admin.frm2 (localhost [127.0.0.1]) by hades.admin.frm2 (8.14.2/8.14.2) with ESMTP id n2HJPPLm059990; Tue, 17 Mar 2009 20:25:25 +0100 (CET) (envelope-from jpulz@frm2.tum.de) Received: (from jpulz@localhost) by hades.admin.frm2 (8.14.2/8.14.2/Submit) id n2HJPONR059989; Tue, 17 Mar 2009 20:25:24 +0100 (CET) (envelope-from jpulz) Date: Tue, 17 Mar 2009 20:25:21 +0100 (CET) From: Joerg Pulz To: Andrea Venturoli In-Reply-To: <49BF7E71.6020507@netfence.it> Message-ID: References: <49BF7E71.6020507@netfence.it> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0.1 (mailhost.frm2.tum.de [129.187.179.12]); Tue, 17 Mar 2009 20:25:25 +0100 (CET) Cc: freebsd-questions@freebsd.org Subject: Re: Fujitsu Siemens Promergy RX100S4 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Mar 2009 19:46:23 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tue, 17 Mar 2009, Andrea Venturoli wrote: > Anyone tried 7.1/amd64 on this? > > I have two SATA disks configured for mirroring in the BIOS; I see the two > disks separately as ad devices, but no RAID device: I'd expect an ar0 or > something. > > Is this card not supported? I've two of these here, both running 7.0 one as i386 and one as amd64. The amd64 box uses the onboard RAID. Here are the relevant dmesg parts: - ---- atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x37 6,0x3420-0x342f at device 31.1 on pci0 ata0: on atapci0 ata0: [ITHREAD] ata1: on atapci0 ata1: [ITHREAD] atapci1: port 0x3440-0x3447,0x3434-0x3437,0x3438-0x343f, 0x3430-0x3433,0x3400-0x341f mem 0xfd000400-0xfd0007ff irq 19 at device 31.2 on p ci0 atapci1: [ITHREAD] atapci1: AHCI Version 01.10 controller with 4 ports detected ata2: on atapci1 ata2: [ITHREAD] ata3: on atapci1 ata3: [ITHREAD] ata4: on atapci1 ata4: port not implemented ata4: [ITHREAD] ata5: on atapci1 ata5: port not implemented ata5: [ITHREAD] acd0: CDRW at ata0-master UDMA33 ad4: 238475MB at ata2-master SATA300 ad6: 238475MB at ata3-master SATA300 ar0: 238475MB status: READY ar0: disk0 READY (master) using ad4 at ata2-master ar0: disk1 READY (mirror) using ad6 at ata3-master - ---- If i remeber correctly, you have to enable the RAID option in the BIOS to configure the two disk as array, afterwards you must enter the BIOS again and switch to AHCI. As the ataraid driver detects the array by reading the metadata on the disks it should detect the array. I'm not 100 percent sure but i think this is the way i did it. pciconf -lv show the following for the atapci device (again there is AHCI mentioned in the output): - ---- atapci0@pci0:0:31:1: class=0x01018a card=0x10a51734 chip=0x27df8086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801G (ICH7 Family) Ultra ATA Storage Controller' class = mass storage subclass = ATA atapci1@pci0:0:31:2: class=0x010601 card=0x10a51734 chip=0x27c18086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801GB I/O Controller Hub SATA cc=AHCI' class = mass storage - ---- The second box (running i386) is using geom_mirror and running fine. I would definitely vote for the geom_mirror way! kind regards Joerg - -- The beginning is the most important part of the work. -Plato -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iD8DBQFJv/kkSPOsGF+KA+MRAlM8AKDP/wc5839XQIzQN6dnFVScAnn+4wCfS5ZA p2H8lnmtJp+R6VkvwS2LOJY= =y1Nz -----END PGP SIGNATURE-----