From nobody@FreeBSD.org  Sun May 24 02:58:24 2009
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id A7DEE1065677
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 24 May 2009 02:58:24 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 961408FC15
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 24 May 2009 02:58:24 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n4O2wOSE037750
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 24 May 2009 02:58:24 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id n4O2wN5M037749;
	Sun, 24 May 2009 02:58:24 GMT
	(envelope-from nobody)
Message-Id: <200905240258.n4O2wN5M037749@www.freebsd.org>
Date: Sun, 24 May 2009 02:58:24 GMT
From: Tatsuya Hagino <hagino@sfc.keio.ac.jp>
To: freebsd-gnats-submit@FreeBSD.org
Subject: ataraid source consistency problem
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         134887
>Category:       kern
>Synopsis:       [ataraid] source consistency problem
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 24 03:00:09 UTC 2009
>Closed-Date:    
>Last-Modified:  Sun May 24 19:27:05 UTC 2009
>Originator:     Tatsuya Hagino
>Release:        7.2-STABLE
>Organization:
Keio University
>Environment:
FreeBSD ninna 7.2-STABLE FreeBSD 7.2-STABLE #1: Sun May 24 10:49:24 JST 2009     hagino@ninna:/usr/src/sys/amd64/compile/AMD64  amd64
>Description:
In sys/dev/ata/ata-raid.c, ATA_ATI_ID is used in ata_raid_create as if it is the same as ATA_VIA_ID, but in ata_raid_read_metadata it is used with ATA_SILICON_IMAGE_ID.  Therefore, if you create raid using atacontrol command, it creates VIA metadata, but the system cannot use it when it is rebooted.
>How-To-Repeat:
Create raid using atacontrol command, but it does not recognize it.
>Fix:
I have changed ata_raid_read_meta so that ATA_ATI_ID is the same as ATA_VIA_ID, and it works.


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