[haiku-bugs] Re: [Haiku] #7869: PANIC in mmu_init()

  • From: "phoudoin" <trac@xxxxxxxxxxxx>
  • Date: Mon, 05 Sep 2011 09:04:42 -0000

#7869: PANIC in mmu_init()
----------------------------------+------------------------------
   Reporter:  manveru             |      Owner:  axeld
       Type:  bug                 |     Status:  new
   Priority:  normal              |  Milestone:  R1
  Component:  System/Boot Loader  |    Version:  R1/alpha3
 Resolution:                      |   Keywords:  sandy_bridge, i7
 Blocked By:                      |   Blocking:  7665
Has a Patch:  0                   |   Platform:  All
----------------------------------+------------------------------

Comment (by phoudoin):

 The BIOS reports 10 usable physical memory address ranges.
 Unfortunatly, Haiku supports only 8 currently, hence why mmu_init()
 failed.

 I guess the solution should be to improve this limit, in
 headers/private/kernel/boot/platform/bios_ia32/platform_kernel_args.h :

 {{{
 #!cpp
 #define MAX_PHYSICAL_MEMORY_RANGE 32
 #define MAX_PHYSICAL_ALLOCATED_RANGE 32
 #define MAX_VIRTUAL_ALLOCATED_RANGE 32
 }}}

 I did a quick search, and I think there is no bad side-effect to fear, but
 I'll prefer one kernel guru check this before applying such change. The
 bios_ia32 platform may not be the unique one needing such change, too.

 Meanwhile, if someone could test this change and report, thanks in
 advance.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/7869#comment:5>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: