On Saturday 03 August 2002 12:30, you wrote: > Hallo! > > I've posted this problem in newbie's list with no luck. > > I've got 4 ide controllers, all of them have 1 HD or CD connected as > master: DVD: hda, RW: hdc, HD1: hde and HD2: hdg > > I've got kernel 2.4.18.8.1 installed, and bios recognizes both DVD and RW > as DMA. These are set up as scsi-emulated in order for recording programs > to see them. > > But when I'm reading from DVD using xcdroast in order to make a image from > which the CDR is going to be burnt it takes 100% cpu cycles (measured using > gkrellm). As it's not a laptop that's not a problem... > > ... but when recording that image the RW again uses 100% cpu but now the PC > is almost unusable. Using an Athlon 1.2 and 512Mb DDR it cannot be like > that, so I suppose it's ussing polling instead of DMA... am I right? > > Well, any ideas will be appreciated. Thanks in advance ;) > > Ah! Here's a piece of the dmesg output: > > ------------- > Uniform Multi-Platform E-IDE driver Revision: 6.31 > ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx > VP_IDE: IDE controller on PCI bus 00 dev 39 > VP_IDE: chipset revision 6 > VP_IDE: not 100% native mode: will probe irqs later > VP_IDE: VIA vt82c686b (rev 40) IDE UDMA100 controller on pci00:07.1 > ide0: BM-DMA at 0xb400-0xb407, BIOS settings: hda:DMA, hdb:pio > ide1: BM-DMA at 0xb408-0xb40f, BIOS settings: hdc:DMA, hdd:pio > PDC20265: IDE controller on PCI bus 00 dev 80 > PCI: Found IRQ 11 for device 00:10.0 > PCI: Sharing IRQ 11 with 00:07.2 > PCI: Sharing IRQ 11 with 00:07.3 > PDC20265: chipset revision 2 > PDC20265: not 100% native mode: will probe irqs later > PDC20265: (U)DMA Burst Bit ENABLED Primary PCI Mode Secondary PCI Mode. > ide2: BM-DMA at 0xe400-0xe407, BIOS settings: hde:pio, hdf:pio > ide3: BM-DMA at 0xe408-0xe40f, BIOS settings: hdg:pio, hdh:pio > hda: Pioneer DVD-ROM ATAPIModel DVD-105S 013, ATAPI CD/DVD-ROM drive > hdc: AOPEN CD-RW CRW3248 1.12 20020417, ATAPI CD/DVD-ROM drive > hde: ST340016A, ATA DISK drive > hdg: IC35L060AVVA07-0, ATA DISK drive > ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 > ide1 at 0x170-0x177,0x376 on irq 15 > ide2 at 0xd400-0xd407,0xd802 on irq 11 > ide3 at 0xdc00-0xdc07,0xe002 on irq 11 > hde: 78165360 sectors (40021 MB) w/2048KiB Cache, CHS=77545/16/63, > UDMA(100) hdg: 120103200 sectors (61493 MB) w/1863KiB Cache, > CHS=119150/16/63, UDMA(100) Partition check: > /dev/ide/host2/bus0/target0/lun0: [PTBL] [4865/255/63] p1 p2 < p5 p6 p7 p8 > > /dev/ide/host2/bus1/target0/lun0: p1 p2 < p5 p6 p7 p8 > > ... > SCSI subsystem driver Revision: 1.00 > scsi0 : SCSI host adapter emulation for IDE ATAPI devices > Vendor: PIONEER Model: DVD-ROM DVD-105 Rev: 1.33 > Type: CD-ROM ANSI SCSI revision: 02 > Vendor: AOPEN Model: CD-RW CRW3248 Rev: 1.12 > Type: CD-ROM ANSI SCSI revision: 02 > ------------
Hallo back! This scsi-emulation seems not to work very well with DMA. For me deactivating DMA solved always that problem. (Actually, wherefore you need DMA when burning?) So, perhaps this helps: #hdparm -d0 /dev/hda , and same for hdc.
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
