[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] Problems with DMA in xen0
This is almost certainly a build misconfiguration, such that the kernel doesn't really know about your chipset, or some generic disk DMA option is disabled in you XenLinux config. -- Keir > 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 -=- MIME -=- Hi list, I'm doing currently some tests with xen in order to migrate a development=20 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= =20 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 =3D 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 =3D 16 (on) IO_support =3D 3 (32-bit w/sync) unmaskirq =3D 1 (on) using_dma =3D 0 (off) I'm using the nightly snapshot tarball xen-unstable from yesterday.=20 Any ideas what's the problem ? Regards, Matthias Hofherr =2D-=20 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Matthias Hofherr EMail: Matthias_Hofherr@xxxxxxxx GeNUA Gesellschaft fuer Netzwerk- und Unix-Administration mbH Domagkstra=DFe 7, D-85551 Kirchheim Tel.+49 (89) 99 19 50-0 <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<=20 ------------------------------------------------------- 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 ------------------------------------------------------- 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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |