All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Dr. Ernst Molitor" <molitor@uni-bonn.de>
To: Mike Anderson <andmike@us.ibm.com>
Cc: linux-scsi@vger.kernel.org, "Dr. Ernst Molitor" <molitor@uni-bonn.de>
Subject: Re: Linux-2.6.0-test4: Kernel Panic in scsi_host_dev_release
Date: Tue, 26 Aug 2003 09:20:55 +0200	[thread overview]
Message-ID: <1061882454.491.4.camel@felicia> (raw)
In-Reply-To: <20030825234232.GA2470@beaverton.ibm.com>

Dear Michael Anderson, 

thank you very much for your kind e-mail message and the patch you've
written. 

On Tue, 2003-08-26 at 01:42, Mike Anderson wrote:
> I believe the problem you are hitting is a bug in the code I added for a
> doing a put on the parent in the release function. If a driver calls
> scsi_register, but then has a problem in there detect where they need to
> call scsi_unregister the parent pointer of the struct device may never
> be set.
> 
> I you have time could you please try the patch below. I have compiled it
> only. I will try to run it with a modified driver that will fail in
> detect shortly.
> 

My pleasure. Your patch fixes the problem I have seen - thank you very
much! Linux-2.6.3-test4 is up and running on the box I'm writing this
message on.
 
> 
> We need to kfree the shost as the struct device is contained inside the
> scsi_host structure.

I see, thank you very much for your kind explanation.

Best wishes and regards, 

Ernst



      reply	other threads:[~2003-08-26  7:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-25 20:54 Linux-2.6.0-test4: Kernel Panic in scsi_host_dev_release Dr. Ernst Molitor
2003-08-25 23:42 ` Mike Anderson
2003-08-26  7:20   ` Dr. Ernst Molitor [this message]

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=1061882454.491.4.camel@felicia \
    --to=molitor@uni-bonn.de \
    --cc=andmike@us.ibm.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.