From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <1fed73d586d55546ac4c190148c84cb2@ladd.quanstro.net> References: <1fed73d586d55546ac4c190148c84cb2@ladd.quanstro.net> Date: Wed, 21 Oct 2009 04:05:33 +0200 Message-ID: <8ccc8ba40910201905h3cbfd6a8iae8aeca5d1b43d8@mail.gmail.com> From: Francisco J Ballesteros To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [9fans] usb disk error Topicbox-Message-UUID: 8d10098a-ead5-11e9-9d60-3106f5b1d025 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 wro= te: > i don't recall getting these before. =C2=A0this seems > like new behavior. =C2=A0i got 4 of these when downloading > 4gb of pictures from a sd card. =C2=A0never in > the same place twice. =C2=A0sb600 ohci controller. > > disk... reset: device is detached > > it seems that umsrecover -> umsreset -> usbcmd and > > =C2=A0 =C2=A0 =C2=A0 =C2=A0if(usbcmd(ums->dev, r, Umsreset, 0, 0, nil, 0)= < 0){ >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 fprint(2, "disk: reset:= %r\n"); > > i don't see exactly where it is, but could this be > a timeout issue? =C2=A0that's the main difference i see > between now and the previous time. =C2=A0turning on > debugging might not help. =C2=A0there's just too much > of it. =C2=A0sometimes it's many gb of transfer before > an error. > > - erik > >