Mailinglist Archive: opensuse (2831 mails)

< Previous Next >
Re: [opensuse] Bug in idedma.sh (?)
  • From: Andreas Jaeger <aj@xxxxxxx>
  • Date: Tue, 04 Jul 2006 10:18:37 +0200
  • Message-id: <homzbp6aw2.fsf@xxxxxxxxxxxxx>
Lorenzo Paulatto <paulax@xxxxxxxx> writes:

> Hi,
> I have configured the system via YaST to enable DMA mode for my
> dvd-writer device on /dev/hdc. Now I have noticed (via hdparm) that DMA
> is not enables, I have also checked /etc/sysconfig/ide and I found this
> line:
> DEVICES_FORCE_IDE_DMA="/dev/hdc:on /dev/hdd:on"
>
> I can also say that DMA *is* indeed enabled for the DVD reader on
> /dev/hdd. Furthermore if I enable DMA via hdparm on /dev/hdc it works fine.
>
> I think I have found the bug:
> in file /lib/udev/idedma.sh, line 19 missing quotes around $1 can cause
> the script to fail when enabling DMA form more than one device at a time.
>
> I have fixed it and now it seems to work, I am not 100% sure as testing
> it would require many reboots, anyway adding the quotes won't hurt.

Please file a bugreport in bugzilla.novell.com,

Andreas
--
Andreas Jaeger, aj@xxxxxxx, http://www.suse.de/~aj/
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 N├╝rnberg, Germany
GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
< Previous Next >
Follow Ups
References