public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 386 'ls' gets SIGILL iff /proc is mounted
@ 2001-03-27  6:27 Eric Buddington
  2001-03-27 14:09 ` Brian Gerst
  0 siblings, 1 reply; 5+ messages in thread
From: Eric Buddington @ 2001-03-27  6:27 UTC (permalink / raw)
  To: linux-kernel

2.4.2-ac23 nfsroot on a 386SX/20 with 6Mb RAM

On boot to single user, 'ls' and 'ls -l' work fine.

After mounting /proc, 'ls' still works, but 'ls -l' fails
with SIGILL after reading /etc/timezone (so says strace).

Unmounting /proc fixes the problem. Unmounting /dev doesn't.

I also, just now, had a spate of 'permission denied' errors
while trying to ls /dev/ subdirectories, and unexpected stale NFS handles.

The problems are varied enough that I suspect bad hardware, but would
flaky RAM cause such similar failures repeatedly? And is there a way
to test RAM explicitly?

Any tips appreciated, either to me (ebuddington@wesleyan.edu) or to
the list.

-Eric


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: 386 'ls' gets SIGILL iff /proc is mounted
  2001-03-27  6:27 386 'ls' gets SIGILL iff /proc is mounted Eric Buddington
@ 2001-03-27 14:09 ` Brian Gerst
  2001-03-27 14:12   ` Eric Buddington
  0 siblings, 1 reply; 5+ messages in thread
From: Brian Gerst @ 2001-03-27 14:09 UTC (permalink / raw)
  To: ebuddington; +Cc: linux-kernel

Eric Buddington wrote:
> 
> 2.4.2-ac23 nfsroot on a 386SX/20 with 6Mb RAM
>
> On boot to single user, 'ls' and 'ls -l' work fine.
> 
> After mounting /proc, 'ls' still works, but 'ls -l' fails
> with SIGILL after reading /etc/timezone (so says strace).
> 
> Unmounting /proc fixes the problem. Unmounting /dev doesn't.
> 
> I also, just now, had a spate of 'permission denied' errors
> while trying to ls /dev/ subdirectories, and unexpected stale NFS handles.
> 
> The problems are varied enough that I suspect bad hardware, but would
> flaky RAM cause such similar failures repeatedly? And is there a way
> to test RAM explicitly?
> 
> Any tips appreciated, either to me (ebuddington@wesleyan.edu) or to
> the list.

Silly question, but is math emulation enabled?

--

				Brian Gerst

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: 386 'ls' gets SIGILL iff /proc is mounted
  2001-03-27 14:09 ` Brian Gerst
@ 2001-03-27 14:12   ` Eric Buddington
  2001-03-27 14:22     ` Brian Gerst
  0 siblings, 1 reply; 5+ messages in thread
From: Eric Buddington @ 2001-03-27 14:12 UTC (permalink / raw)
  To: Brian Gerst; +Cc: ebuddington, linux-kernel

On Tue, Mar 27, 2001 at 09:09:24AM -0500, Brian Gerst wrote:
> > 
> > The problems are varied enough that I suspect bad hardware, but would
> > flaky RAM cause such similar failures repeatedly? And is there a way
> > to test RAM explicitly?
> > 
> > Any tips appreciated, either to me (ebuddington@wesleyan.edu) or to
> > the list.
> 
> Silly question, but is math emulation enabled?

Yes. I should have mentioned that in the original, since it occurred
to me also.

-Eric


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: 386 'ls' gets SIGILL iff /proc is mounted
  2001-03-27 14:12   ` Eric Buddington
@ 2001-03-27 14:22     ` Brian Gerst
       [not found]       ` <20010328124845.I80@sparrow.nad.adelphia.net>
  0 siblings, 1 reply; 5+ messages in thread
From: Brian Gerst @ 2001-03-27 14:22 UTC (permalink / raw)
  To: ebuddington; +Cc: linux-kernel

Eric Buddington wrote:
> 
> On Tue, Mar 27, 2001 at 09:09:24AM -0500, Brian Gerst wrote:
> > >
> > > The problems are varied enough that I suspect bad hardware, but would
> > > flaky RAM cause such similar failures repeatedly? And is there a way
> > > to test RAM explicitly?
> > >
> > > Any tips appreciated, either to me (ebuddington@wesleyan.edu) or to
> > > the list.
> >
> > Silly question, but is math emulation enabled?
> 
> Yes. I should have mentioned that in the original, since it occurred
> to me also.
> 
> -Eric

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.

--

				Brian Gerst

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: 386 'ls' gets SIGILL iff /proc is mounted
       [not found]         ` <m3wv99vk8o.fsf@otr.mynet.cygnus.com>
@ 2001-03-29 15:05           ` Eric Buddington
  0 siblings, 0 replies; 5+ messages in thread
From: Eric Buddington @ 2001-03-29 15:05 UTC (permalink / raw)
  To: Ulrich Drepper; +Cc: ebuddington, Brian Gerst, linux-kernel

On Wed, Mar 28, 2001 at 10:09:11AM -0800, Ulrich Drepper wrote:
> Eric Buddington <eric@sparrow.nad.adelphia.net> writes:
> 
> > 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.
> 
> This isn't enough.  You compiled glibc on a i586 or later without
> telling configure to use the i386 configuration.  Run configure with
> the usual options and
> 
>    i386-linux-gnu
> 
> at the end of the command line and then use the options above.

This seems to have solved the problem. Thanks!

-Eric

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2001-03-29 15:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-03-27  6:27 386 'ls' gets SIGILL iff /proc is mounted Eric Buddington
2001-03-27 14:09 ` Brian Gerst
2001-03-27 14:12   ` Eric Buddington
2001-03-27 14:22     ` Brian Gerst
     [not found]       ` <20010328124845.I80@sparrow.nad.adelphia.net>
     [not found]         ` <m3wv99vk8o.fsf@otr.mynet.cygnus.com>
2001-03-29 15:05           ` Eric Buddington

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox