From owner-freebsd-stable@FreeBSD.ORG Wed Nov 30 16:16:11 2011 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 98F3C106566B; Wed, 30 Nov 2011 16:16:11 +0000 (UTC) (envelope-from gkontos.mail@gmail.com) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id 39EFD8FC08; Wed, 30 Nov 2011 16:16:10 +0000 (UTC) Received: by ggnk5 with SMTP id k5so1256779ggn.13 for ; Wed, 30 Nov 2011 08:16:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=ZXPXRBLUz1dM775PhIzWhiQBIoFu1RHkdQlMQysBlOE=; b=pRbPIAvwxRgvpzLAqgdRJmq/s+Pp3cqDFbPFaaWGYfvNOrZFiWR2QLG+FyJmHAzBVs AeMyQ1hvhr2lMEOSqWPn0sT1E4S0Bkq5rxNpWXc+RkQbn9q2bgnCpAGBR3b2q1bouEnu TaUct1h8j25L7r7mupUs28koosgoBCwmK5VBc= MIME-Version: 1.0 Received: by 10.50.158.227 with SMTP id wx3mr3202574igb.52.1322669770225; Wed, 30 Nov 2011 08:16:10 -0800 (PST) Received: by 10.231.15.7 with HTTP; Wed, 30 Nov 2011 08:16:10 -0800 (PST) In-Reply-To: <4ED58373.7090406@FreeBSD.org> References: <4ED526B7.8050403@FreeBSD.org> <20111130010320.GA56129@freebsdbox.adamsnet> <4ED58373.7090406@FreeBSD.org> Date: Wed, 30 Nov 2011 18:16:10 +0200 Message-ID: From: George Kontostanos To: Alexander Motin Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Adam Stylinski , freebsd-stable@freebsd.org Subject: Re: ataraid and 9.0 RC-2 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, 30 Nov 2011 16:16:11 -0000 On Wed, Nov 30, 2011 at 3:14 AM, Alexander Motin wrote: > On 30.11.2011 03:03, Adam Stylinski wrote: >> >> On Tue, Nov 29, 2011 at 08:38:47PM +0200, Alexander Motin wrote: >>> >>> On 27.11.2011 01:41, Adam Stylinski wrote: >>>> >>>> I just ran freebsd-update to get up to 9.0-RC2 and discovered that >>>> ataraid does not work. =A0I realize I'm an edge case and my scenario i= s not >>>> ideal (I use an ITE controller and performance is actually impressivel= y >>>> slow), but I cannot boot 9.0 from my stripe, even after manually loadi= ng >>>> ataraid from the loader prompt (after running an unload command). =A0I= mention >>>> it mostly because other people using the fakeraid setup by their >>>> motherboards for whatever reason (perhaps to share a partition table w= ith >>>> windows on the same mirror or stripe) may have a similar problem. =A0I= t seems >>>> like the ar0 device disappeared for me completely (even though it find= s ada0 >>>> and ada1). =A0I'm using the following device: >>>> >>>> atapci0@pci0:2:11:0: =A0 =A0class=3D0x010400 card=3D0x00000000 chip=3D= 0x82121283 >>>> rev=3D0x13 hdr=3D0x00 >>>> =A0 =A0 =A0vendor =A0 =A0 =3D 'Integrated Technology Express (ITE) Inc= ' >>>> =A0 =A0 =A0device =A0 =A0 =3D 'ATA 133 IDE RAID Controller (IT8212F)' >>>> =A0 =A0 =A0class =A0 =A0 =A0=3D mass storage >>>> =A0 =A0 =A0subclass =A0 =3D RAID >>>> rl0@pci0:2:13:0: =A0 =A0 =A0 =A0class=3D0x020000 card=3D0x80ea104d chi= p=3D0x813910ec >>>> rev=3D0x10 hdr=3D0x00 >>>> >>>> At first I figured because it may be loading AHCI (as per the device >>>> naming schemes ada0 and ada1). =A0I haven't looked too much into it (t= hese >>>> devices are actually PATA not SATA, so AHCI doesn't even exist for the= se), >>>> but maybe there's an ATA/AHCI driver that's built into the default >>>> kernelthat is interfering with ataraid.ko? =A0Maybe this interferes wi= th my >>>> stupidly slow and unpopular configuration. >>>> >>>> Thanks for any help, I'll also have a gander at the new DEFAULTS for t= he >>>> generic kernel in the 9.0 source tree. >>> >>> >>> FreeBSD 9.x uses new CAM-bases ATA subsystem. ataraid driver depends on >>> old ATA infrastructure and does not work with new. Instead, new GEOM >>> RAID class was implemented. Unluckily, as soon as ITE produced only PAT= A >>> controllers, there is no support for their metadata format in geom_raid >>> module now. So, at the moment, the only option to access that RAID >>> volume is to build custom kernel with old ATA and use ataraid. >>> Respective kernel options listed in /usr/src/UPDATING item from 2011042= 4. >> >> >> Hmm, I may just as well dump the UFS and restore it to a totally geom >> based solution. =A0If anything it will likely help rather than hurt my >> performance. > > > Sure. You can't boot from GEOM STRIPE (you may want MIRROR or CONCAT), bu= t > if your motherboard has at least one SATA port, single modern hard drive = may > give you even higher speeds then stripe of old PATA drives on PCI > controller. > > > -- > Alexander Motin > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" Have you tried loading the geom_raid kernel module ? I think that if you successfully load this module and modify fstab to use use /dev/raid/r0 instead of /dev/ar0 , you will be able to boot. Regards --=20 George Kontostanos Aicom telecoms ltd http://www.barebsd.com