On Thursday 18 November 2004 20:29, Pete Zaitcev wrote:
> On Thu, 18 Nov 2004 01:04:48 +0100, Christian Iversen
<[EMAIL PROTECTED]> wrote:
> > http://bugme.osdl.org/show_bug.cgi?id=3728, which has now been fixed.
> > However, the world is not trouble-free yet, as linux still crashes in
> > certain situations on 2.6.10-rc2 with SMP systems. (UP systems are fine).
>
> Ah, 2.6.10-rc2. Thanks for posting the precise version. I am so tired of
> people who write "latest" or "current".
No problem at all, everybody should do this.. ;-)
> Please try this patch by Mike Christie:
>
> --- scsi-target-2.6/drivers/scsi/hosts.c 2004-10-09 07:56:54.363746835
> -0700 +++ scsi-target-2.6.work/drivers/scsi/hosts.c 2004-10-09
> 07:49:21.287638490 -0700 @@ -55,6 +55,12 @@
> return scsi_device_cancel(to_scsi_device(dev), *(int *)data);
> }
>
> +static int scsi_target_cancel_cb(struct device *dev, void *data)
> +{
> + device_for_each_child(dev, data, scsi_device_cancel_cb);
> + return 0;
> +}
> +
> /**
> * scsi_host_cancel - cancel outstanding IO to this host
> * @shost: pointer to struct Scsi_Host
> @@ -64,7 +70,7 @@
> {
> set_bit(SHOST_CANCEL, &shost->shost_state);
> device_for_each_child(&shost->shost_gendev, &recovery,
> - scsi_device_cancel_cb);
> + scsi_target_cancel_cb);
> wait_event(shost->host_wait, (!test_bit(SHOST_RECOVERY,
> &shost->shost_state)));
> }
For some reason, I had to apply it by hand. Poor patch(1) got confused.
Problem with tab chars?
Anyhow, it works _perfectly_. Thank you so very much :-)
*party time*
If you read the bug-description, you will see some mention of low USB speeds.
This is an unrelated issue, which I'll post to the mailing list shortly.
--
Regards,
Christian Iversen
-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel