public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 2.2.18pre22: ppa_fail(3) from ppa_wait at line 319
@ 2000-11-20 14:01 Oleg Makarenko
  2000-11-20 14:20 ` Tim Waugh
  0 siblings, 1 reply; 2+ messages in thread
From: Oleg Makarenko @ 2000-11-20 14:01 UTC (permalink / raw)
  To: linux-kernel

With 2.2.18pre22 I get a lot of scsidisk I/O errors on my parallel port
zip.

All pervious versions of 2.2.18pre worked fine. The problem is 100%
reproducible and occurs
after a long period of inactivity (10 or more minutes)

compiled with #define PPA_DEBUG 1 I get:

ppa_fail(3) from ppa_wait at line 319

if you need more information please contact me directly as I am not on
the list

the following partial reversal patch seems to help (but I am not sure it
is correct):

--- ppa.c.2.2.18pre22   Mon Nov 20 16:54:36 2000
+++ ppa.c       Mon Nov 20 16:54:54 2000
@@ -690,7 +690,7 @@
            }
        }
        /* Now check to see if the drive is ready to comunicate */
-       r = ppa_wait(host_no); /* need ppa_wait() - PJC */
+      r = (r_str(ppb) & 0xf0);
        /* If not, drop back down to the scheduler and wait a timer tick
*/
        if (!(r & 0x80))
            return 0;



Oleg



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: 2.2.18pre22: ppa_fail(3) from ppa_wait at line 319
  2000-11-20 14:01 2.2.18pre22: ppa_fail(3) from ppa_wait at line 319 Oleg Makarenko
@ 2000-11-20 14:20 ` Tim Waugh
  0 siblings, 0 replies; 2+ messages in thread
From: Tim Waugh @ 2000-11-20 14:20 UTC (permalink / raw)
  To: Oleg Makarenko; +Cc: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 254 bytes --]

On Mon, Nov 20, 2000 at 05:01:32PM +0300, Oleg Makarenko wrote:

> the following partial reversal patch seems to help (but I am not sure it
> is correct):

Hmm.  That patch went in because without it it doesn't work at all for
some people. :-((

Tim.
*/

[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-11-20 14:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-11-20 14:01 2.2.18pre22: ppa_fail(3) from ppa_wait at line 319 Oleg Makarenko
2000-11-20 14:20 ` Tim Waugh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox