From: Mike Anderson <andmike@us.ibm.com>
To: Bill Davidsen <davidsen@tmr.com>
Cc: andy barlak <andyb@island.net>,
linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org
Subject: Re: 2.5.43 scsi _eh_ buslogic
Date: Sat, 19 Oct 2002 12:59:27 -0700 [thread overview]
Message-ID: <20021019195926.GB2556@beaverton.ibm.com> (raw)
In-Reply-To: <Pine.LNX.3.96.1021019150909.29078A-300000@gatekeeper.tmr.com>
Bill,
In 2.5.44. I submitted a patch that changed the way scsi_host* is
accessed. This patch also removed put_device which is replaced
by device_unregister. That should fix one problem.
The other issue is that this driver like the BusLogic is using the old
error handler. Did it run on previous 2.5 versions?
If you go to 2.5.44 I believe you will also need the patch posted by
John Levon.
Bill Davidsen [davidsen@tmr.com] wrote:
> > > scsi_eh_offline_sdevs: Device offlined - not ready or command retry failed after
> > > error recovery: host 0 channel 0 id 3 lun 0
> > > Vendor: Model: Rev:
> > > Type: Direct-Access ANSI SCSI revision: 00
I am looking at this right now I believe when we offline a device we are
not setting the result if no action was performed on the command which
would happen if the device has no error handling.
> kernel BUG at drivers/base/core.c:269!
> invalid operand: 0000
> ncr53c8xx ide-scsi
> CPU: 0
> EIP: 0060:[<c01e2d90>] Not tainted
> EFLAGS: 00010202
> EIP is at put_device+0x50/0x80
> eax: 00000001 ebx: cf53b964 ecx: c03ee5d0 edx: cf53b9fc
> esi: cf948c98 edi: cf948c00 ebp: d08bf2e0 esp: cf60ff14
> ds: 0068 es: 0068 ss: 0068
> Process modprobe (pid: 332, threadinfo=cf60e000 task=cf7c7980)
> Stack: 00000000 cf53b800 c022b8c9 cf53b964 fffffff4 cfde6000 00000286 c014febe
> cfde6009 00000008 ff883e60 fffffffe c03bda00 00000000 c0138b4f c0138b66
> c12562a0 c12562a0 000001ff 00000000 c03be400 00000000 c0138ea2 c03bda00
> Call Trace:
> [<c022b8c9>] scsi_unregister_host+0x259/0x540
> [<c014febe>] getname+0x5e/0xa0
> [<c0138b4f>] buffered_rmqueue+0x12f/0x150
> [<c0138b66>] buffered_rmqueue+0x146/0x150
> [<c0138ea2>] __alloc_pages+0xb2/0x290
> [<d08b988a>] exit_this_scsi_driver+0xa/0xc [ncr53c8xx]
> [<d08bf2e0>] driver_template+0x0/0x80 [ncr53c8xx]
> [<c011c07e>] free_module+0x1e/0xf0
> [<c011b454>] sys_delete_module+0x154/0x2e0
> [<c010736f>] syscall_call+0x7/0xb
2.5.44 scsi_unregister_host update to device_unregister should fix this
problem.
-andmike
--
Michael Anderson
andmike@us.ibm.com
next prev parent reply other threads:[~2002-10-19 19:53 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-18 19:12 andy barlak
2002-10-18 22:43 ` Mike Anderson
2002-10-19 19:12 ` Bill Davidsen
2002-10-19 19:59 ` Mike Anderson [this message]
2002-10-21 16:23 ` Doug Ledford
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=20021019195926.GB2556@beaverton.ibm.com \
--to=andmike@us.ibm.com \
--cc=andyb@island.net \
--cc=davidsen@tmr.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@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®