Skip to contentSkip to conversation

2.2.18pre22: ppa_fail(3) from ppa_wait at line 319

PATCH Oleg Makarenko 2 participants 2 messages Nov 20, 2000

lore
Share & tools
lore
#0 lore raw

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 Mon Nov 20 16:54:54 2000 renamed from ppa.c.2.2.18pre22 Mon Nov 20 16:54:36 2000 +1 -1
@@ -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 [email protected]
Please read the FAQ at http://www.tux.org/lkml/

#1 lore raw
Quoted 2 lines · Oleg Makarenko

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.
*/