[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] NetBSD DomU PCI device


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: "François Lapointe" <flapointe@xxxxxxxxx>
  • Date: Sun, 29 Apr 2007 22:04:57 -0400
  • Delivery-date: Sun, 29 Apr 2007 19:03:30 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=AcJXzbPSjIFPIL/Sy9Qv3kWXXTFc1V1h+Coi+B+NsPuRYlUPcPzcAkHMl6M0VzfymgHHNhRm2ncLOpiqgfJYZiTw1uhFw1VsBNHhPQtA9AjlE5au3KqPpaQn6D5zFjdcv0kMirg5fZAucHIo/WAS9JsLyDMfiiqAXSk+2Vtv1kk=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hello List,

 I'm trying to use a pci device in a NetBSD 3.1 DOMU under Xen
3.0.4-1. The domain boots normally, but I can't get the kernel to
compile. Here is the custom config file :

*********************************
include "arch/i386/conf/XEN3_DOMU"

pci* at hypervisor? bus ?
ep* at pci? dev ? function ?        # that's a 3com 3c59x
****************

"config" and "make depend" complete without error. The following is
the output when I perform "make". Am I missing something?

*********************************
#   compile  PERU/xen_bus_dma.o
cc -ffreestanding -g -O2 -march=i686 -Werror -Wall -Wno-main
-Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes
-Wstrict-prototypes -Wno-sign-compare -fno-zero-initialized-in-bss
-Di386 -I. -I/usr/src/sys/arch/i386/compile/PERU/xen-ma
-I../../../../arch -I../../../.. -nostdinc -DMAXPHYS=32768 -DLKM
-DDIAGNOSTIC -DDEBUG -DCOMPAT_30 -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT
-I../../../../dist/ipf -c ../../../../arch/xen/x86/xen_bus_dma.c
../../../../arch/xen/x86/xen_bus_dma.c: In function `_xen_alloc_contig':
../../../../arch/xen/x86/xen_bus_dma.c:102: warning: implicit
declaration of function `HYPERVISOR_dom_mem_op'
../../../../arch/xen/x86/xen_bus_dma.c:102: error:
`MEMOP_decrease_reservation' undeclared (first use in this function)
../../../../arch/xen/x86/xen_bus_dma.c:102: error: (Each undeclared
identifier is reported only once
../../../../arch/xen/x86/xen_bus_dma.c:102: error: for each function
it appears in.)
../../../../arch/xen/x86/xen_bus_dma.c:115: error:
`MEMOP_increase_reservation' undeclared (first use in this function)
*** Error code 1

Stop.
make: stopped in /usr/src/sys/arch/i386/compile/PERU
****************

François

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.