1 |
Daevid, |
2 |
|
3 |
If your Gentoo installation was compiled with march=p4 or the like, your |
4 |
image will not work on an AMD machine. The way to have them interchangeable |
5 |
is to use march=i686 mtune=p4, that way there are no cpu-specific |
6 |
instructions compiled into your binaries. mtune will just adjust the |
7 |
scheduling to fit the pipeline of your most used arch. The one piece of |
8 |
hardware that cannot be virtualized on an x86 machine is unfortunately the |
9 |
cpu, unless of course you're running a new cpu with Intel Virtualization or |
10 |
AMD's Pacifica. Even then, it can't deal with incompatible binaries. |
11 |
You'll not just have to recompile your kernel, but your entire system with |
12 |
the new cflags for it to work interchangeably. |
13 |
|
14 |
Jason Weisberger |
15 |
|
16 |
On 2/5/07, Daevid Vincent <daevid@××××××.com> wrote: |
17 |
> |
18 |
> I have a VMWare Workstation image of Gentoo Linux that I transfer between |
19 |
> my |
20 |
> desktop and my notebook (for LAMP/Ruby development) and it works fantastic |
21 |
> on both. Both are running WindowsXP as the host VMWare. Both are Pentium4. |
22 |
> |
23 |
> |
24 |
> Recently, I tried to share the image with a co-worker and it pukes out |
25 |
> about |
26 |
> the time it does some udev stuff at the top of starting up. The (rc.init?) |
27 |
> scripts start breaking and spewing lots of errors and ultimately doesn't |
28 |
> mount the filesystem properly. We are able to manually mount it later, but |
29 |
> then lost of other things are broken. VMware doesn't have any errors we |
30 |
> could find, not even in the logs. It seems to be an OS issue. |
31 |
> |
32 |
> Does the host CPU make a difference? I thought it was all emulated? I |
33 |
> tried |
34 |
> to recompile the kernel with the generic '386 CPU settings and removed all |
35 |
> power mgmt etc, and the same issue happens. |
36 |
> |
37 |
> Can I not transfer between Intel and AMD CPUs? Is there some magic thing |
38 |
> in |
39 |
> the kernel I need to set so it can work on both? |
40 |
> |
41 |
> We attempted several times and tried using VMWare player and also VMWare |
42 |
> workstation. |
43 |
> |
44 |
> It would really suck to have to have him re-compile everything just to get |
45 |
> |
46 |
> the same dev environment setup as mine. |
47 |
> |
48 |
> I also posted this on the VMWare forums in case anyone cares: |
49 |
> http://www.vmware.com/community/thread.jspa?threadID=71079 |
50 |
> |
51 |
> -- |
52 |
> gentoo-user@g.o mailing list |
53 |
> |
54 |
> |
55 |
|
56 |
|
57 |
-- |
58 |
Jason Weisberger |
59 |
jbdubbs@×××××.com |