Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Dec 1999 01:40:37 -0500 (EST)
From:      Steve Ames <steve@virtual-voodoo.com>
To:        sos@freebsd.dk, steve@virtual-voodoo.com
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: ATA w/ today's -CURRENT
Message-ID:  <199912170640.BAA00321@virtual-voodoo.com>
In-Reply-To: <199912140736.IAA68617@freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
> Drives that report their capabilities right :)
> > ad0: <Maxtor 71626 AP/QA3C1D20> 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: <QUANTUM BIGFOOT_CY4320A/A03.0500> 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: <Maxtor 71626 AP/QA3C1D20> 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: <QUANTUM BIGFOOT_CY4320A/A03.0500> 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: <FX600S/P01> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199912170640.BAA00321>