9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "devrin talen" <jackfrost13@gmail.com>
To: "Fans of the OS Plan 9 from Bell Labs" <9fans@9fans.net>
Subject: Re: [9fans] Unmount a USB stick?
Date: Thu,  3 Apr 2008 19:58:29 -0400	[thread overview]
Message-ID: <a012fc580804031658t4e8d5b6gca8f612a3a1e4367@mail.gmail.com> (raw)
In-Reply-To: <73e155073a3b3f0412c336ad8b41017e@plan9.bell-labs.com>

On Thu, Apr 3, 2008 at 6:28 PM,  <geoff@plan9.bell-labs.com> wrote:
> I believe dossrv (which implements the fat filesystem) is synchronous,
>  so you shouldn't have to do anything special before removing the
>  stick.  What are the errors you get the next time you try to mount the
>  stick?

If I have mounted the stick, then try to exit the rc window with which
I mounted it:

% exit

the window hangs indefinitely. If I delete the window, remove the
stick, reinsert it, then in a new rc window type:

% echo kill > /proc/86/notes # 86 is the pid of usbd
% usb/usbd
% usb/disk -l
usb/disk: describedevice: error reading usb device descriptor, got 0 of 18:

usb/disk: maxlun 0

and a few black boxes in the upper left of my screen with messages such as:

CleanTD 1/0: Error 00000001 ...

Usually at this point I just end up restarting the box, and I'll be
able to use the stick once again.

- Devrin


  parent reply	other threads:[~2008-04-03 23:58 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-03 22:11 devrin talen
2008-04-03 22:17 ` erik quanstrom
2008-04-03 22:28   ` geoff
2008-04-03 22:48     ` erik quanstrom
2008-04-03 23:58     ` devrin talen [this message]
2008-04-04  0:41       ` erik quanstrom
2008-04-04  0:56         ` devrin talen
2008-04-03 22:19 ` a
2008-04-04 10:42 ` Richard Miller
2008-04-04 13:23 Richard Miller

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=a012fc580804031658t4e8d5b6gca8f612a3a1e4367@mail.gmail.com \
    --to=jackfrost13@gmail.com \
    --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).