Author: wmb
Date: 2009-11-14 02:05:23 +0100 (Sat, 14 Nov 2009)
New Revision: 1478
Modified:
dev/usb2/device/storage/scsi.fth
Log:
OLPC trac 9423 - Added commented-out code to report occurences of
the USB problem reported in that ticket, which has been suppressed
by a retry workaround.
Modified: dev/usb2/device/storage/scsi.fth
===================================================================
--- dev/usb2/device/storage/scsi.fth 2009-11-13 22:53:08 UTC (rev 1477)
+++ dev/usb2/device/…
[View More]storage/scsi.fth 2009-11-14 01:05:23 UTC (rev 1478)
@@ -141,6 +141,15 @@
?dup if ( actual csw-len csw-usberror )
nip ( actual csw-usberror )
dup h# 10000000 = if ( actual csw-usberror )
+[ifdef] notdef
+\ This is for testing the problem described in OLPC trac #9423
+\ The problem has been worked around so users no longer see it,
+\ apart from a short delay when it happens, but for testing you
+\ can enable this code to report the problem and count occurrences.
+cr 7 emit ." TIMEOUT " 7 emit
+" h# 72 cmos@ 1+ dup .d h# 72 cmos!" evaluate
+cr
+[then]
2drop 0 2 ( 0 2 ) \ Convert timeout error to a retry
then ( actual usberror )
exit
[View Less]
Author: wmb
Date: 2009-11-13 23:43:30 +0100 (Fri, 13 Nov 2009)
New Revision: 1474
Modified:
dev/mmc/sdhci/sdhcixo.bth
Log:
Fixed a "stack depth changed" warning that only happens on B3 systems.
We don't have any real B3s yet, but the ECO-ed B2 revealed the problem.
Modified: dev/mmc/sdhci/sdhcixo.bth
===================================================================
--- dev/mmc/sdhci/sdhcixo.bth 2009-11-13 22:41:11 UTC (rev 1473)
+++ dev/mmc/sdhci/sdhcixo.bth 2009-11-13 22:43:30 UTC (rev …
[View More]1474)
@@ -48,6 +48,7 @@
" sdmmc" " $load-driver" eval drop
" internal" " slot-name" string-property
finish-device
+ exit
then
\ B1,B2
[View Less]