From owner-freebsd-current@FreeBSD.ORG Wed Apr 8 08:32:48 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 260D71065674 for ; Wed, 8 Apr 2009 08:32:48 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from cmail.optima.ua (cmail.optima.ua [195.248.191.121]) by mx1.freebsd.org (Postfix) with ESMTP id 9660D8FC1C for ; Wed, 8 Apr 2009 08:32:47 +0000 (UTC) (envelope-from mav@FreeBSD.org) X-Spam-Flag: SKIP X-Spam-Yversion: Spamooborona-2.1.0 Received: from orphanage.alkar.net (account mav@alkar.net [212.86.226.11] verified) by cmail.optima.ua (CommuniGate Pro SMTP 5.2.9) with ESMTPA id 239662686; Wed, 08 Apr 2009 11:32:42 +0300 Message-ID: <49DC6129.4070107@FreeBSD.org> Date: Wed, 08 Apr 2009 11:32:41 +0300 From: Alexander Motin User-Agent: Thunderbird 2.0.0.14 (X11/20080612) MIME-Version: 1.0 To: Diego Depaoli 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> In-Reply-To: <83e5fb980904071402k600cbc09hcde8994cb5465f52@mail.gmail.com> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Kurt Jaeger , freebsd-current 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: Wed, 08 Apr 2009 08:32:48 -0000 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? 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