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
[-- Attachment #1 --] -----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----- [-- Attachment #2 --] Copyright (c) 1992-2002 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.5-RELEASE #19: Mon Mar 11 09:45:13 CET 2002 root@s096-n062.tele2.cz:/usr/src/sys/compile/PLUSIK Timecounter "i8254" frequency 1193182 Hz CPU: AMD Athlon(tm) XP 1600+ (1410.35-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x662 Stepping = 2 Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE> AMD Features=0xc0480000<<b19>,AMIE,DSP,3DNow!> real memory = 536805376 (524224K bytes) avail memory = 518713344 (506556K bytes) Preloaded elf kernel "kernel" at 0xc038b000. VESA: v2.0, 65536k memory, flags:0x1, mode table:0xc031f242 (1000022) VESA: ATI R200 Pentium Pro MTRR support enabled md0: Malloc disk Using $PIR table, 6 entries at 0xc00fdf10 apm0: <APM BIOS> on motherboard apm: found APM BIOS v1.2, connected at v1.2 npx0: <math processor> on motherboard npx0: INT 16 interface pcib0: <Host to PCI bridge> on motherboard pci0: <PCI bus> on pcib0 pcib1: <PCI to PCI bridge (vendor=1106 device=b099)> at device 1.0 on pci0 pci1: <PCI bus> on pcib1 pci1: <ATI model 514c graphics accelerator> at 0.0 irq 11 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 ed0: <NE2000 PCI Ethernet (RealTek 8029)> port 0xb400-0xb41f irq 10 at device 9.0 on pci0 ed0: address 00:00:e8:75:77:ff, type NE2000 (16 bit) bktr0: <BrookTree 878> mem 0xef000000-0xef000fff irq 11 at device 10.0 on pci0 iicbb0: <I2C generic bit-banging driver> on bti2c0 iicbus0: <Philips I2C bus> on iicbb0 master-only smbus0: <System Management Bus> on bti2c0 bktr0: Warning - card vendor 0x1002 (model 0x0003) unknown. bktr0: Pinnacle/Miro TV, Temic NTSC tuner. pci0: <unknown card> (vendor=0x109e, dev=0x0878) at 10.1 irq 11 pcm0: <AudioPCI ES1370> port 0xb800-0xb83f irq 11 at device 11.0 on pci0 isab0: <PCI to ISA bridge (vendor=1106 device=3147)> at device 17.0 on pci0 isa0: <ISA bus> on isab0 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 uhci0: <VIA 83C572 USB controller> port 0xc000-0xc01f irq 11 at device 17.2 on pci0 usb0: <VIA 83C572 USB controller> on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: <VIA 83C572 USB controller> port 0xc400-0xc41f irq 11 at device 17.3 on pci0 usb1: <VIA 83C572 USB controller> on uhci1 usb1: USB revision 1.0 uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered orm0: <Option ROM> at iomem 0xc0000-0xcbfff on isa0 fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0 atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: <PS/2 Mouse> irq 12 on atkbdc0 psm0: model NetMouse/NetScroll Optical, device ID 0 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: <System console> at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode plip0: <PLIP network interface> on ppbus0 lpt0: <Printer> on ppbus0 lpt0: Interrupt-driven port ppi0: <Parallel I/O> on ppbus0 IP packet filtering initialized, divert disabled, rule-based forwarding disabled, default to deny, logging disabled 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 Mounting root from ufs:/dev/ad0s2a
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020318213656.Y410-200000>
