On Saturday, 29 July 2006 5:16, gentuxx wrote: > Raymond Lewis Rebbeck wrote: > > On Friday, 28 July 2006 22:36, Stefán István wrote: > >> Hello! > >> I'm not able to activate dma mode for cdrom drive in my laptop. > >> # hdparm -d1 /dev/hdd > >> > >> /dev/hdd: > >> setting using_dma to 1 (on) > >> HDIO_SET_DMA failed: Operation not permitted > >> using_dma = 0 (off) > >> > >> [snip] > >> > >> I think the problem is that there is no driver for this chipset compiled > >> into the kernel. But I don't know which driver should be compiled into. > >> I tried Intel PIIXn but it didn't help. > >> > >> Thanks for the help in advance, > >> István > > > > You will need to set CONFIG_IDE=n, enable SCSI cdrom support > > (CONFIG_BLK_DEV_SR) and enable the Intel PIIX sata driver > > (CONFIG_SCSI_ATA_PIIX). > > Isn't this deprecated? Wouldn't a better choice be to install the > SATA driver ebuild? (Mainly trying to eliminate my own confusion here.)
No, libata is most certainly not deprecated and what ebuild are you talking about? > > > DMA should then work perfectly fine. However one side effect is that your > > cdrom drive will become /dev/sr0, although I guess this can be fixed > > with a > > > udev rule. -- Raymond Lewis Rebbeck -- gentoo-user@gentoo.org mailing list