active DMA on boot "DVD/CDROM" RESOLVED

foinux foinux at gmail.com
Sat May 21 03:37:21 UTC 2005


On Fri, 2005-05-20 at 16:19 +0100, paul marwick wrote:
> In article <1116523671.27976.0.camel at localhost.localdomain>,
> foinux <foinux at gmail.com> wrote:
> 
> > i put this on hdparm.conf "command_line {
> >         hdparm -d 1 /dev/hdc
> > }
> > "
> > but on boot procsser i see this message "/dev/hdc : no such file or
> > directory "
> > 
> > what should i do than ?
> 
> I got the same error on my laptop. It seems that the command was coming
> too early in the boot sequence. To correct it I went to /etc/rcS.d and
> did the following:
> 
> sudo mv S07hdparm S50hdparm
> 
> That moves hdparm processing to much later in boot and I then get the
> settings for hdc that I want.
> 
> paul.
> 
> -- 
> paul.marwick at virgin.net
> Marwick Computer Services - Chipping Norton, Oxfordshire, UK
> OS/2, LAN and general Computer Consultants
> 
> 
not only one way but many way :) "1,2,3 and 4" 

1- must not be like this but

/dev/hdc {

dma = on

}

thanks Gandalf

2- or try /dev/dvd
That worked for me.*


thanks Michiel

3-Is DMA working for you (despite the error message)?  If yes, just
ignore
the message.

In my system the same error message appears, but DMA *is* activated on
my device (by default, it's off.  I had to edit “hdparm.conf” just like
you to enable it).

run “sudo hdparm /dev/hdc” and see if DMA is enabled or not.

thanks Ziyad

That error comes because "/dev/hdc" has not been made yet at that
point in the boot process, just ignore it because DMA should be
working!

thanks Kreg Schlosser 

4-I got the same error on my laptop. It seems that the command was
coming
too early in the boot sequence. To correct it I went to /etc/rcS.d and
did the following:

sudo mv S07hdparm S50hdparm (read note please before you do this)

That moves hdparm processing to much later in boot and I then get the
settings for hdc that I want.

thanks paul.**

note :
* i'm not sure if it work with me "i don't remember :) ".
** i change it from S50hdparm to S25hdparm than its work fine, i think
paul aim at 25 not 05 .

thanks again :)






More information about the ubuntu-users mailing list