Date: Wed, 30 Nov 2011 18:16:10 +0200 From: George Kontostanos <gkontos.mail@gmail.com> To: Alexander Motin <mav@freebsd.org> Cc: Adam Stylinski <stylinae@mail.uc.edu>, freebsd-stable@freebsd.org Subject: Re: ataraid and 9.0 RC-2 Message-ID: <CA%2BdUSyrG-5Y16C6f70g8gk=V6fx7Z2UxFxObYwVjRkwAu32t9w@mail.gmail.com> In-Reply-To: <4ED58373.7090406@FreeBSD.org> References: <mailpost.1322351860.4942926.47621.mailing.freebsd.stable@FreeBSD.cs.nctu.edu.tw> <4ED526B7.8050403@FreeBSD.org> <20111130010320.GA56129@freebsdbox.adamsnet> <4ED58373.7090406@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Nov 30, 2011 at 3:14 AM, Alexander Motin <mav@freebsd.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BdUSyrG-5Y16C6f70g8gk=V6fx7Z2UxFxObYwVjRkwAu32t9w>