Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Mar 2002 21:38:25 +0100 (CET)
From:      Tomas Pluskal <plusik@pohoda.cz>
To:        freebsd-questions@FreeBSD.ORG, <freebsd-bugs@FreeBSD.ORG>
Subject:   slow ATAPI ZIP ?
Message-ID:  <20020318213656.Y410-200000@s096-n062.tele2.cz>

next in thread | raw e-mail | index | archive | help
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.
  Send mail to mime@docserver.cac.washington.edu for more info.

--0-2076576370-1016483905=:410
Content-Type: TEXT/PLAIN; charset=US-ASCII

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Hello,

I've 2 IDE controllers in my computer (1 on the mainboard and 1 added PCI
card). Both are ATA-100. FreeBSD finds them OK and all connected devices
work. On the second controller I have 1 HDD (1st IDE channel) and ATAPI
ZIP drive (2nd IDE channel) and none of them works with DMA. Even when I
set dma with sysctl, it falls back to PIO mode. I am not sure about the
ZIP drive, but I am sure the HDD supports UDMA (it's WD Caviar 15GB). The
HDD is quite fast even when in PIO mode (about 3 MB/s), but the ZIP drive
is extremely slow (about 50KB/s), which is annoying. In M$ Windows it
works normally (at least 10x faster). Maybe the kernel sets bad PIO mode
for the ZIP drive, but I don't know how to change it ?

This is dmesg report about ata devices (full dmesg included as
attachment):

atapci0: <CMD 649 ATA100 controller> port
0xb000-0xb00f,0xac00-0xac03,0xa800-0xa807,0xa400-0xa403,0xa000-0xa007 irq
11 at device 8.0 on pci0
ata2: at 0xa000 on atapci0
ata3: at 0xa800 on atapci0
atapci1: <VIA Apollo ATA controller> port 0xbc00-0xbc0f at device 17.1 on
pci0
ata0: at 0x1f0 irq 14 on atapci1
ata1: at 0x170 irq 15 on atapci1
ad0: 38166MB <ST340016A> [77545/16/63] at ata0-master WDMA2
ad6: 14669MB <WDC WD153BA> [29805/16/63] at ata3-master UDMA66
acd0: CD-RW <SONY CD-RW CRX175A> at ata1-master using PIO4
acd1: CDROM <BCD-40XH CD-ROM> at ata1-slave using PIO4
afd0: 96MB <IOMEGA ZIP 100 ATAPI> [32/64/96] at ata2-master using PIO0

Is there a possibility to make the ZIP drive faster ?

Thx

Tomas Pluskal

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE8llBBqlO9Q2aZisoRAq+ZAKCEu/dkMBbvkxfe5Il+D3VmUwJBAQCfZo2F
4VcX22K82VqzmjzbE3tHuWI=
=JIiu
-----END PGP SIGNATURE-----

--0-2076576370-1016483905=:410
Content-Type: TEXT/PLAIN; charset=US-ASCII; name=dmesg
Content-Transfer-Encoding: BASE64
Content-ID: <20020318213825.D410@s096-n062.tele2.cz>
Content-Description: 
Content-Disposition: attachment; filename=dmesg

Q29weXJpZ2h0IChjKSAxOTkyLTIwMDIgVGhlIEZyZWVCU0QgUHJvamVjdC4N
CkNvcHlyaWdodCAoYykgMTk3OSwgMTk4MCwgMTk4MywgMTk4NiwgMTk4OCwg
MTk4OSwgMTk5MSwgMTk5MiwgMTk5MywgMTk5NA0KCVRoZSBSZWdlbnRzIG9m
IHRoZSBVbml2ZXJzaXR5IG9mIENhbGlmb3JuaWEuIEFsbCByaWdodHMgcmVz
ZXJ2ZWQuDQpGcmVlQlNEIDQuNS1SRUxFQVNFICMxOTogTW9uIE1hciAxMSAw
OTo0NToxMyBDRVQgMjAwMg0KICAgIHJvb3RAczA5Ni1uMDYyLnRlbGUyLmN6
Oi91c3Ivc3JjL3N5cy9jb21waWxlL1BMVVNJSw0KVGltZWNvdW50ZXIgImk4
MjU0IiAgZnJlcXVlbmN5IDExOTMxODIgSHoNCkNQVTogQU1EIEF0aGxvbih0
bSkgWFAgMTYwMCsgKDE0MTAuMzUtTUh6IDY4Ni1jbGFzcyBDUFUpDQogIE9y
aWdpbiA9ICJBdXRoZW50aWNBTUQiICBJZCA9IDB4NjYyICBTdGVwcGluZyA9
IDINCiAgRmVhdHVyZXM9MHgzODNmOWZmPEZQVS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QQ0KcHBjMDogPFBhcmFsbGVsIHBvcnQ+IGF0IHBvcnQgMHgzNzgtMHgzN2Yg
aXJxIDcgb24gaXNhMA0KcHBjMDogR2VuZXJpYyBjaGlwc2V0IChOSUJCTEUt
b25seSkgaW4gQ09NUEFUSUJMRSBtb2RlDQpwbGlwMDogPFBMSVAgbmV0d29y
ayBpbnRlcmZhY2U+IG9uIHBwYnVzMA0KbHB0MDogPFByaW50ZXI+IG9uIHBw
YnVzMA0KbHB0MDogSW50ZXJydXB0LWRyaXZlbiBwb3J0DQpwcGkwOiA8UGFy
YWxsZWwgSS9PPiBvbiBwcGJ1czANCklQIHBhY2tldCBmaWx0ZXJpbmcgaW5p
dGlhbGl6ZWQsIGRpdmVydCBkaXNhYmxlZCwgcnVsZS1iYXNlZCBmb3J3YXJk
aW5nIGRpc2FibGVkLCBkZWZhdWx0IHRvIGRlbnksIGxvZ2dpbmcgZGlzYWJs
ZWQNCmFkMDogMzgxNjZNQiA8U1QzNDAwMTZBPiBbNzc1NDUvMTYvNjNdIGF0
IGF0YTAtbWFzdGVyIFdETUEyDQphZDY6IDE0NjY5TUIgPFdEQyBXRDE1M0JB
PiBbMjk4MDUvMTYvNjNdIGF0IGF0YTMtbWFzdGVyIFVETUE2Ng0KYWNkMDog
Q0QtUlcgPFNPTlkgQ0QtUlcgQ1JYMTc1QT4gYXQgYXRhMS1tYXN0ZXIgdXNp
bmcgUElPNA0KYWNkMTogQ0RST00gPEJDRC00MFhIIENELVJPTT4gYXQgYXRh
MS1zbGF2ZSB1c2luZyBQSU80DQphZmQwOiA5Nk1CIDxJT01FR0EgWklQIDEw
MCBBVEFQST4gWzMyLzY0Lzk2XSBhdCBhdGEyLW1hc3RlciB1c2luZyBQSU8w
DQpNb3VudGluZyByb290IGZyb20gdWZzOi9kZXYvYWQwczJhDQo=
--0-2076576370-1016483905=:410--

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




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