WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

RE: [Xen-users] Another install xen on Ubuntu 10.04 question

To: "'Fajar A. Nugraha'" <fajar@xxxxxxxxx>
Subject: RE: [Xen-users] Another install xen on Ubuntu 10.04 question
From: Tom Potwin <wxman2@xxxxxxxxx>
Date: Tue, 18 May 2010 15:59:02 -0400
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 18 May 2010 13:02:47 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:reply-to:from:to :cc:in-reply-to:subject:date:organization:mime-version:content-type :content-transfer-encoding:x-mailer:x-mimeole:thread-index; bh=g9oWNLBT7lenzshkX5KP7t0Xo09PW2p6S/ShxxPxdws=; b=iHyl8Dp2eAazXAdMgJeFJB6cwK02ReBWioE87VcwXB4BKuJ7vbAECrEfN7R+g9fqeC Y4IjepMTLqKEKLf9WVrZMcVgHP68NqZlzuk/PAA8SGKLTDpyPD54nTg2561p/1FuVFhr 6H3jBX1VnyUjhEvjwq1nST3i06S1dV7zUc+lM=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:reply-to:from:to:cc:in-reply-to:subject:date :organization:mime-version:content-type:content-transfer-encoding :x-mailer:x-mimeole:thread-index; b=GmEQjANMFdr17X3GEnB/TIAmAlYZ34TsVCsxSqjA8siUdxvEdQJ+Cd3ziLzXHKG4B6 1cNfxVOTt7sKE7lcBkL/FDLdK37dLrMVvy89GNDlmTUBK72RppbyNT+kLfqTNotTYO+U Y25xFAduDwtkCuivT6/QWT+BJCy1b2J5y90uI=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTimQdKhNxkLpkbw6OB_2wA9K2AgD4_4g6ORC58Hd@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Organization: The Literary Times
Reply-to: littimes@xxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acr2eqIhlOG1+oGURdW7H+wt9wr5WAASUXXA
Fajar

I took your advice, and here are the results:
make menuconfig
make

drivers/pci/xen-pcifront.c:373: error: variable âpci_frontend_opsâ has
initializer but incomplete type
drivers/pci/xen-pcifront.c:374: error: unknown field âenable_msiâ specified
in initializer
drivers/pci/xen-pcifront.c:374: warning: excess elements in struct
initializer
drivers/pci/xen-pcifront.c:374: warning: (near initialization for
âpci_frontend_opsâ)
drivers/pci/xen-pcifront.c:375: error: unknown field âdisable_msiâ specified
in initializer
drivers/pci/xen-pcifront.c:375: warning: excess elements in struct
initializer
drivers/pci/xen-pcifront.c:375: warning: (near initialization for
âpci_frontend_opsâ)
drivers/pci/xen-pcifront.c:376: error: unknown field âenable_msixâ specified
in initializer
drivers/pci/xen-pcifront.c:376: warning: excess elements in struct
initializer
drivers/pci/xen-pcifront.c:376: warning: (near initialization for
âpci_frontend_opsâ)
drivers/pci/xen-pcifront.c:377: error: unknown field âdisable_msixâ
specified in initializer
drivers/pci/xen-pcifront.c:377: warning: excess elements in struct
initializer
drivers/pci/xen-pcifront.c:377: warning: (near initialization for
âpci_frontend_opsâ)
drivers/pci/xen-pcifront.c: In function âpci_frontend_registrarâ:
drivers/pci/xen-pcifront.c:383: error: âxen_pci_frontendâ undeclared (first
use in this function)
drivers/pci/xen-pcifront.c:383: error: (Each undeclared identifier is
reported only once
drivers/pci/xen-pcifront.c:383: error: for each function it appears in.)
make[2]: *** [drivers/pci/xen-pcifront.o] Error 1
make[1]: *** [drivers/pci] Error 2
make: *** [drivers] Error 2



