* postgres 7 stuck spinlock
@ 2000-05-19 18:25 Emmanuel PIERRE
2000-05-28 4:12 ` Michael Schmitz
0 siblings, 1 reply; 6+ messages in thread
From: Emmanuel PIERRE @ 2000-05-19 18:25 UTC (permalink / raw)
To: ML Alpha
-- Alpha EV56 Noritake DIGITAL Server 3000 Model 3305 6500A
Hi,
When I initialise postgres 7 on my Alpha, I have:
[postgres@alpha /mnt/data/bdd/pgsql]$ /usr/local/pgsql/bin/initdb -D
/usr/local/pgsql/data
This database system will be initialized with username "postgres".
This user will own all the data files and must also own the server
process.
Creating database system directory /usr/local/pgsql/data
Creating database system directory /usr/local/pgsql/data/base
Creating database XLOG directory /usr/local/pgsql/data/pg_xlog
Creating template database in /usr/local/pgsql/data/base/template1
FATAL: s_lock(2032e4e0) at spin.c:116, stuck spinlock. Aborting.
FATAL: s_lock(2032e4e0) at spin.c:116, stuck spinlock. Aborting.
initdb failed.
Removing /usr/local/pgsql/data.
Removing temp file /tmp/initdb.25502.
Any idea of the problem ?
--
Emmanuel PIERRE
A P R - J o b
l'Emploi
Sur Internet
32, rue Pierret, 92200 Neuilly
Tel: 01 41 92 91 50 - Tatoo: 06 57 60 42 17 - Fax: 01 41 92 91 54
epierre@apr-job.com eFAX: +44 0870-122-6748 www.apr-job.com
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: postgres 7 stuck spinlock 2000-05-19 18:25 postgres 7 stuck spinlock Emmanuel PIERRE @ 2000-05-28 4:12 ` Michael Schmitz 2000-05-29 22:18 ` Ryan Kirkpatrick 0 siblings, 1 reply; 6+ messages in thread From: Michael Schmitz @ 2000-05-28 4:12 UTC (permalink / raw) To: ML Alpha I get this problem too, on a UP2000. Did anyone figure this out yet? Michael Schmitz mbs@veritas.com On Fri, 19 May 2000, Emmanuel PIERRE wrote: > > -- Alpha EV56 Noritake DIGITAL Server 3000 Model 3305 6500A > > Hi, > > When I initialise postgres 7 on my Alpha, I have: > > > [postgres@alpha /mnt/data/bdd/pgsql]$ /usr/local/pgsql/bin/initdb -D > /usr/local/pgsql/data > This database system will be initialized with username "postgres". > This user will own all the data files and must also own the server > process. > > Creating database system directory /usr/local/pgsql/data > Creating database system directory /usr/local/pgsql/data/base > Creating database XLOG directory /usr/local/pgsql/data/pg_xlog > Creating template database in /usr/local/pgsql/data/base/template1 > > FATAL: s_lock(2032e4e0) at spin.c:116, stuck spinlock. Aborting. > > FATAL: s_lock(2032e4e0) at spin.c:116, stuck spinlock. Aborting. > > initdb failed. > Removing /usr/local/pgsql/data. > Removing temp file /tmp/initdb.25502. > > > Any idea of the problem ? > > > -- > Emmanuel PIERRE > > A P R - J o b > l'Emploi > Sur Internet > > 32, rue Pierret, 92200 Neuilly > Tel: 01 41 92 91 50 - Tatoo: 06 57 60 42 17 - Fax: 01 41 92 91 54 > epierre@apr-job.com eFAX: +44 0870-122-6748 www.apr-job.com > > -- > To unsubscribe: send e-mail to axp-list-request@redhat.com with > 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com > ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: postgres 7 stuck spinlock 2000-05-28 4:12 ` Michael Schmitz @ 2000-05-29 22:18 ` Ryan Kirkpatrick 2000-06-07 13:42 ` Emmanuel PIERRE 0 siblings, 1 reply; 6+ messages in thread From: Ryan Kirkpatrick @ 2000-05-29 22:18 UTC (permalink / raw) To: axp-list On Sat, 27 May 2000, Michael Schmitz wrote: > I get this problem too, on a UP2000. Did anyone figure this > out yet? > > On Fri, 19 May 2000, Emmanuel PIERRE wrote: > > > When I initialise postgres 7 on my Alpha, I have: > > > > FATAL: s_lock(2032e4e0) at spin.c:116, stuck spinlock. Aborting. > > > > FATAL: s_lock(2032e4e0) at spin.c:116, stuck spinlock. Aborting. Yea, this is well known problem as PostgreSQL 7.0 (and 6.5.x) does not work "out-of-the-box" for Linux/Alpha. In order to get it working, you need a set of Linux/Alpha patches for that version of PostgreSQL you wish to run. Once applied to the source tree and rebuilt, PostgreSQL runs just fine (passes all regression tests), with only a few relatively harmless unaligned traps now and then. You can get these patches at my web site (see URL in sig) under the Software section. Since I am also the maintainer of these patches, if you have any problems with them, feel free to email me. All necessary instructions to apply the patches are also included on my web pages. Hopefully by 7.1 these patches will be integrated into the main source tree. :) Also, if you want RPMs, check out the PostgreSQL website and email archives, there was someone making them, but their name (and web site) slips my mind at the moment. PS. The patches were developed on an Alpha XL366 running Debian 2.1, but should work fine for other (more powerful :) Alphas running a recent version of RedHat. --------------------------------------------------------------------------- | "For to me to live is Christ, and to die is gain." | | --- Philippians 1:21 (KJV) | --------------------------------------------------------------------------- | Ryan Kirkpatrick | Boulder, Colorado | http://www.rkirkpat.net/ | --------------------------------------------------------------------------- ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: postgres 7 stuck spinlock 2000-05-29 22:18 ` Ryan Kirkpatrick @ 2000-06-07 13:42 ` Emmanuel PIERRE 2000-06-12 13:45 ` Uncle George 0 siblings, 1 reply; 6+ messages in thread From: Emmanuel PIERRE @ 2000-06-07 13:42 UTC (permalink / raw) To: axp-list Hi ! > Since I am also the maintainer of these patches, if you have any problems with them, feel free to email me. All necessary instructions to apply the patches are also included on my web pages. http://www.rkirkpat.net/ I can'-t access your web site... can you help me ? Emmanuel -- Emmanuel PIERRE A P R - J o b l'Emploi Sur Internet 32, rue Pierret, 92200 Neuilly Tel: 01 41 92 91 50 - Tatoo: 06 57 60 42 17 - Fax: 01 41 92 91 54 epierre@apr-job.com eFAX: +44 0870-122-6748 www.apr-job.com ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: postgres 7 stuck spinlock 2000-06-07 13:42 ` Emmanuel PIERRE @ 2000-06-12 13:45 ` Uncle George 2000-06-13 3:27 ` Ryan Kirkpatrick 0 siblings, 1 reply; 6+ messages in thread From: Uncle George @ 2000-06-12 13:45 UTC (permalink / raw) To: axp-list, Emmanuel PIERRE Does anyone know why these (for alpha ) patches have not made it into the sources ? I submitted them about a year ago to postgresql, and as far as I can see they have chosen to not include them. Have u asked them (postgres folks ) why ? I mean after all its been only a year! Emmanuel PIERRE wrote: > Hi ! > > > Since I am also the maintainer of these patches, if you have any problems with them, feel free to email me. All necessary instructions to apply the patches are also included on my web pages. > > http://www.rkirkpat.net/ > > I can'-t access your web site... > > can you help me ? > > Emmanuel > -- > Emmanuel PIERRE > > A P R - J o b > l'Emploi > Sur Internet > > 32, rue Pierret, 92200 Neuilly > Tel: 01 41 92 91 50 - Tatoo: 06 57 60 42 17 - Fax: 01 41 92 91 54 > epierre@apr-job.com eFAX: +44 0870-122-6748 www.apr-job.com > > -- > To unsubscribe: send e-mail to axp-list-request@redhat.com with > 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: postgres 7 stuck spinlock 2000-06-12 13:45 ` Uncle George @ 2000-06-13 3:27 ` Ryan Kirkpatrick 0 siblings, 0 replies; 6+ messages in thread From: Ryan Kirkpatrick @ 2000-06-13 3:27 UTC (permalink / raw) To: axp-list On Mon, 12 Jun 2000, Uncle George wrote: > Does anyone know why these (for alpha ) patches have not made it into > the sources ? I submitted them about a year ago to postgresql, and as > far as I can see they have chosen to not include them. > > Have u asked them (postgres folks ) why ? I mean after all its been > only a year! I have been working with Emmanuel Pierre on this problem and I can not replicate it on my Alpha (XL366, Debian 2.1). I have a feeling that his problem has to do with an optimizer bug in the version of gcc(egcs) that he is using. I have asked him to try a few different optimizer settings, and report back the results to me. I have not heard anything yet (but I only asked this morning). As for the patches, they are alive and well. It is due to the large impact they would have on the pgsql source tree that they have not been intergrated into the main source tree. At current they would break a number of other platforms, and a large amount of the current patches will be obsoleted shortly by a fmgr rewrite that is currently in progress. I have been keeping the patches up to date so they will apply to the 6.5.x and 7.0.x source trees, and allow one to build a fully working pgsql on Linux/Alpha. The patches are currently available on my websiste (see URL in sig below). I plan to work on integrating the non-fmgr related patches into the main source tree before pgsql 7.1 is released. In other words, have patience, the patches will make it in, and they are being maintained in the meantime. Sometime things just take longer than you would wish they would. :) --------------------------------------------------------------------------- | "For to me to live is Christ, and to die is gain." | | --- Philippians 1:21 (KJV) | --------------------------------------------------------------------------- | Ryan Kirkpatrick | Boulder, Colorado | http://www.rkirkpat.net/ | --------------------------------------------------------------------------- ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2000-06-13 3:28 UTC | newest] Thread overview: 6+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2000-05-19 18:25 postgres 7 stuck spinlock Emmanuel PIERRE 2000-05-28 4:12 ` Michael Schmitz 2000-05-29 22:18 ` Ryan Kirkpatrick 2000-06-07 13:42 ` Emmanuel PIERRE 2000-06-12 13:45 ` Uncle George 2000-06-13 3:27 ` Ryan Kirkpatrick
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox