[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problem to turn DMA on



On Thursday 24 April 2008 20:04:24 debian-user-digest-request@lists.debian.org 
wrote:
> > I got a very old notebook running debian 4.0 with kernel 2.6.25 and
> > 2.6.21.
> >
>  > It has a 4GB IDE harddisk. I'm trying to enable DMA with hdparm, but it
>  > is not working.
>  >
>  >  The command I run and its output are:
>  >
>  > # hdparm -qc3 -qm16 -qd1 -qX66 -qS120 /dev/hda
>  >  HDIO_SET_DMA failed: Operation not permitted
>  >
>  > Did someone get this message before or know to solve it?
>  >
>  > Thanks,
>  >
>  > Rafael
>
> What chipset, particularly the IDE chips, are on that very old network?
>
>  You may need to compile the kernel with the appropriate driver rather than
> the ide-generic. I had this with a via  chipset MB.
>
>
>
>
> Hi David. thanks the reply and sorry for taking so long to answer.
> I'm not very sure if I understand what you mean by 'IDE chips' and
> therefore I'm not sure how can I find it it my system. Maybe you could
> explain or inform me the appropriated command...
>
> Not sure if it helps, but my harddisk is a "Toshiba MK4006MAV" and,
> according to /proc/ide/ide0/hda/driver, it is using the driver ide-disk.
>
> Does this help?

I also have ide-disk version 1.18. I do not think this is the relevant info. 
That directory has all the info on your disk, the model, the cache, etc., and 
the fact that it is an IDE rather than a SATA, etc.

Usually, the ide-generic is compiled in the kernel or placed in the initrd. 
Some chipsets--the motherboard, not the disk itself--are not entirely 
compatible with this river and in most cases, thankfully, Debian has a 
version suited to the chipset. If this be your problem, what is happening is 
that the incompatible driver loads before the correct module and the rest is 
history. So if one compiles the kernel with the correct one (or places this 
in the initrd?), then this loads first (or only) and all is well.

So ... what model is your nice old notebook, what chipset is included. This 
will give you a clue, hopefully, to solve the problem.

Took me a while to take the plunge and recompile my kernel. I had already 
recompiled for lmsensors chipsets so not such a big deal--however, one can 
boot and live without the sensors. The IDE is a bit more important :-)





Reply to: