Re: [SLE] DMA Nightlmare on SuSE 10.x Revisited



Silviu Marin-Caea wrote:
On Thursday 25 May 2006 17:16, Basil Chupin wrote:
Silviu Marin-Caea wrote:
On Thursday 25 May 2006 09:08, Basil Chupin wrote:
Doing /sbin/hdparm for both produces the following reault and error:
Does this work?

hdparm -d1c1U1 /dev/hdb
I think that there is one whopping big typo in this statement. The
'-d1c1U1' should be with the 'U' as a lower case letter (u).

Sorry about that. A huge difference indeed. U unregisters the interface.

As a general rule, don't just run stuff from a mailing list without reading documentation first. :-)

So I am finding out :-) .


However, altering the parameter to '-d1c1u1' produced the right result
and now I have DMA set on the DVD/CD reader. Thanks for that.

If it works, you can put it in /etc/init.d/boot.local
(This is where I put the above statement and, as I said, it works.

For those who will try this to get their DMAs set, you have to reboot
for the above parameters to work.)

Not quite proper, but it does the job and you don't have to worry
anymore.

The proper way would be to put in /etc/sysconfig/ide
DEVICES_FORCE_IDE_DMA="/dev/hdb:on /dev/hdd:on"
but if that doesn't work, the hdparm -c1d1u1 it's even better: enables 32 bit access and unmask irq.

Well, using /etc/sysconfig/ide does NOT work - see my repsonse to Carlos.

Only way it works is to use the /etc/init.d/boot.local way.


But there is a question: the above 'fix' is for /dev/hdb. How does one
go about also doing it for /dev/hdd? Does one simply add another line in
boot.local for hdd?

Add an identical line for hdd.

Thanks for this. I have now did just that in boot.local.

Cheers.


--
Ignorance can be corrected. Stupidity is permanent.

--
Check the headers for your unsubscription address
For additional commands send e-mail to suse-linux-e-help@xxxxxxxx
Also check the archives at http://lists.suse.com
Please read the FAQs: suse-linux-e-faq@xxxxxxxx



Relevant Pages

  • Re: [SLE] DMA Nightlmare on SuSE 10.x Revisited
    ... I think that there is one whopping big typo in this statement. ... and now I have DMA set on the DVD/CD reader. ... the hdparm -c1d1u1 it's even better: ... Add an identical line for hdd. ...
    (SuSE)
  • Re: [SLE] DMA Nightlmare on SuSE 10.x Revisited
    ... (Man hdparm comments on the 'U' parameter as being DANGEROUS and possibly causing damage to the hardware and to the system.) ... altering the parameter to '-d1c1u1' produced the right result and now I have DMA set on the DVD/CD reader. ... the above 'fix' is for /dev/hdb. ... (I have to add here that this question is really theoretical because the fix above somehow also fixed the problem with hdd which now shows the correct UDMA and this I am assuming is being picked up from the entry I made in /etc/sysconfig/ide.) ...
    (SuSE)
  • Re: [SLE] DMA Nightlmare on SuSE 10.x Revisited
    ... Trying to alter in CC the dma for hdb produced the error message "Cannot set required mode '%1 for device %2' ". ... Doing hdparm -I /dev/hdx showed that hdb had a setting of udma2 and hdd had udma4. ... rebooting the system at this pointresulted in this change in /ide file: ...
    (SuSE)
  • Re: DMA is turned off on my HDD
    ... sayed it while Debian booting). ... help me turn on DMA mode. ... only have one HDD installed then it probably is already correct. ... aptitude install hdparm ...
    (Debian-User)
  • Re: Forcing HDD spindown
    ... one problem I have on my system is the frequency with which the kernel winds ... force the system to a minimal use of the HDD? ... over some longer period of time (top, iotop, ...; you can run them as a cron ... # hdparm -I /dev/sd? ...
    (Fedora)