From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tejun Heo Subject: Re: Problem setting dma using pata_it821x driver in vanilla 2.6.23.12 and gentoo-sources 2.6.23-r3 Date: Thu, 10 Jan 2008 22:17:57 +0900 Message-ID: <47861B05.2010201@gmail.com> References: <200801051734.18088.marc@fallon.classyad.com> <478434C4.5000209@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from wa-out-1112.google.com ([209.85.146.176]:65058 "EHLO wa-out-1112.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754767AbYAJNSe (ORCPT ); Thu, 10 Jan 2008 08:18:34 -0500 Received: by wa-out-1112.google.com with SMTP id v27so1082174wah.23 for ; Thu, 10 Jan 2008 05:18:34 -0800 (PST) In-Reply-To: Sender: linux-ide-owner@vger.kernel.org List-Id: linux-ide@vger.kernel.org To: Marc Howard Zuckman Cc: linux-ide@vger.kernel.org Marc Howard Zuckman wrote: > With apologies if this was supposed to be an attachment: Inline is fine. > IT8212: IDE controller at PCI slot 0000:03:0c.0 > IT8212: chipset revision 17 > it821x: controller in smart mode. > IT8212: 100% native mode on irq 21 > ide2: BM-DMA at 0xb800-0xb807, BIOS settings: hde:DMA, hdf:pio > ide3: BM-DMA at 0xb808-0xb80f, BIOS settings: hdg:pio, hdh:pio > Probing IDE interface ide2... > hde: Integrated Technology Express Inc, ATA DISK drive > hde: IT8212 RAID 1 volume. > hde: selected mode 0x0 > ide2 at 0xa810-0xa817,0xac02 on irq 21 > Probing IDE interface ide3... > Probing IDE interface ide3... > Probing IDE interface ide4... > Probing IDE interface ide5... > hda: max request size: 128KiB > hda: Host Protected Area detected. > current capacity is 195369455 sectors (100029 MB) > native capacity is 195371568 sectors (100030 MB) > hda: Host Protected Area disabled. > hda: 195371568 sectors (100030 MB) w/2048KiB Cache, CHS=65535/16/63, > UDMA(100) > hda: cache flushes not supported > hda: hda1 hda2 hda3 < hda5 hda6 hda7 > Oh... I thought you were using libata drivers because you mentioned pata_it821x on the subject. The IDE driver supports 'hdparm -d 1' fine. I wonder why that's not working. Also, the driver is configuring your disk to PIO0. Cc'ing Alan and Bartlomiej. Guys, is this the smart mode problem? Do ide and libata have this fixed in 2.6.24-rc? Thanks. -- tejun