Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Jun 2001 16:59:03 +0100 (BST)
From:      <n_hibma@FreeBSD.ORG>
To:        David Larkin <David.Larkin@DJL.co.uk>
Cc:        <questions@FreeBSD.ORG>, <dirkx@covalent.net>
Subject:   Re: ad0: UDMA ICRC error reading fsbn 0 
Message-ID:  <20010626165825.H44767-100000@bluebottle>
In-Reply-To: <3B38A2AE.B34979E7@DJL.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
Check your cables, and try switching to lower UDMA modes with sysctls
(see man page for ad and ata).

Nick


On Tue, 26 Jun 2001, David Larkin wrote:

> Hi,
> I'm experiencing problems with a very slow hard disk.
>
> Nothing crashes but it works incredibly slow.
>
> I have 2 machines with AMD K6 450MHz processors,
> and IDE disks.
>
> A - FreeBSD 4.3
> B  - FreeBSD 3.4
>
> When I run a 'real life application' on A it takes over an hour,
> while on B the same process takes about a minute. When the
> process runs on A I get about 1.0 % CPU usage, and the disk
> access LED is permanently flashing, and the disk sounds very
> busy.
>
> In order to eliminate as many things as possible I've written a
> test program.
>
> #!/usr/local/bin/perl -w
> for( $i=0 ; $i <= 10000 ; $i++ )
> {
>         open(OUT,">outputfile");
>         print OUT "hello world";
>         close OUT;
> }
>
> on A this takes about 2 mins.
> on B this takes about 13 secs.
>
> The problem  seems to be related  to an error message in dmesg
> relating to UDMA66 & PIO mode.   .... whatever that may be.
>
> I've searched through the archives and found a number of
> similar postings, but unfortunately no advice on how to proceed.
>
> Any help would be appreciated.
>
> Dave.
>
> A dmesg   (slow machine)
> -------------
>
> FreeBSD 4.3-RELEASE #0: Sat Apr 21 10:54:49 GMT 2001
>     jkh@narf.osd.bsdi.com:/usr/src/sys/compile/GENERIC
> Timecounter "i8254"  frequency 1193182 Hz
> CPU: AMD-K6(tm) 3D processor (451.03-MHz 586-class CPU)
>   Origin = "AuthenticAMD"  Id = 0x58c  Stepping = 12
>   Features=0x8021bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,PGE,MMX>
>   AMD Features=0x80000800<SYSCALL,3DNow!>
> .......
> ata0: at 0x1f0 irq 14 on atapci0
> .......
> ad0: 19541MB <Maxtor 92041U4> [39703/16/63] at ata0-master UDMA66
> Mounting root from ufs:/dev/ad0s1a
> ad0: UDMA ICRC error reading fsbn 0 (ad0 bn 0; cn 0 tn 0 sn 0) retrying
> ad0: UDMA ICRC error reading fsbn 0 (ad0 bn 0; cn 0 tn 0 sn 0) retrying
> ad0: UDMA ICRC error reading fsbn 0 (ad0 bn 0; cn 0 tn 0 sn 0) retrying
> ad0: UDMA ICRC error reading fsbn 0 (ad0 bn 0; cn 0 tn 0 sn 0) falling
> back to PIO mode
>
>
> B dmesg
> -----------------
> FreeBSD 3.4-RELEASE #0: Mon Dec 20 06:54:39 GMT 1999
>     jkh@time.cdrom.com:/usr/src/sys/compile/GENERIC
> Timecounter "i8254"  frequency 1193182 Hz
> CPU: AMD-K6(tm) 3D processor (451.02-MHz 586-class CPU)
>   Origin = "AuthenticAMD"  Id = 0x58c  Stepping = 12
>   Features=0x8021bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,PGE,MMX>
>   AMD Features=0x80000800<SYSCALL,3DNow!>
>
> .........
>
> wdc0 at 0x1f0-0x1f7 irq 14 on isa
> wdc0: unit 0 (wd0): <Maxtor 92041U4>
> wd0: 19541MB (40020624 sectors), 39703 cyls, 16 heads, 63 S/T, 512 B/S
> wdc0: unit 1 (wd1): <FUJITSU MPD3173AT>
>
> .........
>
>
>
>


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?20010626165825.H44767-100000>