Re: pegasosII crash at boot with -current
Frank Wille <[email protected]> Wed, 01 Dec 2010 21:29:03 +0100
| Newsgroups | gmane.os.netbsd.ports.powerpc,gmane.os.netbsd.ports.ofppc |
|---|---|
| Organization | Privates Internet Ostwestfalen/Lippe e.V. |
| Message-ID | <[email protected]> |
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