Mailinglist Archive: opensuse (4570 mails)
| < Previous | Next > |
Re: [SLE] Setting the DMA *and* making it stick
- From: Basil Chupin <blchupin@xxxxxxxxxx>
- Date: Sun, 13 Nov 2005 15:04:59 +0000 (UTC)
- Message-id: <437755BD.4010306@xxxxxxxxxx>
Carlos E. R. wrote:
The log shows nothing unusual. The kernel correctly detects and sets the UDMA of all 4 devices but then something "unsets" the UDMA for /dev/hdb and this is reflected in IDE DMA in Yast2.
Yep, I am using hdparm -d1 -k1 /dev/hdb to set it in /etc/sysconfig/ide but this does not help at all - I still have to set it manually after a boot.
Earlier today I remembered that I had Xandros 3 Deluxe so installed it just to see what happens re (1) this UDMA hassle and (2) not being able to play DVD in sus 10 out of the box. Under Xandros the UDMA is correctly set, and I was able to play a DVD as soon as Xandros was installed - no stuffing around with anyting, just insert a DVD and xine played it. I think I know which way I am now heading....
Cheers.
--
Ignorance can be corrected. Stupidity is permanent.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
The Saturday 2005-11-12 at 01:58 +1100, Basil Chupin wrote:
The kernel does it on its own if it thinks it can.
You only need to do it manually when you have to contradict the kernel
thinking.
Well I have to very strongly disagree with the kernel at every boot, and even
if I manually set the UDMA the darn kernel (or something) just plain refuses
to obey my commands.
In that case, I'd carefully scan the kernel log (sometimes it is not enabled, or it goes mixed in /var/log/messages), watching for DMA related messages. If the kernel sees a dma timeout or some other problem when using it, it dissables dma on that drive and continues.
The log shows nothing unusual. The kernel correctly detects and sets the UDMA of all 4 devices but then something "unsets" the UDMA for /dev/hdb and this is reflected in IDE DMA in Yast2.
What exact command do you use to set it? I use simply "hdparm -d1 device", and let the drive choose the exact mode.
Yep, I am using hdparm -d1 -k1 /dev/hdb to set it in /etc/sysconfig/ide but this does not help at all - I still have to set it manually after a boot.
Earlier today I remembered that I had Xandros 3 Deluxe so installed it just to see what happens re (1) this UDMA hassle and (2) not being able to play DVD in sus 10 out of the box. Under Xandros the UDMA is correctly set, and I was able to play a DVD as soon as Xandros was installed - no stuffing around with anyting, just insert a DVD and xine played it. I think I know which way I am now heading....
Cheers.
--
Ignorance can be corrected. Stupidity is permanent.
| < Previous | Next > |