kern/134887: ataraid source consistency problem

Tatsuya Hagino hagino at sfc.keio.ac.jp
Sun May 24 03:00:15 UTC 2009


>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:
>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 at 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:


More information about the freebsd-bugs mailing list