kexec ,instruction error in misc_32.s

wilbur.chan wilbur512 at gmail.com
Mon Jun 22 11:22:29 EDT 2009


powerpc 8541 ,kernel 2.6.21.7



In  misc_32.s, when executed "rif "  instruction ,  the kernel went wrong
because of the
invalid instruction address.

So , I changed r4 into virtual address(not physical address), this programm
can go on ,
however , there seemed to be some

kernel overflow oops  in  page copying process in misc_32.s, causing  kernel
's termination.




here are my steps,(r4 is physical address)

# kexec -l uImage --devtree=your.fdt.dtb --devtree_addr=0x800000
   Image Name:   Linux-2.6.21.7
   Image Type:   PowerPC Linux Kernel Image (gzip compressed)
   Data Size:    1190265 Bytes =    Load Address: 00000000
   Entry Point:  00000000

# kexec -e
Starting new kernel
virtual address: cfc09000
physical address: fc09000
calling function: reboot_code(page_list=0xfc08002,
reboot_code_buffer_phys=0xfc09000, image
->start=0x0,image->segment[1].mem=0x800000)

Unable to handle kernel paging request for instruction fetch
Faulting instruction address: 0x0fc09028




Please help. thank you very much.


regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/kexec/attachments/20090622/e4ecc737/attachment.html>


More information about the kexec mailing list