Subject: Re: sparc64 / 2.0.1 and thread crashes (was: Re: Ultra 5 / 2.0 / panic: lockmgr: no context)
To: Gert Doering <gert@greenie.muc.de>
From: Michael <macallan18@earthlink.net>
List: port-sparc64
Date: 02/03/2005 09:40:26
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
>
Hello,
> ... and "as per the other thread", Sparc64 will crash if threaded apps
> will start swapping.
Exactly.
> I've seen a patch on the list (Chuck Silvers, 01/26/2005) that's
> supposed
> to cure Sparc/Sparc64+threads+swapping crashes. I'm not sure whether
> it's
> supposed to work on 2.0.1, though - it'll definitely need some manual
> adjustments.
For me it prevents kernel panics, but the programs crash instead. ( I'm
running 2.0 with a -current kernel on an U10 with 256MB )
> What would be your recommendation to tackle this issue?
>
> - rebuild perl without threads?
This should avoid the problem
> - patch the kernel with Chuck's patch?
Definitely a good idea. At least you won't get kernel panics anymore (
hopefully )
> - run without Swap unless this is integrated in the "normal" 2.0.1
> source tree?
Not sure, some programs get funny if there's no swap, even if you have
plenty of RAM ( like on my iBook - it has 640MB RAM, but gcc refuses to
compile QT without an active swap space for some weird reason, although
it works fine on other boxes where RAM+swap is less than 640MB )
> I'm a bit unsure what might be the best way to tackle this now...
I guess avoiding native threads is the way to go for now - I'm not sure
if pkgsrc still uses pth if it's installed...
good luck
Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)
iQEVAwUBQgI32spnzkX8Yg2nAQJsewgAqwXeZVCfewax86xPZLnUOyiU2HbZPDJf
kYgin+ZQHD+CkoGyXD5/ZnB/SkZMWnva4lx/5fvCMBJApt47yzQ7TkfRieYGWJub
J6a0Pp7Qb1dms1VZ5EHmyT9x7RRdoRNgME1HEf5Yqrq87jPGvar2In9spG2PGqxp
N1lAwUT+g4cCT/LVQqRZV4WCNgK+Z2QjkNbtbm0AWvO66XV/wg38Va5lnSsIG7AV
f+ffmdwceBC+Zy8P5xJ4Rm9Dc6tUyW3j9C3dseiCBOX10J94bAo92eSlCMAPsw1u
j8FrSWovhcDlmtuP8JuR+3mzgGDtC229Pbbdjxm7p1n9CpMuIWZPww==
=zHTe
-----END PGP SIGNATURE-----