Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Jan 1999 00:49:45 -0500
From:      Lee Cremeans <lee@st-lcremean.tidalwave.net>
To:        Andrew Atrens <atrens@nortelnetworks.com>
Cc:        current@FreeBSD.ORG
Subject:   Re: potential ide_pci.c bugster
Message-ID:  <19990112004945.A68879@tidalwave.net>
In-Reply-To: <Pine.BSF.4.05.9901112356380.1248-100000@hcarp00g.ca.nortel.com>; from Andrew Atrens on Tue, Jan 12, 1999 at 12:18:27AM -0500
References:  <19990111161251.A63501@tidalwave.net> <Pine.BSF.4.05.9901112356380.1248-100000@hcarp00g.ca.nortel.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jan 12, 1999 at 12:18:27AM -0500, Andrew Atrens wrote:
> 
> Lee,
> 
> Around the middle of December you (actually Mike on behalf of you)
> committed a patch to pci_ide.c which has since been hosing my system:

[snip]
 
> With this commit, my system freezes on boot with DMA timeout messages when
> it tries to mount root on wd1. It's a total showstopper.
> 
> I disabled DMA (ala wdc0 flags) and everything worked, though of course
> more slowly. :)  So, instead I chose to back out your change, and wait to
> see if anyone else fell in the pit. Since the mailing list seems to be
> pretty silent on the topic, maybe it's just me :) ...
> 
> I've got an ABIT motherboard with TX chipset, bussed at 83MHz, that seems
                                    ^^^^^^^^^^            ^^^^^

There's the problem. UDMA drives tend to be very finicky about their timing,
and since their timing is derived from the system PCI clock, overclocking to
83 MHz makes the frequency on the cable 41.5 MHz -- which your Quantum EL
drive (and also my Seagate Medalist Pro 9140, for that matter) chokes on.
The only thing you can really do to get reliable UDMA is to
downclock...first 75, then 66 MHz.

The bigger problem, though, is that ide_pci is a little too gung-ho about
UDMA...if it sees a drive that supports it, it'll go ahead and set it up,
totally unaware of any bus-speed issues, and with no way to tell it to use a
lesser DMA mode. I'm going to ask on -current about adding a flag to force
off UDMA on certain units, making them fall back to multiword DMA 2 (which
is nowhere near as finicky).

-- 
+--------------------------------------------------------------------+
| Lee Cremeans -- Manassas, VA, USA  (WakkyMouse on DALnet and WTnet)|  
|    lcremean@tidalwave.net| http://st-lcremean.tidalwave.net/~lee   |


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?19990112004945.A68879>