From owner-freebsd-current@FreeBSD.ORG Tue Sep 6 19:19:24 2005 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BC83616A41F for ; Tue, 6 Sep 2005 19:19:24 +0000 (GMT) (envelope-from sos@FreeBSD.org) Received: from spider.deepcore.dk (cpe.atm2-0-53484.0x50a6c9a6.abnxx9.customer.tele.dk [80.166.201.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id ED87143D45 for ; Tue, 6 Sep 2005 19:19:23 +0000 (GMT) (envelope-from sos@FreeBSD.org) Received: from [194.192.25.136] (mac.deepcore.dk [194.192.25.136]) by spider.deepcore.dk (8.13.3/8.13.3) with ESMTP id j86JDwOw067332; Tue, 6 Sep 2005 21:13:58 +0200 (CEST) (envelope-from sos@FreeBSD.org) In-Reply-To: <7daacbbe0509060626686aed19@mail.gmail.com> References: <7daacbbe0509060626686aed19@mail.gmail.com> Mime-Version: 1.0 (Apple Message framework v734) Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Message-Id: <4CE29790-127C-4E07-A92F-B5A72EE63CBE@FreeBSD.org> Content-Transfer-Encoding: quoted-printable From: =?ISO-8859-1?Q?S=F8ren_Schmidt?= Date: Tue, 6 Sep 2005 21:19:18 +0200 To: Dominique Goncalves X-Mailer: Apple Mail (2.734) X-mail-scanned: by DeepCore Virus & Spam killer v1.12 Cc: freebsd-current@FreeBSD.org Subject: Re: VIA 6420 SATA150 controller on FreeBSD 6.0 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: Tue, 06 Sep 2005 19:19:24 -0000 On 06/09/2005, at 15:26, Dominique Goncalves wrote: > Hi, > > I created a raid-1 with 2 SATA disks with the controller VIA 6420 > SATA150 from the bios setup. > FreeBSD detects the array with ar0 and I can use /dev/ar0s1 to mount > my data on FreeBSD 6.0-BETA4. > > atapci0: port > 0x9000-0x9007,0x9400-0x9403,0x9800-0x9807,0x9c00-0x9c03,0xa000-0xa00f,=20= > 0xa400-0xa4ff > irq 20 at device 15.0 on pci0 > ata2: on atapci0 > ata3: on atapci0 > [...] > ad4: 194481MB at ata2-master SATA150 > ad6: 194481MB at ata3-master SATA150 > ar0: 194480MB status: READY > ar0: disk0 READY (master) using ad4 at ata2-master > ar0: disk1 READY (mirror) using ad6 at ata3-master > > %mount | grep ar0s1 > /dev/ar0s1 on /raid (ufs, local, soft-updates) > > %df -h | grep ar0s1 > /dev/ar0s1 184G 54G 115G 32% /raid > > If I remove one of the disks, FreeBSD can't mount /dev/ar0s1 and I see > these errors: > > ad4: 194481MB at ata2-master SATA150 > ar0: 194480MB status: BROKEN > ar0: disk0 DOWN no device found for this subdisk > ar0: disk1 DOWN no device found for this subdisk > > and > # ls /dev/ar* > /dev/ar0 > > AFAIK, if one disk fails, I can continue to use the raid-1 and mount > ar0s1 (corret me, if I'm wrong). > > How can I solve this problem? > dmesg is attached. I've just committed a fix for this to -current. Grap ata-raid.? from =20 there and you should be fine.. S=F8ren Schmidt sos@FreeBSD.org