Thank you Alan, the patch solved the problem!
I still have an error message about my device not accepting address #
but I can access the drive without problems.
Here's the end of the dmesg:
usb 5-1: new full speed USB device using uhci_hcd and address 2
usb 5-1: device not accepting address 2, error -71
usb 1-7: new high speed USB device using ehci_hcd and address 5
Initializing USB Mass Storage driver...
scsi2 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 5
usb-storage: waiting for device to settle before scanning
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
Vendor: WDC WD25 Model: 00JB-00EVA0 Rev: 15.0
Type: Direct-Access ANSI SCSI revision: 04
SCSI device sdb: 488397168 512-byte hdwr sectors (250059 MB)
sdb: assuming drive cache: write through
SCSI device sdb: 488397168 512-byte hdwr sectors (250059 MB)
sdb: assuming drive cache: write through
sdb: sdb1 sdb2
Attached scsi disk sdb at scsi2, channel 0, id 0, lun 0
usb-storage: device scan complete
SELinux: initialized (dev sdb1, type vfat), uses genfs_contexts
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
SELinux: initialized (dev sdb2, type ext2), uses xattr
Le jeudi 14 juillet 2005 à 10:06 -0400, Alan Stern a écrit :
> On Thu, 14 Jul 2005, Gildas Bayard wrote:
>
> > Hello,
> >
> > I've just bought a dell Optiplex SX 280 computer and my usb2 hdd doesn't
> > work on it.
> > I'm running Fedora Core 4 on a 2.6.12-1.1387_FC4smp kernel
> > The hdd worked fine with Fedora Core 3 on an other computer.
> > Does-it come from FC4? from the dell computer? From the kernel EHCI or
> > other module?
> > Since I've got the same error on gentoo on the same computer but the hdd
> > worked fine with FC3 on an other computer I tend to think that it comes
> > from the computer (new hardware not yet supported?), but I'm not sure at
> > all.
> > The chipset is an intel 915 Express
> > I/O controller is an intel 82801FB (ICH6)
> > I dump here the dmesg trace so that you can give me a hint.
> > My entire life is on this usb drive (pictures, movies, music...).
> > Arghhhh! :|
>
> The patch below may fix your problem. It has been submitted but not yet
> accepted. It addresses a bug in the USB drive's firmware -- not in the
> computer, the kernel, a driver, or anything else in the distribution.
>
> By the way, what kernel version were you using with FC3?
>
> Alan Stern
>
>
> ===== drivers/usb/storage/scsiglue.c 1.95 vs edited =====
> --- 1.95/drivers/usb/storage/scsiglue.c 2005-02-10 16:22:46 -05:00
> +++ edited/drivers/usb/storage/scsiglue.c 2005-02-22 10:50:08 -05:00
> @@ -154,6 +154,14 @@
> * If this device makes that mistake, tell the sd driver. */
> if (us->flags & US_FL_FIX_CAPACITY)
> sdev->fix_capacity = 1;
> +
> + /* Some devices report a SCSI revision level above 2 but are
> + * unable to handle the REPORT LUNS command (for which
> + * support is mandatory at level 3). Since we already have
> + * a Get-Max-LUN request, we won't lose much by setting the
> + * revision level down to 2. The only devices that would be
> + * affected are those with sparse LUNs. */
> + sdev->scsi_level = SCSI_2;
> } else {
>
> /* Non-disk-type devices don't need to blacklist any pages
>
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users