From: "Ozan Çağlayan" <ozan@pardus.org.tr>
To: linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org
Subject: A really interesting mass-storage BUG introduced after 2.6.18
Date: Sun, 11 Jan 2009 13:41:39 +0200 [thread overview]
Message-ID: <4969DAF3.70409@pardus.org.tr> (raw)
Hi,
One of our users reported[0] that his 128MB mass storage driver doesn't
work anymore on our current stock kernel 2.6.25.20 by hotplugging but
works flawlessly if it was plugged before booting the OS. He also said
that it was working out of the box with our old kernel 2.6.18. I
gathered a lot of output and debugging stuff from the user[1][2] and
found out that the device has some problems with SCSI Inquiry commands
then I discovered the patch of Alan Stern about the bad residue
values[3], backported it and no way it didn't solve the problem.
I also suggested to give a try to the current stable 2.6.28 but the
behaviour is still the same.
When hotplugged, the kernel doesn't detect the partitions in the device
leaving the block device on its own but if it's plugged during the boot,
the partitions are correctly detected and have their own /sys/block
entries. Note that the device reports a "usb embedded hub" beside a mass
storage device (dunno if it's the case with all of these kind devices).
[0]: http://bugs.pardus.org.tr/show_bug.cgi?id=8369
[1]: http://bugzilla.kernel.org/show_bug.cgi?id=11125
[2]: http://bugs.pardus.org.tr/attachment.cgi?id=3553 (Hotplugged dmesg
output)
[3]: http://bugs.pardus.org.tr/attachment.cgi?id=3561 (Coldplug dmesg
output, correctly detected)
Regards,
--
Ozan Çağlayan
<ozan_at_pardus.org.tr>
next reply other threads:[~2009-01-11 11:43 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-11 11:41 Ozan Çağlayan [this message]
2009-01-12 22:19 ` A really interesting mass-storage BUG introduced after 2.6.18 Alan Stern
2009-01-13 11:28 ` Ozan Çağlayan
2009-01-14 15:47 ` Alan Stern
2009-01-15 5:13 ` Iwo Mergler
2009-01-15 15:13 ` Alan Stern
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=4969DAF3.70409@pardus.org.tr \
--to=ozan@pardus.org.tr \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@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