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

[Xen-users] PCI passthrough in NetBSD DomU

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] PCI passthrough in NetBSD DomU
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
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=OHuw7iLHxaTLJVIJSKaXum8/5lXO5LUbJkjh/l2HE7EykmRMFUDi3MTipMdu/nsLhxuHMjJSFerD10xvtjIjIC8WNS5Nd0wf5l7YFUOucSRkLN/5OCYhI+Ip4Q3hYE/ftNTO/nRgveExBfAooOpWS8nsCgN8N2BkRJGYxOBwMhE=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] PCI passthrough in NetBSD DomU, François Lapointe <=