<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>DMA on Michael’s Domain</title><link>https://jeltsch.org/en/tags/dma/</link><description>Recent content in DMA on Michael’s Domain</description><generator>Hugo</generator><language>en-us</language><copyright>Copyright © 2002 - 2026 Michael Jeltsch.</copyright><lastBuildDate>Fri, 24 Jul 2026 00:18:18 +0300</lastBuildDate><atom:link href="https://jeltsch.org/en/tags/dma/index.xml" rel="self" type="application/rss+xml"/><item><title>Hardware (harddisk) failure (dma timeout error, dma_timer_expiry)</title><link>https://jeltsch.org/en/hardware_harddisk_failure_dma_timeout_error_dma_timer_expiry/</link><pubDate>Wed, 04 Apr 2007 00:00:00 +0000</pubDate><guid>https://jeltsch.org/en/hardware_harddisk_failure_dma_timeout_error_dma_timer_expiry/</guid><description>&lt;p&gt;A while ago our server seems to have a hard disk failure as the following error messages kept coming up: &lt;code&gt;hda: dma timeout error: […] hda: dma_timer_expiry: […]&lt;/code&gt; We exchanged the 20 GB HD against my old Mac&amp;rsquo;s 4.7 GB HD and reinstalled the system. A friend of mine tried the &amp;ldquo;broken&amp;rdquo; 20GB HD on a Windows system and said it works fine. We put it back as a secondary drive to our server and everything went OK for another 6 months until a similar message started appearing during booting: &lt;code&gt;spurious 8259A interrupt: IRQ7 hdc: read_intr: status=0x59 {DriveReady SeekComplete DataRequest Error} hdc: read_intr: error=0x04 {DriveStatusError} ide1: reset: success&lt;/code&gt; and during shutdown: &lt;code&gt;hdc: status timeout: status=0x80 hdc: drive not ready for command ide1: reset timed-out&lt;/code&gt; Additionally there were strange clicking sound appearing. And there is also a problem with spinning down the hard drive: it never did spin down anymore which made the server quite loud during the night. Since RedHat&amp;rsquo;s default 2.4.20 kernel doesn&amp;rsquo;t support laptop mode, we decided to switch the distro. I exhanged that drive for a 6 GB drive and newly installed Suse Linux 9.1. When I copied over the data from the 20 GB drive to the 6 GB drive there were three or four files that I couldn&amp;rsquo;t copy (IO failure). Now I wonder whether the 20 GB drive is really broken or not. From all symptoms it seems very likely yes. Although if its just DMA failure messages, they can be switched off by turning off DMA mode (given as boot parameters: &lt;code&gt;ide=nodma noapic apm=off&lt;/code&gt; That makes obviously performance worse. DMA means Direct Memory Access and it means that data can be moved from the hard disk to another place (e.g. memory or another disk) without the CPU being involved (which makes it much faster and frees the CPU from unnecessary work.&lt;/p&gt;</description></item><item><title>Suse Linux 9.2 and encrypted DVD playback (xine, libdvdcss2, libxine, hdparm, DMA)</title><link>https://jeltsch.org/en/suse_linux_9_2_and_encrypted_dvd_playback_xine_libdvdcss2_libxine_hdparm_dma/</link><pubDate>Sun, 12 Nov 2006 00:00:00 +0000</pubDate><guid>https://jeltsch.org/en/suse_linux_9_2_and_encrypted_dvd_playback_xine_libdvdcss2_libxine_hdparm_dma/</guid><description>&lt;p&gt;Although several linux video players (e.g. xine) do support playback of encrypted DVDs, Suse has crippled the libraries needed to do so. Thus none of the players/frontends included in Suse Linux 9.2 can play encrypted DVDs. What are encrypted DVDs? Essentially all commerical movies are released exclusively as encrypted DVDs. It is a pain in the ass, but actually can be cured. To play encrypted DVDs you need libdvdcss2. This is the famous hack, that was in the news and that obviously was not liked by the media industry. In some countries this software is illegal; in some others only the binaries are but the sourcecode is not. You can download a 
 &lt;a href="http://www.iiv.de/schwinde/buerger/tremmel/downloads/script_rpm4/install_libdvdcss2" target="_blank" rel="noopener noreferrer nofollow"&gt;script&amp;nbsp;






 
 
 
 &lt;svg class="svg-inline--fa fas fa-up-right-from-square fa-2xs" fill="currentColor" aria-hidden="true" role="img" viewBox="0 0 512 512" overflow="visible"&gt;&lt;use href="#fas-up-right-from-square"&gt;&lt;/use&gt;&lt;/svg&gt;&lt;/a&gt;
 that creates automatically an rpm for suse &amp;gt;= 9. Additionally you should replace or update the Suse Linux xinelib with the uncrippled version from 
 &lt;a href="http://packman.links2linux.de/?action=124" target="_blank" rel="noopener noreferrer nofollow"&gt;Packman&amp;nbsp;






 
 
 
 &lt;svg class="svg-inline--fa fas fa-up-right-from-square fa-2xs" fill="currentColor" aria-hidden="true" role="img" viewBox="0 0 512 512" overflow="visible"&gt;&lt;use href="#fas-up-right-from-square"&gt;&lt;/use&gt;&lt;/svg&gt;&lt;/a&gt;
. Xine still opens a window that claims that it cannot play encrypted DVDs with a link to some site where you are supposed to read why not. This link is dead. Shame on you, Suse (or Novell); if you cripple your distro, please make sure that at least your explanatory links do work! Some DVD hardware is apparently additionally limited based on the country codes. The world has been split into eight regions and according to the will of the media industry the customer should only be allowed to watch DVDs released specifically for his region. There is a linux tool around with with you can switch your area code, but I don&amp;rsquo;t remember its name or URL as this was not necessary for my hardware.&lt;/p&gt;</description></item></channel></rss>