Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Sep 2007 11:48:18 +0300 (EEST)
From:      Niki Denev <niki@totalterror.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   bin/116302: atacontrol(8) reports wrong stripe for intel raid0	
Message-ID:  <200709120848.l8C8mI8c001370@totalterror.net>
Resent-Message-ID: <200709120930.l8C9U2PH089484@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         116302
>Category:       bin
>Synopsis:       atacontrol(8) reports wrong stripe for intel raid0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 12 09:30:02 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Niki Denev
>Release:        FreeBSD 7.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD ndenev.totalterror.net 7.0-CURRENT FreeBSD 7.0-CURRENT #18: Sat Sep 8 13:13:35 EEST 2007 ndenev@ndenev.totalterror.net:/usr/obj/usr/src/sys/TERROR i386



>Description:
	atacontrol(8) reports wrong stripe size of Intel ICH8R created
RAID0 arrays.

>How-To-Repeat:
	Create RAID0 array on Intel ICH8R mobo (Asus p5b deluxe) with stripe size 128K either with atacontrol or bios utility.
FreeBSD ata-raid driver then sees the array ar0 correctly, but atacontrol(8) status shows double stripe size.

ndenev# dmesg | grep ^ar0
ar0: 305251MB <Intel MatrixRAID RAID0 (stripe 128 KB)> status: READY
ar0: disk0 READY using ad4 at ata2-master
ar0: disk1 READY using ad6 at ata3-master
ndenev# atacontrol status ar0
ar0: ATA RAID0 stripesize=256 status: READY
 subdisks:
   0 ad4  ONLINE
   1 ad6  ONLINE

	
>Fix:

	Unknown. It's possible that the problem is not in atacontrol(8)
because it doesn't do anything fancy with the data returned from the ioctl call to query the array status.


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200709120848.l8C8mI8c001370>