Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Dec 1999 07:14:24 -0600
From:      "Thomas T. Veldhouse" <veldy@visi.com>
To:        "FreeBSD-Current" <freebsd-current@freebsd.org>
Subject:   ATA Problem?  Fallback to PIO
Message-ID:  <001001bf4890$a45fde60$0100a8c0@veldy.org>

next in thread | raw e-mail | index | archive | help
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: <WDC WD200BA/P76CA30A> 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: <WDC AC36400L/09.09M08> 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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,P
AT,MMX>
  AMD Features=0xc0400000<AMIE,DSP,3DNow!>
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: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <AMD-751 host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib1: <AMD-751 PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
vga-pci0: <NVidia model 002d graphics accelerator> irq 10 at device 5.0 on
pci1
pci0: unknown card (vendor=0x1274, dev=0x1371) at 3.0 irq 11
dc0: <LC82C115 PNIC II 10/100BaseTX> irq 5 at device 6.0 on pci0
dc0: Ethernet address: 00:a0:cc:37:ad:85
miibus0: <MII bus> on dc0
dcphy0: <Intel 21143 NWAY media interface> on miibus0
dcphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isab0: <VIA 82C686 PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
ata-pci0: <VIA 82C686 ATA controller> 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: <PCI to ISA bridge (vendor=1106 device=3057)> 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: <NEC 72065B or clone> 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: <keyboard controller (i8042)> at port 0x60-0x6f on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3
vga0: <Generic ISA VGA> at port 0x3b0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> 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: <Lexmark           Lexmark 5700  > LEXWPS
plip0: <PLIP network interface> on ppbus 0
lpt0: <generic printer> on ppbus 0
lpt0: Interrupt-driven port
ppi0: <generic parallel i/o> 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: <WDC WD200BA/P76CA30A> 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: <WDC AC36400L/09.09M08> 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: <Compaq DVD-ROM DVD-114 0114/1.14> 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: <LG CD-RW CED-8042B/1.07> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001001bf4890$a45fde60$0100a8c0>