lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <1278259521.7623.2.camel@localhost>
Date:	Sun, 04 Jul 2010 18:05:21 +0200
From:	Paul Sheer <p@...8bug.com>
To:	linux-kernel@...r.kernel.org
Subject: patch? Re: USB mass storage fails to register on kernel 2.6.32


Ok, I changed the cable and it works perfectly.

I suggest the following patch then:

--- ./drivers/usb/core/hub.c 2010-06-11 09:54:26.000000000 +0200
+++ ./drivers/usb/core/hub.c.new 2010-07-04 17:10:28.000000000 +0200
@@ -2777,12 +2777,12 @@
retval = -ENODEV;
goto fail;
}
if (r) {
dev_err(&udev->dev,
- "device descriptor read/64, error %d\n",
- r);
+ "device descriptor read/64, error %d%s\n",
+ r, r == -32 ? ": bad cable?" : "");
retval = -EMSGSIZE;
continue;
}
#undef GET_DESCRIPTOR_BUFSIZE
}

I guess this closes this issue.

Kind regards

-paul


On Sun, 2010-07-04 at 10:03 +0200, Paul Sheer wrote:
> Hi there,
> 
> I have a Samsung Story external USB-2.0 1.5TB drive that fails to
> detect as a device in more recent kernel versions. Full kmsg details
> are below. Note that a USB thumb drive works fine on my system.
> Older kernels work fine with the Samsung also. In terms of which
> version of the kernel this stopped working, this I don't know.
> 


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