On 04/27/2010 06:29 PM, wilbur.chan wrote:
I'm using a modified kernel version derived from 2.6.21.7,and the cpu
is octeon cn5860. Strangely I found that , when executing
some instruction in un-executable segment, the system will hang on,
together with console down, and could not response to ping
command.
[...]
Any one knows why this happened? Thanks
I think I know.
There is a bug in your kernel. Since execute inhibit support was not
added to the upstream kernel until very recently, we must assume you got
your kernel from some vendor. You could either ask the vendor for a
fix, or back port it yourself from:
http://www.linux-mips.org/git?p=linux.git;a=commitdiff;h=6dd9344cfc41bcc60a01cdc828cb278be7a10e01
David Daney