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-devel

[Xen-devel] Problems with DMA in xen0

To: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Problems with DMA in xen0
From: Matthias Hofherr <matthias_hofherr@xxxxxxxx>
Date: Thu, 21 Oct 2004 10:10:39 +0200
Delivery-date: Thu, 21 Oct 2004 09:18:52 +0100
Envelope-to: steven.hand@xxxxxxxxxxxx
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Organization: GeNUA mbH
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.5.4
Hi list,

I'm doing currently some tests with xen in order to migrate a development 
environment from User Mode Linux to Xen. So far, Xen looks very promising.
My only problem currently is that my xen0 kernel seems no to be able to use 
DMA modes for hard disk access.

With the xen0 kernel (2.6.8.1), hdparm shows me
  hdparm -t /dev/hda
  /dev/hda:
  Timing buffered disk reads:   10 MB in  3.08 seconds =   3.25 MB/sec
When I boot with a standard non-Xen kernel (2.6.7), I get about 52 MB/sec.
In both kernels support for my Intel boad Chipset () is enabled.
When I try to set DMA with hdparm manually:
 hdparm -u1 -d1 -X66 -m 16 -c 3 -W 1 /dev/hda
/dev/hda:
 setting 32-bit IO_support flag to 3
 setting multcount to 16
 setting unmaskirq to 1 (on)
 setting using_dma to 1 (on)
 HDIO_SET_DMA failed: Operation not permitted
 setting xfermode to 66 (UltraDMA mode2)
 setting drive write-caching to 1 (on)
 multcount    = 16 (on)
 IO_support   =  3 (32-bit w/sync)
 unmaskirq    =  1 (on)
 using_dma    =  0 (off)

I'm using the nightly snapshot tarball xen-unstable from yesterday. 
Any ideas what's the problem ?

Regards,

Matthias Hofherr

-- 
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
 Matthias Hofherr             EMail: Matthias_Hofherr@xxxxxxxx
 GeNUA Gesellschaft fuer Netzwerk- und Unix-Administration mbH
 Domagkstraße 7, D-85551 Kirchheim     Tel.+49 (89) 99 19 50-0
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel

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