[PATCH] invalid instructions in kernel mode

Fillod Stephane stephane.fillod at thomson.net
Tue Apr 5 22:25:14 EST 2005


Kumar Gala wrote:
> What is the crash01 test doing that causes this code to get invoked?  

crash01[1] (of LTP) is derived from crashme[2], a tool by George J.
Carrette.
It simulates real user programs by generating pseudo-random code and
jumping
into it. This is a great tool to stress test operating system
robustness.
It is very good at testing weird corner cases that no one enjoy doing, 
eventually finding bugs that may have bitten you in the field. 
For instance, 2.6.11.6 kernels with math emulation off have a problem
with 
load/store of fp regs. Please see my question in another mail with Dan.

[1]
http://cvs.sourceforge.net/viewcvs.py/ltp/ltp/testcases/misc/crash/crash
01.c?only_with_tag=HEAD&view=markup
[2] http://people.delphiforums.com/gjc/crashme.html

> is the kernel you are using using build with math emulation on or off?

My kernel is built with math emulation off. My toolchain is soft-fp
based.


Best Regards,
-- 
Stephane




More information about the Linuxppc-dev mailing list