Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Sep 2000 15:59:45 -0700
From:      Kent Stewart <kstewart@urx.com>
To:        Charlie Root <root@oblomow.demon.nl>
Cc:        freebsd-stable@FreeBSD.ORG
Subject:   Re: UDMA write errors on stable and release
Message-ID:  <39C94161.19E4D26B@urx.com>
References:  <200009202229.e8KMThw12433@oblomow.demon.nl>

next in thread | previous in thread | raw e-mail | index | archive | help


Charlie Root wrote:
> 
> Hi,
> 
> I am not sure if this is the right forum to ask, but since it concerns
> 4.1 stable I might as well try.
> 
> Since switching to a new motherboard I get the following errors:
> 
> Sep 14 22:37:27 oblomow /kernel.GENERIC: ad0: UDMA ICRC WRITE ERROR blk# 2523344 retrying
> Sep 14 22:37:27 oblomow /kernel.GENERIC: ad0: UDMA ICRC WRITE ERROR blk# 2535904 retrying
> 
> Not only with this installation ( 4.1 Release ) but also with 4.1 stable (see
> attached messages file)
> 
> I changed from an Abit AX5 motherboard with a K6 to an Abit KT7 with a Duron 600
> (Via chipset).
> Eventually these errors disappear because the system decides to switch to
> PIO4 mode for disk access. I have gone through the mailing list archive and
> found several more reports about this, but no solution there.
> 
> The cable used to attach these UDMA33/66 capable drives is new and not too
> long and should be capable of handling these speeds. The disks that worked
> are 2 *  WDC AC34300L.  I also tried a new IBM GXP 30 GB with the same result.
> 
> Suggestions anyone?

Do a "man ata" and learn how to use sysctl to turn off UDMA33+ on your
motherboard. The Via chips and the ata driver seem to be very
sensitive to some UDMA drive combinations. You can corrupt your data
in really bad situations, which occured at 4.0-Release, and degrading
to PIO 4 or using SCSI HD's seems to be the only solution at this
point. The sysctl commands go into /etc/sysctl.conf

Kent

