From owner-cvs-all Wed Dec 4 0:15: 0 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 486DF37B401; Wed, 4 Dec 2002 00:14:59 -0800 (PST) Received: from spider.deepcore.dk (cpe.atm2-0-56339.0x50c6aa0a.abnxx2.customer.tele.dk [80.198.170.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id EEA1543EC5; Wed, 4 Dec 2002 00:14:52 -0800 (PST) (envelope-from sos@spider.deepcore.dk) Received: (from sos@localhost) by spider.deepcore.dk (8.12.5/8.12.6) id gB48EoUY044077; Wed, 4 Dec 2002 09:14:50 +0100 (CET) (envelope-from sos) From: Soeren Schmidt Message-Id: <200212040814.gB48EoUY044077@spider.deepcore.dk> Subject: Re: Serializing ATA channels [was: Re: cvs commit: src/share/man/man4 ata.4] In-Reply-To: <20021204011307.GA915@athlon.pn.xcllnt.net> To: Marcel Moolenaar Date: Wed, 4 Dec 2002 09:14:50 +0100 (CET) Cc: =?ISO-8859-1?Q?S=F8ren_Schmidt?= , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org X-Mailer: ELM [version 2.4ME+ PL98b (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=ISO-8859-1 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG It seems Marcel Moolenaar wrote: > On Tue, Dec 03, 2002 at 12:18:01PM -0800, Søren Schmidt wrote: > > sos 2002/12/03 12:18:01 PST > > > > Modified files: > > share/man/man4 ata.4 > > Log: > > Add support for the PC98 platform to the ATA driver. > > This mostly consists of functionality to serialize accesses to > > the two ATA channels (which can also be used to "fix" certain > > PCI based controllers). > > I have an ATA controller that Linux marks as having a bug and > serializes both channels as a way to work around the bug. Given > the added functionality, am I right in assuming that we can > do the same in a pretty straightforward way? > > Some details (for fun): > > FreeBSD 5.0-CURRENT #147: Fri Nov 29 21:44:17 PST 2002 > marcel@mckinley.pn.xcllnt.net:/nfs/p4/ia64/sys/ia64/compile/HP_RX2600 > : > atapci0: port 0xd40-0xd4f,0xd60-0xd63,0xd50-0xd57,0xd64-0xd67,0xd58-0xd5f irq 21 at device 2.0 on pci0 > ata2: at 0xd58 on atapci0 > ata3: at 0xd50 on atapci0 > : > ata2-slave: timeout waiting for interrupt > ata2-slave: ATAPI identify failed > : > acd0: DVD-ROM at ata2-master PIO4 Hmm, the CMD649 should not need to have accesses serialized according to my docs/notes, the problem you are seeing here is the dreaded fake slave device, of which I havn't catched all cases yet... -Søren To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message