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

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 

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. 

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

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

Ok. So it is probably a software bug then.

Roland
-- 
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)

Attachment: pgpWyhORQODS9.pgp
Description: PGP signature

Reply via email to