hdd setup correct ?

Tekno Soft Snc (MC3641@mclink.it)
Fri, 2 Aug 96 21:11:40 CEST


I want know if my HDD setup is correct.

I've Triton chipset and HDD is IBM 1.7Gb, this is my configuration:

Boot report:

ide_setup: idebus=33
ide_setup: ide1=noprobe
ide_setup: hdb=cdrom
Console: 16 point font, 400 scans
Console: colour VGA+ 80x25, 1 virtual console (max 63)
pcibios_init : BIOS32 Service Directory structure at 0x000fabe0
pcibios_init : BIOS32 Service Directory entry at 0xfb0a0
pcibios_init : PCI BIOS revision 2.10 entry at 0xfb0d0
Probing PCI hardware.
Calibrating delay loop.. ok - 39.63 BogoMIPS
Memory: 15112k/16384k available (468k kernel code, 384k reserved,
420k data)
Swansea University Computer Society NET3.035 for Linux 2.0
NET3: Unix domain sockets 0.12 for Linux NET3.035.
Swansea University Computer Society TCP/IP for NET3.034
IP Protocols: ICMP, UDP, TCP
Checking 386/387 coupling... Ok, fpu using exception 16 error
reporting.
Checking 'hlt' instruction... Ok.
Linux version 2.0.10 (root@Tekno) (gcc version 2.7.2) #2-Linux/i386
Fri Aug 2 20:51:36
GMT-0100 1996
lp1 at 0x0378, (polling)
ide: i82371 PIIX (Triton) on PCI bus 0 function 57
ide0: BM-DMA at 0x3000-0x3007
ide0 timing: (0xa307) sample_CLKs=3, recovery_CLKs=1
master: fastDMA=on PreFetch=on IORDY=on fastPIO=on
slave : fastDMA=off PreFetch=off IORDY=off fastPIO=off
hda: IBM-DJAA-31700, 1628MB w/96kB Cache, LBA, CHS=827/64/63
hdb: CDA46802I, ATAPI CDROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
lance32.c: PCI bios is present, checking for devices...
PCI Master Bit has not been set. Setting...
Found PCnet/PCI at 0x6000, irq 11.
eth0: PCnet/PCI-II 79C970A at 0x6000, 00 c0 58 08 17 35 assigned
IRQ 11, no DMA
needed.
lance32.c:v0.20 28.4.96 tsbogend@bigbug.franken.de
Partition check:
hda:Started kswapd v 1.4.2.2
hda1 hda2
VFS: Mounted root (ext2 filesystem) readonly.
Adding Swap: 18108k swap-space
Swansea University Computer Society IPX 0.34 for NET3.035
IPX Portions Copyright (c) 1995 Caldera, Inc.

hdparm -I /dev/hda reports:

/dev/hda:

Model=BI-MJDAA3-7100 , FwRev=0PRI7AB4,
SerialNo=
Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
RawCHS=3308/16/63, TrkSize=0, SectSize=0, ECCbytes=16
BuffType=3(DualPortCache), BuffSize=96kB, MaxMultSect=16, MultSect=8
DblWordIO=no, maxPIO=2(fast), DMA=yes, maxDMA=2(fast)
CurCHS=3308/16/63, CurSects=3334464, LBA=yes, LBAsects=3334464
tDMA={min:120,rec:120}, DMA modes: sword0 sword1 sword2 mword0
mword1 *mword2
IORDY=on/off, tPIO={min:200,w/IORDY:120}, PIO modes: mode3 mode4

My setup with hdparm 3.1 is:

hdparm -m 8 -a 8 -X 34 -c 1 -A 1 -d 1 -u 1 /dev/hda

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

If I turn off using_dma, hdparm -t reports 4.55 Mb/s, when turn
on reports 2.40 Mb/s, why ?

Thanks.

--
Roberto Fichera - email MC3641@mclink.it