kern/134887: ataraid source consistency problem
hagino at sfc.keio.ac.jp
Sun May 24 03:00:15 UTC 2009
>Synopsis: ataraid source consistency problem
>Arrival-Date: Sun May 24 03:00:09 UTC 2009
>Originator: Tatsuya Hagino
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