Port-powerpc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pegasosII crash at boot with -current



matthew green wrote:

>   makeoptions    CPUFLAGS="-O2 -mcpu=7400"
>
> dunno what, but it breaks now.

I can reproduce it! I get exactly the same performance monitor trap with
NetBSD/macppc on my PowerBook G4 as you did with ofppc on a Pegasos2. I'm
crossposting to port-powerpc. Maybe somebody there has an idea.

Seems the crash happens while executing the first AltiVec instruction at
pool_cache_bootstrap() + 0xe0. It's a
    vxor    v0,v0,v0

The -mcpu=7400 flag lets gcc insert AltiVec code for the memset() in
pool_cache_bootstrap().

But our G4s should be able to execute AltiVec code (I have a 7447A) - maybe
something is not correctly set up at this early point in main()?

Do you still have your old working kernel, so you might disassemble
pool_cache_bootstrap() there and compare?

-- 
Frank Wille



Home | Main Index | Thread Index | Old Index