From: Mike Fedyk <mfedyk@matchmail.com>
To: Andrew Morton <akpm@osdl.org>
Cc: linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org
Subject: Re: OOps in 2.6.0-test4-mm3-1
Date: Sat, 30 Aug 2003 16:20:03 -0700 [thread overview]
Message-ID: <20030830232003.GB898@matchmail.com> (raw)
In-Reply-To: <20030829200926.3e2b7eb6.akpm@osdl.org>
On Fri, Aug 29, 2003 at 08:09:26PM -0700, Andrew Morton wrote:
> Mike Fedyk <mfedyk@matchmail.com> wrote:
> >
> > It's vanilla mm3-1 with this one patch added from Neil Brown. I don't think
> > it has anything to do with it (it looks like a driver issue to me). But it
> > can't hurt to mention it.
> Some drivers such as aha1542 and aic7xxx_old will call scsi_register() and
> then, if some succeeding operations fails they will call scsi_unregister(),
> without an intervening scsi_set_host().
>
> This causes an oops in scsi_put_device(), because kobj->parent is NULL.
>
> In other words, scsi_register() immediately followed by scsi_unregister()
> is guaranteed to oops.
>
> The patch makes scsi_host_dev_release() more robust against this usage
> pattern.
Ok, I'll give that patch a try. Though, is there any reason why
2.6.0-test2-mm1 doesn't oops too? (that was the previous kernel on that
machine)
next prev parent reply other threads:[~2003-08-30 23:20 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-29 6:56 2.6.0-test4-mm3 Andrew Morton
2003-08-29 7:45 ` 2.6.0-test4-mm3 Andrew Morton
2003-08-29 15:42 ` 2.6.0-test4-mm3 Ed Sweetman
2003-08-29 15:57 ` 2.6.0-test4-mm3 Andrew Morton
2003-08-29 15:59 ` 2.6.0-test4-mm3 Felipe Alfaro Solana
2003-08-30 1:43 ` OOps in 2.6.0-test4-mm3-1 Mike Fedyk
2003-08-30 3:09 ` Andrew Morton
2003-08-30 23:20 ` Mike Fedyk [this message]
2003-08-30 23:36 ` Andrew Morton
2003-09-10 18:53 ` 2.6.0-test4-mm3 Mike Fedyk
2003-09-10 18:55 ` ide-scsi oops was: 2.6.0-test4-mm3 Mike Fedyk
2003-09-10 18:43 ` Andrew Morton
2003-09-10 19:10 ` Mike Fedyk
2003-09-11 15:24 ` Alan Cox
2003-09-10 20:04 ` Martin J. Bligh
2003-09-10 20:35 ` Murray J. Root
2003-09-10 20:53 ` Paul Larson
2003-09-10 21:11 ` Sandisk WiFi + CF card question J.C. Wren
2003-09-11 8:20 ` ide-scsi oops was: 2.6.0-test4-mm3 Jens Axboe
2003-09-11 15:12 ` Gerhard Mack
2003-09-11 21:52 ` Jens Axboe
2003-09-11 15:27 ` Alan Cox
2003-09-11 21:50 ` Jens Axboe
2003-09-11 18:13 ` Martin J. Bligh
2003-09-11 18:30 ` Mike Fedyk
2003-09-11 21:52 ` Jens Axboe
2003-09-16 0:34 ` Ian Hastie
2003-09-16 9:20 ` Jens Axboe
2003-09-16 18:26 ` Ian Hastie
2003-09-16 18:58 ` Mike Fedyk
2003-09-17 10:31 ` Jens Axboe
2003-09-16 21:41 ` OOps in HFS " Mike Fedyk
2003-09-16 21:40 ` Andrew Morton
2003-09-16 23:59 ` Mike Fedyk
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=20030830232003.GB898@matchmail.com \
--to=mfedyk@matchmail.com \
--cc=akpm@osdl.org \
--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