mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Mark Cuss" <mcuss@cdlsystems.com>
To: <jkorpi@mindspring.com>,
	"Linux-Kernel ML" <linux-kernel@vger.kernel.org>
Subject: Re: DMA Problems with Intel 845 Chipset and Northwood CPU
Date: Thu, 8 Aug 2002 10:12:47 -0600	[thread overview]
Message-ID: <051801c23ef6$6fac8790$2c0e10ac@frinkiac7> (raw)
In-Reply-To: <200208072058.54512.jkorpi@mindspring.com>

Thanks - that did the trick - the system runs much better with DMA on the
hard disk :)

Does anyone know if this patch will be included in the 2.4.20 release
kernel?

Thanks

Mark

----- Original Message -----
From: "John L. Korpi" <jkorpi@mindspring.com>
To: <mcuss@cdlsystems.com>; "Linux-Kernel ML" <linux-kernel@vger.kernel.org>
Sent: Wednesday, August 07, 2002 6:58 PM
Subject: Re: DMA Problems with Intel 845 Chipset and Northwood CPU


> Had a similar problem with similar chipsets.  2.4.19-ac4 fixed the
problem.
>
> Cheers
>
> jlk
>
> On Wednesday 07 August 2002 07:35 pm, Mark Cuss wrote:
> > 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- <TAbort-
> > <MAbort+ >SERR- <PERR-
> >  Latency: 0
> >  Region 0: Memory at f0000000 (32-bit, prefetchable) [size=128M]
> >  Capabilities: [e4] #09 [a104]
> >  Capabilities: [a0] AGP version 2.0
> >   Status: RQ=31 SBA+ 64bit- FW+ Rate=x1,x2
> >   Command: RQ=0 SBA- AGP+ 64bit- FW- Rate=<none>
> > 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- <TAbort-
> > <MAbort- >SERR- <PERR-
> >  Latency: 64
> >  Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
> >  Memory behind bridge: fc700000-fe7fffff
> >  Prefetchable memory behind bridge: dc300000-ec4fffff
> >  BridgeCtl: Parity- SERR+ NoISA- VGA+ MAbort- >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-
<TAbort-
> > <MAbort- >SERR- <PERR-
> >  Latency: 0
> >  Interrupt: pin A routed to IRQ 11
> >  Region 4: I/O ports at e800 [size=32]
> > 00: 86 80 c2 24 05 00 80 02 01 00 03 0c 00 00 80 00
> > 10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> > 20: 01 e8 00 00 00 00 00 00 00 00 00 00 28 10 32 01
> > 30: 00 00 00 00 00 00 00 00 00 00 00 00 0b 01 00 00
> >
> > 00:1d.1 USB Controller: Intel Corp.: Unknown device 24c4 (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-
<TAbort-
> > <MAbort- >SERR- <PERR-
> >  Latency: 0
> >  Interrupt: pin B routed to IRQ 5
> >  Region 4: I/O ports at e880 [size=32]
> > 00: 86 80 c4 24 05 00 80 02 01 00 03 0c 00 00 00 00
> > 10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> > 20: 81 e8 00 00 00 00 00 00 00 00 00 00 28 10 32 01
> > 30: 00 00 00 00 00 00 00 00 00 00 00 00 05 02 00 00
> >
> > 00:1d.2 USB Controller: Intel Corp.: Unknown device 24c7 (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-
<TAbort-
> > <MAbort- >SERR- <PERR-
> >  Latency: 0
> >  Interrupt: pin C routed to IRQ 9
> >  Region 4: I/O ports at ec00 [size=32]
> > 00: 86 80 c7 24 05 00 80 02 01 00 03 0c 00 00 00 00
> > 10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> > 20: 01 ec 00 00 00 00 00 00 00 00 00 00 28 10 32 01
> > 30: 00 00 00 00 00 00 00 00 00 00 00 00 09 03 00 00
> >
> > 00:1d.7 USB Controller: Intel Corp.: Unknown device 24cd (rev 01)
(prog-if
> > 20 [EHCI])
> >  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-
<TAbort-
> > <MAbort- >SERR- <PERR-
> >  Latency: 0
> >  Interrupt: pin D routed to IRQ 10
> >  Region 0: Memory at febffc00 (32-bit, non-prefetchable) [size=1K]
> >  Capabilities: [50] Power Management version 2
> >   Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA
> > PME(D0+,D1-,D2-,D3hot+,D3cold+)
> >   Status: D0 PME-Enable- DSel=0 DScale=0 PME-
> >  Capabilities: [58] #0a [2080]
> > 00: 86 80 cd 24 06 01 90 02 01 20 03 0c 00 00 00 00
> > 10: 00 fc bf fe 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 28 10 32 01
> > 30: 00 00 00 00 50 00 00 00 00 00 00 00 0a 04 00 00
> >
> > 00:1e.0 PCI bridge: Intel Corp. 82801BA/CA PCI Bridge (rev 81) (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- <TAbort-
> > <MAbort- >SERR- <PERR+
> >  Latency: 0
> >  Bus: primary=00, secondary=02, subordinate=02, sec-latency=32
> >  I/O behind bridge: 0000d000-0000dfff
> >  Memory behind bridge: fe800000-feafffff
> >  Prefetchable memory behind bridge: ec500000-ec5fffff
> >  BridgeCtl: Parity- SERR+ NoISA+ VGA- MAbort- >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-
<TAbort-
> > <MAbort- >SERR- <PERR-
> >  Latency: 0
> > 00: 86 80 c0 24 0f 01 80 02 01 00 01 06 00 00 80 00
> > 10: 00 00 00 00 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 00 00 00 00
> > 30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> >
> > 00:1f.1 IDE interface: Intel Corp.: Unknown device 24cb (rev 01)
(prog-if
> > 8a [Master SecP PriP])
> >  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-
<TAbort-
> > <MAbort- >SERR- <PERR-
> >  Latency: 0
> >  Interrupt: pin A routed to IRQ 9
> >  Region 0: I/O ports at <unassigned> [size=8]
> >  Region 1: I/O ports at <unassigned> [size=4]
> >  Region 2: I/O ports at <unassigned> [size=8]
> >  Region 3: I/O ports at <unassigned> [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-
<TAbort-
> > <MAbort- >SERR- <PERR-
> >  Interrupt: pin B routed to IRQ 3
> >  Region 4: I/O ports at e480 [size=32]
> > 00: 86 80 c3 24 01 00 80 02 01 00 05 0c 00 00 00 00
> > 10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> > 20: 81 e4 00 00 00 00 00 00 00 00 00 00 28 10 32 01
> > 30: 00 00 00 00 00 00 00 00 00 00 00 00 03 02 00 00
> >
> > 01:00.0 VGA compatible controller: nVidia Corporation NV25 [GeForce4
> > Ti4200] (rev a3) (prog-if 00 [VGA])
> >  Subsystem: nVidia 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-
<TAbort-
> > <MAbort- >SERR- <PERR-
> >  Latency: 248 (1250ns min, 250ns max)
> >  Interrupt: pin A routed to IRQ 11
> >  Region 0: Memory at fd000000 (32-bit, non-prefetchable) [size=16M]
> >  Region 1: Memory at e0000000 (32-bit, prefetchable) [size=128M]
> >  Region 2: Memory at ec480000 (32-bit, prefetchable) [size=512K]
> >  Expansion ROM at fe7e0000 [disabled] [size=128K]
> >  Capabilities: [60] Power Management version 2
> >   Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA
> > PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D0 PME-Enable- DSel=0 DScale=0
PME-
> >  Capabilities: [44] AGP version 2.0
> >   Status: RQ=31 SBA+ 64bit- FW+ Rate=x1,x2
> >   Command: RQ=31 SBA- AGP+ 64bit- FW- Rate=<none>
> > 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-
<TAbort-
> > <MAbort- >SERR- <PERR-
> >  Latency: 64 (2000ns min, 14000ns max), cache line size 08
> >  Interrupt: pin A routed to IRQ 11
> >  Region 0: Memory at feaff000 (32-bit, non-prefetchable) [size=4K]
> >  Region 1: I/O ports at dc00 [size=64]
> >  Region 2: Memory at feac0000 (32-bit, non-prefetchable) [size=128K]
> >  Expansion ROM at feae0000 [disabled] [size=64K]
> >  Capabilities: [dc] Power Management version 2
> >   Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA
> > PME(D0+,D1+,D2+,D3hot+,D3cold+) Status: D0 PME-Enable- DSel=0 DScale=2
PME-
> > 00: 86 80 29 12 17 01 90 02 10 00 00 02 08 40 00 00
> > 10: 00 f0 af fe 01 dc 00 00 00 00 ac fe 00 00 00 00
> > 20: 00 00 00 00 00 00 00 00 00 00 00 00 86 80 71 00
> > 30: 00 00 ae fe dc 00 00 00 00 00 00 00 0b 01 08 38
> >
> > 02:02.0 Multimedia audio controller: Cirrus Logic CS 4614/22/24
> > [CrystalClear SoundFusion Audio Accelerator] (rev 01)
> >  Subsystem: Voyetra Technologies: Unknown device 3357
> >  Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
> > Stepping- SERR+ FastB2B-
> >  Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort-
> > <MAbort- >SERR- <PERR-
> >  Latency: 64 (1000ns min, 6000ns max)
> >  Interrupt: pin A routed to IRQ 9
> >  Region 0: Memory at feafd000 (32-bit, non-prefetchable) [size=4K]
> >  Region 1: Memory at fe900000 (32-bit, non-prefetchable) [size=1M]
> >  Capabilities: [40] Power Management version 2
> >   Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA
> > PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D0 PME-Enable- DSel=0 DScale=0
PME-
> > 00: 13 10 03 60 06 01 10 04 01 00 01 04 00 40 00 00
> > 10: 00 d0 af fe 00 00 90 fe 00 00 00 00 00 00 00 00
> > 20: 00 00 00 00 00 00 00 00 00 00 00 00 53 50 57 33
> > 30: 00 00 00 00 40 00 00 00 00 00 00 00 09 01 04 18
> >
> >
> > -
> > To unsubscribe from this list: send the line "unsubscribe linux-kernel"
in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at  http://vger.kernel.org/majordomo-info.html
> > Please read the FAQ at  http://www.tux.org/lkml/
>
> --
> John L. Korpi, Ph.D. -- Senior Scientist, Networks & Infrastructure
> NeuStar, Inc.
> Voice:  1.216.241.2919, 1.703.435.0682
> Mobile: 1.216.233.3042    Pager: 1.800.398.2959
>
>



  reply	other threads:[~2002-08-08 16:09 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-07 18:10 [patch] tls-2.5.30-A1 Ingo Molnar
2002-08-07 18:33 ` Linus Torvalds
2002-08-07 18:43   ` Stephen Rothwell
2002-08-07 18:57     ` Linus Torvalds
2002-08-07 19:40       ` Alexandre Julliard
2002-08-07 19:31   ` Ingo Molnar
2002-08-07 19:49     ` Alexandre Julliard
2002-08-07 22:01   ` Alan Cox
2002-08-07 22:36   ` Luca Barbieri
2002-08-07 22:54     ` Ingo Molnar
2002-08-07 23:21       ` Luca Barbieri
2002-08-07 23:35         ` DMA Problems with Intel 845 Chipset and Northwood CPU Mark Cuss
2002-08-08  0:58           ` John L. Korpi
2002-08-08 16:12             ` Mark Cuss [this message]
2002-08-11 21:46   ` [patch] tls-2.5.31-C3 Ingo Molnar
2002-08-12  7:34     ` Stephen Rothwell
2002-08-12 10:07       ` Ingo Molnar
2002-08-12  8:23         ` Stephen Rothwell
2002-08-12 10:08           ` Alan Cox
2002-08-12 10:49             ` Ingo Molnar
2002-08-12 10:34               ` Alan Cox
2002-08-12 12:17                 ` Ingo Molnar
2002-08-12 11:47                   ` Alan Cox
2002-08-12 12:55                     ` Ingo Molnar
2002-08-12 12:29                       ` Alan Cox
2002-08-12 10:35               ` Alan Cox
2002-08-12 13:10             ` Kasper Dupont
2002-08-12 15:20             ` Ingo Molnar
2002-08-12 14:46         ` Stephen Rothwell
2002-08-12 12:18     ` Luca Barbieri
2002-08-12 15:12       ` Ingo Molnar
2002-08-12 13:43         ` Luca Barbieri
2002-08-12 15:57           ` Ingo Molnar
2002-08-12 14:17             ` Luca Barbieri
2002-08-12 15:53     ` [patch] tls-2.5.31-D3 Ingo Molnar
2002-08-12 16:13       ` [patch] tls-2.5.31-D4 Ingo Molnar
2002-08-12 14:32         ` Luca Barbieri
2002-08-12 17:06         ` [patch] tls-2.5.31-D5 Ingo Molnar
2002-08-12 15:21           ` Jakub Jelinek
2002-08-12 17:41             ` Ingo Molnar
2002-08-12 15:54               ` Luca Barbieri
2002-08-12 18:03               ` [patch] tls-2.5.31-D9 Ingo Molnar
2002-08-13  1:50               ` [patch] tls-2.5.31-D5 Alexandre Julliard
2002-08-12 17:24           ` [patch] tls-2.5.31-D7 Ingo Molnar
2002-08-12 15:45             ` Christoph Hellwig
2002-08-07 19:02 ` [patch] tls-2.5.30-A1 Christoph Hellwig
2002-08-08 12:25 ` Jamie Lokier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='051801c23ef6$6fac8790$2c0e10ac@frinkiac7' \
    --to=mcuss@cdlsystems.com \
    --cc=jkorpi@mindspring.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®