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

[Xen-users] PCI passthrough in NetBSD DomU


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: "François Lapointe" <flapointe@xxxxxxxxx>
  • Date: Wed, 2 May 2007 13:25:45 -0400
  • Delivery-date: Wed, 02 May 2007 10:24:26 -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=S6RvJoWJnh1FkHJKVqFujb0ARxi5u0QgsqCJPPwadUmVcIwMKkuNhveyILlT4lKaQ5QT/iS52WMaNXCNXl9ho2iVsrR4f0hOPm9K/gydvg4ZyFqDs6QGuHj0sYL8dTR9mUMgOYzB/d+gYuXI1j0UD9jCMlvWO1XyLIbB82JEpRM=
  • 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®.