Skip to contentSkip to conversation

kexec ,instruction error in misc_32.s

DISCUSSION wilbur.chan 1 participant 1 message Jun 22, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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,

_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec