[ LUGOS ] Floating point exception...

Jernej Horvat j na kid.kibla.org
Pon Jun 26 12:11:59 CEST 2000


On 24 Jun 2000, at 18:35, Luka Lezaic wrote:

> Uporabljam linux distr. SuSE 6.2 ( kernel 2.2.10, glibc 2.1 ), Cyrix
> 200 MMX, 64Mb RAM. Dosti programov mi exit-a z "Floating point
> exception" napako 

morda...cyrix ima slab FPU

probaj

Kernel math emulation
CONFIG_MATH_EMULATION
  Linux can emulate a math coprocessor (used for floating point
  operations) if you don't have one. 486DX and Pentium processors have
  a math coprocessor built in, 486SX and 386 do not, unless you added
  a 487DX or 387, respectively. (The messages during boot time can
  give you some hints here ["man dmesg"].) Everyone needs either a
  coprocessor or this emulation.

  If you don't have a math coprocessor, you need to say Y here; if you
  say Y here even though you have a coprocessor, the coprocessor will
  be used nevertheless. (This behavior can be changed with the kernel
  command line option "no387", which comes handy if your coprocessor
  is broken. Try "man bootparam" or see the documentation of your boot
  loader (lilo or loadlin) about how to pass options to the kernel at
  boot time. The lilo procedure is also explained in the SCSI-HOWTO,
  available via FTP (user: anonymous) in
  ftp://metalab.unc.edu/pub/Linux/docs/HOWTO.) This means that it is a
  good idea to say Y here if you intend to use this kernel on
  different machines.

  More information about the internals of the Linux math coprocessor
  emulation can be found in arch/i386/math-emu/README.

  If you are not sure, say Y; apart from resulting in a 45 KB bigger
  kernel, it won't hurt.


v /etc/lilo.conf pa dodas

append="no387"

 no387  disables using the hardware FPU even if one is present.

--




Dodatne informacije o seznamu Starilist