9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] usb disk error
@ 2009-10-20 19:33 erik quanstrom
  2009-10-20 20:54 ` W B Hacker
  2009-10-21  2:05 ` Francisco J Ballesteros
  0 siblings, 2 replies; 4+ messages in thread
From: erik quanstrom @ 2009-10-20 19:33 UTC (permalink / raw)
  To: 9fans

i don't recall getting these before.  this seems
like new behavior.  i got 4 of these when downloading
4gb of pictures from a sd card.  never in
the same place twice.  sb600 ohci controller.

disk... reset: device is detached

it seems that umsrecover -> umsreset -> usbcmd and

	if(usbcmd(ums->dev, r, Umsreset, 0, 0, nil, 0) < 0){
>		fprint(2, "disk: reset: %r\n");

i don't see exactly where it is, but could this be
a timeout issue?  that's the main difference i see
between now and the previous time.  turning on
debugging might not help.  there's just too much
of it.  sometimes it's many gb of transfer before
an error.

- erik



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [9fans] usb disk error
  2009-10-20 19:33 [9fans] usb disk error erik quanstrom
@ 2009-10-20 20:54 ` W B Hacker
  2009-10-21  2:05 ` Francisco J Ballesteros
  1 sibling, 0 replies; 4+ messages in thread
From: W B Hacker @ 2009-10-20 20:54 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

erik quanstrom wrote:
> i don't recall getting these before.  this seems
> like new behavior.  i got 4 of these when downloading
> 4gb of pictures from a sd card.  never in
> the same place twice.  sb600 ohci controller.
>
> disk... reset: device is detached
>
> it seems that umsrecover -> umsreset -> usbcmd and
>
> 	if(usbcmd(ums->dev, r, Umsreset, 0, 0, nil, 0) < 0){
>> 		fprint(2, "disk: reset: %r\n");
>
> i don't see exactly where it is, but could this be
> a timeout issue?  that's the main difference i see
> between now and the previous time.  turning on
> debugging might not help.  there's just too much
> of it.  sometimes it's many gb of transfer before
> an error.
>
> - erik
>
>

If a new problem, it 'should' be a hardware issue. Bits, as you know as well as
anyone, do not really 'rot'.

Wots the ambient temperature, device temp, planar temp and surface
cleanliness/humidity at the area of the driving silicon and on any
sockets/conectors?

And if clean, cool, and well-connected, do the PS rail and signals look clean on
a 'scope?

Bill




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [9fans] usb disk error
  2009-10-20 19:33 [9fans] usb disk error erik quanstrom
  2009-10-20 20:54 ` W B Hacker
@ 2009-10-21  2:05 ` Francisco J Ballesteros
  1 sibling, 0 replies; 4+ messages in thread
From: Francisco J Ballesteros @ 2009-10-21  2:05 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Can you get the error with the old version of the code?

Nothing really changed, the disk should be asking for timeouts IIRC.


On Tue, Oct 20, 2009 at 9:33 PM, erik quanstrom <quanstro@quanstro.net> wrote:
> i don't recall getting these before.  this seems
> like new behavior.  i got 4 of these when downloading
> 4gb of pictures from a sd card.  never in
> the same place twice.  sb600 ohci controller.
>
> disk... reset: device is detached
>
> it seems that umsrecover -> umsreset -> usbcmd and
>
>        if(usbcmd(ums->dev, r, Umsreset, 0, 0, nil, 0) < 0){
>>               fprint(2, "disk: reset: %r\n");
>
> i don't see exactly where it is, but could this be
> a timeout issue?  that's the main difference i see
> between now and the previous time.  turning on
> debugging might not help.  there's just too much
> of it.  sometimes it's many gb of transfer before
> an error.
>
> - erik
>
>



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [9fans] usb disk error
       [not found] <<8ccc8ba40910201905h3cbfd6a8iae8aeca5d1b43d8@mail.gmail.com>
@ 2009-10-21  2:32 ` erik quanstrom
  0 siblings, 0 replies; 4+ messages in thread
From: erik quanstrom @ 2009-10-21  2:32 UTC (permalink / raw)
  To: 9fans

> Can you get the error with the old version of the code?

nope.

- erik



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-10-21  2:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-20 19:33 [9fans] usb disk error erik quanstrom
2009-10-20 20:54 ` W B Hacker
2009-10-21  2:05 ` Francisco J Ballesteros
     [not found] <<8ccc8ba40910201905h3cbfd6a8iae8aeca5d1b43d8@mail.gmail.com>
2009-10-21  2:32 ` erik quanstrom

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).