LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-27-2013, 09:44 PM   #1
abefroman
Senior Member
 
Registered: Feb 2004
Location: lost+found
Distribution: CentOS
Posts: 1,430

Rep: Reputation: 55
Anyone know how to fix this: Memory for crashkernel is not reserved


Anyone know how to fix this:
Code:
 Memory for crashkernel is not reserved
 Please reserve memory by passing "crashkernel=X@Y" parameter to the kernel
 Then try loading kdump kernel
In grub.conf I tried both
crashkernel=auto
and
crashkernel=128M@16M

TIA
 
Old 02-28-2013, 05:40 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Would this help: http://www.kernel.org/doc/Documentation/kdump/kdump.txt ?
 
Old 02-28-2013, 07:27 AM   #3
abefroman
Senior Member
 
Registered: Feb 2004
Location: lost+found
Distribution: CentOS
Posts: 1,430

Original Poster
Rep: Reputation: 55
Didn't help, but I think its something related to the kernel config, since the RPM kernel doesn't give that error.

I changed 128M@16M to just 128M per that link, and it then gave the message:
Code:
cat: /sys/kernel/kexec_crash_size: No such file or directory
/etc/rc3.d/S20kdump: line 263: [: -eq: unary operator expected
dc: stack empty
I'm assuming the unary operator is the @

And I verified I have the other options in the link set to Y:
Code:
  CONFIG_SYSFS=y
CONFIG_RELOCATABLE=y
Any ideas on what in the config it could be?
 
Old 02-28-2013, 08:09 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by abefroman View Post
Code:
cat: /sys/kernel/kexec_crash_size: No such file or directory
If it's missing either the key location changed or you're missing something kexec(-related). Check your deps first I'd say.
 
Old 02-28-2013, 09:22 AM   #5
abefroman
Senior Member
 
Registered: Feb 2004
Location: lost+found
Distribution: CentOS
Posts: 1,430

Original Poster
Rep: Reputation: 55
I installed kernel 3.2.39 and that error went away.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] mmap of several GB of reserved memory using PeterWurmsdobler Linux - Kernel 17 08-17-2015 09:50 AM
Guest Kernel Reserved Memory Very High nayabingi Linux - Virtualization and Cloud 1 04-14-2011 11:55 AM
Memory for crashkernel notwithin permissible range zubeen Linux - Newbie 3 03-18-2010 11:12 AM
Reducing Reserved memory in montavista linux sudip06 Debian 0 10-13-2005 06:06 AM
I need to know the exact amount of static memory being reserved by my program in C grupoapunte Programming 2 05-06-2005 10:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration