Re: [linux-usb-devel] usb-storage bad device...

2006-08-17 Thread Greg KH
On Thu, Aug 17, 2006 at 01:55:03PM -0700, Matthew Dharm wrote: > On Thu, Aug 17, 2006 at 03:57:52PM -0400, Alan Stern wrote: > > P.S.: There's one good thing about the phone: It always sets a correct > > value for the Residue! Lots of devices don't. > > It also appears to be framing the commands

Re: [linux-usb-devel] usb-storage bad device...

2006-08-17 Thread Matthew Dharm
On Thu, Aug 17, 2006 at 03:57:52PM -0400, Alan Stern wrote: > P.S.: There's one good thing about the phone: It always sets a correct > value for the Residue! Lots of devices don't. It also appears to be framing the commands and responses properly, which is good. That is, status messages come whe

Re: [linux-usb-devel] usb-storage bad device...

2006-08-17 Thread Greg KH
On Thu, Aug 17, 2006 at 03:57:52PM -0400, Alan Stern wrote: > On Thu, 17 Aug 2006, Greg KH wrote: > > > > Did you notice that the number of sectors being reported looks very close > > > to MAXLONG? And I'm pretty sure your phone does not have 2.2TB of > > > storage. > > > > Yeah, I wish. And i

Re: [linux-usb-devel] usb-storage bad device...

2006-08-17 Thread Alan Stern
On Thu, 17 Aug 2006, Greg KH wrote: > > Did you notice that the number of sectors being reported looks very close > > to MAXLONG? And I'm pretty sure your phone does not have 2.2TB of storage. > > Yeah, I wish. And it's not my phone, unless I can figure out how to > distract the owner enough to

Re: [linux-usb-devel] usb-storage bad device...

2006-08-17 Thread Pete Zaitcev
On Thu, 17 Aug 2006 11:24:51 -0700, Greg KH <[EMAIL PROTECTED]> wrote: > [ 125.718000] SCSI device sda: 4294967294 512-byte hdwr sectors (2199023 MB) >[] > [ 125.922000] end_request: I/O error, dev sda, sector 4294967040 > [ 125.922000] Buffer I/O error on device sda, logical block 21474835

Re: [linux-usb-devel] usb-storage bad device...

2006-08-17 Thread Greg KH
On Thu, Aug 17, 2006 at 11:34:20AM -0700, Matthew Dharm wrote: > On Thu, Aug 17, 2006 at 11:24:51AM -0700, Greg KH wrote: > > I've got access to a new phone for a few hours here, and it doesn't seem > > to want to play nice with the usb-storage driver (imagine that...) > > > > Here's the dmesg of

Re: [linux-usb-devel] usb-storage bad device...

2006-08-17 Thread Greg KH
On Thu, Aug 17, 2006 at 11:34:20AM -0700, Matthew Dharm wrote: > On Thu, Aug 17, 2006 at 11:24:51AM -0700, Greg KH wrote: > > I've got access to a new phone for a few hours here, and it doesn't seem > > to want to play nice with the usb-storage driver (imagine that...) > > > > Here's the dmesg of

Re: [linux-usb-devel] usb-storage bad device...

2006-08-17 Thread Greg KH
On Thu, Aug 17, 2006 at 11:24:51AM -0700, Greg KH wrote: > I've got access to a new phone for a few hours here, and it doesn't seem > to want to play nice with the usb-storage driver (imagine that...) > > Here's the dmesg of the device without debugging turned on, I'll enable > it and send that lo

Re: [linux-usb-devel] usb-storage bad device...

2006-08-17 Thread Matthew Dharm
On Thu, Aug 17, 2006 at 11:24:51AM -0700, Greg KH wrote: > I've got access to a new phone for a few hours here, and it doesn't seem > to want to play nice with the usb-storage driver (imagine that...) > > Here's the dmesg of the device without debugging turned on, I'll enable > it and send that lo

[linux-usb-devel] usb-storage bad device...

2006-08-17 Thread Greg KH
I've got access to a new phone for a few hours here, and it doesn't seem to want to play nice with the usb-storage driver (imagine that...) Here's the dmesg of the device without debugging turned on, I'll enable it and send that log next. Any hints on how to determine which flags to add to the un