Re: BUG in: Driver core: convert block from raw kobjects to core devices

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Kay Sievers <kay.sievers@...>
Cc: Greg KH <greg@...>, Kernel development list <linux-kernel@...>
Date: Sunday, October 21, 2007 - 8:26 pm

On Sun, 21 Oct 2007, Kay Sievers wrote:


Yes, I see your point.  Suppose you try doing the exact same thing
again, but this time un-comment the put_device() call so that the
scsi_device does get released.  I predict that the log will show your
request_queue drops its reference to the gendisk structure _after_ the
gendisk has been released.  (If necessary I could send a patch with a
printk at the crucial spot.)  That would prove something is going wrong
on your system.

(BTW you don't need to include the log for when you plug in the USB
drive; all that matters is what happens when you unplug it.)

Alan Stern

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: BUG in: Driver core: convert block from raw kobjects to ..., Alan Stern, (Sun Oct 21, 8:26 pm)