mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Jeff V. Merkey" <jmerkey@vger.timpanogas.org>
To: Tachino Nobuhiro <tachino@open.nm.fujitsu.co.jp>
Cc: Trevor Hemsley <Trevor-Hemsley@dial.pipex.com>,
	linux-kernel@vger.kernel.org
Subject: Re: aic7xxx oops with 2.4.5-ac13
Date: Thu, 21 Jun 2001 12:01:59 -0700	[thread overview]
Message-ID: <20010621120159.A29684@vger.timpanogas.org> (raw)
In-Reply-To: <20010621072142Z264883-17720+6265@vger.kernel.org> <66dq45mv.wl@nisaaru.open.nm.fujitsu.co.jp>
In-Reply-To: <66dq45mv.wl@nisaaru.open.nm.fujitsu.co.jp>; from tachino@open.nm.fujitsu.co.jp on Thu, Jun 21, 2001 at 05:08:24PM +0900

On Thu, Jun 21, 2001 at 05:08:24PM +0900, Tachino Nobuhiro wrote:

Thanks,  

I'll try this patch.

Jeff


> 
> Hello,
> 
> At Thu, 21 Jun 2001 08:15:10,
> Trevor Hemsley wrote:
> > 
> > On Thu, 21 Jun 2001 03:05:02, "Jeff V. Merkey" 
> > <jmerkey@vger.timpanogas.org> wrote:
> > 
> > > Ditto.  I am also seeing this oops calling the sg driver for a 
> > > robotic tape library, and it also seems to happen on 2.4.4.
> > 
> > In my case it appears that it was the symptom of severe bus problems. 
> > About 5 minutes after I posted the initial report I discovered that 
> > the cable from the back of the Nikon to the MO drive had fallen off so
> > the bus was running unterminated. Replugging it fixed teh bus error 
> > and the oops. 
> > 
> > Looks like error handling is all fscked up...
> > 
> 
>   I saw this oops too. The following patch is working for me, but I don't
> know this is a correct fix.
> 
> 
> diff -r -N -u linux.org/drivers/scsi/aic7xxx/aic7xxx_linux.c linux/drivers/scsi/aic7xxx/aic7xxx_linux.c
> --- linux.org/drivers/scsi/aic7xxx/aic7xxx_linux.c	Fri Mar 16 13:47:01 2001
> +++ linux/drivers/scsi/aic7xxx/aic7xxx_linux.c	Fri Mar 16 13:54:34 2001
> @@ -1872,7 +1872,9 @@
>  		break;
>          case AC_BUS_RESET:
>  #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,3,0)
> -		scsi_report_bus_reset(ahc->platform_data->host, channel - 'A');
> +		if (ahc->platform_data->host) {
> +			scsi_report_bus_reset(ahc->platform_data->host, channel - 'A');
> +		}
>  #endif
>                  break;
>          default:
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/

  reply	other threads:[~2001-06-22 17:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-21  8:15 Trevor Hemsley
2001-06-21  8:08 ` Tachino Nobuhiro
2001-06-21 19:01   ` Jeff V. Merkey [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-06-21  2:08 Trevor Hemsley
2001-06-21  4:06 ` Jeff V. Merkey

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=20010621120159.A29684@vger.timpanogas.org \
    --to=jmerkey@vger.timpanogas.org \
    --cc=Trevor-Hemsley@dial.pipex.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tachino@open.nm.fujitsu.co.jp \
    /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®