kernel init exception

Segher Boessenkool segher at kernel.crashing.org
Thu Jul 1 08:31:22 EST 2010


> Maybe it was caused by floating exception.I found that,system received
> a program check exception,the reason for it was REASON_ILLEGAL.
>
> I also use show_regs to print the NIP in exception,it seemed that
> ,this exception was caused by 'vmhaddshs' instruction in user mode of
> init process .
>
> Is vmhaddshs avaliable on e500mc? My cross compile tool is  
> gcc-4.1.2-glibc-2.5.0

This isn't vmhaddshs (which is an AltiVec instruction), but something  
else
that also uses primary opcode 4.

It sounds like your toolchain isn't set up correctly for e500mc.


Segher



More information about the Linuxppc-dev mailing list