IDE/hdparm problems

Monz (monz@danbbs.dk)
Wed, 03 Jun 1998 13:43:02 +0000


Hope this is not too much offtopic, but I have trouble setting up my EIDE. I586-133,
MB is SI55P AIO, 66Mhz bus, 32MB edo, RH5.0/2.0.32, IBM DHEA 6.5GB.

cat /proc/pci
PCI devices found:
Bus 0, device 17, function 0:
SCSI storage controller: NCR 53c810 (rev 2).
Medium devsel. IRQ 11. Master Capable. Latency=32.
I/O at 0x6100.
Non-prefetchable 32 bit memory at 0xf1001000.
Bus 0, device 15, function 0:
VGA compatible controller: ATI Mach64 GT (Rage II) (rev 65).
Medium devsel. Fast back-to-back capable. IRQ 255. Master Capable.
Latency=3
Non-prefetchable 32 bit memory at 0xf0000000.
I/O at 0xf000.
Non-prefetchable 32 bit memory at 0xf1000000.
Bus 0, device 1, function 1:
IDE interface: Silicon Integrated Systems 85C5513 (rev 5).
Fast devsel. IRQ 14. Master Capable. No bursts.
I/O at 0x1f0.
I/O at 0x3f4.
I/O at 0x170.
I/O at 0x374.
I/O at 0x4000.
Bus 0, device 1, function 0:
ISA bridge: Silicon Integrated Systems 85C503 (rev 1).
Medium devsel. Master Capable. No bursts.
Bus 0, device 0, function 0:
Host bridge: Silicon Integrated Systems 85C5511 (rev 0).
Slow devsel. Master Capable. No bursts.

hdparm -v /dev/hda

/dev/hda:
multcount = 0 (off)
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 = 790/255/63, sectors = 12692736, start = 0

hdparm -i /dev/hda

/dev/hda:

Model=IBM-DHEA-36480, FwRev=HE8OA40F, SerialNo=J93J9039
Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
RawCHS=12592/16/63, TrkSize=0, SectSize=0, ECCbytes=28
BuffType=3(DualPortCache), BuffSize=476kB, MaxMultSect=16, MultSect=16
DblWordIO=no, maxPIO=2(fast), DMA=yes, maxDMA=2(fast)
CurCHS=12592/16/63, CurSects=12692736, LBA=yes, LBAsects=12692736
tDMA={min:120,rec:120}, DMA modes: sword0 sword1 sword2 mword0 mword1 *mword2
IORDY=on/off, tPIO={min:240,w/IORDY:120}, PIO modes: mode3 mode4

# System not loaded while testing:
hdparm -tT /dev/hda

/dev/hda:
Timing buffer-cache reads: 32 MB in 1.25 seconds =25.60 MB/sec
Timing buffered disk reads: 16 MB in 5.70 seconds = 2.81 MB/sec

# Changing behaviour:
hdparm -A1 -c1 -d1 -X34 -m16 -u1 -S241 /dev/hda

/dev/hda:
setting 32-bit I/O support flag to 1
setting multcount to 16
setting unmaskirq to 1 (on)
setting using_dma to 1 (on)
HDIO_SET_DMA failed: Operation not permitted
setting xfermode to 34 (multiword DMA mode2)
setting drive read-lookahead to 1 (on)
setting standby to 241 (30 minutes)
multcount = 16 (on)
I/O support = 1 (32-bit)
unmaskirq = 1 (on)
using_dma = 0 (off)

# Omitting -d1 (dma) switch:
hdparm -A1 -c1 -X34 -m16 -u1 -S241 /dev/hda

/dev/hda:
setting 32-bit I/O support flag to 1
setting multcount to 16
setting unmaskirq to 1 (on)
setting xfermode to 34 (multiword DMA mode2)
setting drive read-lookahead to 1 (on)
setting standby to 241 (30 minutes)
multcount = 16 (on)
I/O support = 1 (32-bit)
unmaskirq = 1 (on)

hdparm -v /dev/hda

/dev/hda:
multcount = 16 (on)
I/O support = 1 (32-bit)
unmaskirq = 1 (on)
using_dma = 0 (off)
keepsettings = 0 (off)
nowerr = 0 (off)
readonly = 0 (off)
readahead = 8 (on)
geometry = 790/255/63, sectors = 12692736, start = 0

# Throughput slightly better, but not good enough:
hdparm -tT /dev/hda

/dev/hda:
Timing buffer-cache reads: 32 MB in 1.24 seconds =25.81 MB/sec
Timing buffered disk reads: 16 MB in 3.81 seconds = 4.20 MB/sec

What's hindering DMA enable? Chipset, bios or?
Should I care try swapping scsi IRQ11 (no disk here) and IDE IRQ14?

BTW, anyone heard of UDMA or scsi3UW for VLB? Got two Nx586vlb's needing such.
Perhaps some Buslogic scsi-vlb with two raid disks will do. Comments?

Thanks in advance

-- 
Best regards,
Mogens Valentin.  Networking & Programming
Web Site: http://www.danbbs.dk/~monz/
mailto:monz@danbbs.dk or mailto:monz@usa.net
Danish Linux UserGroup: http://www.sslug.dk/
Support Open Source: Use Linux & Netscape
"Lord, give me today my Linux login"  ++Monz

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu