Re: [Nolug] DMA ?

From: Ron Johnson <ron.l.johnson_at_cox.net>
Date: 20 Jan 2003 15:57:58 -0600
Message-Id: <1043099878.15595.255.camel@haggis>

What kernel are you running, and is it from kernel.org, or the distro,
etc?

I see some changes from my Debian own-rolled 2.4.19 kernel. The only
one that you have that I don't that may be significant is:
CONFIG_IDEDMA_ONLYDISK=y

Also, does google mention any issues with this chipset?

Lastly, try to set "32 bit IO support" & unmasqirq. They may also
help. I think the command is:
# hdparm -c1 -u1 /dev/hda

One other thing. Try lowering the speed of the disk when you try to
activate DMA:
# hdparm -d1 -X67 /dev/hda

On Mon, 2003-01-20 at 15:08, pltaylor wrote:
> Here is the requested info, thanks for taking a look -- Paul
>
>
> root@chon:/home/plt# hdparm -i /dev/hda
>
> /dev/hda:
>
> Model=QUANTUM FIREBALLP AS20.5, FwRev=A1Y.1400, SerialNo=892103275255
> Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
> RawCHS=16383/16/63, TrkSize=32256, SectSize=21298, ECCbytes=4
> BuffType=DualPortCache, BuffSize=1902kB, MaxMultSect=16, MultSect=16
> CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=40132503
> IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
> PIO modes: pio0 pio1 pio2 pio3 pio4
> DMA modes: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 *udma5
> AdvancedPM=no WriteCache=enabled
> Drive Supports : ATA/ATAPI-5 T13 1321D revision 1 : ATA-1 ATA-2 ATA-3
> ATA-4 ATA-5
>
> root@chon:/home/plt#
>
> root@chon:/home/plt# 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 = 2498/255/63, sectors = 40132503, start = 0
> busstate = 1 (on)
> root@chon:/home/plt#
>
> Uniform Multi-Platform E-IDE driver Revision: 6.31
> ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
> ICH4: IDE controller on PCI bus 00 dev f9
> PCI: Device 00:1f.1 not available because of resource collisions
> ICH4: (ide_setup_pci_device:) Could not enable device.
> PDC20276: IDE controller on PCI bus 02 dev 10
> PCI: Found IRQ 9 for device 02:02.0
> PCI: Sharing IRQ 9 with 02:0a.0
> PDC20276: chipset revision 1
> ide: Skipping Promise RAID controller.
> hda: QUANTUM FIREBALLP AS20.5, ATA DISK drive
> hdc: CW079D ATAPI CD-R/RW, ATAPI CD/DVD-ROM drive
> hdd: Creative CD-ROM CD4832E, ATAPI CD/DVD-ROM drive
> ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
> ide1 at 0x170-0x177,0x376 on irq 15
> hda: 40132503 sectors (20548 MB) w/1902KiB Cache, CHS=2498/255/63
> Partition check:
> :
>
> root@chon:/home/plt# less /var/log/dmesg
>
> [2]+ Stopped less /var/log/dmesg
> root@chon:/home/plt# grep DMA /usr/src/linux/.config
> CONFIG_BLK_DEV_IDEDMA_PCI=y
> # CONFIG_BLK_DEV_IDEDMA_FORCED is not set
> CONFIG_IDEDMA_PCI_AUTO=y
> CONFIG_IDEDMA_ONLYDISK=y
> CONFIG_BLK_DEV_IDEDMA=y
> # CONFIG_IDEDMA_PCI_WIP is not set
> # CONFIG_BLK_DEV_IDEDMA_TIMEOUT is not set
> # CONFIG_IDEDMA_NEW_DRIVE_LISTINGS is not set
> CONFIG_BLK_DEV_ADMA=y
> # CONFIG_HPT34X_AUTODMA is not set
> CONFIG_IDEDMA_AUTO=y
> # CONFIG_IDEDMA_IVB is not set
> # CONFIG_DMA_NONPCI is not set
> CONFIG_SCSI_EATA_DMA=m
> CONFIG_SCSI_SYM53C8XX_DMA_ADDRESSING_MODE=1
> # CONFIG_IEEE1394_SBP2_PHYS_DMA is not set
> CONFIG_SOUND_DMAP=y

-- 
+------------------------------------------------------------+
| Ron Johnson, Jr.     mailto:ron.l.johnson@cox.net          |
| Jefferson, LA  USA   http://members.cox.net/ron.l.johnson  |
|                                                            |
| "Basically, I got on the plane with a bomb. Basically, I   |
|  tried to ignite it. Basically, yeah, I intended to damage |
|  the plane."                                               |
|    RICHARD REID, who tried to blow up American Airlines    |
|                  Flight 63                                 |
+------------------------------------------------------------+
___________________
Nolug mailing list
nolug@nolug.org
Received on 01/20/03

This archive was generated by hypermail 2.2.0 : 12/19/08 EST