Thread (5 messages) 5 messages, 2 authors, 2005-08-18

Re: Problems with DMA enabling

From: Erik Slagter <hidden>
Date: 2005-08-17 16:00:04

On Wed, 2005-08-17 at 11:40 -0400, Davidlohr Bueso A. wrote:
After googling I discovered that the solution for many was changing in
include/linux/libata.h

#undef ATA_ENABLE_ATAPI /* define to enable ATAPI support */ 
to 
#define ATA_ENABLE_ATAPI /* define to enable ATAPI support */
ROFL! Sorry...

You're changing a kernel BUILDING parameter here. It will not have any
effect until you recompile your kernel, so kiss your debian pre-compiled
kernel goodbye ;-)

There are actually several HOWTO's for kernel (re)building, btw.

If you are going to do this, you need to apply this patch as well (see
attachment) or your computer will lock up every now and then.

If you have built the new kernel and booted it, your cd/dvd drive will
now be claimed by libata and show up as /dev/scd0 instead of /dev/hdc
(or similar). Hdparm -d 1 will not work (either), but DMA will be used
anyway.

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help