[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-hardware
Subject:    Re: Too many holes in the physical address space, giving up?
From:       Ruslan Ermilov <ru () freebsd ! org>
Date:       2006-11-13 18:41:15
Message-ID: 20061113184115.GA65671 () rambler-co ! ru
[Download RAW message or body]


On Mon, Nov 13, 2006 at 01:07:33PM -0500, John Baldwin wrote:
> On Monday 13 November 2006 12:48, Sulev-Madis Silber wrote:
> > Strange :) I managed to boot... 6.2-BETA3
> 
> Yeah, beta3 extends the arrays so they can handle more regions.
> 
It's still strange because he was able to boot 4.11 which also
has the same old limit of four chunks ((10 - 2) / 2) of RAM,
he has three non-overlappping RAM chunks reported by SMAP, and
I fail to see how it ends up using five chunks.  Odd...

There's a problem with the PHYS_AVAIL_ARRAY_END in RELENG_4
(type mismatch):

vm_paddr_t phys_avail[10];

/* must be 2 less so 0 0 can signal end of chunks */
#define PHYS_AVAIL_ARRAY_END ((sizeof(phys_avail) / sizeof(vm_offset_t)) - 2)

But it's only applicable to RELENG_4 and PAE.


Cheers,
-- 
Ruslan Ermilov
ru@FreeBSD.org
FreeBSD committer

[Attachment #3 (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic