Re: /proc/kcore has a unreasonable size(281474974617600) in x86_642.6.30-rc8.

From: Amerigo Wang
Date: Fri Jun 05 2009 - 05:18:22 EST


On Fri, Jun 05, 2009 at 05:01:00PM +0800, Tao Ma wrote:
>>>>>>> I just noticed this when kexec fails in "Can't find kernel
>>>>>>> text map area from kcore".
>>>>>>>
>>>>>>> Is there something wrong?
>>>>>> It looks like that error message is from userspace?
>>>>> I just started kdump and get the error message.
>>>> IIRC, kdump should use /proc/vmcore, instead of /proc/kcore...
>>>> nothing related.
>>> in el5, when start kdump service it will do something like
>>> /sbin/kexec --args-linux -p '--command-line=ro root=LABEL=/ rhgb
>>> quiet irqpoll maxcpus=1'
>>> --initrd=/boot/initrd-2.6.18-53.el5kdump.img
>>> /boot/vmlinuz-2.6.18-53.el5
>>>
>>> And the error message is from there.
>>
>>> From /sbin/kexec? I just checked the source code of kexec-tools,
>> I haven't found that message...
> No, it is there.
> See kexec-tools-1.101-reloc-update.patch.
> src rpm is kexec-tools-1.101-194.4.el5.src.rpm. So it is a patch from el5.

Oh, I used the original source code without any extral patches..

Thanks for your reply.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/