Kirjoittaja Aihe: DMA asetus  (Luettu 5660 kertaa)

hobbi

  • Käyttäjä
  • Viestejä: 5
    • Profiili
DMA asetus
« : 24.08.05 - klo:21.15 »
Moi kaikille!

Olen Linuxin kanssa täysi aloittelija. Ongelmana on miten tehdä semmoinen scripti? jolla DMA asetus otetaan käyttöön aina kun kone käynnistetään.? Ja minne se sitten laitetaan ja miten tehdään?

Tässä Xine media soittimen listaus ongelmasta xine-checkillä katsottuna:

"DMA is disabled for your DVD interface.
         This will probably result in a serious performance hit when
         playing DVDs. You can issue the command
         hdparm -d1 /dev/hdc
         as root to enable DMA. It would be wise to add this command to
         some script that is executed executed at boot time.
         Note that you probably have to set the DMA mode for your drive as well.         
Most DVD-ROMs work fine with multiword DMA mode 2. You can use
         hdparm -d1 -X34 /dev/hdc
         (as root again) to set this mode. Maybe UDMA2 will give you even better         
performance, but it only works well with some controllers. You'll
         probably need UDMA capable IDE cables for this mode. If you want
         to try: make backups of your important data and type (as root again)
         sync
         hdparm -d1 -X66 /dev/hdc
         If your System still works fine after this, you probably want to keep
         these settings (add them to some boot script).
         If your system hangs or behaves very strangely after a few minutes, you         
should reboot immediately and never use this setting again on this
         machine. Good luck ;-)


Toivottavasti tämä selvensi ongelmaa  ;)

Kiitos vastauksista jo etukäteen!



janne

  • Käyttäjä
  • Viestejä: 5150
    • Profiili
Re: DMA asetus
« Vastaus #1 : 24.08.05 - klo:22.17 »
Olen Linuxin kanssa täysi aloittelija. Ongelmana on miten tehdä semmoinen scripti? jolla DMA asetus otetaan käyttöön aina kun kone käynnistetään.? Ja minne se sitten laitetaan ja miten tehdään?

ohjelma joka  nuo hanskaa on hdparm, mutta millekään scriptille ei ole tarvetta ja tuo koko prosessi on ohjeistettu ubuntuguidessa otsikolla "How to speed up CD/DVD-ROM?":
http://ubuntuguide.org/#speedupcddvdrom
Janne

hobbi

  • Käyttäjä
  • Viestejä: 5
    • Profiili
Re: DMA asetus
« Vastaus #2 : 24.08.05 - klo:22.23 »
Kiitos vastauksesta, joka tuli tosi nopeasti  :D
Tarvii kokeilla tuo , kun kerkeää!
Kysyvä ei näköjään tieltä eksy ;)