<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {mso-style-priority:99;
        mso-style-link:"Plain Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.5pt;
        font-family:Consolas;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.PlainTextChar
        {mso-style-name:"Plain Text Char";
        mso-style-priority:99;
        mso-style-link:"Plain Text";
        font-family:Consolas;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
span.EmailStyle21
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle22
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><span style='color:#1F497D'>Hello kexec and crash mailing
lists,<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>Sorry to spam whoever’s
code this ISN’T an issue with, but I really am unsure of whether is a
kdump or a crash issue. I am running an Ubuntu 7.04 with a 2.6.20 kernel
(includes Ubuntus patches- source at <a
href="http://packages.ubuntu.com/feisty/linux-source-2.6.20">http://packages.ubuntu.com/feisty/linux-source-2.6.20</a>
) and a modified VMSPLIT/PAGE_OFFSET value (see bottom for details) on an i386
machine with 4GB of memory. At first I thought this could be an issue with
makedumpfile stripping out things it shouldn’t, but I’ve found that
setting up my initrd script so that it simply performs “cp /proc/vmcore
/var/crash/vmcore” results in the same issue.<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>I’ve tried this with both
crash 4.0-6.3 and 4.0-7.2 and get the same result. Unfortunately I’m
locked at kernel 2.6.20 for other reasons, or else I would try that.<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>If anyone can offer suggestions
of what to try, please let me know. If this is something that has already been
resolved elsewhere, sorry to waste time, and if someone can point me to what
resolved it, perhaps I can look at backporting the fix myself. Thanks for your
time.<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>crash-4.0-7.2$ ./crash ~/vmcore
~/targetfiles/vmlinux-2.6.20-17.39-custom2<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>crash 4.0-7.2<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><snip>Copyright
notices…</snip><o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>GNU gdb 6.1<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><snip>Copyright
notices…</snip><o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>This GDB was configured as
"i686-pc-linux-gnu"...<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>please wait... (gathering module
symbol data)<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>WARNING: cannot access vmalloc'd
module memory<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
KERNEL: /home/worthk/targetfiles/vmlinux-2.6.20-17.39-custom2<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'> DUMPFILE:
/home/worthk/vmcore<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
CPUS: 2<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
DATE: Wed Oct 1 12:30:50 2008<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
UPTIME: 00:35:11<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>LOAD AVERAGE: 0.07, 0.09, 0.08<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
TASKS: 94<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'> NODENAME:
test-module<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
RELEASE: 2.6.20-17.39-custom2<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
VERSION: #3 SMP Wed Sep 24 10:11:03 PDT 2008<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
MACHINE: i686 (2200 Mhz)<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
MEMORY: 5 GB<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><6>SysRq : Trigger a
crashdump"<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
PID: 4304<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
COMMAND: "bash"<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
TASK: 5d7e9030 [THREAD_INFO: f4b70000]<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
CPU: 0<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
STATE: TASK_RUNNING (SYSRQ)<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>crash> mod -s test<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>mod: cannot access vmalloc'd
module memory<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>My kernel config is a bit
outside the norm, in that the VMSPLIT value has been modified to give 3GB of
memory the kernelspace and 1GB of memory to userspace. Below is a diff between
the default Ubuntu “generic” config and mine:<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>diff
/boot/config-2.6.20-17-generic /boot/config-2.6.20-17.37-custom2<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>3,4c3,4<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< # Linux kernel version:
2.6.20-17-generic < # Wed Aug 20 14:43:36 2008<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>---<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> # Linux kernel version:
2.6.20-17.37-custom2 # Tue Aug 19 18:50:53 <o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> 2008<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>33c33<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><
CONFIG_VERSION_SIGNATURE="Ubuntu 2.6.20-17.39-generic"<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>---<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>>
CONFIG_VERSION_SIGNATURE="Ubuntu 2.6.20-17.37-generic"<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>51c51<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< # CONFIG_EMBEDDED is not
set<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>---<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> CONFIG_EMBEDDED=y<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>188,190c188,194<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< CONFIG_HIGHMEM4G=y<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< # CONFIG_HIGHMEM64G is not
set<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><
CONFIG_PAGE_OFFSET=0xC0000000<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>---<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> # CONFIG_HIGHMEM4G is not
set<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> CONFIG_HIGHMEM64G=y<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> # CONFIG_VMSPLIT_3G is not
set<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> # CONFIG_VMSPLIT_3G_OPT is
not set<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> # CONFIG_VMSPLIT_2G is not
set<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> CONFIG_VMSPLIT_1G=y<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>>
CONFIG_PAGE_OFFSET=0x40000000<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>191a196<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> CONFIG_X86_PAE=y<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>204c209<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< # CONFIG_RESOURCES_64BIT is
not set<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>---<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> CONFIG_RESOURCES_64BIT=y<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>1161a1167<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> CONFIG_IDE_MAX_HWIFS=4<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>1443a1450<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> # CONFIG_PATA_PLATFORM is
not set<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>1525a1533<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>>
CONFIG_I2O_EXT_ADAPTEC_DMA64=y<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>Kevin Worth<br>
Network Security Software Engineer<br>
ProCurve networking by HP<br>
<a href="mailto:kevin.worth@hp.com">kevin.worth@hp.com</a> <br>
ph 916.785.4528<br>
fx 916.785.1196<o:p></o:p></span></p>
</div>
</body>
</html>