From owner-freebsd-hackers Thu Dec 16 22:40:46 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from virtual-voodoo.com (virtual-voodoo.com [204.120.165.254]) by hub.freebsd.org (Postfix) with ESMTP id 3752F14DB9 for ; Thu, 16 Dec 1999 22:40:44 -0800 (PST) (envelope-from steve@virtual-voodoo.com) Received: (from steve@localhost) by virtual-voodoo.com (8.9.3/8.9.3) id BAA00321; Fri, 17 Dec 1999 01:40:37 -0500 (EST) (envelope-from steve) Date: Fri, 17 Dec 1999 01:40:37 -0500 (EST) From: Steve Ames Message-Id: <199912170640.BAA00321@virtual-voodoo.com> To: sos@freebsd.dk, steve@virtual-voodoo.com Subject: Re: ATA w/ today's -CURRENT Cc: freebsd-hackers@FreeBSD.ORG In-Reply-To: <199912140736.IAA68617@freebsd.dk> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Drives that report their capabilities right :) > > ad0: ATA-0 disk at ata0 as master > > ad0: 1554MB (3183264 sectors), 3158 cyls, 16 heads, 63 S/T, 512 B/S > > ad0: 16 secs/int, 1 depth queue, PIO > > ad1: ATA-0 disk at ata0 as slave > > ad1: 4134MB (8467200 sectors), 8960 cyls, 15 heads, 63 S/T, 512 B/S > > ad1: 16 secs/int, 1 depth queue, PIO > > Both reports "dont care" fields in the ata conformance field > thereby being set as ATA-0 disks. Since I've put in test > to only enable WDMA2 on at least ATA-2 disks and only enable > UDMA2 on at least ATA-3 disks, well your disks are not even > tried. You can change that in ata-disk.c by commenting out the > test for this, they look like: "ad_version(ap->versmajor) >= 2". That certainly fixed things (-CURRENT from about 1:30AM EST 12/17 with this check removed from the udma and wdma sections in ata-disk.c): ata0: master: success setting up WDMA2 mode on SiS chip ad0: piomode=4 dmamode=2 udmamode=-1 cblid=0 ad0: ATA-0 disk at ata0 as master ad0: 1554MB (3183264 sectors), 3158 cyls, 16 heads, 63 S/T, 512 B/S ad0: 16 secs/int, 1 depth queue, DMA Creating DISK ad0 Creating DISK wd0 ata0: slave: success setting up WDMA2 mode on SiS chip ad1: piomode=4 dmamode=2 udmamode=-1 cblid=0 ad1: ATA-0 disk at ata0 as slave ad1: 4134MB (8467200 sectors), 8960 cyls, 15 heads, 63 S/T, 512 B/S ad1: 16 secs/int, 1 depth queue, DMA Creating DISK ad1 Creating DISK wd1 ata1-master: piomode=3 dmamode=1 udmamode=-1 dmaflag=1 acd0: CDROM drive at ata1 as master acd0: read 1033KB/s (1033KB/s), 256KB buffer, PIO acd0: Reads: acd0: Audio: play, 255 volume levels acd0: Mechanism: ejectable tray acd0: Medium: CD-ROM 120mm data disc loaded, unlocked ata_command: timeout waiting for interrupt ^^^^^^^^^^^ Still getting this timeout though... -Steve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message