[opensuse] Bug in idedma.sh (?)
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. Bye -- Lorenzo `paulatz' Paulatto Trieste ``Grandissima mi par l'inezia di coloro che vorrebbero che Iddio avesse fatto l'universo più proporzionato alla piccola capacità del lor discorso.'' --Galileo Galilei (Opere VII) -- Email.it, the professional e-mail, gratis per te: http://www.email.it/f Sponsor: Conto Arancio: 3.50% per tutto il 2006! Scopri come Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=5042&d=4-7 --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-unsubscribe@opensuse.org For additional commands, e-mail: opensuse-help@opensuse.org
Lorenzo Paulatto <paulax@email.it> 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@suse.de, 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
Andreas Jaeger ha scritto:
Please file a bugreport in bugzilla.novell.com,
Filed: bug #190256 bye -- Lorenzo `paulatz' Paulatto Trieste ``Grandissima mi par l'inezia di coloro che vorrebbero che Iddio avesse fatto l'universo più proporzionato alla piccola capacità del lor discorso.'' --Galileo Galilei (Opere VII) -- Email.it, the professional e-mail, gratis per te: http://www.email.it/f Sponsor: Video Corsi GRATIS - Scopri come imparare velocemente e senza stress (Internet, Informatica, Web Marketing, Hobby Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=5145&d=4-7 --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-unsubscribe@opensuse.org For additional commands, e-mail: opensuse-help@opensuse.org
participants (2)
-
Andreas Jaeger
-
Lorenzo Paulatto