From owner-freebsd-current@FreeBSD.ORG Thu Apr 9 15:36:04 2009 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from [127.0.0.1] (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by hub.freebsd.org (Postfix) with ESMTP id 48AA61065672; Thu, 9 Apr 2009 15:36:03 +0000 (UTC) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: freebsd-current@FreeBSD.org Date: Thu, 9 Apr 2009 11:35:50 -0400 User-Agent: KMail/1.6.2 References: <1239063789.00097213.1239052203@10.7.7.3> <83e5fb980904071402k600cbc09hcde8994cb5465f52@mail.gmail.com> <49DC6129.4070107@FreeBSD.org> In-Reply-To: <49DC6129.4070107@FreeBSD.org> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200904091135.56144.jkim@FreeBSD.org> Cc: Kurt Jaeger , Alexander Motin , Diego Depaoli Subject: Re: AMD 780G chipset major issues 1/3 (ata, ataati) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Apr 2009 15:36:05 -0000 On Wednesday 08 April 2009 04:32 am, Alexander Motin wrote: > Diego Depaoli wrote: > > On Tue, Apr 7, 2009 at 10:12 PM, Alexander Motin wrote: > >> Kurt Jaeger wrote: > >>>>> 2 -> with ataati loaded as module > >>> > >>> [...] > >>> > >>>>> ad4: 305245MB at ata2-master > >>>>> SATA300 ad6: 305245MB 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? We have to fix many things but you can take a look at the following Linux patches: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/195354 Jung-uk Kim