kern/111699: [sata] SATA drives on an Asus A8V-MX are no longer detected on 7.0-CURRENT (regression)

Andrey V. Elsukov bu7cher at yandex.ru
Sun Sep 9 22:47:42 PDT 2007


Dave Grochowski wrote:
>  The attached patch fixes the problem for me. The value for VIAAHCI 
>  should probably be 0x0C00 instead of 0x0800, but I do not know if this 
>  will have any ramifications for future AHCI capable VIA chipsets.

Hm.. VIAAHCI & VIABAR == 0.
This changes disable AHCI.

>  --- /usr/src/sys/dev/ata/ata-chipset.c.orig	2007-09-09 21:01:35.000000000 -0400
>  +++ /usr/src/sys/dev/ata/ata-chipset.c	2007-09-09 21:02:12.000000000 -0400
>  @@ -5098,7 +5098,7 @@
>        { ATA_VIA6420,   0x00, 7,      0x00,    ATA_SA150, "6420" },
>        { ATA_VIA6421,   0x00, 6,      VIABAR,  ATA_SA150, "6421" },
>        { ATA_VIA8237A,  0x00, 7,      0x00,    ATA_SA150, "8237A" },
>  -     { ATA_VIA8251,   0x00, 0,      VIAAHCI, ATA_SA300, "8251" },
>  +     { ATA_VIA8251,   0x00, 0,      VIAAHCI & VIABAR, ATA_SA300, "8251" },
>        { 0, 0, 0, 0, 0, 0 }};
>       char buffer[64];

Can you show verbose dmesg from RELENG_6 (without this patch)?

-- 
WBR, Andrey V. Elsukov



More information about the freebsd-bugs mailing list