Roy Wright wrote: > Rumen Yotov wrote: > >> Hi, >> First thing to do is to make sure you have support for your mobos' >> chipset into kernel-config. >> Then emerge/install hdparm and have a customized '/etc/conf.s/hdparm' >> file. >> Ex.(mine): >> hda_args="-d1 -A1 -m16 -u1 -a64" // this is for my hard disk >> all_args="-d1" // this is for all other >> disks - DVD-R and DVD-RW >> Think i took this mainly from install-guide.2005.0. Don't forget to >> start "/etc/init.d/hdparm start" as root and if everything is OK, >> "rc-update add hdparm default" to always have this at boot time. >> Test with "hdparm -Tt /dev/hdX" X is a,b,c,d (for an IDE-disk) check >> again "man hdparm" for the options ;) >> HTH. Rumen >> >> > Here's the details of what I'm seeing from a root shell: > > royw-gentoo conf.d # hdparm -d1 /dev/dvd > > /dev/dvd: > setting using_dma to 1 (on) > HDIO_SET_DMA failed: Operation not permitted > using_dma = 0 (off) > > royw-gentoo conf.d # less /etc/conf.d/hdparm | grep -v \# > > all_args="-d1" > > royw-gentoo conf.d # /etc/init.d/hdparm start > * Caching service dependencies > ... > [ ok ] > * Starting hdparm > ... > [ ok ] > * Running hdparm on /dev/cdroms/cdrom0 ... > HDIO_SET_DMA failed: Operation not permitted > > royw-gentoo linux # hdparm -I /dev/dvd > > /dev/dvd: > > ATAPI CD-ROM, with removable media > Model Number: Memorex DVD+/-RW True-8X > Serial Number: DADC011844WL > Firmware Revision: 1.06 > Standards: > Likely used CD-ROM ATAPI-1 > Configuration: > DRQ response: 50us. > Packet size: 12 bytes > Capabilities: > LBA, IORDY(can be disabled) > Buffer size: 64.0kB > DMA: mdma0 mdma1 mdma2 udma0 udma1 *udma2 > Cycle time: min=120ns recommended=120ns > PIO: pio0 pio1 pio2 pio3 pio4 > Cycle time: no flow control=240ns IORDY flow control=120ns > Commands/features: > Enabled Supported: > * DEVICE RESET cmd > * PACKET command feature set > * Power Management feature set > HW reset results: > CBLID- above Vih > Device num = 0 determined by the jumper > > royw-gentoo conf.d # lspci > 0000:00:00.0 Host bridge: Intel Corporation 82875P/E7210 Memory > Controller Hub (rev 02) > 0000:00:01.0 PCI bridge: Intel Corporation 82875P Processor to AGP > Controller (rev 02) > 0000:00:03.0 PCI bridge: Intel Corporation 82875P/E7210 Processor to > PCI to CSA Bridge (rev 02) > 0000:00:1d.0 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) > USB UHCI Controller #1 (rev 02) > 0000:00:1d.1 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) > USB UHCI Controller #2 (rev 02) > 0000:00:1d.2 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) > USB UHCI #3 (rev 02) > 0000:00:1d.3 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) > USB UHCI Controller #4 (rev 02) > 0000:00:1d.7 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) > USB2 EHCI Controller (rev 02) > 0000:00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev c2) > 0000:00:1f.0 ISA bridge: Intel Corporation 82801EB/ER (ICH5/ICH5R) LPC > Interface Bridge (rev 02) > 0000:00:1f.2 IDE interface: Intel Corporation 82801EB (ICH5) SATA > Controller (rev 02) > 0000:00:1f.3 SMBus: Intel Corporation 82801EB/ER (ICH5/ICH5R) SMBus > Controller (rev 02) > 0000:00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER > (ICH5/ICH5R) AC'97 Audio Controller (rev 02) > 0000:01:00.0 VGA compatible controller: nVidia Corporation NV40 > [GeForce 6800 GT] (rev a1) > 0000:02:01.0 Ethernet controller: Intel Corporation 82547EI Gigabit > Ethernet Controller (LOM) > > royw-gentoo linux # dmesg | grep -i dma > DMA zone: 4096 pages, LIFO batch:1 > ata1: SATA max UDMA/133 cmd 0x1F0 ctl 0x3F6 bmdma 0xF000 irq 14 > ata1: dev 0 ATA, max UDMA/133, 145226112 sectors: lba48 > ata1: dev 1 ATA, max UDMA/133, 145226112 sectors: lba48 > ata1: dev 0 configured for UDMA/133 > ata1: dev 1 configured for UDMA/133 > > royw-gentoo linux # less /usr/src/linux/.config | grep -i dma > CONFIG_GENERIC_ISA_DMA=y > CONFIG_BLK_DEV_IDEDMA_PCI=y > # CONFIG_BLK_DEV_IDEDMA_FORCED is not set > CONFIG_IDEDMA_PCI_AUTO=y > # CONFIG_IDEDMA_ONLYDISK is not set > CONFIG_BLK_DEV_IDEDMA=y > # CONFIG_IDEDMA_IVB is not set > CONFIG_IDEDMA_AUTO=y > > I'm missing something simple, but just don't see it. > > TIA, > Roy Hi Roy, Just guessing here but seems you have SATA drives not IDE, don't use/know much about SATA yet ;) but maybe this have something to do with the error on activating DMA, from the logs your hard-disk *is* using UDMA-133 & PIO4 ? Could check BIOS-settings, other thoughts here? Check with 'hdparm' setting on your hard (/dev/sdaX or /dev/....). All kernel-config you show deals with IDE/ISA settings. HTH. Rumen