Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Dec 1999 22:16:29 +0100
From:      "D. Rock" <rock@dead-end.net>
To:        current@freebsd.org
Subject:   ATA problem
Message-ID:  <3858052D.A1298D60@dead-end.net>

next in thread | raw e-mail | index | archive | help
Hi,

The ata driver tries to enable UDMA for my controller, but fails
(this is no disk problem. The disks can do UDMA, as tested in
another machine). Perhaps UDMA should be disabled for all
VIA 82C586 chips:

dmesg output:
[...]
found-> vendor=0x1106, dev=0x0571, revid=0x02
        class=01-01-8a, hdrtype=0x00, mfdev=0
        subordinatebus=0        secondarybus=0
        map[20]: type 1, range 32, base 00006000, size  4
        map[24]: type 1, range 32, base e1100000, size 13
[...]
ata-pci0: <VIA 82C586 ATA controller> at device 7.1 on pci0
ata-pci0: Busmastering DMA supported
ata0: iobase=0x01f0 altiobase=0x03f6
ata0: mask=03 status0=50 status1=50
ata0: mask=03 status0=50 status1=50
ata0: devices = 0x3
ata0 at 0x01f0 irq 14 on ata-pci0
ata1: iobase=0x0170 altiobase=0x0376
ata1: mask=03 status0=50 status1=00
ata1: mask=03 status0=50 status1=00
ata1: devices = 0x1
ata1 at 0x0170 irq 15 on ata-pci0
[...]
ata0: master: success setting up WDMA2 mode on VIA chip
ad0: piomode=4 dmamode=2 udmamode=2 cblid=0
ad0: <ST34321A/3.29> ATA-4 disk at ata0 as master
ad0: 4103MB (8404830 sectors), 8894 cyls, 15 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 VIA chip
ad1: piomode=4 dmamode=2 udmamode=-1 cblid=0
ad1: <Seagate Technology 1275MB - ST31276A/1.37> ATA-2 disk at ata0 as
slave
ad1: 1221MB (2501856 sectors), 2482 cyls, 16 heads, 63 S/T, 512 B/S
ad1: 16 secs/int, 1 depth queue, DMA
Creating DISK ad1
Creating DISK wd1
ata1: master: success setting up WDMA2 mode on VIA chip
ad2: piomode=4 dmamode=2 udmamode=2 cblid=0
ad2: <IBM-DTTA-351010/T56OA73A> ATA-4 disk at ata1 as master
ad2: 9671MB (19807200 sectors), 19650 cyls, 16 heads, 63 S/T, 512 B/S
ad2: 16 secs/int, 32 depth queue, DMA

This already with a small patch with only uses WDMA modes, otherwise I
will
get "lost disk contact" messages.


Daniel


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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