From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 21953 invoked from network); 15 Aug 1999 16:12:26 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 15 Aug 1999 16:12:26 -0000 Received: from ellpspace.math.ualberta.ca (michal@ellpspace.math.ualberta.ca [129.128.88.19]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id MAA18512 for ; Sun, 15 Aug 1999 12:12:25 -0400 Received: (from michal@localhost) by ellpspace.math.ualberta.ca (8.8.8/8.8.8) id KAA23896 for axp-list@redhat.com; Sun, 15 Aug 1999 10:12:22 -0600 From: Michal Jaegermann Message-Id: <199908151612.KAA23896@ellpspace.math.ualberta.ca> Subject: Re: ncr53c8xx timeouts To: axp-list@redhat.com Date: Sun, 15 Aug 1999 10:12:22 -0600 (MDT) In-Reply-To: <37B66DDA.BFE51731@paralleldata.com> from "Wes Bauske" at Aug 15, 99 02:35:54 am Content-Type: text Wes Bauske wrote: > > Multiply ms after it's calculated by 2. For some > reason, the newer ncr53c8xx.c is computing the > wrong MHZ for my scsi cards. I have seen something, so far only on dp264, which **may** be related to that. On various occasions with **the same** version of a driver, on the same machine and without touching anything in a controller itself I see reports "NCR clock is xKHz" (this is from ncr_getclock() in sym53c8xx.c) where x is either 21626, or 40037 or 80074. The third case is followed by "PCI clock seems too high" and no disks. It does not appear to matter which of the other two values was chosen - things are ok in both cases. > This has happened on > 875/875J/895 so it isn't isolated to a single type > of card. What I see seems to be related how a kernel was built (configuration and maybe a compiler itself) but I still cannot point to a culprit with any conviction. I start to suspect some timing issues in reading an information from a hardware/firmware. Maybe some delays are not not long enough for ev6? Messing with a disk controller without knowing what I am really doing does not strike me as a very exciting option; especially when I cannot predict which clock value will show up. > /* wsb */ > ms=ms*2; You know that this is safe or it just happens to work? Michal