Error in 6.2-RELEASE`s ata driver

Михаил Кипа msnkipa at mail.ru
Sun Oct 28 06:57:10 PDT 2007


So I have southbridge VT8237A and two(!) HDDs attached to SATA chanels of this 
controller. I Prefer to have RAID on it.
When I install FreeBSD 6.2-RELEASE (from floppies) it`s detected only one HDD and 
write that my RAID storage DEGRADED... I think that it is a bug in the kernel.
I`m right. There is a bug in the "ata" driver!

We have:
/usr/src/sys/dev/ata/ata-chepset.c, line 4771:
{ ATA_VIA8237A,  0x00, 0,      0x00,    ATA_SA150, "8237A" },

But ot must be:
{ ATA_VIA8237A,  0x00, 7,      0x00,    ATA_SA150, "8237A" },

after this improvement and recompilation the kernel anything work fine!
Misha.


More information about the freebsd-stable mailing list