9front - general discussion about 9front
 help / color / mirror / Atom feed
From: dante <subscriptions@posteo.eu>
To: <9front@9front.org>
Subject: Boot Problems
Date: Mon, 28 Jul 2014 07:55:00 +0200	[thread overview]
Message-ID: <ea172ba4c97704ca5cc023730032313d@posteo.de> (raw)

Dear 9fronters,

I tried to install 9front for Raspberry Pi on an SD card with a CWS 
filesystem (decided against default/experimental HJFS because it 
randomly panics).
This is what I get when trying to boot:

/dev/sdM0: Arasan eMMC SD Host Controller 02 Version 99
/dev/sdM0/9fat
/dev/sdM0/data
/dev/sdM0/dos    dos
/dev/sdM0/fscache     cwfs64x
/dev/sdM0/9fsworm
/dev/sdM0/nvram
/dev/sdM0/other
/dev/sdM0/plan0
/dev/sdU5.0/data
bootargs is (tcp, il, local!device)[local!/dev/sdM0/fscache]
readnvram: couldn't find nvram
nvrcheck: can't read nvram
panic: wreninit: can't open /dev/sdU5.0/fscache for 
w"/dev/sdU5.0/fscache": '/dev/sdU5.0' not a directory
halted at Thu Jan 1 00:01:13 1970
mount: sys: write o closed pipe pc=0x1b14
mount -c /srv/boot /root: mount 549: sys: write on closed pipe 
pc=0x1b14

The installation was done from the boot SD card (sdM0, hjfs) onto an SD 
card in an SD-USB adapter (sdU5.0).
I configured a DOS partition and a Plan9 partition with the defaults 
(9fat, nvram, fscache, fsworm, other).
I copied the Raspberry Pi firmware and the kernels to the DOS  
partition; the rest was done by the scripts in /bin/inst (very slightly 
edited).

The disk is partitioned as follows:

term% disk/fdisk -r /dev/sdU5.0/data
cylinder = 8225280 bytes
  * p1                     0 32          (32 cylinders, 251.01 MB) FAT32
    p2                    32 3880        (3848 cylinders, 29.47 GB) 
PLAN9
>>> q
term% disk/prep -r /dev/sdU5.0/plan9
   9fat                   0 204800      (204800 sectors, 100.00 MB)
   nvram             204800 204801      (1 sectors, 512 B )
   other             204801 9006703     (8801902 sectors, 4.19 GB)
   fscache          9006703 17808605    (8801902 sectors, 4.19 GB)
   fsworm          17808605 61818120    (44009515 sectors, 20.98 GB)
>>> q

An attempt to boot from the "other" partition fails with "unknown 
fstype /dev/sdU5.0/other".

I am able to mount offline both the the CWFS64X partition 
(/dev/sdU5.0/other) and the CWFS64X cache partition 
(/dev/sdU5.0/fscache).
They contain the expected complete 9front installation.

I would be really happy if someone could help me and tell me what's 
going wrong!!

Thanks!!
Dante


             reply	other threads:[~2014-07-28  5:55 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-28  5:55 dante [this message]
2014-07-28  8:53 ` [9front] " Aram Hăvărneanu
2014-07-28  9:16   ` dante
2014-07-28 11:43 ` Kurt H Maier
2014-07-28 17:40 ` sl
2014-07-28 19:00   ` dante

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=ea172ba4c97704ca5cc023730032313d@posteo.de \
    --to=subscriptions@posteo.eu \
    --cc=9front@9front.org \
    /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).