From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.4 Received: (qmail 8163 invoked from network); 5 May 2023 05:20:29 -0000 Received: from 9front.inri.net (168.235.81.73) by inbox.vuxu.org with ESMTPUTF8; 5 May 2023 05:20:29 -0000 Received: from pb-smtp20.pobox.com ([173.228.157.52]) by 9front; Fri May 5 01:18:54 -0400 2023 Received: from pb-smtp20.pobox.com (unknown [127.0.0.1]) by pb-smtp20.pobox.com (Postfix) with ESMTP id 923231F12D6 for <9front@9front.org>; Fri, 5 May 2023 00:59:35 -0400 (EDT) (envelope-from unobe@cpan.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=pobox.com; h=message-id :to:subject:date:from:mime-version:content-type :content-transfer-encoding; s=sasl; bh=kcL+MHD10BvHDZrQPlgEXzUgh DV72mBz7V1RLgQG8XE=; b=PvWHvdeGEjqNl1CThJ1/au7Pn5fMSq52GMf6whUeo M9sgBPj4Mw00b9hxkAluxkzYZ7paMveo72LU83T+G4vGbbbvJVxBVMIG/YInRV/T VptUNt5TFBGXLEvOFfEBA3/IhwlYAu1vIuiiVgVlJM1iwLRqTRwxwX8dWZfYAGmJ a8= Received: from pb-smtp20.sea.icgroup.com (unknown [127.0.0.1]) by pb-smtp20.pobox.com (Postfix) with ESMTP id 8B6A21F12D5 for <9front@9front.org>; Fri, 5 May 2023 00:59:35 -0400 (EDT) (envelope-from unobe@cpan.org) Received: from strider.localdomain (unknown [75.204.169.210]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pb-smtp20.pobox.com (Postfix) with ESMTPSA id 5CB531F12D4 for <9front@9front.org>; Fri, 5 May 2023 00:59:32 -0400 (EDT) (envelope-from unobe@cpan.org) Message-ID: <7165C8599253273DB138ACCDD98B1720@smtp.pobox.com> To: 9front@9front.org Date: Thu, 04 May 2023 21:59:28 -0700 From: unobe@cpan.org MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Pobox-Relay-ID: 9FAD252A-EB01-11ED-B47A-C2DA088D43B2-09620299!pb-smtp20.pobox.com List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: firewall CMS singleton module Subject: [9front] nusb/disk: lun 1 is not a disk (type 0xd) Reply-To: 9front@9front.org Precedence: bulk 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 device. 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.