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-devel

RE: [Xen-devel] Kernel for xen i686 build failure

To: "Srinivas Maturi" <srinivas.maturi@xxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] Kernel for xen i686 build failure
From: "Shan, Haitao" <haitao.shan@xxxxxxxxx>
Date: Thu, 15 May 2008 14:15:10 +0800
Delivery-date: Wed, 14 May 2008 23:18:16 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <482BD0AF.6060400@xxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <482BD0AF.6060400@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Aci2UNH+oIQVxy8pRfmdxUivjH5pRAAAb4fw
Thread-topic: [Xen-devel] Kernel for xen i686 build failure
This problem is fixed in c/s 538.
Or you can disable CONFIG_PCI_MSI to bypass this problem.
Thanks!

-----Original Message-----
From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx 
[mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Srinivas Maturi
Sent: 2008年5月15日 13:57
To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Kernel for xen i686 build failure


Kernel source for cs 537 pulled from:
    http://xenbits.xensource.com/linux-2.6.18-xen.hg
failed to build:

.....
.....
BUILDING A KERNEL FOR xen i686...
+ perl -p -i -e 's/^EXTRAVERSION.*/EXTRAVERSION = -537.17617.el5xen/' 
Makefile
+ make -s mrproper
+ cp configs/kernel-2.6.18-i686-xen.config .config
++ head -1 .config
++ cut -b 3-
+ Arch=i386
+ echo USING ARCH=i386
USING ARCH=i386
+ '[' vmlinuz == x86 ']'
+ '[' vmlinuz == vmlinuz ']'
+ KernelImage=arch/i386/boot/vmlinuz
+ make -s ARCH=i386 oldconfig
+ make -s ARCH=i386 -j4 V=1 vmlinuz
  CHK     include/linux/version.h
  UPD     include/linux/version.h
  CHK     include/linux/utsrelease.h
  SYMLINK include/asm -> include/asm-i386
  UPD     include/linux/utsrelease.h
  Updating 
/builddir/build/BUILD/kernel-2.6.18/linux-2.6.18.i686/scripts/Makefile.xen
  CHK     include/linux/compile.h
  UPD     include/linux/compile.h
arch/i386/kernel/setup-xen.c: In function 'probe_roms':
arch/i386/kernel/setup-xen.c:365: warning: cast to pointer from integer 
of different size
arch/i386/kernel/cpu/transmeta.c: In function 'init_transmeta':
arch/i386/kernel/cpu/transmeta.c:12: warning: 'cpu_freq' may be used 
uninitialized in this function
mm/memory.c: In function 'apply_to_page_range':
mm/memory.c:1423: warning: 'ptl' may be used uninitialized in this function
arch/i386/kernel/mpparse-xen.c: In function 'MP_bus_info':
arch/i386/kernel/mpparse-xen.c:238: warning: comparison is always false 
due to limited range of data type
fs/bio.c: In function 'bio_alloc_bioset':
fs/bio.c:170: warning: 'idx' may be used uninitialized in this function
ipc/msg.c: In function 'sys_msgctl':
ipc/msg.c:341: warning: 'setbuf.qbytes' may be used uninitialized in 
this function
ipc/msg.c:341: warning: 'setbuf.uid' may be used uninitialized in this 
function
ipc/msg.c:341: warning: 'setbuf.gid' may be used uninitialized in this 
function
ipc/msg.c:341: warning: 'setbuf.mode' may be used uninitialized in this 
function
ipc/sem.c: In function 'sys_semctl':
ipc/sem.c:809: warning: 'setbuf.uid' may be used uninitialized in this 
function
ipc/sem.c:809: warning: 'setbuf.gid' may be used uninitialized in this 
function
ipc/sem.c:809: warning: 'setbuf.mode' may be used uninitialized in this 
function
kernel/power/pm.c:205: warning: 'pm_register' is deprecated (declared at 
kernel/power/pm.c:64)
kernel/power/pm.c:205: warning: 'pm_register' is deprecated (declared at 
kernel/power/pm.c:64)
kernel/power/pm.c:206: warning: 'pm_send_all' is deprecated (declared at 
kernel/power/pm.c:180)
kernel/power/pm.c:206: warning: 'pm_send_all' is deprecated (declared at 
kernel/power/pm.c:180)
kernel/kexec.c: In function 'sys_kexec_load':
kernel/kexec.c:1042: warning: value computed is not used
kernel/kexec.c: In function 'crash_kexec':
kernel/kexec.c:1107: warning: value computed is not used
kernel/audit.c: In function 'kauditd_thread':
kernel/audit.c:372: warning: no return statement in function returning 
non-void
kernel/auditfilter.c: In function 'audit_filter_user':
kernel/auditfilter.c:1599: warning: 'state' may be used uninitialized in 
this function
kernel/auditfilter.c: In function 'audit_receive_filter':
kernel/auditfilter.c:1164: warning: 'ndw' may be used uninitialized in 
this function
kernel/auditfilter.c:1164: warning: 'ndp' may be used uninitialized in 
this function
net/ipv4/tcp_input.c: In function 'tcp_ack':
net/ipv4/tcp_input.c:2260: warning: 'tv.tv_sec' may be used 
uninitialized in this function
net/ipv4/tcp_input.c:2260: warning: 'tv.tv_usec' may be used 
uninitialized in this function
drivers/xen/pcifront/pci_op.c: In function 'pci_frontend_enable_msix':
drivers/xen/pcifront/pci_op.c:288: error: 'XEN_PCI_OP_enable_msix' 
undeclared (first use in this function)
drivers/xen/pcifront/pci_op.c:288: error: (Each undeclared identifier is 
reported only once
drivers/xen/pcifront/pci_op.c:288: error: for each function it appears in.)
drivers/xen/pcifront/pci_op.c:297: error: 'SH_INFO_MAX_VEC' undeclared 
(first use in this function)
drivers/xen/pcifront/pci_op.c:303: error: 'struct xen_pci_op' has no 
member named 'msix_entries'
drivers/xen/pcifront/pci_op.c:304: error: 'struct xen_pci_op' has no 
member named 'msix_entries'
drivers/xen/pcifront/pci_op.c:313: error: 'struct xen_pci_op' has no 
member named 'msix_entries'
drivers/xen/pcifront/pci_op.c: In function 'pci_frontend_disable_msix':
drivers/xen/pcifront/pci_op.c:331: error: 'XEN_PCI_OP_disable_msix' 
undeclared (first use in this function)
drivers/xen/pcifront/pci_op.c: In function 'pci_frontend_enable_msi':
drivers/xen/pcifront/pci_op.c:350: error: 'XEN_PCI_OP_enable_msi' 
undeclared (first use in this function)
drivers/xen/pcifront/pci_op.c: In function 'pci_frontend_disable_msi':
drivers/xen/pcifront/pci_op.c:374: error: 'XEN_PCI_OP_disable_msi' 
undeclared (first use in this function)
make[3]: *** [drivers/xen/pcifront/pci_op.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [drivers/xen/pcifront] Error 2
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [drivers/xen] Error 2
make: *** [drivers] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.38956 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.38956 (%build)

Thanks,
Maturi

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

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

<Prev in Thread] Current Thread [Next in Thread>