Re: [linux-usb-devel] usb device problem

2006-06-07 Thread Jiri Slaby
Mark Lord napsal(a): > Jiri Slaby wrote: >> Hello, >> >> I get this with 2.6.17-rc5-mm3 kernel: > .. >> usb-storage: device found at 10 >> usb-storage: waiting for device to settle before scanning >> Vendor: Model: Rev: >> Type: Direct-Access A

Re: [linux-usb-devel] usb device problem

2006-06-07 Thread Jiri Slaby
Jiri Slaby napsal(a): > Mark Lord napsal(a): >> Mmm.. okay, a quick glance at the USB storage code revealed one instance: >> >>/* Did we transfer less than the minimum amount required? */ >>if (srb->result == SAM_STAT_GOOD && >>srb->request_bufflen - srb->res

Re: [linux-usb-devel] usb device problem

2006-06-07 Thread Jiri Slaby
Mark Lord napsal(a): > Mmm.. okay, a quick glance at the USB storage code revealed one instance: > >/* Did we transfer less than the minimum amount required? */ >if (srb->result == SAM_STAT_GOOD && >srb->request_bufflen - srb->resid < srb->underflow) >

Re: [linux-usb-devel] usb device problem

2006-06-07 Thread Mark Lord
Jiri Slaby wrote: > Jiri Slaby napsal(a): >> Mark Lord napsal(a): >>> Mmm.. okay, a quick glance at the USB storage code revealed one instance: >>> >>>/* Did we transfer less than the minimum amount required? */ >>>if (srb->result == SAM_STAT_GOOD && >>>srb->

Re: [linux-usb-devel] usb device problem

2006-06-06 Thread Mark Lord
Mark Lord wrote: > Jiri Slaby wrote: >> Mark Lord napsal(a): >>> Jiri Slaby wrote: .. --- sd 10:0:0:0: SCSI error: return code = 0x1007 end_request: I/O error, dev sdb, sector 1575 .. > The 0x1007000 is broken down as: > > 07 == "host byte" = DID_ERROR = "internal error" > 10

Re: [linux-usb-devel] usb device problem

2006-06-06 Thread Mark Lord
Jiri Slaby wrote: > Mark Lord napsal(a): >> Jiri Slaby wrote: >>> Hello, >>> >>> I get this with 2.6.17-rc5-mm3 kernel: >> .. >>> usb-storage: device found at 10 >>> usb-storage: waiting for device to settle before scanning >>> Vendor: Model: Rev: >>> Type: Direct-

Re: [linux-usb-devel] usb device problem

2006-06-06 Thread Mark Lord
Jiri Slaby wrote: > Hello, > > I get this with 2.6.17-rc5-mm3 kernel: .. > usb-storage: device found at 10 > usb-storage: waiting for device to settle before scanning > Vendor: Model: Rev: > Type: Direct-Access ANSI SCSI revision: 00 > SCSI de