[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Reproducción de DVD a saltos (Problemas con el DMA en placa nForce2)



Los síntomas: Al reproducir un DVD en el lector, la película se ve a saltos.
El problema detectado: DMA desactivado
La solución:  hdparm -d1 /dev/hdd
   Nuevo problema: no me deja activarlo:
       pitoe@chainsaw:~$ su -c "hdparm -d1 /dev/hdd"
       Password:
       /dev/hdd:
           setting using_dma to 1 (on)
           HDIO_SET_DMA failed: Operation not permitted
           using_dma    =  0 (off)

Resumen de información sobre mi sistema

==============================================
Hardware:
Disco duro SATA con todas las particiones y demás
Disco duro conectado al IDE1 (no se usa)
CD-R y DVD conectados al IDE2 con el CD-R como master
placa base: abit an7 con chipset nforce2

==============================================
Configuración del kernel (tal cual llega de apt-get install linux-image-2.6.12-1-k7):
pitoe@chainsaw:~$ more /boot/config-2.6.12-1-k7 | grep DMA
CONFIG_GENERIC_ISA_DMA=y
CONFIG_ISA_DMA_API=y
CONFIG_BLK_DEV_IDEDMA_PCI=y
# CONFIG_BLK_DEV_IDEDMA_FORCED is not set
CONFIG_IDEDMA_PCI_AUTO=y
# CONFIG_IDEDMA_ONLYDISK is not set
# CONFIG_HPT34X_AUTODMA is not set
CONFIG_BLK_DEV_IDEDMA=y
# CONFIG_IDEDMA_IVB is not set
CONFIG_IDEDMA_AUTO=y
CONFIG_SCSI_SYM53C8XX_DMA_ADDRESSING_MODE=1
# CONFIG_IEEE1394_SBP2_PHYS_DMA is not set
CONFIG_DMASCC=m
# CONFIG_SOUND_DMAP is not set

==============================================
El módulo para este chipset creo que es el amd74xx y este está cargado:
pitoe@chainsaw:~$ lsmod | grep amd
amd74xx                14364  0 [permanent]
ide_core 129812 5 usb_storage,amd74xx,generic,ide_generic,ide_cd

==============================================
Información de un dmesg según arranco el sistema:

pitoe@chainsaw:~$ grep -i nforce dmesg_output
forcedeth.c: Reverse Engineered nForce ethernet driver. Version 0.32.
ehci_hcd 0000:00:02.2: nVidia Corporation nForce2 USB Controller
i2c_adapter i2c-0: nForce2 SMBus adapter at 0x5000
i2c_adapter i2c-1: nForce2 SMBus adapter at 0x5100
ohci_hcd 0000:00:02.0: nVidia Corporation nForce2 USB Controller
ohci_hcd 0000:00:02.1: nVidia Corporation nForce2 USB Controller (#2)
cpufreq: Detected nForce2 chipset revision C1
agpgart: Detected NVIDIA nForce2 chipset
Nvsound:  NVIDIA nForce2 Controller Mem 0xda000000 and IRQ c9
Nvsound: NVIDIA nForce2 Audio aci 0xb800 and ac97 0xb400, IRQ b9
NFORCE2: IDE controller at PCI slot 0000:00:09.0
NFORCE2: chipset revision 162
NFORCE2: not 100% native mode: will probe irqs later
NFORCE2: 0000:00:09.0 (rev a2) UDMA133 controller
NFORCE2: port 0x0170 already claimed by ide1
NFORCE2: neither IDE port enabled (BIOS)
pitoe@chainsaw:~$
pitoe@chainsaw:~$ grep -i dma dmesg_output
ata1: SATA max UDMA/100 cmd 0xF8836080 ctl 0xF883608A bmdma 0xF8836000 irq 177 ata2: SATA max UDMA/100 cmd 0xF88360C0 ctl 0xF88360CA bmdma 0xF8836008 irq 177
ata1: dev 0 ATA, max UDMA/100, 488397168 sectors: lba48
ata1: dev 0 configured for UDMA/100
parport0: PC-style at 0x378 (0x778), irq 7, dma 3 [PCSPP,TRISTATE,COMPAT,EPP,ECP,DMA]
NFORCE2: 0000:00:09.0 (rev a2) UDMA133 controller

Más info extraida a mano del dmesg...

Adding 3943948k swap on /dev/sda4.  Priority:-1 extents:1
EXT3 FS on sda3, internal journal
Probing IDE interface ide0...
Probing IDE interface ide1...
hdc: PLEXTOR CD-R PX-W2410A, ATAPI CD/DVD-ROM drive
hdd: Pioneer DVD-ROM ATAPIModel DVD-104S 020, ATAPI CD/DVD-ROM drive
Probing IDE interface ide2...
Probing IDE interface ide3...
Probing IDE interface ide4...
Probing IDE interface ide5...
ide1 at 0x170-0x177,0x376 on irq 15
hdc: ATAPI 40X CD-ROM CD-R/RW drive, 4096kB Cache
Uniform CD-ROM driver Revision: 3.20
hdd: ATAPI 40X DVD-ROM drive, 512kB Cache


Un dmesg al rato de estar usando el ordenador me devuelve una larga lista de repeticiones de los siguientes mensajes.

DMA write timed out
parport0: FIFO is stuck
parport0: BUSY timeout (1) in compat_write_block_pio


Ya no se que más probar o donde buscar pero no me quiero resignar a tener que arrancar en "otro" sistema operativo para poder ver las películas....

Saludos y gracias.



Reply to: