[linux-usb-devel] Re: Problem with an USB Stick and kernel 2.6.1

2004-02-29 Thread Alan Stern
On Sun, 29 Feb 2004, Florian Lohoff wrote: > > Hi, > better late than never - Yes - this fixes the no sense problem for > me. Patch still applied to 2.6.3 without offset and fixes the problem. > > Mainline please ! A change for this has been submitted, but it's different from the one you're t

[linux-usb-devel] Re: Problem with an USB Stick and kernel 2.6.1

2004-02-29 Thread Florian Lohoff
Hi, better late than never - Yes - this fixes the no sense problem for me. Patch still applied to 2.6.3 without offset and fixes the problem. Mainline please ! Flo On Fri, Jan 16, 2004 at 03:53:18PM -0500, Alan Stern wrote: > > Florian and Alexander, does this patch fix your problem? Mike, h

[linux-usb-devel] Re: Problem with an USB Stick and kernel 2.6.1

2004-01-16 Thread Alexander Motzkau
Alan Stern wrote: > Florian and Alexander, does this patch fix your problem? Mike, how does > it look to you? Works for me. (Kernel 2.6.1) Thank you! Alex --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools

[linux-usb-devel] Re: Problem with an USB Stick and kernel 2.6.1

2004-01-16 Thread James Bottomley
On Fri, 2004-01-16 at 16:27, Mike Anderson wrote: > This matches what I thought should be added to sd, but I did not hear an > answer from James / others if this is the way we should handle it. Actually, perhaps we should treat it *exactly* the same as RECOVERED_ERROR (i.e. do the print_sense) so

[linux-usb-devel] Re: Problem with an USB Stick and kernel 2.6.1

2004-01-16 Thread Mike Anderson
This matches what I thought should be added to sd, but I did not hear an answer from James / others if this is the way we should handle it. Alan Stern [EMAIL PROTECTED] wrote: > On Fri, 16 Jan 2004, Mike Anderson wrote: > > > Alan Stern [EMAIL PROTECTED] wrote: > > > > > > Seeing no sense key,

[linux-usb-devel] Re: Problem with an USB Stick and kernel 2.6.1

2004-01-16 Thread Alan Stern
On Fri, 16 Jan 2004, Mike Anderson wrote: > Alan Stern [EMAIL PROTECTED] wrote: > > > > Seeing no sense key, usb-storage returns 0 indicating the command > > succeeded. But scsi_finish_command() sees that valid sense data is > > present and sets the driver_byte to DRIVER_SENSE. > > > > > SCSI e

[linux-usb-devel] Re: Problem with an USB Stick and kernel 2.6.1

2004-01-16 Thread Mike Anderson
Alan Stern [EMAIL PROTECTED] wrote: > > Seeing no sense key, usb-storage returns 0 indicating the command > succeeded. But scsi_finish_command() sees that valid sense data is > present and sets the driver_byte to DRIVER_SENSE. > > > SCSI error : <1 0 0 0> return code = 0x800 > > Current sda:

[linux-usb-devel] Re: Problem with an USB Stick and kernel 2.6.1

2004-01-16 Thread Alan Stern
Help! This is a problem in the interface between usb-storage and the SCSI core (or maybe the block layer core). The core thinks there is an error when in fact there isn't. On Fri, 16 Jan 2004, Florian Lohoff wrote: > On Fri, Jan 16, 2004 at 12:48:00PM +0100, Alexander Motzkau wrote: > > Hello,