Re: [freenet-support] start-freenet.sh patch to disable NPTL on SuSE Linux
On Sun, Jul 25, 2004 at 03:20:04AM +0200, Nomen Nescio wrote: > On Sat, Jul 24, 2004 at 11:06:23PM +0100, Toad wrote: > > Will be committed to unstable soon. > > Having read http://people.redhat.com/drepper/assumekernel.html I think > we can do away with the distribution check and set LD_ASSUME_KERNEL to > 2.4.1 for all Linux distributions. Patch for start-freenet.sh below. No, we can't. Even 1.5.0-b2 crashes without it. -- Matthew J Toseland - [EMAIL PROTECTED] Freenet Project Official Codemonkey - http://freenetproject.org/ ICTHUS - Nothing is impossible. Our Boss says so. signature.asc Description: Digital signature ___ Support mailing list [EMAIL PROTECTED] http://news.gmane.org/gmane.network.freenet.support Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support Or mailto:[EMAIL PROTECTED]
Re: [freenet-support] start-freenet.sh patch to disable NPTL on SuSE Linux
Im running gentoo with nptl and I just commented out the whole if statement and the setting of LD_ASSUME_KERNEL and it works fine here. So perhaps just not setting it if the user is running gentoo will work for others. On Sun, Jul 25, 2004 at 12:35:22AM -0500, Salah Coronya wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Nomen Nescio wrote: > > On Sat, Jul 24, 2004 at 11:06:23PM +0100, Toad wrote: > > > >>Will be committed to unstable soon. > > > > > > That might not be such a good idea, it'll blow up Gentoo: > > http://bugs.gentoo.org/show_bug.cgi?id=45004 > > I run into the problem. However NPTL doesn't seem to be causing me any > problems, I don;t know how to to check to see if the same thing is > happening here. Freenet merrily chugs along > -BEGIN PGP SIGNATURE- > Version: GnuPG v1.2.4 (MingW32) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFBA0aahctESbvQ8ZwRAuXDAKCIVECRiAnYs00FVYb9Dawr7bc95gCeJxlC > 8Uq6B+Zxi+O+TsuucA6TVq0= > =7c2Z > -END PGP SIGNATURE- > ___ > Support mailing list > [EMAIL PROTECTED] > http://news.gmane.org/gmane.network.freenet.support > Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support > Or mailto:[EMAIL PROTECTED] pgpTrCK22wMJQ.pgp Description: PGP signature ___ Support mailing list [EMAIL PROTECTED] http://news.gmane.org/gmane.network.freenet.support Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support Or mailto:[EMAIL PROTECTED]
Re: [freenet-support] start-freenet.sh patch to disable NPTL on SuSE Linux
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nomen Nescio wrote: > On Sat, Jul 24, 2004 at 11:06:23PM +0100, Toad wrote: > >>Will be committed to unstable soon. > > That might not be such a good idea, it'll blow up Gentoo: http://bugs.gentoo.org/show_bug.cgi?id=45004 I run into the problem. However NPTL doesn't seem to be causing me any problems, I don;t know how to to check to see if the same thing is happening here. Freenet merrily chugs along -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFBA0aahctESbvQ8ZwRAuXDAKCIVECRiAnYs00FVYb9Dawr7bc95gCeJxlC 8Uq6B+Zxi+O+TsuucA6TVq0= =7c2Z -END PGP SIGNATURE- ___ Support mailing list [EMAIL PROTECTED] http://news.gmane.org/gmane.network.freenet.support Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support Or mailto:[EMAIL PROTECTED]
Re: [freenet-support] start-freenet.sh patch to disable NPTL on SuSE Linux
On Sat, Jul 24, 2004 at 11:06:23PM +0100, Toad wrote: > Will be committed to unstable soon. Having read http://people.redhat.com/drepper/assumekernel.html I think we can do away with the distribution check and set LD_ASSUME_KERNEL to 2.4.1 for all Linux distributions. Patch for start-freenet.sh below. --- start-freenet.sh.bak2004-07-25 01:47:40.0 +0200 +++ start-freenet.sh2004-07-25 02:07:49.0 +0200 @@ -123,17 +123,8 @@ # Specifically, at least on 1.4.1. and 1.5.0b2, we get hangs # where many threads are stuck waiting for a lock to be # unlocked but no thread owns it. - if test -f /etc/redhat-release - then -LD_ASSUME_KERNEL=2.2.5 -export LD_ASSUME_KERNEL - fi - #gentoo however dies with 2.2.5 - if test -f /etc/gentoo-release -o -f /etc/SuSE-release - then - LD_ASSUME_KERNEL=2.4.1 - export LD_ASSUME_KERNEL - fi + LD_ASSUME_KERNEL=2.4.1 + export LD_ASSUME_KERNEL # 1.4.0? SUN_VERSION=`java -version 2>&1 | head -n 1 | sed "s/java version \"\(.*\)\"/\1/"` if echo $SUN_VERSION | grep "^1.[0-3]" ; then ___ Support mailing list [EMAIL PROTECTED] http://news.gmane.org/gmane.network.freenet.support Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support Or mailto:[EMAIL PROTECTED]
Re: [freenet-support] start-freenet.sh patch to disable NPTL on SuSE Linux
Will be committed to unstable soon. On Sun, Jul 25, 2004 at 12:00:03AM +0200, Nomen Nescio wrote: > Since version 9.1 SuSE is using NPTL by default. To tell an application > not to use NPTL, it is recommended to set LD_ASSUME_KERNEL to 2.4.1. > You'll find a trivial patch to start-freenet.sh attached to this mail. > --- start-freenet.sh.bak 2004-07-22 22:43:47.0 +0200 > +++ start-freenet.sh 2004-07-22 22:43:47.0 +0200 > @@ -129,7 +129,7 @@ > export LD_ASSUME_KERNEL >fi >#gentoo however dies with 2.2.5 > - if test -f /etc/gentoo-release > + if test -f /etc/gentoo-release -o -f /etc/SuSE-release > then > LD_ASSUME_KERNEL=2.4.1 > export LD_ASSUME_KERNEL -- Matthew J Toseland - [EMAIL PROTECTED] Freenet Project Official Codemonkey - http://freenetproject.org/ ICTHUS - Nothing is impossible. Our Boss says so. signature.asc Description: Digital signature ___ Support mailing list [EMAIL PROTECTED] http://news.gmane.org/gmane.network.freenet.support Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support Or mailto:[EMAIL PROTECTED]
[freenet-support] start-freenet.sh patch to disable NPTL on SuSE Linux
Since version 9.1 SuSE is using NPTL by default. To tell an application not to use NPTL, it is recommended to set LD_ASSUME_KERNEL to 2.4.1. You'll find a trivial patch to start-freenet.sh attached to this mail. --- start-freenet.sh.bak2004-07-22 22:43:47.0 +0200 +++ start-freenet.sh2004-07-22 22:43:47.0 +0200 @@ -129,7 +129,7 @@ export LD_ASSUME_KERNEL fi #gentoo however dies with 2.2.5 - if test -f /etc/gentoo-release + if test -f /etc/gentoo-release -o -f /etc/SuSE-release then LD_ASSUME_KERNEL=2.4.1 export LD_ASSUME_KERNEL ___ Support mailing list [EMAIL PROTECTED] http://news.gmane.org/gmane.network.freenet.support Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support Or mailto:[EMAIL PROTECTED]