From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1E2CQM-0000Q5-Nf for garchives@archives.gentoo.org; Mon, 08 Aug 2005 18:32:35 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j78IUnKT028781; Mon, 8 Aug 2005 18:30:49 GMT Received: from sj-iport-3.cisco.com (sj-iport-3-in.cisco.com [171.71.176.72]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j78IOtt2007334 for ; Mon, 8 Aug 2005 18:24:56 GMT Received: from sj-core-5.cisco.com (171.71.177.238) by sj-iport-3.cisco.com with ESMTP; 08 Aug 2005 11:25:17 -0700 X-IronPort-AV: i="3.96,89,1122879600"; d="scan'208"; a="330177739:sNHT33036736" Received: from xbh-rtp-211.amer.cisco.com (xbh-rtp-211.cisco.com [64.102.31.102]) by sj-core-5.cisco.com (8.12.10/8.12.6) with ESMTP id j78IOnpA010777 for ; Mon, 8 Aug 2005 11:25:14 -0700 (PDT) Received: from xfe-rtp-202.amer.cisco.com ([64.102.31.21]) by xbh-rtp-211.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.211); Mon, 8 Aug 2005 14:25:09 -0400 Received: from [10.89.24.107] ([10.89.24.107]) by xfe-rtp-202.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.211); Mon, 8 Aug 2005 14:25:09 -0400 Message-ID: <42F7A38D.8090705@cisco.com> Date: Mon, 08 Aug 2005 13:25:17 -0500 From: Roy Wright User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050725) X-Accept-Language: en-us, en Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] setting "using_dma" on a BenQ DVD/RW drive References: <1123517023.20641.4.camel@sysconcept.ca> <1123520963.20643.9.camel@sysconcept.ca> <42F79BE8.9060109@dir.bg> In-Reply-To: <42F79BE8.9060109@dir.bg> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 08 Aug 2005 18:25:09.0474 (UTC) FILETIME=[82208420:01C59C46] X-Archives-Salt: 983689d9-0778-4ea5-822f-f759bea99639 X-Archives-Hash: 7b7eccfeba0bd4d8be27494b0700c31b 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 -- gentoo-user@gentoo.org mailing list