From owner-freebsd-stable@FreeBSD.ORG Wed Nov 19 19:10:54 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 34C911065675 for ; Wed, 19 Nov 2008 19:10:54 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA04.westchester.pa.mail.comcast.net (qmta04.westchester.pa.mail.comcast.net [76.96.62.40]) by mx1.freebsd.org (Postfix) with ESMTP id 7F3CA8FC0A for ; Wed, 19 Nov 2008 19:10:53 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA12.westchester.pa.mail.comcast.net ([76.96.62.44]) by QMTA04.westchester.pa.mail.comcast.net with comcast id h4l51a0020xGWP8547AmBz; Wed, 19 Nov 2008 19:10:46 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA12.westchester.pa.mail.comcast.net with comcast id h7Ai1a00M2P6wsM3Y7AjVj; Wed, 19 Nov 2008 19:10:43 +0000 X-Authority-Analysis: v=1.0 c=1 a=Kn1M_iXOy9EA:10 a=A7SOdGXiAqEA:10 a=6I5d2MoRAAAA:8 a=QycZ5dHgAAAA:8 a=Bb6xZOOrY9dJjkj89nkA:9 a=UeKiU9JpIt8RBL8SNiMA:7 a=OcdkrPxSK4s933lwrocbOpm7WzEA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 7FA3533C1C; Wed, 19 Nov 2008 11:10:42 -0800 (PST) Date: Wed, 19 Nov 2008 11:10:42 -0800 From: Jeremy Chadwick To: Mark Sams Message-ID: <20081119191042.GA5284@icarus.home.lan> References: <610465.33671.qm@web36108.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <610465.33671.qm@web36108.mail.mud.yahoo.com> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-stable@freebsd.org Subject: Re: atacontrol missing drive after upgrade to 6.3 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Nov 2008 19:10:54 -0000 On Wed, Nov 19, 2008 at 09:15:12AM -0800, Mark Sams wrote: > I upgraded from 6.2 to 6.3 p5 last night. Upon rebooting, the second disk in the mirror is missing. > > # atacontrol status ar0 > ar0: ATA RAID1 status: DEGRADED > subdisks: > 0 ad0 ONLINE > 1 ---- MISSING > > # grep ata /var/run/dmesg.boot > ad0: 238475MB at ata0-master UDMA100 > ad1: 238475MB at ata0-slave UDMA100 > ar0: disk0 READY (master) using ad0 at ata0-master > ar1: disk1 READY (mirror) using ad1 at ata0-slave > > I am unsure how to re-add the disk, or if this is a bug. I noticed a number of fixes for atacontrol.c beyond the current version in 6.3 (1.36.2.6) > http://www.freebsd.org/cgi/cvsweb.cgi/src/sbin/atacontrol/atacontrol.c > > Obviously it won't rebuild > # atacontrol rebuild ar0 > atacontrol: ioctl(IOCATARAIDREBUILD): Input/output error > > Do I do? > atacontrol detach ata0-slave > && atacontrol attach ata0-slave && atacontrol addspare ad1 ar0 > && atacontrol rebuild ar0 > > (not sure what channel I am supposed to be using) Or is this something that requires atacontrol.c to be patched? > > I am not sure where to start, so I thought I would ask here first before trying anything. > > btw, its Intel ICH5: > atapci1: port 0xc000-0xc007,0xc400-0xc403,0xc800-0xc807,0xcc00-0xcc03,0xd000-0xd00f irq 18 at device 31.2 on pci0 You're using Intel MatrixRAID, aren't you? Please migrate away from this immediately, your data is at risk. http://wiki.freebsd.org/JeremyChadwick/ATA_issues_and_troubleshooting The problem you're experiencing is documented there. There is no solution, as far as I know. The problems still exist on RELENG_7 also. I recommend you back up (off-load) all of your data onto a disk or system somewhere else, and use gmirror(8) instead. Please, stay away from Intel MatrixRAID on FreeBSD. -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |