9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "adr via 9fans" <9fans@9fans.net>
To: 9fans <9fans@9fans.net>
Subject: Re: [9fans] Miller's 9pi image (rpi4) problems
Date: Fri, 11 Jun 2021 17:57:52 +0000	[thread overview]
Message-ID: <YMOkIBC3HAMyd6f6@SDF.ORG> (raw)
In-Reply-To: <d7c5d0163fb48e86d395b9d3ea77f0b5@hamnavoe.com>

On Fri, Jun 11, 2021 at 05:26:46PM +0100, Richard Miller wrote:
> > No luck!, although the end points appear now after manually executing
> > usb/disk.
> > ...
> > disk: logical block size 512, # blocks 7814037167
> > usb/disk: fsadd sdU9.0
> 
> Once you've reached that point, it looks like the driver is handling the disk ok.
> But despite the message you won't see it in /dev/sdU9.0 when starting usb/disk
> manually, because the usb device namespace appears someplace else ... I can't
> recall where just now. (9front does this in a different and better way.)
> 
> What I would do is update /$objtype/bin/usb/usbd from the patched source and
> rebuild the kernel with that.

I did it, now the sd disk appears in /dev, but I can't set up the
plan9 partitions:

; diskparts /dev/sdU0.0
; ls /dev/sdU0.0
/dev/sdU0.0/ctl
/dev/sdU0.0/data
/dev/sdU0.0/raw

; fdisk /dev/sdU0.0/data
cylinder = 8225280 bytes
   p1                       0 50            (50 cylinders, 392.21 MB) FAT32
   p2                      50 219051        (219001 cylinders, 1.63 TB) PLAN9
   empty               219051 486401        (267350 cylinders, 2.00 TB) 

; fdisk -p /dev/sdU0.0/data
part dos 63 803250
part plan9 803250 3519064769

; fdisk -p /dev/sdU0.0/data >/dev/sdU0.0/ctl
; ls /dev/sdU0.0
/dev/sdU0.0/ctl
/dev/sdU0.0/data
/dev/sdU0.0/raw

Thanks anyway.
adr.

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Tc5dcd85d69518168-Mfef8a206570c443d88f25eaf
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

  reply	other threads:[~2021-06-11 17:58 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-10 18:59 adr via 9fans
2021-06-11  9:05 ` Richard Miller
2021-06-11  9:14   ` Richard Miller
2021-06-11 14:38     ` adr via 9fans
2021-06-11 16:00       ` Richard Miller
2021-06-11 16:13       ` adr via 9fans
2021-06-11 16:26         ` Richard Miller
2021-06-11 17:57           ` adr via 9fans [this message]
2021-06-11 18:18             ` Richard Miller
2021-06-11 18:50               ` a
2021-06-11 19:10               ` hiro
2021-06-11 21:07               ` adr via 9fans
2021-06-13 17:22 ` [9fans] " adr via 9fans
2021-06-17 15:05 ` [9fans] " Steve Simon
2021-06-17 19:48   ` adr via 9fans
2021-06-19 11:41   ` adr via 9fans
2021-06-19 12:44     ` 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=YMOkIBC3HAMyd6f6@SDF.ORG \
    --to=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).