![DVD 刻录/读取速度较慢](https://linux22.com/image/959199/DVD%20%E5%88%BB%E5%BD%95%2F%E8%AF%BB%E5%8F%96%E9%80%9F%E5%BA%A6%E8%BE%83%E6%85%A2.png)
自从一年前开始在台式机上使用 Linux 以来,我遇到了一个问题,但仍然没有找到解决办法。读取或刻录 DVD 时,速度非常慢(大部分低于 1 倍速),尽管我在 k3b 中选择了最快的速度。因此,刻录一张 DVD 需要 40-50 分钟!我读到过有关启用 dma 的信息这个帖子但它没有帮助。这是dmesg | grep -i dma
> [ 0.000000] DMA 0x00000010 -> 0x00001000
[ 0.000000] DMA32 0x00001000 -> 0x00100000
[ 0.000000] DMA zone: 56 pages used for memmap
[ 0.000000] DMA zone: 5 pages reserved
[ 0.000000] DMA zone: 3921 pages, LIFO batch:0
[ 0.000000] DMA32 zone: 3527 pages used for memmap
[ 0.000000] DMA32 zone: 254441 pages, LIFO batch:31
[ 0.000000] Policy zone: DMA32
[ 0.120356] pnp 00:01: [dma 4]
[ 0.120968] pnp 00:05: [dma 2]
[ 0.121421] pnp 00:06: [dma 3]
[ 0.122617] pnp 00:0b: [dma 0 disabled]
[ 0.852321] ata1: SATA max UDMA/133 cmd 0xec00 ctl 0xe480 bmdma 0xe000 irq 19
[ 0.852325] ata2: SATA max UDMA/133 cmd 0xe400 ctl 0xe080 bmdma 0xe008 irq 19
[ 0.861633] ata3: PATA max UDMA/133 cmd 0x1f0 ctl 0x3f6 bmdma 0xff00 irq 14
[ 0.861636] ata4: PATA max UDMA/133 cmd 0x170 ctl 0x376 bmdma 0xff08 irq 15
[ 1.329411] ata1.00: ATA-7: Maxtor 6V250F0, VA111630, max UDMA/133
[ 1.345418] ata1.00: configured for UDMA/133
[ 1.820606] ata4.00: ATAPI: PHILIPS DVDR1660P1, P1.3, max UDMA/33
[ 1.820610] ata4.00: WARNING: ATAPI DMA disabled for reliability issues. It can be enabled
[ 1.820613] ata4.00: WARNING: via pata_ali.atapi_dma modparam or corresponding sysfs node.
[ 1.836681] ata4.00: configured for UDMA/33
[ 12.296600] parport0: PC-style at 0x378 (0x778), irq 7, dma 3 [PCSPP,TRISTATE,COMPAT,EPP,ECP,DMA]
读了倒数第三和第四行,我认为 dma 确实有问题?
答案1
添加一个文件,etc/modprobe.d/
名称如下aliases
sudo gedit /etc/modprobe.d/aliases
包含这些内容
## Turn on DMA for DVD ############################
alias ata_generic off
alias pata_atiixp on
然后重启
sudo reboot