root@server2:/usr/src/linux-2.6-xen# make deb-pkg
make KBUILD_SRC=
  CHK     include/linux/version.h
  CHK     include/linux/utsrelease.h
  SYMLINK include/asm -> include/asm-x86
  CALL    scripts/checksyscalls.sh
  CHK     include/linux/compile.h
  VDSOSYM arch/x86/vdso/vdso-syms.lds
  VDSOSYM arch/x86/vdso/vdso32-int80-syms.lds
  VDSOSYM arch/x86/vdso/vdso32-syscall-syms.lds
  VDSOSYM arch/x86/vdso/vdso32-sysenter-syms.lds
  VDSOSYM arch/x86/vdso/vdso32-syms.lds
  LD      arch/x86/vdso/built-in.o
  LD      arch/x86/built-in.o
  CC      drivers/pci/xen-pcifront.o
drivers/pci/xen-pcifront.c:373: error: variable âpci_frontend_opsâ has
initializer but incomplete type
drivers/pci/xen-pcifront.c:374: error: unknown field âenable_msiâ specified
in initializer
drivers/pci/xen-pcifront.c:374: warning: excess elements in struct
initializer
drivers/pci/xen-pcifront.c:374: warning: (near initialization for
âpci_frontend_opsâ)
drivers/pci/xen-pcifront.c:375: error: unknown field âdisable_msiâ specified
in initializer
drivers/pci/xen-pcifront.c:375: warning: excess elements in struct
initializer
drivers/pci/xen-pcifront.c:375: warning: (near initialization for
âpci_frontend_opsâ)
drivers/pci/xen-pcifront.c:376: error: unknown field âenable_msixâ specified
in initializer
drivers/pci/xen-pcifront.c:376: warning: excess elements in struct
initializer
drivers/pci/xen-pcifront.c:376: warning: (near initialization for
âpci_frontend_opsâ)
drivers/pci/xen-pcifront.c:377: error: unknown field âdisable_msixâ
specified in initializer
drivers/pci/xen-pcifront.c:377: warning: excess elements in struct
initializer
drivers/pci/xen-pcifront.c:377: warning: (near initialization for
âpci_frontend_opsâ)
drivers/pci/xen-pcifront.c: In function âpci_frontend_registrarâ:
drivers/pci/xen-pcifront.c:383: error: âxen_pci_frontendâ undeclared (first
use in this function)
drivers/pci/xen-pcifront.c:383: error: (Each undeclared identifier is
reported only once
drivers/pci/xen-pcifront.c:383: error: for each function it appears in.)
make[4]: *** [drivers/pci/xen-pcifront.o] Error 1
make[3]: *** [drivers/pci] Error 2
make[2]: *** [drivers] Error 2
make[1]: *** [deb-pkg] Error 2
make: *** [deb-pkg] Error 2


root@server2:/usr/src/linux-2.6-xen# dpkg -i ../linux-image*2.6.32.10*.deb
dpkg: error processing ../linux-image*2.6.32.10*.deb (--install):
 cannot access archive: No such file or directory
Errors were encountered while processing:
 ../linux-image*2.6.32.10*.deb

Does any of that look familiar?

Thanks, Tom
 

-----Original Message-----
From: Fajar A. Nugraha [mailto:fajar@xxxxxxxxx] 
Sent: Tuesday, May 18, 2010 6:49 AM
To: littimes@xxxxxxx
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Another install xen on Ubuntu 10.04 question

On Tue, May 18, 2010 at 8:29 AM, Tom Potwin <wxman2@xxxxxxxxx> wrote:
>  I also notice
> that a lot of errors show up after the make -j2, but it does finish.

errors or warnings?

> I know
> that I don't know enough yet about each of these steps, so I might be 
> missing something that is assumed to be known. Before I did this 
> reinstall of the server, I was using Ubuntu 8.04, and I had no trouble 
> installing, and running xen there. I'm not even too concerned for 
> which version of xen I try. Of course with 8.04 server, I just did an 
> apt-get to install everything.
>
> Could someone please take pity on me, and point me to a step-by step 
> that might work; or possibly tell me what could be going wrong with 
> what I've tried.

The thing about parallell make (make -j) is that you might miss some errors
and think they're OK. try re-running make, but WITHOUT -j. In my case, it
turns out the error was from

make[2]: *** [drivers/xen/platform-pci.o] Error 1

and unselecting xen platform pci makes the error go away.

--
Fajar


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users