From owner-freebsd-current Fri Dec 17 5:11:57 1999 Delivered-To: freebsd-current@freebsd.org Received: from chmls11.mediaone.net (chmls11.mediaone.net [24.128.1.112]) by hub.freebsd.org (Postfix) with ESMTP id DA27915045 for ; Fri, 17 Dec 1999 05:11:52 -0800 (PST) (envelope-from veldy@visi.com) Received: from barley (h-181-234.mn.mediaone.net [209.32.181.234]) by chmls11.mediaone.net (8.8.7/8.8.7) with SMTP id IAA18476 for ; Fri, 17 Dec 1999 08:11:49 -0500 (EST) Message-ID: <001001bf4890$a45fde60$0100a8c0@veldy.org> From: "Thomas T. Veldhouse" To: "FreeBSD-Current" Subject: ATA Problem? Fallback to PIO Date: Fri, 17 Dec 1999 07:14:24 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I seem to be having a problem with the my Western Digital Caviar 6.4GB UDMA33 (5400RPM?) Hard Drive. I get the following error: ad0: ATA-4 disk at ata0 as master ad0: 19092MB (39102336 sectors), 38792 cyls, 16 heads, 63 S/T, 512 B/S ad0: 16 secs/int, 1 depth queue, UDMA33 ad1: ATA-4 disk at ata0 as slave ad1: 6149MB (12594960 sectors), 13328 cyls, 15 heads, 63 S/T, 512 B/S ad1: 16 secs/int, 1 depth queue, UDMA33 . . . Mounting root from ufs:/dev/ad1s2a ad1: UDMA CRC WRITE ERROR blk# 1999 retrying ad1: UDMA CRC WRITE ERROR blk# 1999 retrying ad1: UDMA CRC WRITE ERROR blk# 1999 retrying ad1: UDMA CRC WRITE ERROR blk# 1999 falling back to PIO mode I do not have any problems with this drive under Windows98, WindowsNT, FreeBSD3.x or Linux. Never an error reported before. What does this mean? I am using the GENERIC kernel from the FreeBSD 4.0-19991215-CURRENT #0: Wed Dec 15 16:26:48 GMT 1999 snapshot. I have not had time to recompile as of yet. I do know that this drive is partitioned funny with ad1s1 as a 2000MB FAT16 partition and the rest as UFS. I saw a warning once that x number of sectors are not being used because of the off-size of the partitions. Perhaps I should repartition? As a side question - why are the CD-ROM (see DMESG below) drives using PIO? Thanks in advance, Tom Veldhouse veldy@visi.com DMESG output follows: Copyright (c) 1992-1999 The FreeBSD Project. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 4.0-19991215-CURRENT #0: Wed Dec 15 16:26:48 GMT 1999 root@usw2.freebsd.org:/usr/src/sys/compile/GENERIC Timecounter "i8254" frequency 1193182 Hz CPU: AMD-K7(tm) Processor (598.84-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x612 Stepping = 2 Features=0x81f9ff AMD Features=0xc0400000 real memory = 134152192 (131008K bytes) config> di lnc0 config> di le0 config> di ie0 config> di fe0 config> di ex0 config> di ed0 config> di cs0 config> di wt0 config> di scd0 config> di mcd0 config> di matcd0 config> di bt0 config> di aic0 config> di aha0 config> di adv0 config> q avail memory = 126492672 (123528K bytes) Preloaded elf kernel "kernel" at 0xc0378000. Preloaded userconfig_script "/boot/kernel.conf" at 0xc037809c. Pentium Pro MTRR support enabled md0: Malloc disk npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 vga-pci0: irq 10 at device 5.0 on pci1 pci0: unknown card (vendor=0x1274, dev=0x1371) at 3.0 irq 11 dc0: irq 5 at device 6.0 on pci0 dc0: Ethernet address: 00:a0:cc:37:ad:85 miibus0: on dc0 dcphy0: on miibus0 dcphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto isab0: at device 7.0 on pci0 isa0: on isab0 ata-pci0: at device 7.1 on pci0 ata-pci0: Busmastering DMA supported ata0 at 0x01f0 irq 14 on ata-pci0 ata1 at 0x0170 irq 15 on ata-pci0 pci0: VIA 83C572 USB controller (vendor=0x1106, dev=0x3038) at 7.2 irq 11 pci0: VIA 83C572 USB controller (vendor=0x1106, dev=0x3038) at 7.3 irq 11 isab1: at device 7.4 on pci0 pci0: unknown card (vendor=0x127a, dev=0x1003) at 9.0 irq 10 pci0: unknown card (vendor=0x104c, dev=0x8019) at 12.0 irq 3 fe0: not probed (disabled) fdc0: at port 0x3f0-0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 ata-isa0: already registered as ata0 ata-isa1: already registered as ata1 adv0: not probed (disabled) bt0: not probed (disabled) aha0: not probed (disabled) aic0: not probed (disabled) wt0: not probed (disabled) mcd0: not probed (disabled) matcd0: not probed (disabled) scd0: not probed (disabled) atkbdc0: at port 0x60-0x6f on isa0 atkbd0: irq 1 on atkbdc0 psm0: irq 12 on atkbdc0 psm0: model IntelliMouse, device ID 3 vga0: at port 0x3b0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: on isa0 sc0: VGA <16 virtual consoles, flags=0x200> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1: configured irq 3 not in bitmap of probed irqs 0 sio2: not probed (disabled) sio3: not probed (disabled) ppc0 at port 0x378-0x37f irq 7 flags 0x40 on isa0 ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode ppb0: IEEE1284 device found /NIBBLE Probing for PnP devices on ppbus0: ppbus0: LEXWPS plip0: on ppbus 0 lpt0: on ppbus 0 lpt0: Interrupt-driven port ppi0: on ppbus 0 ed0: not probed (disabled) ex0: not probed (disabled) ie0: not probed (disabled) le0: not probed (disabled) lnc0: not probed (disabled) cs0: not probed (disabled) ad0: ATA-4 disk at ata0 as master ad0: 19092MB (39102336 sectors), 38792 cyls, 16 heads, 63 S/T, 512 B/S ad0: 16 secs/int, 1 depth queue, UDMA33 ad1: ATA-4 disk at ata0 as slave ad1: 6149MB (12594960 sectors), 13328 cyls, 15 heads, 63 S/T, 512 B/S ad1: 16 secs/int, 1 depth queue, UDMA33 acd0: CDROM drive at ata1 as master , 512KB buffer, PIO acd0: supported read types: CD-R, CD-RW, CD-DA stream, DVD-ROM, DVD-R acd0: Audio: play, 256 volume levels acd0: Mechanism: ejectable tray acd0: Medium: no/blank disc inside, unlocked acd1: CDROM drive at ata1 as slave acd1: read 4134KB/s (4134KB/s) write 689KB/s, 2048KB buffer, PIO acd1: supported read types: CD-R, CD-RW, CD-DA stream, packet acd1: supported write types: CD-R, CD-RW, test write acd1: Audio: play, 255 volume levels acd1: Mechanism: ejectable tray acd1: Medium: no/blank disc inside, unlocked Mounting root from ufs:/dev/ad1s2a ad1: UDMA CRC WRITE ERROR blk# 1999 retrying ad1: UDMA CRC WRITE ERROR blk# 1999 retrying ad1: UDMA CRC WRITE ERROR blk# 1999 retrying ad1: UDMA CRC WRITE ERROR blk# 1999 falling back to PIO mode To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message