How to find out specs for IDE controller?

John Gay johngay at eircom.net
Wed Aug 25 11:27:07 PDT 2004


Well, I've got my system mostly complete and running, but I've one minor 
problem bugging me.

My DVD drives are slow. So I am wondering how to know what the on-board IDE 
interface is capable of and if I should connect them to my new RAID 
controller instead for better performance?

Here is what I can find out:

lspci says:
...
00:07.1 IDE interface: Intel Corp. 82371AB/EB/MB PIIX4 IDE (rev 01)
...
00:0e.0 RAID bus controller: CMD Technology Inc PCI0680 (rev 02)
...

dmesg says:
...
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
PIIX4: IDE controller at PCI slot 0000:00:07.1
PIIX4: chipset revision 1
PIIX4: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc:DMA, hdd:DMA
hda: IBM-DTTA-351010, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hdc: _NEC DVD_RW ND-2510A, ATAPI CD/DVD-ROM drive
hdd: TOSHIBA DVD-ROM SD-M1202, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 128KiB
hda: 19807200 sectors (10141 MB) w/466KiB Cache, CHS=19650/16/63, UDMA(33)
 hda: hda1 hda2 hda3 hda4
hdc: ATAPI 40X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
hdd: ATAPI 32X DVD-ROM drive, 256kB Cache, DMA
...
Adding 514072k swap on /dev/hda2.  Priority:1 extents:1
PCI: Found IRQ 10 for device 0000:00:0c.0
PCI: Sharing IRQ 10 with 0000:00:0e.0
SiI680: IDE controller at PCI slot 0000:00:0e.0
PCI: Found IRQ 10 for device 0000:00:0e.0
PCI: Sharing IRQ 10 with 0000:00:0c.0
SiI680: chipset revision 2
SiI680: BASE CLOCK == 133
SiI680: 100% native mode on irq 10
    ide2: MMIO-DMA , BIOS settings: hde:pio, hdf:pio
    ide3: MMIO-DMA , BIOS settings: hdg:pio, hdh:pio
...
hdparm says:
hdparm -I /dev/hdc

/dev/hdc:

ATAPI CD-ROM, with removable media
        Model Number:       _NEC DVD_RW ND-2510A
        Serial Number:
        Firmware Revision:  2.15
Standards:
        Likely used CD-ROM ATAPI-1
Configuration:
        DRQ response: 3ms.
        Packet size: 12 bytes
Capabilities:
        LBA, IORDY(cannot be disabled)
        DMA: mdma0 mdma1 mdma2 udma0 udma1 *udma2
             Cycle time: min=120ns recommended=120ns
        PIO: pio0 pio1 pio2 pio3 pio4
             Cycle time: no flow control=120ns  IORDY flow control=120ns

hdparm -I /dev/hdd

/dev/hdd:

ATAPI CD-ROM, with removable media
        Model Number:       TOSHIBA DVD-ROM SD-M1202
        Serial Number:      Y800008025
        Firmware Revision:  1020
Standards:
        Used: ATAPI for CD-ROMs, SFF-8020i, r2.5
        Supported: CD-ROM ATAPI-2
Configuration:
        DRQ response: 50us.
        Packet size: 12 bytes
Capabilities:
        LBA, IORDY(can be disabled)
        Buffer size: 256.0kB
        DMA: sdma0 sdma1 sdma2 mdma0 mdma1 *mdma2
             Cycle time: min=120ns recommended=120ns
        PIO: pio0 pio1 pio2 pio3 pio4
             Cycle time: no flow control=120ns  IORDY flow control=120ns

so they both seem to be set to the max dma settings, but is this limited by 
the IDE controller? Can/should I pass idebus=xx as suggested by dmesg? Or 
should I just connect them to IDE1 & IDE2 on my RAID card? Will this give me 
better data flow rates?

The main problem is that playing DVD's is slightly jumpy, even if I only start 
plain X with one xterm and play with mplayer directly form the DVD file. 
Surely a 500Mhz PIII can do better than that?

This system is built from Chris's BeLFS iso and BLFS-5.1, but my hard drive is 
a little tight for my taste. I am hoping to get a 130G drive soon and will 
probably re-build onto that one.

Cheers,

	John Gay



More information about the lfs-chat mailing list