lkml.org 
[lkml]   [2000]   [Aug]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectvia82cxxx.c and ata66

Hi,

I have been trying to get my two new ide drives to work at ata66
without much luck. I am currently trying with Vojtech Pavlik's
via82cxxx.c v1.7 with kernel 2.4.0-t7-p3. What am I doing wrong?

Here is the setup:

Abit KA7 motherboard with latest stable bios version TY
The bios bootup screen lists the drives as ATA66
I am using two 80 ribbon cables
lilo append="idebus=33 ide0=ata66 ide1=ata66"

mars:~# hdparm -i /dev/hdb

/dev/hdb:

Model=IBM-DJNA-352030, FwRev=J58OA30K, SerialNo=GQ0GQ0D8601
Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=34
BuffType=3(DualPortCache), BuffSize=1966kB, MaxMultSect=16, MultSect=off
DblWordIO=no, OldPIO=2, DMA=yes, OldDMA=2
CurCHS=16383/16/63, CurSects=-66060037, LBA=yes, LBAsects=39876480
tDMA={min:120,rec:120}, DMA modes: mword0 mword1 mword2
IORDY=on/off, tPIO={min:240,w/IORDY:120}, PIO modes: mode3 mode4
UDMA modes: mode0 mode1 *mode2 mode3 mode4

mars:~# hdparm -i /dev/hdd

/dev/hdd:

Model=IBM-DJNA-352030, FwRev=J58OA30K, SerialNo=GQ0GQF92398
Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=34
BuffType=3(DualPortCache), BuffSize=1966kB, MaxMultSect=16, MultSect=off
DblWordIO=no, OldPIO=2, DMA=yes, OldDMA=2
CurCHS=16383/16/63, CurSects=-66060037, LBA=yes, LBAsects=39876480
tDMA={min:120,rec:120}, DMA modes: mword0 mword1 mword2
IORDY=on/off, tPIO={min:240,w/IORDY:120}, PIO modes: mode3 mode4
UDMA modes: mode0 mode1 *mode2 mode3 mode4

mars:~# cat /proc/ide/via
----------VIA BusMastering IDE Configuration----------------
South Bridge: VIA vt82c686a rev 0x21
Command register: 0x7
Latency timer: 32
Master Read Cycle IRDY: 0ws
Master Write Cycle IRDY: 0ws
FIFO Output Data 1/2 Clock Advance: off
BM IDE Status Register Read Retry: on
Max DRDY Pulse Width: No limit
-----------------------Primary IDE-------Secondary IDE------
Read DMA FIFO flush: on on
End Sect. FIFO flush: on on
Prefetch Buffer: on on
Post Write Buffer: on on
FIFO size: 8 8
Threshold Prim.: 1/2 1/2
Bytes Per Sector: 512 512
Both channels togth: yes yes
-------------------drive0----drive1----drive2----drive3-----
BMDMA enabled: yes yes yes yes
Transfer Mode: UDMA UDMA DMA/PIO UDMA
Cycle (T): 15ns 15ns 30ns 15ns
Address Setup: --- --- 4T ---
Active Pulse: --- --- 4T ---
Recovery Time: --- --- 2T ---
Cycle Time: 4T 4T 10T 4T
Transfer Rate: 33.0MB/s 33.0MB/s 6.6MB/s 33.0MB/s

