Xen 
 
Home About Xen.org Xen Xen Summit Wiki Mailing List Bug Tracker Xen Downloads
 
   
 

xen-users

[Xen-users] NetBSD DomU PCI device

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] NetBSD DomU PCI device
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
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=Ek2FyYpFta4TEyblAZxVM2n3gDopKgP1xqlQxXhbdLfOUyqJPXbrwpic5WsvJ1mSdKCR6XN5WXCcVaJITvY/fUESkqtwDJzfcqQX2Yrd9oFCvW7mFSqDZkw5P88hZ4Ug2GNaeH7DISmVvMSOmiGeQXIxyVdMGpTrM/CZ+BohcXg=
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=
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] NetBSD DomU PCI device, François Lapointe <=