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] NetBSD DomU PCI device

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] NetBSD DomU PCI device
From: "François Lapointe" <flapointe@xxxxxxxxx>
Date: Tue, 1 May 2007 07:45:40 -0400
Delivery-date: Tue, 01 May 2007 04:45:20 -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:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=gztrYHWgBxiL7MsUGkxrFA23FC+Up1bB1g6B3FKf0NsOZ63abLp4P9aAkCxZYuSjMn7aQw9H1Og8ft2OBL62C1cmN0DHIx/zIRyKVXLxoVk8FZyk0DdSieqlFkxlol7dzyGTIzFnKEzDuP7h/+oJ/P5nBR1JtViHAOCLgTM+GDg=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=NITUouLjCqvenaSo86RjHlbWuErjhWzbc5ps3cunLOXXYhb2pV1YrMaifU2ZIpkpevzURqWdV80wU3s7qoaSG9MssDP8emwbkVl+L+Nb/wXwRuJrqxB/KUMKUS1xsPwQmIax+9oZSa6SELiv92NYf37ZZa3/2FGo0H1wrGDuXEs=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <29f43ae10704291904n669a1442y921d31cf759680ab@xxxxxxxxxxxxxx>
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>
References: <29f43ae10704291904n669a1442y921d31cf759680ab@xxxxxxxxxxxxxx>
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 to add support for this specific network card. 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 <=