Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 7 Aug 2002 19:32:33 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 7 Aug 2002 19:32:33 -0400 Received: from telus-2.cdlsystems.com ([142.179.183.92]:2291 "EHLO cdlsystems.com") by vger.kernel.org with ESMTP id ; Wed, 7 Aug 2002 19:32:30 -0400 Message-ID: <048001c23e6b$20e1ffe0$2c0e10ac@frinkiac7> From: "Mark Cuss" To: "Linux-Kernel ML" References: <1028762508.1992.309.camel@ldb> Subject: DMA Problems with Intel 845 Chipset and Northwood CPU Date: Wed, 7 Aug 2002 17:35:35 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Return-Path: mcuss@cdlsystems.com X-MDaemon-Deliver-To: linux-kernel@vger.kernel.org Reply-To: mcuss@cdlsystems.com Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 11821 Lines: 279 Hello all, Please accept my apologies if this question has already been answered.... I have a new Pentium 4 computer and I can't get the DMA working for hard disk transfers. Specifically, its a Dell Dimension 4500 with a Pentium 4 2.26 GHz processor (Northwood) and an 845 (Brookdale) chipset. RedHat 7.3.... I noticed that the hard disk transfers were very slow. I tried to set up DMA with hdparm - see below: [root@yoda ide]# hdparm /dev/hda /dev/hda: multcount = 16 (on) I/O support = 0 (default 16-bit) unmaskirq = 0 (off) using_dma = 0 (off) keepsettings = 0 (off) nowerr = 0 (off) readonly = 0 (off) readahead = 8 (on) geometry = 4866/255/63, sectors = 78177792, start = 0 busstate = 1 (on) [root@yoda ide]# hdparm -d1 /dev/hda /dev/hda: setting using_dma to 1 (on) HDIO_SET_DMA failed: Operation not permitted using_dma = 0 (off) [root@yoda ide]# I thought that perhaps the chipset had changed between this Northwood machine an the older core - I have a P4 1.8 GHz machine that DMA works fine on. I upgraded to kernel 2.4.19 with no change. The IDE controller (according to Windows XP....) is an Intel 82801DB Ultra ATA Storage Controller - 24CB. I've included the lspci --vvx listing from the problem machine below - my aplogies for the long list. If anyone has any suggestions I'd really appreciate them... Thanks.... Mark lspci listing: 00:00.0 Host bridge: Intel Corp. 82845 845 (Brookdale) Chipset Host Bridge (rev 11) Subsystem: Intel Corp. 82845 845 (Brookdale) Chipset Host Bridge Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- SERR- 00: 86 80 30 1a 06 01 90 20 11 00 00 06 00 00 00 00 10: 08 00 00 f0 00 00 00 00 00 00 00 00 00 00 00 00 20: 00 00 00 00 00 00 00 00 00 00 00 00 86 80 30 1a 30: 00 00 00 00 e4 00 00 00 00 00 00 00 00 00 00 00 00:01.0 PCI bridge: Intel Corp. 82845 845 (Brookdale) Chipset AGP Bridge (rev 11) (prog-if 00 [Normal decode]) Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- Status: Cap- 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- SERR- Reset- FastB2B- 00: 86 80 31 1a 07 01 a0 00 11 00 04 06 00 40 01 00 10: 00 00 00 00 00 00 00 00 00 01 01 40 f0 00 a0 22 20: 70 fc 70 fe 30 dc 40 ec 00 00 00 00 00 00 00 00 30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0a 00 00:1d.0 USB Controller: Intel Corp.: Unknown device 24c2 (rev 01) (prog-if 00 [UHCI]) Subsystem: Dell Computer Corporation: Unknown device 0132 Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- Reset- FastB2B- 00: 86 80 4e 24 07 01 80 80 81 00 04 06 00 00 01 00 10: 00 00 00 00 00 00 00 00 00 02 02 20 d0 d0 80 22 20: 80 fe a0 fe 50 ec 50 ec 00 00 00 00 00 00 00 00 30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 06 00 00:1f.0 ISA bridge: Intel Corp.: Unknown device 24c0 (rev 01) Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- SERR- TAbort- SERR- [size=8] Region 1: I/O ports at [size=4] Region 2: I/O ports at [size=8] Region 3: I/O ports at [size=4] Region 4: I/O ports at ffa0 [size=16] Region 5: Memory at 20000000 (32-bit, non-prefetchable) [disabled] [size=1K] 00: 86 80 cb 24 05 00 80 02 01 8a 01 01 00 00 00 00 10: 01 00 00 00 01 00 00 00 01 00 00 00 01 00 00 00 20: a1 ff 00 00 00 00 00 20 00 00 00 00 28 10 32 01 30: 00 00 00 00 00 00 00 00 00 00 00 00 ff 01 00 00 00:1f.3 SMBus: Intel Corp.: Unknown device 24c3 (rev 01) Subsystem: Dell Computer Corporation: Unknown device 0132 Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- SERR- TAbort- SERR- 00: de 10 53 02 07 00 b0 02 a3 00 00 03 00 f8 00 00 10: 00 00 00 fd 08 00 00 e0 08 00 48 ec 00 00 00 00 20: 00 00 00 00 00 00 00 00 00 00 00 00 de 10 32 01 30: 00 00 00 00 60 00 00 00 00 00 00 00 0b 01 05 01 02:00.0 Ethernet controller: Intel Corp. 82557/8/9 [Ethernet Pro 100] (rev 10) Subsystem: Intel Corp.: Unknown device 0071 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR+ FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- SERR- TAbort- SERR-