Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Apr 2000 20:03:24 -0400
From:      "C J Michaels" <cjm2@earthling.net>
To:        "Palle Girgensohn" <girgen@partitur.se>
Cc:        <freebsd-stable@FreeBSD.ORG>
Subject:   RE: ATA and UDMA
Message-ID:  <NDBBILKDCLLECBCLPMBIOEBOCAAA.cjm2@earthling.net>
In-Reply-To: <38ED0C0B.124AB415@partitur.se>

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

[-- Attachment #1 --]
I had a similar problem.  I don't know if this will apply to you at all
but maybe it'll help.

1. System bios has drive listed as LBA.
2. Dangeriously dedicated disk.

The sytem would lock up and report a good number of those errors listed
below.  Timeouts and resets.  Well, after cvsupping and making world a
couple times it started complaining about an timeout error reading a
block, and it was a block near the end of the drive.  Also, I'd like to
note that where there's a BSD slice at the begining of the drive, the BIOS
never detects it right.

So... I wiped the disk and the mbr.  Explicitly set the drive to large in
the bios.  Re-installed and all my errors went away, using UDMA w/o any
troubles at all.  I dunno if this applies to you at all, but I thought I'd
make the post.

Just my 2 cents,

--
Chris

-----Original Message-----
From: owner-freebsd-stable@FreeBSD.ORG
[mailto:owner-freebsd-stable@FreeBSD.ORG]On Behalf Of Palle Girgensohn
Sent: Thursday, April 06, 2000 6:14 PM
To: freebsd-stable@FreeBSD.ORG
Subject: ATA and UDMA


Hi!

i read the thead a while back on udma.

here's something pretty strange. I have two disk, each on a
separate channel. Same controller (a rather old intel server
board, running with one (out of two possible) pentium pro.

The two disk are identical, bought together, and I use vinum with
them, so the load should be about the same. What happens is,
after booting. the second drive give timeouts, and at the end the
system degradese it (fallback to PIO mode). Hence, a sysctl
hw.atamodes give "dma,---,pio,---". Now, the disk are identical.
After this initial boot problem, not much has happened. I have
done a number of buildworlds on the machine to stress it, and it
seems to be running fine.

Just for sports (this machine is not important to me at the
moment:) I tried to force the second drive back to dma, and it
immediately locked up so much that I had a hard time getting pio
back due to system freezes (at least for remote usage :). It
never went down, though, just spitted out many timeout messages.
I have set both drives to pio for now...

Here's some lines from the dmesg:

atapci0: <Intel PIIX3 ATA controller> port 0xf000-0xf00f at
device 7.1 on pci0
...
ad0: 9641MB <IBM-DTTA-371010> [19590/16/63] at ata0-master using
WDMA2
ad1: 9641MB <IBM-DTTA-371010> [19590/16/63] at ata1-master using
WDMA2
Mounting root from ufs:/dev/ad0s1a
vinum: loaded
de0: enabling 100baseTX port
ad1: READ command timeout - resetting
ata1: resetting devices .. done
ad1: READ command timeout - resetting
ata1: resetting devices .. done
ad1: READ command timeout - resetting
ata1: resetting devices .. done
ad1: READ command timeout - resetting
ata1-master: WARNING: WAIT_READY active=ATA_ACTIVE_ATA
ad1: trying fallback to PIO mode
ata1: resetting devices .. done


Has anyone been able to shed light on this bug? Is there any
other way, apart from sysctl, to force pio until it is fixed?

Cheers!
Palle


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

[-- Attachment #2 --]
0	*H
010	+0	*H
00
]0
	*H
010	UZA10UWestern Cape10UDurbanville10
U
Thawte10UCertificate Services1(0&UPersonal Freemail RSA 1999.9.160
000404110825Z
010404110825Z0D10UThawte Freemail Member1!0	*H
	cjm2@earthling.net00
	*H
0eǍ.s2#^ byHXMAZ^yDWX#J#m霰pZdQmVE:hֽܳ=RO_`kI?g|R1P0N0U0cjm2@earthling.net0U00U#0`fUXFa#Ì0
	*H
ƈ~ᱭKؼc@չ?]v͕(
;}>Yptu
\&ߩVJ9ulwR}qcF	zw3Rb	Zt:kӠ00}0
	*H
010	UZA10UWestern Cape10U	Cape Town10U
Thawte Consulting1(0&UCertification Services Division1$0"UThawte Personal Freemail CA1+0)	*H
	personal-freemail@thawte.com0
990916140140Z
010915140140Z010	UZA10UWestern Cape10UDurbanville10
U
Thawte10UCertificate Services1(0&UPersonal Freemail RSA 1999.9.1600
	*H
0iZz]!#rLK~r$BRW{azr98e^eyvL>hput,O	1ArƦ]D.Mօ>lx~@эWs0FO7050U00U#0rIs4Uvr~wƲ0
	*H
kY1rr`HU{gapm¥7؝(V\uoƑlfq|ko!6-	-mƃRt\~
orzg,ksnΝc)	~U100010	UZA10UWestern Cape10UDurbanville10
U
Thawte10UCertificate Services1(0&UPersonal Freemail RSA 1999.9.16]0	+K0	*H
	1	*H
0	*H
	1
000407000046Z0#	*H
	1Wzu1KwÂ4UR%0<	*H
	1/0-0+0
*H
(0+0
*H
0	+710010	UZA10UWestern Cape10UDurbanville10
U
Thawte10UCertificate Services1(0&UPersonal Freemail RSA 1999.9.16]0
	*H
%FS&<G2)F40
$CcxF܂ҡHz<TiYdz4-Ƈw'Eh`-6uBl5.Hsu	$ԥ'&?u^K 

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?NDBBILKDCLLECBCLPMBIOEBOCAAA.cjm2>