From owner-freebsd-stable@FreeBSD.ORG Wed Sep 30 23:37:15 2009 Return-Path: Delivered-To: freebsd-stable@FreeBSD.org Received: from [127.0.0.1] (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by hub.freebsd.org (Postfix) with ESMTP id DE2A11065670; Wed, 30 Sep 2009 23:37:14 +0000 (UTC) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: freebsd-stable@FreeBSD.org Date: Wed, 30 Sep 2009 19:37:02 -0400 User-Agent: KMail/1.6.2 References: <20090916161327.GB87631@zod.isi.edu> <200909291836.53873.jkim@FreeBSD.org> <4AC30685.2020006@FreeBSD.org> In-Reply-To: <4AC30685.2020006@FreeBSD.org> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200909301937.07279.jkim@FreeBSD.org> Cc: Alexander Motin , "Andrey V. Elsukov" , Dennis Chikin Subject: Re: PATA disks/DVD not detected on ATI IXP 700 - cannot boot (dmesg attached) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Sep 2009 23:37:15 -0000 On Wednesday 30 September 2009 03:19 am, Alexander Motin wrote: > Jung-uk Kim wrote: > > On Monday 28 September 2009 02:21 pm, Alexander Motin wrote: > >> PS: I have tried to disable all that ATI-specific code and found > >> that both legacy PCI ATA and AHCI drivers looks like working > >> fine with IXP700. Do we really need AHCI forcing for IXP700? > > > > It enables all six SATA ports as SATA and one PATA channel as > > PATA in the combined mode by forcing the mode. It is not > > absolutely necessary but it is better than without it, IMHO. :-) > > As I have told, with or without this patch I am any way receiving 4 > AHCI channels + 2 PATA + 2 legacy SATA if IDE mode set in BIOS. If > I enable AHCI mode in BIOS I am receiving 6 AHCI + 2 PATA channels. > Looks like Dennis has the same. So 1) I don't see any effect of > this hack on my system, at least with HEAD (is it working?), and 2) > if we are doing all this magic and force AHCI mode for second > controller, IMHO it would be reasonable to enable real AHCI mode to > get all 6 SATA channels there. What's puzzling me whole day is that the hack worked for me at the time (I swear!) but now it doesn't. :-( Originally I thought forcing AHCI mode clears combined mode but it doesn't work any more. I even tried clearing combined mode at SMB controller but it didn't work, either. It is possible that newer ACPICA with "executable at module level" feature did something because its (broken) DSDT reconfigures SATA controller at module level if it is in "native" or "legacy" IDE mode. I'll try something again tomorrow and let you know. Jung-uk Kim