9front - general discussion about 9front
 help / color / mirror / Atom feed
* Boot Problems
@ 2014-07-28  5:55 dante
  2014-07-28  8:53 ` [9front] " Aram Hăvărneanu
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: dante @ 2014-07-28  5:55 UTC (permalink / raw)
  To: 9front

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [9front] Boot Problems
  2014-07-28  5:55 Boot Problems dante
@ 2014-07-28  8:53 ` Aram Hăvărneanu
  2014-07-28  9:16   ` dante
  2014-07-28 11:43 ` Kurt H Maier
  2014-07-28 17:40 ` sl
  2 siblings, 1 reply; 6+ messages in thread
From: Aram Hăvărneanu @ 2014-07-28  8:53 UTC (permalink / raw)
  To: 9front

https://code.google.com/p/plan9front/wiki/fqa9#9.2.5_-_I_moved_my_hard_drive_between_ports


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [9front] Boot Problems
  2014-07-28  8:53 ` [9front] " Aram Hăvărneanu
@ 2014-07-28  9:16   ` dante
  0 siblings, 0 replies; 6+ messages in thread
From: dante @ 2014-07-28  9:16 UTC (permalink / raw)
  To: 9front

Thanks, Aram!!

On 28.07.2014 10:53, Aram Hăvărneanu wrote:
> https://code.google.com/p/plan9front/wiki/fqa9#9.2.5_-_I_moved_my_hard_drive_between_ports


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [9front] Boot Problems
  2014-07-28  5:55 Boot Problems dante
  2014-07-28  8:53 ` [9front] " Aram Hăvărneanu
@ 2014-07-28 11:43 ` Kurt H Maier
  2014-07-28 17:40 ` sl
  2 siblings, 0 replies; 6+ messages in thread
From: Kurt H Maier @ 2014-07-28 11:43 UTC (permalink / raw)
  To: 9front

Quoting dante <subscriptions@posteo.eu>:

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

are you sure



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [9front] Boot Problems
  2014-07-28  5:55 Boot Problems dante
  2014-07-28  8:53 ` [9front] " Aram Hăvărneanu
  2014-07-28 11:43 ` Kurt H Maier
@ 2014-07-28 17:40 ` sl
  2014-07-28 19:00   ` dante
  2 siblings, 1 reply; 6+ messages in thread
From: sl @ 2014-07-28 17:40 UTC (permalink / raw)
  To: 9front

> The installation was done from the boot SD card (sdM0, hjfs) onto an SD 
> card in an SD-USB adapter (sdU5.0).

Apparently, you did not:

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

This is the result of installing cwfs.

sl


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [9front] Boot Problems
  2014-07-28 17:40 ` sl
@ 2014-07-28 19:00   ` dante
  0 siblings, 0 replies; 6+ messages in thread
From: dante @ 2014-07-28 19:00 UTC (permalink / raw)
  To: 9front

The answer was in the troubleshooting FQA.
It says how to reconfigure CWFS after changing the device name 
(local!/dev/sdM0/fscache -c, etc...).

Thanks!

On 28.07.2014 19:40, sl@9front.org wrote:
>> The installation was done from the boot SD card (sdM0, hjfs) onto an 
>> SD
>> card in an SD-USB adapter (sdU5.0).
> 
> Apparently, you did not:
> 
>> 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)
> 
> This is the result of installing cwfs.
> 
> sl


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-07-28 19:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-28  5:55 Boot Problems dante
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

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