On Fri, 4 Jul 2003, Tomita, Haruo wrote:
> Daer David,
>
> I operated USB2.0 by 2.4.22-pre2.
> The following problems occurred in VT6202.
>
> Socket status: 30000007
> cs: IO port probe 0x0c00-0x0cff: clean.
> cs: IO port probe 0x0100-0x04ff: excluding 0x378-0x37f 0x4d0-0x4d7
> cs: IO port probe 0x0a00-0x0aff: clean.
> Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
> sr0: scsi3-mmc drive: 40x/40x writer cd/rw xa/form2 cdda tray
> Uniform CD-ROM driver Revision: 3.12
> spurious 8259A interrupt: IRQ7.
> usb_control/bulk_msg: timeout
> usb_control/bulk_msg: timeout
> usb_control/bulk_msg: timeout
> hub.c: USB device not accepting new address (error=-71)
> usb.c: USB disconnect on device 00:0c.2-1 address 2
> hub.c: new USB device 00:0c.2-1, assigned address 3
> WARNING: USB Mass Storage data integrity not assured
> USB Mass Storage device found at 3
> usb-storage: host_reset() requested but not implemented
> scsi: device set offline - command error recover failed: host 0 channel 0 id
> 0 lun 0
> SCSI cdrom error : host 0 channel 0 id 0 lun 0 return code = 6050000
> I/O error: dev 0b:00, sector 523912
> I/O error: dev 0b:00, sector 523916
> I/O error: dev 0b:00, sector 524164
> I/O error: dev 0b:00, sector 523912
>
> I investigated and corrected ehci-hcd.
> When adapted in this my patch,
> it is operating satisfactory one day or more.
> PD720100 of NEC is also operating satisfactory.
> diff -Naur linux-2.4.22-pre2/drivers/usb/storage/scsiglue.c
> linux-2.4.22-pre2-usb/drivers/usb/storage/scsiglue.c
> --- linux-2.4.22-pre2/drivers/usb/storage/scsiglue.c 2003-06-13 23:51:37.
> 000000000 +0900
> +++ linux-2.4.22-pre2-usb/drivers/usb/storage/scsiglue.c 2003-07-02
> 15:46:53.000000000 +0900
> @@ -301,8 +301,8 @@
> /* FIXME: This doesn't do anything right now */
> static int host_reset( Scsi_Cmnd *srb )
> {
> - printk(KERN_CRIT "usb-storage: host_reset() requested but not
> implemented\n" );
> - return FAILED;
> + printk(KERN_CRIT "usb-storage: host_reset() requested\n" );
> + return SUCCESS;
> }
The patch to usb-storage should not be necessary. Once the HC driver has
been fixed, the host_reset() function won't even be invoked. And if it is
invoked, it should not return SUCCESS -- that would mean it had tried to
fix a problem by changing some hardware state when in fact it had not done
so.
Alan Stern
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel