Date: Mon, 10 Sep 2007 08:08:01 -0400 From: Dave Grochowski <malus.x@gmail.com> To: "Andrey V. Elsukov" <bu7cher@yandex.ru> Cc: freebsd-bugs@FreeBSD.org Subject: Re: kern/111699: [sata] SATA drives on an Asus A8V-MX are no longer detected on 7.0-CURRENT (regression) Message-ID: <46E533A1.9020200@gmail.com> In-Reply-To: <46E4D768.7080303@yandex.ru> References: <200709100410.l8A4AAWt090232@freefall.freebsd.org> <46E4D768.7080303@yandex.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
Hey,
Andrey V. Elsukov wrote:
> 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)?
>
Whoops, that would be correct. I meant to use |, but I apparently did
not. However, it does work now, even with the &. I'll see if I can get a
verbose dmesg when I get back from work tonight.
Sincerely,
Dave Grochowski
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46E533A1.9020200>
