From: Phil Dibowitz <phil@ipom.com>
To: linux-scsi@vger.kernel.org
Subject: 2.6.0-test8: scsi_sysfs.c still not detaching properly
Date: Sun, 19 Oct 2003 12:16:00 -0700 [thread overview]
Message-ID: <3F92E2F0.2090003@ipom.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1915 bytes --]
I'm experiencing a bug similar to the one referenced here:
http://sourceforge.net/mailarchive/message.php?msg_id=6252693
But the patch in that thread has been applied to 2.6.0-test8, which I'm
running, and I'm still having the same problem - albeit with a different
device.
The device in question is a Digital Camera (Casio Exilim) that uses the
usb-storage driver. Basically device files do not get unallocated upon
disconnect, and thus successive connections get different device files
associated with them.
When attached, I get the following (and it attaches to sda1):
Oct 19 12:12:20 rider kernel: hub 1-0:1.0: new USB device on port 2,
assigned address 3
Oct 19 12:12:20 rider kernel: scsi1 : SCSI emulation for USB Mass
Storage devices
Oct 19 12:12:20 rider kernel: Vendor: Casio Model: QV
DigitalCamera Rev: 5010
Oct 19 12:12:20 rider kernel: Type: Direct-Access
ANSI SCSI revision: 02
Oct 19 12:12:21 rider scsi.agent[9314]: how to add device type= at
/devices/pci0000:00/0000:00:07.2/usb1/1-2/1-2:1.0/host1/1:0:0:0 ??
Oct 19 12:12:21 rider kernel: SCSI device sda: 20208 512-byte hdwr
sectors (10 MB)
Oct 19 12:12:21 rider kernel: sda: Write Protect is off
Oct 19 12:12:21 rider kernel: sda: cache data unavailable
Oct 19 12:12:21 rider kernel: sda: sda1
Oct 19 12:12:21 rider kernel: Attached scsi removable disk sda at scsi1,
channel 0, id 0, lun 0
When unattached, I get:
Oct 19 12:13:14 rider kernel: usb 1-2: USB disconnect, address 3
And the next time I attach, it attaches to sdb1.
Any help would be greatly appreciated.
--
Phil Dibowitz phil@ipom.com
Freeware and Technical Pages Insanity Palace of Metallica
http://www.phildev.net/ http://www.ipom.com/
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."
- Benjamin Franklin, 1759
[-- Attachment #2: Type: application/pgp-signature, Size: 251 bytes --]
next reply other threads:[~2003-10-19 19:17 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-19 19:16 Phil Dibowitz [this message]
2003-10-20 0:15 ` 2.6.0-test8: scsi_sysfs.c still not detaching properly Patrick Mansfield
2003-10-20 0:49 ` Phil Dibowitz
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=3F92E2F0.2090003@ipom.com \
--to=phil@ipom.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.