dmesg output:

Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33MHz system bus speed for PIO modes
VP_IDE: IDE controller on PCI bus 00 dev 39
VP_IDE: chipset revision 16
VP_IDE: not 100% native mode: will probe irqs later
VP_IDE: VIA vt82c686a IDE UDMA66 controller on pci0:7.1
VP_IDE: ATA-66/100 forced bit set (WARNING)!!
ide0: BM-DMA at 0xd000-0xd007, BIOS settings: hda:DMA, hdb:DMA
VP_IDE: ATA-66/100 forced bit set (WARNING)!!
ide1: BM-DMA at 0xd008-0xd00f, BIOS settings: hdc:pio, hdd:DMA
hda: QUANTUM FIREBALL EL5.1A, ATA DISK drive
hdb: IBM-DJNA-352030, ATA DISK drive
hdc: CD-ROM TW 120D, ATAPI CDROM drive
hdd: IBM-DJNA-352030, ATA DISK drive
hdc: set_drive_speed_status: status=0x51 { DriveReady SeekComplete Error }
hdc: set_drive_speed_status: error=0x04
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: 10018890 sectors (5130 MB) w/418KiB Cache, CHS=623/255/63, UDMA(33)
hdb: 39876480 sectors (20417 MB) w/1966KiB Cache, CHS=2482/255/63,
UDMA(33)
hdd: 39876480 sectors (20417 MB) w/1966KiB Cache, CHS=39560/16/63,
UDMA(33)
hdc: ATAPI 12X CD-ROM drive, 240kB Cache, DMA
Uniform CD-ROM driver Revision: 3.11
Partition check:
hda: hda1 hda2 < hda5 hda6 hda7 hda8 hda9 hda10 >
hdb: hdb1
hdd: hdd1
Floppy drive(s): fd0 is 1.44M

When I try to turn on ATA66 with hdparm:
mars:~# hdparm -t /dev/hdb

/dev/hdb:
Timing buffered disk reads: 64 MB in 4.32 seconds =14.81 MB/sec
mars:~# hdparm -X68 -d1 /dev/hdb

/dev/hdb:
setting using_dma to 1 (on)
setting xfermode to 68 (UltraDMA mode4)
using_dma = 1 (on)
mars:~# hdparm -t /dev/hdb

/dev/hdb:
Timing buffered disk reads: 64 MB in 4.32 seconds =14.81 MB/sec

mars:~# hdparm -i /dev/hdb

/dev/hdb:

Model=IBM-DJNA-352030, FwRev=J58OA30K, SerialNo=GQ0GQ0D8601
Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=34
BuffType=3(DualPortCache), BuffSize=1966kB, MaxMultSect=16, MultSect=off
DblWordIO=no, OldPIO=2, DMA=yes, OldDMA=2
CurCHS=16383/16/63, CurSects=-66060037, LBA=yes, LBAsects=39876480
tDMA={min:120,rec:120}, DMA modes: mword0 mword1 mword2
IORDY=on/off, tPIO={min:240,w/IORDY:120}, PIO modes: mode3 mode4
UDMA modes: mode0 mode1 mode2 mode3 *mode4

mars:~# cat /proc/ide/via
----------VIA BusMastering IDE Configuration----------------
South Bridge: VIA vt82c686a rev 0x21
Command register: 0x7
Latency timer: 32
Master Read Cycle IRDY: 0ws
Master Write Cycle IRDY: 0ws
FIFO Output Data 1/2 Clock Advance: off
BM IDE Status Register Read Retry: on
Max DRDY Pulse Width: No limit
-----------------------Primary IDE-------Secondary IDE------
Read DMA FIFO flush: on on
End Sect. FIFO flush: on on
Prefetch Buffer: on on
Post Write Buffer: on on
FIFO size: 8 8
Threshold Prim.: 1/2 1/2
Bytes Per Sector: 512 512
Both channels togth: yes yes
-------------------drive0----drive1----drive2----drive3-----
BMDMA enabled: yes yes yes yes
Transfer Mode: UDMA UDMA DMA/PIO UDMA
Cycle (T): 15ns 15ns 30ns 15ns
Address Setup: --- --- 4T ---
Active Pulse: --- --- 4T ---
Recovery Time: --- --- 2T ---
Cycle Time: 4T 2T 10T 4T
Transfer Rate: 33.0MB/s 66.0MB/s 6.6MB/s 33.0MB/s

As you can see all signs are the the drive should be working
at ata66 but the transfer speed is not show any improvement
from ata33.

I have tried with many combinations of kernels and patches
all with similar results. The only thing I can think of to
note is the with 2.2.17pre4 + andre's ide patches the dmesg
output shows these drives as UDMA(66) but hdparm out is the
same as above.

I am a little frustrated, can someone help me out?

TIA,

Shane

P.S. pointers to documentation are welcome


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:58    [W:0.072 / U:0.232 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site