From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: Date: Tue, 21 Oct 2008 17:49:09 -0400 From: "Eoghan Sherry" To: "Fans of the OS Plan 9 from Bell Labs" <9fans@9fans.net> In-Reply-To: <621112A569DAE948AD25CCDCF1C075331AB3B1@dolly.ntdom.cupdx> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <5d375e920810202220q1ec3d0abmb549aca65d902f63@mail.gmail.com> <4056FAF3-2786-4C5A-950C-C27DC1B464D7@mac.com> <87ljwim0c2.fsf@cox.net> <621112A569DAE948AD25CCDCF1C075331AB3AE@dolly.ntdom.cupdx> <621112A569DAE948AD25CCDCF1C075331AB3B1@dolly.ntdom.cupdx> Subject: Re: [9fans] bitsy anyone? Topicbox-Message-UUID: 23fc9f7c-ead4-11e9-9d60-3106f5b1d025 2008/10/21 Benjamin Huntsman : >>"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