Subject: Re: installing suse_base on current i386 sets time to 1970
To: None <current-users@netbsd.org>
From: Murray Armfield <murray.armfield@arconsulting.com.au>
List: current-users
Date: 11/27/2002 21:25:14
Hi Folks,
=09OK, heres the results of ktrace. Very interesting...
2268 ktrace EMUL "netbsd"
2268 ktrace CALL execve(0xbfbfbbee,0xbfbfbb24,0xbfbfbb34)
2268 ktrace NAMI "/usr/pkg/emul/linux/sbin/ldconfig"
2268 ldconfig EMUL "freebsd"
2268 ldconfig RET execve JUSTRETURN
2268 ldconfig CALL #221 (unimplemented semget)(0xbfbfbb60,0xbfbfbb50,0=
x3)
2268 ldconfig RET #221 (unimplemented semget) -1 errno 2 No such file=
or=20
directory
2268 ldconfig CALL #221 (unimplemented semget)(0xbfbfbb60,0xbfbfbb50,0=
x3)
2268 ldconfig RET #221 (unimplemented semget) -1 errno 2 No such file=
or=20
directory
2268 ldconfig CALL #221 (unimplemented semget)(0xbfbfbb60,0xbfbfbb50,0=
x3)
2268 ldconfig RET #221 (unimplemented semget) -1 errno 2 No such file=
or=20
directory
2268 ldconfig CALL settimeofday(0xbfbfb910,0)
2268 ldconfig RET settimeofday 0
2268 ldconfig CALL write(0x8074b20,0x2,0x8094d89)
2268 ldconfig RET write -1 errno 9 Bad file descriptor
2268 ldconfig CALL write(0x8074b20,0x2,0x8094d92)
2268 ldconfig RET write -1 errno 9 Bad file descriptor
2268 ldconfig CALL write(0x8074b20,0x2,0x8094d9b)
2268 ldconfig RET write -1 errno 9 Bad file descriptor
2268 ldconfig CALL write(0x8074b20,0x2,0x8094da4)
2268 ldconfig RET write -1 errno 9 Bad file descriptor
2268 ldconfig CALL write(0x8074b20,0x2,0x8094dad)
2268 ldconfig RET write -1 errno 9 Bad file descriptor
2268 ldconfig CALL write(0x8074b20,0x2,0x8094db6)
2268 ldconfig RET write -1 errno 9 Bad file descriptor
2268 ldconfig CALL write(0x8074b20,0x2,0x8094dbf)
2268 ldconfig RET write -1 errno 9 Bad file descriptor
This just goes on and on.
Take care,
=09Murray
On Wed, 27 Nov 2002 09:14 pm, you wrote:
> Hi David,
> =09Thanks for your response.
>
> On Tue, 26 Nov 2002 09:05 pm, you wrote:
> > On Wed, Nov 27, 2002 at 08:46:30PM +1100, Murray Armfield wrote:
> > > When I go to install suse_base from pkgsrc, the install
> > > phase never completes and my system time changes to 1970.
> >
> > Have you tried to work out which bit of the install does it?
>
> Yeah I have. In first email the line...
> =09${EMULDIR}/sbin/ldconfig -r ${EMULDIR}
> is straight from the pkg's Makefile and I have verfied it as being the
> problem. It I take that line out of the makefile and run it the problem
> occurs every time.
> =09Experimenting with ldconfig causes the problem every time and under
> X11 the machine has hung a couple of times too when I reset the clock b=
ack
> to correct time (Another issue?). So I don't do that anymore.
>
> > You could try running the install under ktrace -i
> > then parse the Mb of trace file :-)
>
> I'll try just the ldconfig -r instead to reduce Mb. Would you (or anyon=
e
> else) like to see the output?
>
> Take care,
> =09Murray