All of lore.kernel.org
 help / color / mirror / Atom feed
* RE: Re: No VMX-guests on Intel Xeon/VT
@ 2006-02-02 11:51 Petersson, Mats
  2006-02-02 20:08 ` Thorolf Godawa
  0 siblings, 1 reply; 10+ messages in thread
From: Petersson, Mats @ 2006-02-02 11:51 UTC (permalink / raw)
  To: Thorolf Godawa, xen-devel; +Cc: xen-users

> -----Original Message-----
> From: xen-users-bounces@lists.xensource.com 
> [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of 
> Thorolf Godawa
> Sent: 02 February 2006 02:30
> To: xen-devel@lists.xensource.com
> Cc: xen-users@lists.xensource.com
> Subject: [Xen-users] Re: No VMX-guests on Intel Xeon/VT
> 
> Hi all,
> 
> OK, I've installed possibly all needed packages on SL10.1b2 
> but the VNC-stuff still is not working :-(
> 
> So right now I'm downloading the latest SLES 10-beta-code 
> from the Novell-side and hopefully it is working with that - 
> this is plan A!
> 
> Plan B is compiling XEN by myself, so acording to the docs 
> I've installed the following (or it was already installed):
> python-devel, zlib-devel, LibVNCServer, SDL-devel, 
> bridge-utils, iproute2, udev, dev86-0.16.0-187.i586.rpm
> 
> Then I downloaded and untared xen-3.0.1-src.tgz, to build it 
> I'm doing:
> 
> # make KERNELS=linux-2.6-xen world > make01.log
> 
> The first part seems to run without problems, at least I 
> don't find errors or warnings in the log:
> 
> ------------------------------------------------------
>    ...
>    Install prefix    usr
>    BIOS directory    /usr/share/xen/qemu
>    binary directory  /usr/bin
>    Manual directory  /usr/share/man
>    Source path       /data/xen/2install/xen301/xen-3.0.1/tools/ioemu
>    C compiler        gcc
>    make              make
>    host CPU          amd64
>    host big endian   no
>    target list       target-i386-dm
>    gprof enabled     no
>    static build      no
>    VNC support       yes
>    SDL support       yes
>    SDL static link   yes
>    mingw32 support   no
>    Adlib support     no
>    FMOD support      no
>    ...
>    make[3]: Leaving directory
> `/data/xen/2install/xen301/xen-3.0.1/xen/arch/x86'
>    make[2]: Leaving directory 
> `/data/xen/2install/xen301/xen-3.0.1/xen'
>    make[1]: Leaving directory `/data/xen/2install/xen301/xen-3.0.1'
> ------------------------------------------------------
> 
> It doesn't matter that the "host CPU" is an "amd64" if in 
> truth its a Xeon with EM64T?

AMD64 is funcationality-wise compatible with EM64T (or to be
historically correct, Intel copied AMD64 to make EM64T) - there are some
minor differences, but none that matters to QEMU. 
> 
> And what means "target list       target-i386-dm", does it 
> mean that the 
> compiled binaries are only for i386? I need them for x86-64, 
> if it's not correct where do I change it?

That's fine - works fine on my AMD64-system, and that's straight out of
the Xen-unstable tree - AMD has made no modifications to this, it's all
been in there since Intel first introduced the code into Xen. [I don't
have an Intel system to compare with, but it should make no difference
at all]. 

> 
> Unfortunately only the first part of the compilation runs, then I get:
> 
> ------------------------------------------------------
>    readlink: missing operand
>    Try `readlink --help' for more information.
>     __  __            _____  ___   _
>     \ \/ /___ _ __   |___ / / _ \ / |
>      \  // _ \ '_ \    |_ \| | | || |
>      /  \  __/ | | |  ___) | |_| || |
>     /_/\_\___|_| |_| |____(_)___(_)_|
> 
>    cc1: warnings being treated as errors
>    In file included from
> /data/xen/2install/xen301/xen-3.0.1/xen/include/asm/mpspec.h:5,
>                     from
> /data/xen/2install/xen301/xen-3.0.1/xen/include/asm/smp.h:18,
>                     from
> /data/xen/2install/xen301/xen-3.0.1/xen/include/xen/smp.h:13,
>                     from
> /data/xen/2install/xen301/xen-3.0.1/xen/include/xen/sched.h:8,
>                     from x86_64/asm-offsets.c:9:
>    
> /data/xen/2install/xen301/xen-3.0.1/xen/include/asm/mpspec_def.h:78: 
> warning: ?packed? attribute ignored for field of type 
> ?unsigned char[5u]?
>    make[3]: *** [asm-offsets.s] Error 1
>    make[2]: *** [/data/xen/2install/xen301/xen-3.0.1/xen/xen] Error 2
>    make[1]: *** [install-xen] Error 2
>    make: *** [world] Error 2
> ------------------------------------------------------

What version of gcc are you using? 4.0.2?

You can probably just (at your own peril, of course) remove -Werror from
the CFLAGS line in .../xen/arch/x86/Rules.mk (around line 11). 

However, I'm not sure that you actually need to build Xen itself -
perhaps you can just go down to the .../tools/ioemu and do "make clean;
make" there. As the problem you're seeing appears to be related to
qemu-dm. Then copy target-i386-dm/qemu-dm to /usr/lib64/xen/bin [on your
target system, if you're not compiling and running Xen on the same
system]. 

Note: .../ represents the "Xen root directory", such as
~/xen-unstable.hg or whatever it may be. 

Best of luck. 

--
Mats

> 
> I'm not a c-programmer, so possibly I'm not goinig to fix 
> this in the sources or is there s.th. else wrong in the way 
> I'm going to compile the package for me?
> 
> Again thanks a lot for all the help I got in these news-groups!
> -- 
> 
> Chau y hasta luego,
> 
> Thorolf
> 

^ permalink raw reply	[flat|nested] 10+ messages in thread
* RE: No VMX-guests on Intel Xeon/VT
@ 2006-02-02 16:40 Petersson, Mats
  2006-02-02 17:01 ` Thorolf Godawa
  0 siblings, 1 reply; 10+ messages in thread
