Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 May 1997 11:55:16 -0500
From:      randyd <randyd@nconnect.net>
To:        Steve Passe <smp@csn.net>
Cc:        The Hermit Hacker <scrappy@hub.org>, smp@FreeBSD.ORG
Subject:   Re: postgresql build failure on SMP machine
Message-ID:  <3381D774.5C249BED@nconnect.net>
References:  <199705201634.KAA02238@Ilsa.StevesCafe.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3381D774.5C249BED>