public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: Markus Lidel <Markus.Lidel@shadowconnect.com>
To: SCSI Mailing List <linux-scsi@vger.kernel.org>
Subject: kernel oops in del_gendisk with one queue for many disks under 2.6.x
Date: Tue, 20 Apr 2004 16:46:42 +0200	[thread overview]
Message-ID: <408537D2.7010902@shadowconnect.com> (raw)

Hello,

the i2o_block driver uses one queue per controller. If there are more
then one disk attached to the controller, the kernel oopses, if the 
module is removed, while deleting the second disk:

Call Trace:
<ffffffff801da37e>{kobject_del+27}
<ffffffff801da390>{kobject_unregister+9}
<ffffffff8022c344>{elv_unregister_queue+21}
<ffffffff8022fe47>{blk_unregister_queue+33}
<ffffffff80230c21>{unlink_gendisk+9}
<ffffffff801ae60b>{del_gendisk+77}
<ffffffffa0037ef2>{:i2o_block:i2o_block_exit+262}
<ffffffff8014c516>{sys_delete_module+321}
<ffffffff80166c1c>{sys_munmap+70}
<ffffffff801112ba>{system_call+126}

My question is, what is the best solution to the problem?

a) use one queue per disk?
b) set the queue to NULL for the other disks, that are on the same 
controller?
c) ???

Any help is highly appreciated.

Best regards,


Markus Lidel


                 reply	other threads:[~2004-04-20 14:43 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=408537D2.7010902@shadowconnect.com \
    --to=markus.lidel@shadowconnect.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox