9front - general discussion about 9front
 help / color / mirror / Atom feed
* [9front] nusb/disk: lun 1 is not a disk (type 0xd)
@ 2023-05-05  4:59 unobe
  0 siblings, 0 replies; only message in thread
From: unobe @ 2023-05-05  4:59 UTC (permalink / raw)
  To: 9front

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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-05-05  5:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-05  4:59 [9front] nusb/disk: lun 1 is not a disk (type 0xd) unobe

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