Fatal kernel trap during boot 8.0-CURRENT

Rafal Jaworowski raj at semihalf.com
Fri Apr 24 09:16:04 UTC 2009


On 2009-04-23, at 21:26, Andreas Tobler wrote:

>> Perhaps the problem is related to an issue we came across while  
>> working on Efika support. The issue was that the Altivec-specific  
>> code was executed, due to PCB_VEC being set when it shouldn't  
>> (Efika has the MPC5200B SoC, which is e300-based). PCB_VEC turned  
>> out the be set because thread0.td_pcb contained garbage, and our  
>> problem went away after zeroing the thread0.td_pcb in  
>> powerpc_init(), similarly to what booke/machdep.c implementation  
>> does.
>> Please try the attached patch and see if it fixes the problem seen  
>> on iMac G3.
>
> Bartlomiej, I did try your suggested fix and it looks good. So far I  
> was not able to reproduce the trap with your fix. While w/o fix I  
> can nearly every time trigger the trap on a cold boot, not always  
> though, but in 8 of 10 tries.

This fix is now commited to HEAD (r191455). Thank you for testing on  
your system.

Rafal



More information about the freebsd-ppc mailing list