help for install kexec-tools

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



It is "REG_S	s5, (s4)" where the pagefault is received, s4 reg stored the start address of kernel .text segment. When i add a line of C code to force write some thing in the same address before the assembly code, the same thing happened. Does is have some mechanism to make the page can't be written in hardware level, like x86's readonly flag?

And could you tell me where can i find the suitable pacth for OCTEON?

------------------ ???? ------------------
>From: "wilbur.chan" <wilbur512 at gmail.com>
>Reply-To: 
>To: ???<06120216 at bjtu.edu.cn>
>Subject: Re: help for install kexec-tools
>Date: Tue, 17 Nov 2009 22:10:15 +0800
>
>2009/11/17 ???
:
>> i modified both kexec-tools and module in kernel to ingnore some validity checking. but when the code in kernel is going to copy the new kernel to old kernel, a pagefault exception is receive like this:
>> ~ # kexec -e
>> Starting new kernel
>> Unhandled kernel unaligned access[#1]:
>
>Maybe it was because of your crosstools problem.
>
>watch the 'REG_L	s5, (s2)
>	REG_S	s5, (s4)'
>
>in relocate_kernel.S  to see if it is suitable for 64 bits.
>
>
>BTW, if you are using smp processors , you should check the patch for it
> 


[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux