9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Francisco J Ballesteros <nemo@lsub.org>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] usb disk error
Date: Wed, 21 Oct 2009 04:05:33 +0200	[thread overview]
Message-ID: <8ccc8ba40910201905h3cbfd6a8iae8aeca5d1b43d8@mail.gmail.com> (raw)
In-Reply-To: <1fed73d586d55546ac4c190148c84cb2@ladd.quanstro.net>

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
>
>



  parent reply	other threads:[~2009-10-21  2:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-20 19:33 erik quanstrom
2009-10-20 20:54 ` W B Hacker
2009-10-21  2:05 ` Francisco J Ballesteros [this message]
     [not found] <<8ccc8ba40910201905h3cbfd6a8iae8aeca5d1b43d8@mail.gmail.com>
2009-10-21  2:32 ` erik quanstrom

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8ccc8ba40910201905h3cbfd6a8iae8aeca5d1b43d8@mail.gmail.com \
    --to=nemo@lsub.org \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).