mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* RE: PROBLEM:Illegal instruction when mount nfs file systems using
@ 2001-06-29  2:52 Frank Zhu (Shanghai)
  2001-06-29  9:14 ` RE: PROBLEM:Illegal instruction when mo Alan Cox
  0 siblings, 1 reply; 2+ messages in thread
From: Frank Zhu (Shanghai) @ 2001-06-29  2:52 UTC (permalink / raw)
  To: 'Alan Cox', mikpe
  Cc: bernds, Frank Zhu (Shanghai), linux-kernel, mikpe

ok.
i just do another test.maybe meaningful.
1)no matter i select -march=i686 or -march=i386 the result are the same. 
2)the server 192.168.0.254 (netboot) ,client 192.168.0.3
there are /usr ,/usr/local/ ,/home, /lib, /bin ....... on the server
on the client
A: mount -t nfs netboot:/usr  /usr
    mount -t nfs netboot:/lib /lib
    mount -t nfs netboot:/bin /bin
    mount -t nfs netboot:/sbin /sbin
Illegal instruction (core dumped)

B:mount  -t nfs netboot:/usr /1
    mount -t nfs netboot:/lib /2
    mount -t nfs netboot:/bin /3
    mount -t nfs netboot:/sbin /4
    mount ...................
ok

it seems that mount on the  same mount point(/usr----/usr....) error occurs
but on the different mount point(/usr------/1......) seems ok
then i install a machine with (lower version distribution kernel
2.2.13)Bluepoint 1.0. there are no mount problems above.

  

-----Original Message-----
From: Alan Cox [mailto:alan@lxorguk.ukuu.org.uk]
Sent: 2001年6月29日 7:12
To: mikpe@csd.uu.se
Cc: alan@lxorguk.ukuu.org.uk; bernds@redhat.com; FrankZhu@viatech.com.cn;
linux-kernel@vger.kernel.org; mikpe@csd.uu.se
Subject: Re: PROBLEM:Illegal instruction when mount nfs file systems using


> Here I have to disagree with you Alan. When you pass "-march=i686" to
> gcc, you are _not_ saying "generate code for a CPUID family 6 CPU".
> "-march=i686" actually means "target an Intel P6 family chip, given
> what we currently know about them". The gcc info pages don't talk

Which is fine. The Pentium Pro manual explicitly states that cmov may go
away. So it is not based on what we know about the CPU, its based on not
reading the documentation. 

It's a bug. -march=i6868 does not 'target an Intel P6 family chip, ...'
It happens to work because the error in reading the docs was never triggered
by intel removing cmov from a cpu as the reserved the right to do

Alan

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

* Re: RE: PROBLEM:Illegal instruction when mo
  2001-06-29  2:52 PROBLEM:Illegal instruction when mount nfs file systems using Frank Zhu (Shanghai)
@ 2001-06-29  9:14 ` Alan Cox
  0 siblings, 0 replies; 2+ messages in thread
From: Alan Cox @ 2001-06-29  9:14 UTC (permalink / raw)
  To: Frank Zhu (Shanghai)
  Cc: 'Alan Cox', mikpe, bernds, Frank Zhu (Shanghai), linux-kernel

> 2)the server 192.168.0.254 (netboot) ,client 192.168.0.3
> there are /usr ,/usr/local/ ,/home, /lib, /bin ....... on the server
> on the client
> A: mount -t nfs netboot:/usr  /usr
>     mount -t nfs netboot:/lib /lib
>     mount -t nfs netboot:/bin /bin
>     mount -t nfs netboot:/sbin /sbin
> Illegal instruction (core dumped)

You have i686 cmov using packages on the server, once you replaced the libraries
and some binaries with i686 only ones the inevitable occurred.

If you are sharing your /lib /bin etc you need i586 or lower optimisation 
packages on the server


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

end of thread, other threads:[~2001-06-29  9:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-29  2:52 PROBLEM:Illegal instruction when mount nfs file systems using Frank Zhu (Shanghai)
2001-06-29  9:14 ` RE: PROBLEM:Illegal instruction when mo Alan Cox

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

all inboxes | Powered by JetHome®