kern/134887: ataraid source consistency problem

Tatsuya Hagino hagino at
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
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 24 03:00:09 UTC 2009
>Originator:     Tatsuya Hagino
>Release:        7.2-STABLE
Keio University
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
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.
Create raid using atacontrol command, but it does not recognize it.
I have changed ata_raid_read_meta so that ATA_ATI_ID is the same as ATA_VIA_ID, and it works.


More information about the freebsd-bugs mailing list