Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Jul 2009 19:57:22 +0200
From:      Roland Smith <rsmith@xs4all.nl>
To:        Sagara Wijetunga <sagara@tomahawk.com.sg>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: FreeBSD child process die for root
Message-ID:  <20090702175722.GA75808@slackbox.xs4all.nl>
In-Reply-To: <20090702041707.19651.qmail@us1.tomahawkonline.net>
References:  <20090701070409.7740.qmail@us1.tomahawkonline.net> <20090701174930.GC37269@slackbox.xs4all.nl> <20090702012352.17934.qmail@us1.tomahawkonline.net> <20090702062738.GA58158@slackbox.xs4all.nl> <20090702041707.19651.qmail@us1.tomahawkonline.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--sm4nu43k4a2Rpi4c
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Jul 01, 2009 at 11:17:07PM -0500, Sagara Wijetunga wrote:
> Roland Smith writes:=20
>=20
> >>=20
> >> I have tested with bash, sh and csh. It seems the child process forked=
=20
> >> simply die irrespective of the shell.=20
> >=20
> > Ok, so it's probably not a shell problem
> > =20
> >> There  is no change in the dot files for root:
> >> [root@tds sagara]# diff /root/.cshrc /usr/src/etc/root/dot.cshrc
> >> [root@tds sagara]# diff /root/.login /usr/src/etc/root/dot.login
> >> [root@tds sagara]# diff /root/.profile /usr/src/etc/root/dot.profile=
=20
> >=20
> > /root/.login executes the fortune program. Can you su to root and then
> > run '/usr/games/fortune -s'?=20
> >=20
>=20
> /root/.login is completely commented out.=20

You're right. I missed that. :-)

> >> Here is the log message for "su -l":
> >> Jul  2 12:38:17 tds kernel: pid 943 (su), uid 0: exited on signal 11=
=20

Is there anything else from su in the logfiles? That might help narrow down
where it crashes.

Are you using the standard FreeBSD su? If not, check your
modifications. Does the version of the userland that you are using match
the version of the kernel?

I've verified that 'su -l' works fine on FreeBSD 7.2-RELEASE-p2 on the
amd64 architecture.=20

What you could do is run 'su -l' under a debugger.=20

> > It could be a hardware problem. Signal 11 can be a sign of bad memory.
> > Can you reproduce the problem on multiple machines?=20
>=20
> I have taken the hard disk out and fixed on different machines, the sympt=
oms=20
> are still the same. So it may not be a hardware error.=20

Ok. So it is probably a software bug then.

Roland
--=20
R.F.Smith                                   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)

--sm4nu43k4a2Rpi4c
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (FreeBSD)

iEYEARECAAYFAkpM9QIACgkQEnfvsMMhpyWyGQCePxeDzNQO9AwTvI//ZmVT0iC5
zg8An0dwoGWEPVan/96MwwMqrtLnYGn2
=ezud
-----END PGP SIGNATURE-----

--sm4nu43k4a2Rpi4c--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090702175722.GA75808>