[haiku-bugs] Re: [Haiku] #6254: PANIC: get_memory_map(): Address is greater 4 GB!

  • From: "bonefish" <trac@xxxxxxxxxxxx>
  • Date: Sat, 03 Jul 2010 20:47:39 -0000

#6254: PANIC: get_memory_map(): Address is greater 4 GB!
  Reporter:  mmadia         |       Owner:  axeld    
      Type:  bug            |      Status:  closed   
  Priority:  normal         |   Milestone:  R1       
 Component:  System/Kernel  |     Version:  R1/alpha2
Resolution:  invalid        |    Keywords:           
 Blockedby:                 |       Patch:  0        
  Platform:  All            |    Blocking:           
Changes (by bonefish):

  * status:  new => closed
  * resolution:  => invalid


 OK, so the machine has 4 GB of memory, i.e. some of it will be beyond the
 32 bit address limit. When the qemu driver tries to get_memory_map() for
 memory mapped to that physical memory, the kernel panics. I'm not familiar
 with the qemu sources. In particular I don't know how qemu allocates the
 memory in question and why it calls get_memory_map(), but that's nothing
 the kernel can do anything about. Disabling the memory beyond 4 GB should
 solve the issue.

 PS: Note that the panic is continuable, but depending on whether qemu
 recognizes the error code returned (which couldn't happen in BeOS) and
 what qemu does with the physical addresses it gets, it might corrupt
 memory, with unforeseeable effects.

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

Other related posts: