mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrey Slepuhin <pooh@msu.ru>
To: "Justin T. Gibbs" <gibbs@scsiguy.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: aic7xxx driver v6.2.5 freezes the kernel
Date: Wed, 17 Apr 2002 15:15:15 +0400	[thread overview]
Message-ID: <20020417111515.GE7342@glade.nmd.msu.ru> (raw)
In-Reply-To: <20020319144126.E8849@glade.nmd.msu.ru> <200203192133.g2JLXlI19100@aslan.scsiguy.com>

On Tue, Mar 19, 2002 at 02:33:47PM -0700, Justin T. Gibbs wrote:
> >lspci output attached. BTW, I tried new driver on another computer with
> >the same hardware configuration - effect is repeatable, so the problem is
> >unlikely a hardware bug.
> 
> No, but it is certainly hardware dependent.  As soon as I get a break here
> at work, I'll see what I can dig out from your lspci output.

Hi Justin,
I tracked the problem down and I find that the following change between
versions 6.2.4 and 6.2.5 causes system freeze:

--- aic7xxx/aic7xxx_core.c      Wed Apr 17 14:36:21 2002
+++ aic7xxx.new/aic7xxx_core.c  Mon Mar 18 12:54:23 2002
@@ -3770,9 +3770,8 @@
         * Ensure that the reset has finished
         */
        wait = 1000;
-       do {
+       while (--wait && !(ahc_inb(ahc, HCNTRL) & CHIPRSTACK))
                ahc_delay(1000);
-       } while (--wait && !(ahc_inb(ahc, HCNTRL) & CHIPRSTACK));
 
        if (wait == 0) {
                printf("%s: WARNING - Failed chip reset!  "

All other changes were successfully merged without any problems.
BTW, version 6.2.6 of the driver from 2.4.19-pre7 freezes the system too.

Regards,
Andrey.

-- 
A right thing should be simple (tm)

       reply	other threads:[~2002-04-17 11:15 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20020319144126.E8849@glade.nmd.msu.ru>
     [not found] ` <200203192133.g2JLXlI19100@aslan.scsiguy.com>
2002-04-17 11:15   ` Andrey Slepuhin [this message]
2002-04-17 14:08     ` Mr. James W. Laferriere
2002-04-17 14:54     ` Justin T. Gibbs
2002-04-17 15:31       ` Andrey Slepuhin
2002-03-15 19:02 aic7xxx driver v6.2.4 "queue abort message" questions Len Sorensen
2002-03-15 19:31 ` Justin T. Gibbs
2002-03-18 12:58   ` Andrey Slepuhin
2002-03-18 16:24     ` aic7xxx driver v6.2.5 freezes the kernel Andrey Slepuhin
2002-03-18 18:28       ` Justin T. Gibbs

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=20020417111515.GE7342@glade.nmd.msu.ru \
    --to=pooh@msu.ru \
    --cc=gibbs@scsiguy.com \
    --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

all inboxes | Powered by JetHome®