[tlinux-users:07859] Re: Activate dma on M70 dvd

"Mikkel L. Ellertson" <[email protected]>
Newsgroups gmane.linux.hardware.toshiba
Message-ID <[email protected]>
Carlos Mtz wrote:
> Hi. 
> If anyone of you know how to activate dvd dma on a A105-S361 please help
> me, i can't use xine of any video player.
> 
> 
> [root@soporte ~]# dmesg |grep DVD
> hdc: MATSHITADVD-RAM UJ-841S, ATAPI CD/DVD-ROM drive
> hdc: ATAPI 24X DVD-ROM DVD-R-RAM CD-R/RW drive, 2048kB Cache
> 
> [root@soporte ~]# hdparm -d1 /dev/dvd
> 
> /dev/dvd:
>  setting using_dma to 1 (on)
>  HDIO_SET_DMA failed: Operation not permitted
>  using_dma    =  0 (off)
> [root@soporte ~]# hdparm -d1 /dev/hdc
> 
> /dev/hdc:
>  setting using_dma to 1 (on)
>  HDIO_SET_DMA failed: Operation not permitted
>  using_dma    =  0 (off)
> 
> Tankyou
> 
It sounds like you have a SATA controller. The way I made it work
was to add hdc=noprobe to the boot line in /boot/grub/grub.conf. The
DVD is then treated as a SCSI device, and works using DMA. On my
system, the DVD is gets configured for UDMA/33. You will still not
be able to control DMA with hdparm, but DMA will work. Hdparm does
not fully support SATA yet.

Here is what my Grub entry looks like (Watch the word wrap...):

title Fedora Core (2.6.16-1.2122_FC5smp)
        root (hd0,5)
        kernel /vmlinuz-2.6.16-1.2122_FC5smp ro
root=/dev/VolGroup00/LogVol00 rhgb quiet pci=assign-busses hdc=noprobe
        initrd /initrd-2.6.16-1.2122_FC5smp.img

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.