9front - general discussion about 9front
 help / color / mirror / Atom feed
From: unobe@cpan.org
To: 9front@9front.org
Subject: [9front] nusb/disk: lun 1 is not a disk (type 0xd)
Date: Thu, 04 May 2023 21:59:28 -0700	[thread overview]
Message-ID: <7165C8599253273DB138ACCDD98B1720@smtp.pobox.com> (raw)

I purchased a WD Elements 5GB drive a while ago, and laid it aside
because when I plugged it in, I got:

	nusb/disk: lun 1 is not a disk (type 0xd)

And it failed to show in /dev.  I plugged it in to an old Macbook and
found that it was recognized with three partitions, two appearing to
be equally sized and the last being "grayed out"/unreadable.  I had to
re-partition w/MBR for it to then be recognized by 9front.  I
initially had plans work on it at the time because I didn't think that
one lun not being a disk should fail making the drive visible, but
that is indeed what /sys/src/cmd/nusb/disk/disk.c:374 does.  0xd, from
what I gather from the SCSI interface manual[1] on page 96, table 61,
the peripheral device type is being recognized as an encluse services

Since I already formatted the drive, I'd have to buy another one to
investigate further, but thought I'd write this for posterity in case
anyone else comes across the same sort of thing.

[1] https://www.seagate.com/files/staticfiles/support/docs/manual/Interface%20manuals/100293068j.pdf . The link is flaky, returning 503 often.  I have a local copy.

                 reply	other threads:[~2023-05-05  5:20 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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:

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

  git send-email \
    --in-reply-to=7165C8599253273DB138ACCDD98B1720@smtp.pobox.com \
    --to=unobe@cpan.org \
    --cc=9front@9front.org \


* 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).