Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 08 Apr 2009 11:32:41 +0300
From:      Alexander Motin <mav@FreeBSD.org>
To:        Diego Depaoli <trebestie@gmail.com>
Cc:        Kurt Jaeger <lists@c0mplx.org>, freebsd-current <freebsd-current@freebsd.org>
Subject:   Re: AMD 780G chipset major issues 1/3 (ata, ataati)
Message-ID:  <49DC6129.4070107@FreeBSD.org>
In-Reply-To: <83e5fb980904071402k600cbc09hcde8994cb5465f52@mail.gmail.com>
References:  <1239063789.00097213.1239052203@10.7.7.3>	 <49DBAEB5.7010500@FreeBSD.org> <20090407200257.GB19850@home.opsec.eu>	 <49DBB3C0.9010800@FreeBSD.org> <83e5fb980904071402k600cbc09hcde8994cb5465f52@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Diego Depaoli wrote:
> On Tue, Apr 7, 2009 at 10:12 PM, Alexander Motin <mav@freebsd.org> wrote:
>> Kurt Jaeger wrote:
>>>>> 2 -> with ataati loaded as module
>>> [...]
>>>>> ad4: 305245MB <SAMSUNG HD321KJ CP100-11> at ata2-master SATA300
>>>>> ad6: 305245MB <SAMSUNG HD321KJ CP100-12> at ata3-master SATA300
>>>>>
>>>>> my sata disks are right, but ata1 and acd0 vanished
>>>> Is your DVD drive SATA or PATA?
> It's PATA

According to what I have found on the net, this chipset has 6 SATA and
one PATA ports. When you are disabling ataati driver ATA controllers
work in legacy ATA emulation mode, which emulates 8 possible devices
access via 4 legacy PATA channels.

ataati driver loading switches first controller into native AHCI mode,
which for some reason gives you only four ports, not six, may be last
two are still under the legacy emulation. And disables second port on
PATA controller, which actually should not be there, but looks like
present, according to common driver operation.

I would say that there is some misconfiguration between BIOS ATA
emulation settings and ataati driver expectations. Is there any switches
like Native/AHCI/RAID/Legacy in your BIOS settings? Have you tried to
play with them?

You can try to comment out 'ctlr->channels = 1;' line in your ata-ati.c
file to allow second channel of the second controller to be attached.

-- 
Alexander Motin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49DC6129.4070107>