kern/147086: AHCI not being enabled on PC

ryan at ryanholt.net ryan at ryanholt.net
Thu May 27 14:00:17 UTC 2010


The following reply was made to PR kern/147086; it has been noted by GNATS.

From: "ryan at ryanholt.net" <ryan at ryanholt.net>
To: Alexander Motin <mav at FreeBSD.org>
Cc: bug-followup at freebsd.org, Garrett Cooper <yanefbsd at gmail.com>
Subject: Re: kern/147086: AHCI not being enabled on PC
Date: Thu, 27 May 2010 09:55:56 -0400 (EDT)

 ------=_Part_64910_1088933982.1274968556941
 MIME-Version: 1.0
 Content-Type: text/plain; charset=UTF-8
 Content-Transfer-Encoding: quoted-printable
 
 OK I got mvs compiled and the drives are using it now. Tested hot swap; rem=
 oved
 and replaced drives while writing data to the ZFS pool sitting atop. One is=
 sue I
 noticed is that the glabels don't seem to be read once I insert the disk ba=
 ck
 into the server. Seems like I need to re-label the drive and then replace i=
 t
 back into the zpool using zpool replace. Would this be an issue with ZFS an=
 d not
 the mvs driver?
 =C2=A0
 Additionally, this might be a cabling issue or an issue with my drive cage,=
  but
 when I place a disk in slot 0 (port 0 on AOC-SAT2-MV8) I get mvsch0 timeout
 errors and the whole box locks up requiring a hard reboot. Placing the driv=
 e in
 slot 4 and utilizing slots 2-5 instead of 1-4 allows the server to boot up =
 fine
 / run fine.
 =C2=A0
 Also, the drive pool seems a bit slow. Using the command...
 =C2=A0
 dd if=3D/dev/urandom (and /dev/zero) of=3D/tank/test.file bs=3D1024 count=
 =3D102400=C2=A0
 =C2=A0
 Seems to indicate that I get somwhere between 15MB/sec (urandom) and 30 mb/=
 sec
 (zero). This card is on a PCI bus and therefore will be somewhat restricted=
 , but
 should it be reasonable to expect better performance than this out of a 4 d=
 isk
 Hitachi 1TB 7200 RPM 32mb cache raidz1 pool? Are there any other recommende=
 d
 tests to benchmark performance?
 =C2=A0
 Thanks again for all your help!
 Ryan
 =C2=A0
 
 On May 26, 2010 at 7:20 PM Alexander Motin <mav at FreeBSD.org> wrote:
 
 > ryan at ryanholt.net wrote:
 > > OK Great. Should I re-compile my kernel with mvs as a device option?
 >
 > As you wish. Module should also be fine.
 >
 > --
 > Alexander Motin
 ------=_Part_64910_1088933982.1274968556941
 MIME-Version: 1.0
 Content-Type: text/html; charset=UTF-8
 Content-Transfer-Encoding: 7bit
 
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
     <meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
     <title></title>
   </head>
 
   <body>
     <p style="margin: 0px;">OK I got mvs compiled and the drives are using it now. Tested hot swap; removed and replaced drives while writing data to the ZFS pool sitting atop. One issue I noticed is that the glabels don&#39;t seem to be read once I insert the disk back into the server. Seems like I need to re-label the drive and then replace it back into the zpool using zpool replace. Would this be an issue with ZFS and not the mvs driver?<span></span></p>
 
     <p style="margin: 0px;">&#160;</p>
 
     <p style="margin: 0px;">Additionally, this might be a cabling issue or an issue with my drive cage, but when I place a disk in slot 0 (port 0 on AOC-SAT2-MV8) I get mvsch0 timeout errors and the whole box locks up requiring a hard reboot. Placing the drive in slot 4 and utilizing slots 2-5 instead of 1-4 allows the server to boot up fine / run fine.</p>
 
     <p style="margin: 0px;">&#160;</p>
 
     <p style="margin: 0px;">Also, the drive pool seems a bit slow. Using the command...</p>
 
     <p style="margin: 0px;">&#160;</p>
 
     <p style="margin: 0px;">dd if=/dev/urandom (and /dev/zero) of=/tank/test.file bs=1024 count=102400&#160;</p>
 
     <p style="margin: 0px;">&#160;</p>
 
     <p style="margin: 0px;">Seems to indicate that I get somwhere between 15MB/sec (urandom) and 30 mb/sec (zero). This card is on a PCI bus and therefore will be somewhat restricted, but should it be reasonable to expect better performance than this out of a 4 disk Hitachi 1TB 7200 RPM 32mb cache raidz1 pool? Are there any other recommended tests to benchmark performance?</p>
 
     <p style="margin: 0px;">&#160;</p>
 
     <p style="margin: 0px;">Thanks again for all your help!</p>
 
     <p style="margin: 0px;">Ryan</p>
 
     <p>&#160;</p>
 
     <div style="margin: 5px 0px 5px 0px; font-family: monospace;">
       On May 26, 2010 at 7:20 PM Alexander Motin &lt;mav at FreeBSD.org&gt; wrote:<br />
       <br />
       &gt; ryan at ryanholt.net wrote:<br />
       &gt; &gt; OK Great. Should I re-compile my kernel with mvs as a device option?<br />
       &gt;<br />
       &gt; As you wish. Module should also be fine.<br />
       &gt;<br />
       &gt; --<br />
       &gt; Alexander Motin<br />
     </div>
   </body>
 </html>
 
 ------=_Part_64910_1088933982.1274968556941--


More information about the freebsd-bugs mailing list