lkml.org 
[lkml]   [2000]   [Nov]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject2.2.18pre22: ppa_fail(3) from ppa_wait at line 319
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/

\
 
 \ /
  Last update: 2005-03-22 12:47    [W:0.100 / U:0.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site