Re: Libthr stable enough for testing

2003-06-03 Thread Paul Richards
On Thu, May 29, 2003 at 06:28:26PM -0400, James Tanis wrote: > On Thu, 29 May 2003 17:39:18 -0400 (EDT) > John Baldwin <[EMAIL PROTECTED]> wrote: > > > > > It has been committed. Build rtld with WITH_LIBMAP defined and then > > setup a libmap.conf. > > > > -- > > Alright, I compiled and

Re: Libthr stable enough for testing

2003-06-01 Thread Lars Eggert
Valentin Nechayev wrote: Fri, May 30, 2003 at 17:38:04, larse (Lars Eggert) wrote about "Re: Libthr stable enough for testing": LE> I tried, but the following is a surefire way to freeze my SMP box solid LE> at the moment (with today's libthr): SCHED_ULE or SCHED_4BSD

Re: Libthr stable enough for testing

2003-06-01 Thread Valentin Nechayev
Fri, May 30, 2003 at 17:38:04, larse (Lars Eggert) wrote about "Re: Libthr stable enough for testing": LE> I tried, but the following is a surefire way to freeze my SMP box solid LE> at the moment (with today's libthr): SCHED_ULE or

Re: Libthr stable enough for testing

2003-05-31 Thread Lars Eggert
Mike Makonnen wrote: I have committed some changes to libthr today. All but one of them were bug fixes, so I encourage everyone to update their source. ... I'll try to get a dump of the exact error messages when I have access to the box again in a few days. Please. I tried, but the following is a

Re: Libthr stable enough for testing

2003-05-30 Thread Daniel C. Sobral
James Tanis wrote: On Thu, 29 May 2003 17:39:18 -0400 (EDT) John Baldwin <[EMAIL PROTECTED]> wrote: It has been committed. Build rtld with WITH_LIBMAP defined and then setup a libmap.conf. -- Alright, I compiled and installed libthr, built rtld WITH_LIBMAP, and created the libmap.conf. I am us

Re: Libthr stable enough for testing

2003-05-30 Thread Glenn Johnson
On Thu, May 29, 2003 at 05:31:32PM -0700, Julian Elischer wrote: > On Thu, 29 May 2003, Glenn Johnson wrote: > > > On Thu, May 29, 2003 at 03:54:22PM -0700, Julian Elischer wrote: > > > > > > > On Thu, 29 May 2003, Glenn Johnson wrote: > > > > > > > On Thu, May 29, 2003 at 02:20:02AM -0400, Mike

Re: Libthr stable enough for testing

2003-05-30 Thread James Tanis
On Thu, 29 May 2003 20:16:33 -0400 Mike Makonnen <[EMAIL PROTECTED]> wrote: > On Thu, 29 May 2003 18:28:26 -0400 > James Tanis <[EMAIL PROTECTED]> wrote: > > >Is there a way to find out for sure that the programs are now using libthr? As > >far as I can tell they should be, but I'd like to have a

Re: Libthr stable enough for testing

2003-05-30 Thread James Tanis
On Thu, 29 May 2003 20:16:33 -0400 Mike Makonnen <[EMAIL PROTECTED]> wrote: > On Thu, 29 May 2003 18:28:26 -0400 > James Tanis <[EMAIL PROTECTED]> wrote: > > >Is there a way to find out for sure that the programs are now using libthr? As > >far as I can tell they should be, but I'd like to have a

Re: Libthr stable enough for testing

2003-05-30 Thread Julian Elischer
On Thu, 29 May 2003, James Tanis wrote: > On Thu, 29 May 2003 17:39:18 -0400 (EDT) > John Baldwin <[EMAIL PROTECTED]> wrote: > > > > > It has been committed. Build rtld with WITH_LIBMAP defined and then > > setup a libmap.conf. > > > > -- > > Alright, I compiled and installed libthr

Re: Libthr stable enough for testing

2003-05-30 Thread Julian Elischer
On Thu, 29 May 2003, Glenn Johnson wrote: > On Thu, May 29, 2003 at 03:54:22PM -0700, Julian Elischer wrote: > > > > On Thu, 29 May 2003, Glenn Johnson wrote: > > > > > On Thu, May 29, 2003 at 02:20:02AM -0400, Mike Makonnen wrote: > > > > > > > On Thu, 29 May 2003 00:35:32 -0500 Dan Nelson >

Re: Libthr stable enough for testing

2003-05-30 Thread Mike Makonnen
On Thu, 29 May 2003 18:28:26 -0400 James Tanis <[EMAIL PROTECTED]> wrote: > On Thu, 29 May 2003 17:39:18 -0400 (EDT) > John Baldwin <[EMAIL PROTECTED]> wrote: > > > > > It has been committed. Build rtld with WITH_LIBMAP defined and then > > setup a libmap.conf. > > > > -- > > Alright,

Re: Libthr stable enough for testing

2003-05-30 Thread Dan Nelson
( long line wrapped for readability ) In the last episode (May 29), James Tanis said: > Alright, I compiled and installed libthr, built rtld WITH_LIBMAP, and > created the libmap.conf. I am using the example from the man page to > have all programs use the libthr library. As far as I can tell my >

Re: Libthr stable enough for testing

2003-05-30 Thread James Tanis
On Thu, 29 May 2003 17:39:18 -0400 (EDT) John Baldwin <[EMAIL PROTECTED]> wrote: > > It has been committed. Build rtld with WITH_LIBMAP defined and then > setup a libmap.conf. > > -- Alright, I compiled and installed libthr, built rtld WITH_LIBMAP, and created the libmap.conf. I am u

Re: Libthr stable enough for testing

2003-05-30 Thread Glenn Johnson
On Thu, May 29, 2003 at 03:54:22PM -0700, Julian Elischer wrote: > On Thu, 29 May 2003, Glenn Johnson wrote: > > > On Thu, May 29, 2003 at 02:20:02AM -0400, Mike Makonnen wrote: > > > > > On Thu, 29 May 2003 00:35:32 -0500 Dan Nelson > > > <[EMAIL PROTECTED]> wrote: > > > > > > > > > > The real p

Re: Libthr stable enough for testing

2003-05-30 Thread Julian Elischer
On Thu, 29 May 2003, Glenn Johnson wrote: > On Thu, May 29, 2003 at 02:20:02AM -0400, Mike Makonnen wrote: > > > On Thu, 29 May 2003 00:35:32 -0500 Dan Nelson > > <[EMAIL PROTECTED]> wrote: > > > > > > > The real problem is in the kernel, though. A userland non-root > > > process should not be

Re: Libthr stable enough for testing

2003-05-30 Thread Glenn Johnson
On Thu, May 29, 2003 at 02:20:02AM -0400, Mike Makonnen wrote: > On Thu, 29 May 2003 00:35:32 -0500 Dan Nelson > <[EMAIL PROTECTED]> wrote: > > > > The real problem is in the kernel, though. A userland non-root > > process should not be able to hard lock the system. One of the > > threads people

Re: Libthr stable enough for testing

2003-05-30 Thread Dag-Erling Smorgrav
Glenn Johnson <[EMAIL PROTECTED]> writes: > It seems to be working fine on a UP machine but it locks up my SMP > machine just trying to load a gnome session. It leaves an image on the > screen but the keyboard and mouse stop responding and I can not ssh into > the box. Same here - I get a panic i

Re: Libthr stable enough for testing

2003-05-30 Thread John Baldwin
On 29-May-2003 Michael Edenfield wrote: > * James Tanis <[EMAIL PROTECTED]> [030529 17:18]: > >> How does one go about using libthr? Is all that is >> involved is symlinking libc_r to libthr? > > That's the easiest way. You can also explicitly link applications > with -lthr instead of -lc_r.

Re: Libthr stable enough for testing

2003-05-30 Thread Mike Makonnen
On Thu, 29 May 2003 17:06:52 -0400 Mike Makonnen <[EMAIL PROTECTED]> wrote: > > From what I understand, libthr should be a drop-in replacement for > > libc_r, so I was surprised to see this, but maybe I misunderstood? > > No, you're right. The ports must have been statically linked. I'll

Re: Libthr stable enough for testing

2003-05-30 Thread Michael Edenfield
* James Tanis <[EMAIL PROTECTED]> [030529 17:18]: > How does one go about using libthr? Is all that is > involved is symlinking libc_r to libthr? That's the easiest way. You can also explicitly link applications with -lthr instead of -lc_r. And since libthr and libc_r are both 6 characters lo

Re: Libthr stable enough for testing

2003-05-30 Thread James Tanis
How does one go about using libthr? Is all that is involved is symlinking libc_r to libthr? On Thu, 29 May 2003 17:06:52 -0400 Mike Makonnen <[EMAIL PROTECTED]> wrote: > > I have committed some changes to libthr today. All but one of them were bug > fixes, so I encourage everyone to update thei

Re: Libthr stable enough for testing

2003-05-30 Thread Mike Makonnen
I have committed some changes to libthr today. All but one of them were bug fixes, so I encourage everyone to update their source. On Wed, 28 May 2003 22:20:19 -0700 Lars Eggert <[EMAIL PROTECTED]> wrote: > Mike Makonnen wrote: > > > > Most major locking work in libthr is finished. I believe it

Re: Libthr stable enough for testing

2003-05-30 Thread Wesley Morgan
On Wed, 28 May 2003, Lars Eggert wrote: > The machine (SMP) would sometimes freeze solid (no panic). I symlinked > libc_r back to the original library, and from then on, starting > gnomepanel and some other gnome pieces would fail due to errors about > libthr. I couldn't find them in any log file

Re: Libthr stable enough for testing

2003-05-29 Thread Mike Makonnen
On Thu, 29 May 2003 00:35:32 -0500 Dan Nelson <[EMAIL PROTECTED]> wrote: > > The real problem is in the kernel, though. A userland non-root process > should not be able to hard lock the system. One of the threads people > will probably have to get an SMP machine to be able to debug it. > Upon

Re: Libthr stable enough for testing

2003-05-29 Thread Dan Nelson
In the last episode (May 29), Mike Makonnen said: > On Wed, 28 May 2003 21:57:35 -0500 Glenn Johnson <[EMAIL PROTECTED]> wrote: > > It seems to be working fine on a UP machine but it locks up my SMP > > machine just trying to load a gnome session. It leaves an image on > > the screen but the keybo

Re: Libthr stable enough for testing

2003-05-29 Thread Norikatsu Shigemura
Hi Lars. On Wed, 28 May 2003 22:20:19 -0700 Lars Eggert <[EMAIL PROTECTED]> wrote: > The problem was fixed by building/reinstalling the problematic ports > without libthr symlinked into place. Can you try to use WITH_LIBMAP=YES feature in /usr/src/libexec/ rtld-elf/Makefile(SEE A

Re: Libthr stable enough for testing

2003-05-29 Thread Lars Eggert
Mike Makonnen wrote: Most major locking work in libthr is finished. I believe it is stable enough now that it can be used for most applications[1]. I would appreciate it if people would try it out and report any bugs. I had been running with libc_r symlinked to libthr for a few days with no proble

Re: Libthr stable enough for testing

2003-05-29 Thread Mike Makonnen
On Wed, 28 May 2003 21:57:35 -0500 Glenn Johnson <[EMAIL PROTECTED]> wrote: > > It seems to be working fine on a UP machine but it locks up my SMP > machine just trying to load a gnome session. It leaves an image on the > screen but the keyboard and mouse stop responding and I can not ssh into >

Re: Libthr stable enough for testing

2003-05-29 Thread Glenn Johnson
On Mon, May 26, 2003 at 06:51:10PM -0400, Mike Makonnen wrote: > Hello folks, > > Most major locking work in libthr is finished. I believe it is stable > enough now that it can be used for most applications[1]. I would > appreciate it if people would try it out and report any bugs. > > [1] - I ha

Re: Libthr stable enough for testing

2003-05-27 Thread Craig Boston
On Mon, 2003-05-26 at 17:51, Mike Makonnen wrote: > Most major locking work in libthr is finished. I believe it is stable enough now > that it can be used for most applications[1]. I would appreciate it if people > would try it out and report any bugs. Just installed a freshly cvsup-ped current an