ATAPI DMA [Re: Scheduler patch 03 available for testing]

Rahul Siddharthan rsidd at online.fr
Sat Jul 24 05:54:35 PDT 2004


Jeroen Ruigrok/asmodai said on Jul 24, 2004 at 09:47:27:
> -On [20040724 05:22], Rahul Siddharthan (rsidd at xxxxxxxxx) wrote:
> >I think it improves DVD playback measurably.  With DVD drive in PIO
> >mode (my drive doesn't work with DMA enabled, though it does under
> >linux),
> 
> Can you give me the appropriate lines from dmesg wrt your ATA/ATAPI devices?

atapci0: <AcerLabs Aladdin ATA100 controller> port 0x2040-0x204f at
device 16.0 
on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
ad0: 57231MB <TOSHIBA MK6021GAS> [116280/16/63] at ata0-master UDMA100
acd0: CD-RW <QSI CD-RW/DVD-ROM SBW-241> at ata1-master PIO4
cd0 at ata1 bus 0 target 0 lun 0
cd0: <QSI CDRW/DVD SBW-241 VH04> Removable CD-ROM SCSI-0 device 
cd0: 16.000MB/s transfers

here's the stuff from an older verbose boot:
ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0x2048
ata1: mask=03 ostat0=51 ostat2=00
ata1-master: ATAPI 14 eb
ata1-slave: ATAPI 00 00
ata1: mask=03 stat0=10 stat1=00
ata1: devices=04
ata1: at 0x170 irq 15 on atapci0
. ..
acd0: <QSI CD-RW/DVD-ROM SBW-241/VH04> CD-RW drive at ata1 as master
acd0: read 4125KB/s (32015KB/s) write 4136KB/s (4136KB/s), 2048KB buffer, PIO4
acd0: Reads: CD-R, CD-RW, CD-DA stream, DVD-ROM, DVD-R, packet
acd0: Writes: CD-R, CD-RW, test write, burnproof
acd0: Audio: play, 256 volume levels
acd0: Mechanism: ejectable tray, unlocked
acd0: Medium: no/blank disc


and when I turn on DMA (with atacontrol or via /boot/loader.conf) 
and attempt to play a DVD, I get

acd0: READ_BIG - NO SENSE asc=0x00 ascq=0x00 error=0x00
acd0: READ_BIG - NOT READY asc=0x00 ascq=0x01 error=0x00


-- Rahul





More information about the Kernel mailing list