> 
> Marc Albers
> 
> /var/log/messages:
> 
> Sep 16 13:00:00 oblomow newsyslog[515]: logfile turned over
> Sep 16 13:00:46 oblomow login: ROOT LOGIN (root) ON ttyv2
> Sep 16 13:04:34 oblomow syslogd: exiting on signal 15
> Sep 16 13:05:48 oblomow /kernel: Copyright (c) 1992-2000 The FreeBSD Project.
> Sep 16 13:05:48 oblomow /kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
> Sep 16 13:05:48 oblomow /kernel: The Regents of the University of California. All rights reserved.
> Sep 16 13:05:49 oblomow /kernel: FreeBSD 4.1-STABLE #1: Sat Sep 16 13:03:01 CEST 2000
> Sep 16 13:05:49 oblomow /kernel: root@oblomow.demon.nl:/usr/src/sys/compile/oblomowd
> Sep 16 13:05:49 oblomow /kernel: Timecounter "i8254"  frequency 1193182 Hz
> Sep 16 13:05:49 oblomow /kernel: CPU: AMD Duron(tm) Processor (600.03-MHz 686-class CPU)
> Sep 16 13:05:49 oblomow /kernel: Origin = "AuthenticAMD"  Id = 0x630  Stepping = 0
> Sep 16 13:05:49 oblomow /kernel: Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
> Sep 16 13:05:49 oblomow /kernel: AMD Features=0xc0440000<<b18>,AMIE,DSP,3DNow!>
> Sep 16 13:05:49 oblomow /kernel: real memory  = 134152192 (131008K bytes)
> Sep 16 13:05:49 oblomow /kernel: avail memory = 126984192 (124008K bytes)
> Sep 16 13:05:49 oblomow /kernel: Preloaded elf kernel "kernel" at 0xc0398000.
> Sep 16 13:05:49 oblomow /kernel: Pentium Pro MTRR support enabled
> Sep 16 13:05:49 oblomow /kernel: md0: Malloc disk
> Sep 16 13:05:49 oblomow /kernel: npx0: <math processor> on motherboard
> Sep 16 13:05:49 oblomow /kernel: npx0: INT 16 interface
> Sep 16 13:05:49 oblomow /kernel: pcib0: <Host to PCI bridge> on motherboard
> Sep 16 13:05:49 oblomow /kernel: pci0: <PCI bus> on pcib0
> Sep 16 13:05:49 oblomow /kernel: pcib2: <PCI to PCI bridge (vendor=1106 device=8305)> at device 1.0 on pci0
> Sep 16 13:05:49 oblomow /kernel: pci1: <PCI bus> on pcib2
> Sep 16 13:05:49 oblomow /kernel: pci1: <NVidia model 0110 graphics accelerator> at 0.0 irq 11
> Sep 16 13:05:49 oblomow /kernel: isab0: <VIA 82C686 PCI-ISA bridge> at device 7.0 on pci0
> Sep 16 13:05:49 oblomow /kernel: isa0: <ISA bus> on isab0
> Sep 16 13:05:49 oblomow /kernel: atapci0: <VIA 82C686 ATA66 controller> port 0xd000-0xd00f at device 7.1 on pci0
> Sep 16 13:05:49 oblomow /kernel: ata0: at 0x1f0 irq 14 on atapci0
> Sep 16 13:05:49 oblomow /kernel: ata1: at 0x170 irq 15 on atapci0
> Sep 16 13:05:49 oblomow /kernel: pcm0: <Creative EMU10K1> port 0xdc00-0xdc1f irq 5 at device 11.0 on pci0
> Sep 16 13:05:49 oblomow /kernel: fxp0: <Intel Pro 10/100B/100+ Ethernet> port 0xe400-0xe43f mem 0xdf000000-0xdf0fffff,0xdf100000-0xdf100fff irq 10 at device 13.0 on pci0
> Sep 16 13:05:49 oblomow /kernel: fxp0: Ethernet address 00:02:b3:09:01:78
> Sep 16 13:05:49 oblomow /kernel: ncr0: <ncr 53c810a fast10 scsi> port 0xe800-0xe8ff mem 0xdf101000-0xdf1010ff irq 11 at device 17.0 on pci0
> Sep 16 13:05:49 oblomow /kernel: pcib1: <Host to PCI bridge> on motherboard
> Sep 16 13:05:49 oblomow /kernel: pci2: <PCI bus> on pcib1
> Sep 16 13:05:49 oblomow /kernel: fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
> Sep 16 13:05:49 oblomow /kernel: fdc0: FIFO enabled, 8 bytes threshold
> Sep 16 13:05:49 oblomow /kernel: fd0: <1440-KB 3.5" drive> on fdc0 drive 0
> Sep 16 13:05:49 oblomow /kernel: atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
> Sep 16 13:05:49 oblomow /kernel: atkbd0: <AT Keyboard> irq 1 on atkbdc0
> Sep 16 13:05:49 oblomow /kernel: psm0: <PS/2 Mouse> irq 12 on atkbdc0
> Sep 16 13:05:49 oblomow /kernel: psm0: model Generic PS/2 mouse, device ID 0
> Sep 16 13:05:49 oblomow /kernel: vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
> Sep 16 13:05:49 oblomow /kernel: sc0: <System console> on isa0
> Sep 16 13:05:49 oblomow /kernel: sc0: VGA <16 virtual consoles, flags=0x200>
> Sep 16 13:05:49 oblomow /kernel: sio1: configured irq 3 not in bitmap of probed irqs 0
> Sep 16 13:05:49 oblomow /kernel: ppc0: <Parallel port> at port 0x378-0x37f irq 5 on isa0
> Sep 16 13:05:49 oblomow /kernel: ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
> Sep 16 13:05:49 oblomow /kernel: ppbus0: IEEE1284 device found /NIBBLE/ECP
> Sep 16 13:05:49 oblomow /kernel: Probing for PnP devices on ppbus0:
> Sep 16 13:05:49 oblomow /kernel: ppbus0: <HEWLETT-PACKARD DESKJET 815C> MLC,PCL,PML
> Sep 16 13:05:49 oblomow /kernel: ppi0: <Parallel I/O> on ppbus0
> Sep 16 13:05:49 oblomow /kernel: lpt0: <Printer> on ppbus0
> Sep 16 13:05:49 oblomow /kernel: lpt0: Interrupt-driven port
> Sep 16 13:05:49 oblomow /kernel: isic0 at port 0x1a40-0x1a5f,0x1620-0x163f,0x620-0x63f,0xe20-0xe3f,0x1240-0x125f,0x240-0x25f,0xa40-0xa5f irq 4 flags 0x4 on isa0
> Sep 16 13:05:49 oblomow /kernel: isic0: AVM A1 or Fritz!Card Classic
> Sep 16 13:05:49 oblomow /kernel: i4btel: 2 ISDN telephony interface device(s) attached
> Sep 16 13:05:49 oblomow /kernel: i4brbch: 4 raw B channel access device(s) attached
> Sep 16 13:05:49 oblomow /kernel: i4bipr: 4 IP over raw HDLC ISDN device(s) attached (VJ header compression)
> Sep 16 13:05:49 oblomow /kernel: IP packet filtering initialized, divert enabled, rule-based forwarding enabled, default to deny, unlimited logging
> Sep 16 13:05:49 oblomow /kernel: i4bctl: ISDN system control port attached
> Sep 16 13:05:49 oblomow /kernel: i4btrc: 4 ISDN trace device(s) attached
> Sep 16 13:05:49 oblomow /kernel: i4bisppp: 4 ISDN SyncPPP device(s) attached
> Sep 16 13:05:49 oblomow /kernel: i4b: ISDN call control device attached
> Sep 16 13:05:49 oblomow /kernel: ad0: 4104MB <WDC AC34300L> [8896/15/63] at ata0-master using UDMA33
> Sep 16 13:05:49 oblomow /kernel: ad2: 4104MB <WDC AC34300L> [8896/15/63] at ata1-master using UDMA33
> Sep 16 13:05:49 oblomow /kernel: acd0: CDROM <ATAPI CD-ROM DRIVE 24X MAXIMUM> at ata0-slave using PIO4
> Sep 16 13:05:49 oblomow /kernel: Waiting 15 seconds for SCSI devices to settle
> Sep 16 13:05:49 oblomow /kernel: Mounting root from ufs:/dev/ad0s3a
> Sep 16 13:05:49 oblomow /kernel: cd0 at ncr0 bus 0 target 0 lun 0
> Sep 16 13:05:49 oblomow /kernel: cd0: <TOSHIBA DVD-ROM SD-M1401 1007> Removable CD-ROM SCSI-2 device
> Sep 16 13:05:49 oblomow /kernel: cd0: 10.000MB/s transfers (10.000MHz, offset 8)
> Sep 16 13:05:49 oblomow /kernel: cd0: Attempt to query device size failed: NOT READY, Medium not present
> Sep 16 13:05:49 oblomow /kernel: cd1 at ncr0 bus 0 target 4 lun 0
> Sep 16 13:05:49 oblomow /kernel: cd1: <PLEXTOR CD-R   PX-W8220T 1.02> Removable CD-ROM SCSI-2 device
> Sep 16 13:05:49 oblomow /kernel: cd1: 10.000MB/s transfers (10.000MHz, offset 8)
> Sep 16 13:05:49 oblomow /kernel: cd1: Attempt to query device size failed: NOT READY, Medium not present - tray closed
> Sep 16 13:05:49 oblomow /kernel: ad0: UDMA ICRC WRITE ERROR blk# 2523344 retrying
> Sep 16 13:05:49 oblomow last message repeated 19 times
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-stable" in the body of the message

-- 
Kent Stewart
Richland, WA

mailto:kbstew99@hotmail.com
http://kstewart.urx.com/kstewart/index.html
FreeBSD News http://daily.daemonnews.org/


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39C94161.19E4D26B>