From: Petersson, Mats @ 2006-02-02 16:40 UTC (permalink / raw)
  To: Thorolf Godawa, Charles Coffing; +Cc: xen-devel

 

> -----Original Message-----
> From: xen-devel-bounces@lists.xensource.com 
> [mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of 
> Thorolf Godawa
> Sent: 02 February 2006 16:33
> To: Charles Coffing
> Cc: xen-devel@lists.xensource.com
> Subject: Re: [Xen-devel] No VMX-guests on Intel Xeon/VT
> 
> Hi Chuck and all others,
> 
> 
> yeah, its going better and better ...
> 
> 
>  >If you're using the Xen from the SLES 10 betas, VNC and SDL 
> support are  >already compiled in.
> I just installed the latest SLES 10.0 Beta1 x86-64 
> (2006-1-19), during installation there where just a litte 
> thing (ompat-32bit 2006.1.13-2 conflict because 
> libcrypto.so.0.9.7 and libssl.so.0.9.7 are not available, but 
> there is the 0.9.7), the rest was running quite good, even 
> the network-adapter is recognized correct now!
> 
> 
> The standard-kernel ist booting as expected the system, but 
> if I try to install s.th. with YaST it didn't let me select 
> anything and there are no package-descriptions at all.
> 
> But even this could be acceptable because I just want to use XEN!
> 
> 
> So I started the XEN-kernel (2.6.15-git12-6-xen) and what do I get:
> 
> not found -- exiting to /bin/sh
> $
> aaarg ...
> 
> 
> The first thing is:
> 
> Could not allocate 16 bytes percpu data
> WARNING: Error inserting scsi_mod .... : Cannot allocate memory
> sd_mod: Unknown symbol scsi_...
> ...
> ..
> .
> FATAL: Error inserting sd_mod ... : Unknown symbol in modul, 
> or unknown parameter (see dmesg) Loading ata_piix Could not 
> allocate 16 bytes percpu data
> WARNING: Error inserting scsi_mod .... : Cannot allocate memory
> libdata: Unknown symbol scsi_...
> ...
> ..
> .
> WARNING: Error inserting libdata ... : Unknown symbol in 
> modul, or unknown parameter (see dmesg)
> FATAL: Module ahci not found.
> ...
> ata_piix: Unknown symbol ata_...
> ...
> ..
> .
> Waiting for udev to settle: . ok
> not found -- exiting to /bin/bash
> $
> -------------------------

Did you build a new initrd using the "mkinitrd" command? 
Either do that [search the archive if you need to find more details on
how to do this], or you can turn off modules in the kernel [that's what
I do, because I then only need ONE file to copy from the dev machine to
target machine - not that I'm changing the kernel very often...]

I hope this helps. 

--
Mats
> 
> Any ideas?
> -- 
> 
> Chau y hasta luego,
> 
> Thorolf
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
> 
> 

^ permalink raw reply	[flat|nested] 10+ messages in thread
* RE: Still problems with VNC and Windows on Intel Xeon/VT
@ 2006-02-01  2:20 Puthiyaparambil, Aravindh
  2006-02-01 19:43 ` No VMX-guests " Thorolf Godawa
  2006-02-01 21:14 ` Charles Coffing
  0 siblings, 2 replies; 10+ messages in thread
From: Puthiyaparambil, Aravindh @ 2006-02-01  2:20 UTC (permalink / raw)
  To: Thorolf Godawa, xen-devel, xen-users

> I start my first VM with vnc=1 and vncviewer=1 in the config but no
VNC
> is starting. I get the following message:

Start the domain with vnc=1 and vncviewer=0. Then execute "vncviewer
ipaddress:dom_id" or "vncviewer localhost:dom_id" to connect to the
domain.

Hope this helps.

Aravindh

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

end of thread, other threads:[~2006-02-02 20:08 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-02 11:51 Re: No VMX-guests on Intel Xeon/VT Petersson, Mats
2006-02-02 20:08 ` Thorolf Godawa
  -- strict thread matches above, loose matches on Subject: below --
2006-02-02 16:40 Petersson, Mats
2006-02-02 17:01 ` Thorolf Godawa
2006-02-01  2:20 Still problems with VNC and Windows " Puthiyaparambil, Aravindh
2006-02-01 19:43 ` No VMX-guests " Thorolf Godawa
2006-02-01 19:57   ` Daniel Stekloff
2006-02-01 20:51     ` Thorolf Godawa
2006-02-01 21:03       ` [Xen-users] " Daniel Stekloff
     [not found]         ` <200602012221.46090.ralph@debianbase.de>
2006-02-02  2:29           ` Thorolf Godawa
2006-02-01 21:14 ` Charles Coffing
2006-02-02 16:32   ` Thorolf Godawa

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.