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@GeNUA.de 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
On Thu, Oct 21, 2004 at 10:10:39AM +0200, Matthias Hofherr wrote:> My only problem currently is that my xen0 kernel seems no to be able to use > DMA modes for hard disk access. > I''m using the nightly snapshot tarball xen-unstable from yesterday. > Any ideas what''s the problem ?Could you compare the relevant parts of Linux'' dmesg output between a Xen boot and a non-Xen boot? christian ------------------------------------------------------- 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
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@GeNUA.de > GeNUA Gesellschaft fuer Netzwerk- und Unix-Administration mbH > Domagkstra遝 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@lists.sourceforge.net > 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@GeNUA.de 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@lists.sourceforge.net 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
On Thursday 21 October 2004 10:26, Christian Limpach wrote: [...]> Could you compare the relevant parts of Linux'' dmesg output between a > Xen boot and a non-Xen boot?Here the relevant parts: ------------------------------------- Linux version 2.6.8.1-xen0 (root@snortcentral6) (gcc version 3.3.3 (Debian 20040401)) #1 Thu Oct 21 08:55:55 CEST 2004 Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx hda: IC35L120AVV207-0, ATA DISK drive hdb: TOSHIBA ODD-DVD SD-M1802, ATAPI CD/DVD-ROM drive ide1: I/O resource 0x170-0x177 not free. ide1: ports already in use, skipping probe ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 hda: max request size: 1024KiB hda: 241254720 sectors (123522 MB) w/1821KiB Cache, CHS=16383/255/63 hda: hda1 hda2 hda3 hda4 hdb: ATAPI 48X DVD-ROM drive, 256kB Cache ata_piix version 1.02 ata_piix: combined mode detected PCI: Obtained IRQ 18 for device 0000:00:1f.2 ata: 0x1f0 IDE port busy PCI: Setting latency timer of device 0000:00:1f.2 to 64 scsi0 : ata_piix ------------------------------------- Linux version 2.6.7 (root@snortcentral6) (gcc version 3.3.3 (Debian 20040401)) #1 SMP Mon Aug 30 17:26:05 CEST 2004 Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx ICH5-SATA: IDE controller at PCI slot 0000:00:1f.2 ICH5-SATA: chipset revision 2 ICH5-SATA: not 100% native mode: will probe irqs later ide0: BM-DMA at 0xfc00-0xfc07, BIOS settings: hda:DMA, hdb:DMA ide1: BM-DMA at 0xfc08-0xfc0f, BIOS settings: hdc:pio, hdd:pio hda: IC35L120AVV207-0, ATA DISK drive hdb: TOSHIBA ODD-DVD SD-M1802, ATAPI CD/DVD-ROM drive ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 hda: max request size: 1024KiB hda: 241254720 sectors (123522 MB) w/1821KiB Cache, CHS=16383/255/63, UDMA(100) hda: hda1 hda2 hda3 hda4 hdb: ATAPI 48X DVD-ROM drive, 256kB Cache, UDMA(33) ------------------------------------- ------------------------------------------------------- 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
On Thursday 21 October 2004 10:58, Keir Fraser wrote:> 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.Yep, you are right. ICH-5-SATA required the now deprecated IDS-SATA driver. So, no xen problem, more of a user problem ;-) Thanks, Matthias ------------------------------------------------------- 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
On Thu, Oct 21, 2004 at 11:10:41AM +0200, Matthias Hofherr wrote:> On Thursday 21 October 2004 10:26, Christian Limpach wrote: > [...] > > Could you compare the relevant parts of Linux'' dmesg output between a > > Xen boot and a non-Xen boot? > > Here the relevant parts:Do you have CONFIG_BLK_DEV_IDE_SATA set in your xen0 kernel .config file? christian ------------------------------------------------------- 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel