9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: erik quanstrom <quanstro@quanstro.net>
To: 9fans@9fans.net
Subject: Re: [9fans] Unmount a USB stick?
Date: Thu,  3 Apr 2008 20:41:21 -0400	[thread overview]
Message-ID: <7aace973af1fa7bb1b2bcbcda19f3a0b@quanstro.net> (raw)
In-Reply-To: <a012fc580804031658t4e8d5b6gca8f612a3a1e4367@mail.gmail.com>

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

trick 'o the day: keep kernel messages from messing with rio:
	window -hide rc -c 'label kmesg ; tail -f /dev/kprint'
as long as you have someone reading kernel messages, they won't
be written directly to the screen.

what happens when you do the following:

	slay usbd|rc
	slay disk|rc
	usb/usbd; usb/disk -l


- erik


  reply	other threads:[~2008-04-04  0:41 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
2008-04-04  0:41       ` erik quanstrom [this message]
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=7aace973af1fa7bb1b2bcbcda19f3a0b@quanstro.net \
    --to=quanstro@quanstro.net \
    --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).