Date: Wed, 04 Dec 2002 15:23:03 -0800 From: Peter Wemm <peter@wemm.org> To: Soeren Schmidt <sos@spider.deepcore.dk> Cc: Marcel Moolenaar <marcel@xcllnt.net>, =?ISO-8859-1?Q?S=F8ren_Schmidt?= <sos@FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: Serializing ATA channels [was: Re: cvs commit: src/share/man/man4 ata.4] Message-ID: <20021204232303.EC9BA2A7EA@canning.wemm.org> In-Reply-To: <200212040814.gB48EoUY044077@spider.deepcore.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
Soeren Schmidt wrote: > 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: <CMD 649 ATA100 controller> port 0xd40-0xd4f,0xd60-0xd63,0xd50-0xd 57,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 <DV-28E-B> 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... Oh, I thought this was a bug that automatically happened on everything that had ata1-master but not ata1-slave.. 5.x: atapci0: <AMD 766 ATA100 controller> port 0xf000-0xf00f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 ... ata1-slave: timeout waiting for interrupt ata1-slave: ATAPI identify failed acd0: DVD-ROM <TOSHIBA DVD-ROM SD-M1402> at ata1-master PIO4 5.x: atapci0: <Intel PIIX4 ATA33 controller> port 0xfc90-0xfc9f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 ... ata1-slave: ATAPI identify retries exceeded ad0: 28615MB <IBM-DJSA-230> [58140/16/63] at ata0-master UDMA33 acd0: DVD-ROM <TOSHIBA DVD-ROM SD-C2402> at ata1-master PIO4 4.7: atapci0: <ServerWorks ROSB4 ATA33 controller> port 0x2800-0x280f at device 15.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 ... ata1-slave: ATAPI identify retries exceeded acd0: CDROM <CD-224E> at ata1-master PIO4 > -Søren > Cheers, -Peter -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021204232303.EC9BA2A7EA>