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

Re: [Xen-users] DMA not enabled in Xen Kernel?

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] DMA not enabled in Xen Kernel?
From: "Charles Johnson" <johnsoncharles@xxxxxxxxxxx>
Date: Mon, 06 Jun 2005 21:45:36 +0000
Bcc:
Delivery-date: Mon, 06 Jun 2005 21:44:50 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <Prayer.1.0.14.0506061745220.21214@xxxxxxxxxxxxxxxxxxxxxx>
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
Hi,

Well, I'm trying to compile a custom xen0 kernel now but having some problems.

I downloaded the xen source then did a "make world" and ran install.sh

Then I went into the linux-2.6.11-xen0 directory and did "make ARCH=xen menuconfig" and setup the kernel the way I needed it and then did a "make".

It chugs along like normal for awhile until it pukes on this:

drivers/xen/balloon/balloon.c: In function `balloon_process':
drivers/xen/balloon/balloon.c:218: error: `phys_to_machine_mapping' undeclared (first use in this function) drivers/xen/balloon/balloon.c:218: error: (Each undeclared identifier is reported only once
drivers/xen/balloon/balloon.c:218: error: for each function it appears in.)
drivers/xen/balloon/balloon.c:218: error: `INVALID_P2M_ENTRY' undeclared (first use in this function) drivers/xen/balloon/balloon.c:261: warning: implicit declaration of function `scrub_pages' drivers/xen/balloon/balloon.c:283: warning: implicit declaration of function `mfn_to_pfn'
make[3]: *** [drivers/xen/balloon/balloon.o] Error 1
make[2]: *** [drivers/xen/balloon] Error 2
make[1]: *** [drivers/xen] Error 2
make: *** [drivers] Error 2

Any ideas on how to get around this?

Thanks.

From: "M.A. Williamson" <maw48@xxxxxxxxx>
Reply-To: mark.williamson@xxxxxxxxxxxx
To: Charles Johnson <johnsoncharles@xxxxxxxxxxx>
CC: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] DMA not enabled in Xen Kernel?
Date: 06 Jun 2005 17:45:22 +0100

Chances are that the default XenLinux config doesn't support DMA for your IDE chipset. It'll work but you'll need to get the source release and compile a kernel (instructions in the manual) with support for your chipset.

Cheers,
Mark

On Jun 6 2005, Charles Johnson wrote:

I installed Xen using the binary release on debian sarge and got it to boot no problem but when I check if dma is enabled with 'hdparm /dev/hda' it's not.

I can't enable it either with 'hdparm -d1 /dev/hda'. Says operation not permited. Using my debian default kernel dma works just fine.

How can I enable dma with the Xen Kernel?

Thanks!



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

<Prev in Thread] Current Thread [Next in Thread>