From owner-freebsd-smp Tue May 20 09:50:59 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id JAA12772 for smp-outgoing; Tue, 20 May 1997 09:50:59 -0700 (PDT) Received: from egyptian.microxp.com (root@egyptian.microxp.com [207.227.65.14]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id JAA12764 for ; Tue, 20 May 1997 09:50:50 -0700 (PDT) Received: from arabian.microxp.com (arabian.microxp.com [207.227.65.13]) by egyptian.microxp.com (8.8.5/8.8.5) with ESMTP id MAA02301; Tue, 20 May 1997 12:06:05 -0500 (CDT) Message-ID: <3381D774.5C249BED@nconnect.net> Date: Tue, 20 May 1997 11:55:16 -0500 From: randyd Reply-To: randyd@nconnect.net Organization: Computer Specialists X-Mailer: Mozilla 4.0b3C (X11; I; FreeBSD 3.0-CURRENT i386) MIME-Version: 1.0 To: Steve Passe CC: The Hermit Hacker , smp@FreeBSD.ORG Subject: Re: postgresql build failure on SMP machine X-Priority: 3 (Normal) References: <199705201634.KAA02238@Ilsa.StevesCafe.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-smp@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Steve Passe wrote: > > Hi, > > > > In trying to install the postgresql port the install fails with the > > > following... > > > > > > initdb: creating template database in > > > /usr/local/pgsql/data/base/template1 > > > Running: postgres -boot -C -F -D/usr/local/pgsql/data -Q template1 > > > Failed Assertion("!VfdCache[0].lruMoreRecently != 0):(null)", File: > > > "fd.c", Line: > > > 389) > > > !(VfdCache[0].lruMoreRecently != 0) (0) > > > Abort trap - core dumped > > > initdb: could not create template database > > > initdb: cleaning up by wiping out /usr/local/pgsql/data/base/template1 > > > *** Error code 1 > > > > > > Stop. > > > *** Error code 1 > > > > > > Stop. > > > *** Error code 1 > > > > > > Stop. > > > > > > The system is -current (SMP) as of 4 PM 5/18 > > I don't know anything about postgres, but my guess is that there is a race > going on here. is there more than 1 process involved in the above? > Am I correct in believing that if you dont start the 2nd CPU it will work > OK? > > -- > Steve Passe | powered by > smp@csn.net | Symmetric MultiProcessor FreeBSD I built a UP kernel on the SMP machine and boot to it. Incurred the same problem. I'll try not starting the 2nd CPU tonite when I get home and see what happens. BTW Marc, I grabbed the PostgreSQL 6.1 sources from ftp.postgresql.org as you suggested. I don't remember the exact error messages but 970520 didn't compile so I grabbed 970515. It built fine but when I ran initdb it complained that it couldn't find it's library. I ran ldconfig and then initdb again. This time it hung with the follwing... Running: postgres -boot -C -F -D/usr/local/pgsql/data -Q template1 After 5 minutes I did a ^C and the machine promptly crashed. I couldn't read the exact panic msg as it went by too fast. It rebooted, fscked the disk and came up OK but no database. I'll try to mess with it more tonite when I get home. --- Randall D DuCharme Systems Engineer Computer Specialists 414-253-9998 414-253-9919 (fax)