9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Eoghan Sherry" <ejsherry@gmail.com>
To: "Fans of the OS Plan 9 from Bell Labs" <9fans@9fans.net>
Subject: Re: [9fans] bitsy anyone?
Date: Tue, 21 Oct 2008 17:49:09 -0400	[thread overview]
Message-ID: <a2d238df0810211449r7cb9b8d5udc61cfc574172406@mail.gmail.com> (raw)
In-Reply-To: <621112A569DAE948AD25CCDCF1C075331AB3B1@dolly.ntdom.cupdx>

2008/10/21 Benjamin Huntsman <BHuntsman@mail2.cu-portland.edu>:
>>"add ramdisk    0x0200000 0x0800000",
>
> I believe the command in question is:
> partition define ramdisk 0x200000 0x600000 0
>
> I had changed it to 0x800000 too, but still got the kernel panic...
> I'll take a look in paq.c and see if I can fix the hard-coded sizes.

The boot loader command,
        partition define ramdisk 0x200000 0x600000 0
is correct. The change is to paq.c.

The boot loader uses start+size while Plan 9 uses
[start,end) to define partitions.
The instructions on the wiki describe a 6 MB ramdisk starting
2 MB into the flash.
To the boot loader that is 0x200000+0x600000 but to Plan 9
it is [0x200000,0x800000).
The problem is paq.c defines a [0x200000,0x600000) ramdisk
which is only 4 MB in size.

Comparing the values in paq.c with those on the wiki should make
things clear.

eoghan



  reply	other threads:[~2008-10-21 21:49 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-20  9:27 [9fans] Are there any blind users of Plan 9? Chris Brannon
2008-10-20  9:55 ` Rudolf Sykora
2008-10-20  9:56 ` Gorka Guardiola
2008-10-20 10:15   ` Jeff R. Allen
2008-10-20 10:29     ` Rudolf Sykora
2008-10-20 10:34     ` Pietro Gagliardi
2008-10-20 14:12       ` john
2008-10-20 21:00       ` Federico G. Benavento
2008-10-20 21:15         ` Pietro Gagliardi
2008-10-21  5:00           ` Lyndon Nerenberg
2008-10-21  5:20             ` Uriel
2008-10-21 10:37               ` [9fans] How to go about doing screen reading Pietro Gagliardi
2008-10-21 15:52                 ` Chris Brannon
2008-10-21 17:21                   ` [9fans] bitsy anyone? Benjamin Huntsman
2008-10-21 17:29                     ` Francisco J Ballesteros
2008-10-21 18:17                     ` David du Colombier
2008-10-21 21:09                       ` Eoghan Sherry
2008-10-21 21:10                         ` Benjamin Huntsman
2008-10-21 21:49                           ` Eoghan Sherry [this message]
2008-10-23  9:29         ` [9fans] Are there any blind users of Plan 9? matt
2008-10-20 15:10 ` Dave Eckhardt
2008-10-20 16:06   ` Chris Brannon
2008-10-20 19:15     ` Noah Evans

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=a2d238df0810211449r7cb9b8d5udc61cfc574172406@mail.gmail.com \
    --to=ejsherry@gmail.com \
    --cc=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).