Port-sparc archive

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

Re: port-sparc/38288



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

On Jul 14, 2008, at 10:47, Martin Husemann wrote:

On Mon, Jul 14, 2008 at 10:42:59AM -0400, Michael Lorenz wrote:
NetBSD/sparc SMP kernels crash shortly after startup because in the
New Order Of Things(tm) we need to have working CPU_INFO_ITERATOR and
friends before autoconf runs.

Can't we grovel the prom in pmap bootstrap and make sure to allocate the
cpuinfos earlier?

Whatever is easier - I'm not overly likely to have time to do this in the next few days. Apparently we do some grovelling early enough since sparc_ncpus is set correctly before we print the copyright message ( the crash happens shortly after that ). I'm just not sure if we can kmem_alloc() at that point.

have fun
Michael

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)

iQEVAwUBSHto9MpnzkX8Yg2nAQKZOAgAn3n9KmINeyOKWcrh//ljrQHmuVCTHhZy
29+pVX41hLghFqCv6sb+kr6Mt1uTxyNemfS1VRmxeJ4YhfdCkx1pau2W7zdL2u+a
3nB58OQaP7h9arIhfcKhfguZGdcyMlU/I0FBBjlZGInlTHaKScbyXwQ9TeNt3F0p
HT41F7aSqyR080K7UebKaqvDAdHvS3R+5aG7Raz9ryHnBqd2tvlJv7iysGIM6Fe7
CPCOPfPywDioC5TFa+v95iKpXVF6tqQNKjn1GsDGOjK0JsjLwacyXE+f8cEuo2Dn
S+UtsVxLC6kH+XkRCWQ74LZNGk5/ydkQ5rbGthznKNQJmuHlb5sKGQ==
=JaEw
-----END PGP SIGNATURE-----


Home | Main Index | Thread Index | Old Index