Re: 386 'ls' gets SIGILL iff /proc is mounted

David Weinehall (tao@acc.umu.se)
Wed, 28 Mar 2001 21:53:43 +0200


On Wed, Mar 28, 2001 at 12:48:45PM -0500, Eric Buddington wrote:
> On Tue, Mar 27, 2001 at 09:22:19AM -0500, Brian Gerst wrote:
> > Try running ls under gdb and find out what instruction is causing SIGILL
> > (illegal opcode). It is possible that it was compiled to use
> > instructions available only on later processors, or it could potentially
> > be a bug in the math emulation code.
>
> OK. Context again (since I clipped preceding notes): 386SX/20 nfsroot,
> getting SIGILL on lots of processes, math emulation is enabled, ls and
> glibc were compiled with '-march=i386 -mcpu=i386' to be sure.
>
> I include two gdb dumps below, one from ls, one from mount, both
> died with SIGILL. If these were indeed illegal instructions on 386,
> I'll take my woes to the glibc folks and stop bothering y'all.

Let me guess, Debian, right? The latest unstable version of glibc
in Debian managed to mix up the 586-optimised binary and the non-optimised
binary, if I'm not all wrong.

/David Weinehall
_ _
// David Weinehall <tao@acc.umu.se> /> Northern lights wander \\
// Project MCA Linux hacker // Dance across the winter sky //
\> http://www.acc.umu.se/~tao/ </ Full colour fire </
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/