public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Oleg Makarenko <omakarenko@cyberplat.ru>
To: linux-kernel@vger.kernel.org
Subject: 2.2.18pre22: ppa_fail(3) from ppa_wait at line 319
Date: Mon, 20 Nov 2000 17:01:32 +0300	[thread overview]
Message-ID: <3A192EBC.F5B048F2@cyberplat.ru> (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.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/

             reply	other threads:[~2000-11-20 14:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-11-20 14:01 Oleg Makarenko [this message]
2000-11-20 14:20 ` 2.2.18pre22: ppa_fail(3) from ppa_wait at line 319 Tim Waugh

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3A192EBC.F5B048F2@cyberplat.ru \
    --to=omakarenko@cyberplat.ru \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox