public inbox for kexec@lists.infradead.org
 help / color / mirror / Atom feed
* Kexec & Memory Zones question
@ 2011-05-04 18:35 Sujit V
  2011-05-10  9:42 ` WANG Cong
  2011-05-11 15:09 ` Vivek Goyal
  0 siblings, 2 replies; 6+ messages in thread
From: Sujit V @ 2011-05-04 18:35 UTC (permalink / raw)
  To: kexec

On our x86_64 NUMA hardware running linux 2.6.23 with two memory nodes
 have the following zone layout
DMA   0 - 16MB
DMA32   16MB to 4GB
NORMAL 4GB to 96GB

We had the crashkernel boot param as 128M@16M.
I am using kexec-tools-2.0.0

We observed that the reserved crashkernel memory was getting used by
the system.
We found out by kdb  that around 17MB of physical memory the memory
contents were changing which proved that the system was
using the memory which is actually reserved for crash kernel.
[ If I load crash kernel using kexec then the system would crash. The
back trace was always in the megasas driver. ]

My Question is
1) Should the crashkernel memory be located past the DMA32 zone.?

I have tried the following
(1) crashkernel=128M@4GB  ( So the memory reservation is past DMA32)
In this scenario the kexec tools gave an error "Could not find a free
area of memory of xyz bytes"

(2) I changed the max of DMA32 to 1GB
     crashkernel=128M@1G
Still kexec gave the same error "Could not find a free area of memory
of xyz bytes"

Is there any specific restriction on where the crashkernel memory
could be located.?

Is it ok to be in the DMA32 region OR it should be beyond the DMA32 region.

Thanks

_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-05-18  2:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-04 18:35 Kexec & Memory Zones question Sujit V
2011-05-10  9:42 ` WANG Cong
2011-05-11 15:09 ` Vivek Goyal
2011-05-12 10:03   ` WANG Cong
2011-05-18  2:05     ` Sujit V
2011-05-18  2:40       ` WANG Cong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox