incorrect UDMA timing

incorrect UDMA timing

Post by fr.. » Thu, 02 Nov 2000 00:46:05



I am using kernel 2.2.16-3 (RH6.2)
with ide.2.2.16.all.20000825.patch.
Also, I'm using a Promise Ultra 100 controller.
Two IBM HD's are connected to the Ultra 100 (on
different ide ports). The drive on hde is an ATA-66
and the drive on hdg is an ATA-100. Both have correct
80 pin cables.
At boot, the Promise Ultra 100 bios configures the
drives correctly, i.e. channel 0 master (hde) into UDMA 4
and channel 1 master (hdg) into UDMA 5.
However, at linux boot, the ATA-66 drive comes up as
UDMA(33) whereas the ATA-100 drive comes up correctly as
UDMA(100). The hdparm -v command confirms these settings,
however, /proc/ide/pdc202xx shows both drives in UDMA4 (which
I don't believe, hdparm -t /dev/hde gives me same as I used
to get with my old PIIX4 UMDA 33 controller).
Any suggestions? I've attached boot messages etc below.


(obviously without the _nospam)

Tom

in /var/log/messages:

Oct 31 08:36:52 xxx kernel: Uniform Multi-Platform E-IDE driver
Revision: 6.30
Oct 31 08:36:52 xxx kernel: ide: Assuming 33MHz system bus speed for PIO
modes; override with idebus=xx
Oct 31 08:36:52 xxx kernel: PIIX4: IDE controller on PCI bus 00 dev 39
Oct 31 08:36:52 xxx kernel: PIIX4: chipset revision 1
Oct 31 08:36:52 xxx kernel: PIIX4: not 100% native mode: will probe irqs
later
Oct 31 08:36:52 xxx kernel:     ide0: BM-DMA at 0x10e0-0x10e7, BIOS
settings: hda:DMA, hdb:pio
Oct 31 08:36:52 xxx kernel:     ide1: BM-DMA at 0x10e8-0x10ef, BIOS
settings: hdc:DMA, hdd:pio
Oct 31 08:36:52 xxx kernel: PDC20267: IDE controller on PCI bus 00 dev
70
Oct 31 08:36:52 xxx kernel: PDC20267: chipset revision 2
Oct 31 08:36:52 xxx kernel: PDC20267: not 100% native mode: will probe
irqs later
Oct 31 08:36:52 xxx kernel: PDC20267: (U)DMA Burst Bit ENABLED Primary
PCI Mode Secondary PCI Mode.
Oct 31 08:36:52 xxx kernel:     ide2: BM-DMA at 0x1080-0x1087, BIOS
settings: hde:DMA, hdf:pio
Oct 31 08:36:52 xxx kernel:     ide3: BM-DMA at 0x1088-0x108f, BIOS
settings: hdg:DMA, hdh:pio
Oct 31 08:36:52 xxx kernel: hda: IBM-DHEA-38451, ATA DISK drive
Oct 31 08:36:52 xxx kernel: hdc: NEC CD-ROM DRIVE:28B, ATAPI CDROM drive
Oct 31 08:36:52 xxx kernel: hdd: HP COLORADO 8GB, ATAPI TAPE drive
Oct 31 08:36:52 xxx kernel: hde: IBM-DJNA-371800, ATA DISK drive
Oct 31 08:36:52 xxx kernel: hdg: IBM-DTLA-307045, ATA DISK drive
Oct 31 08:36:52 xxx kernel: ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Oct 31 08:36:52 xxx kernel: ide1 at 0x170-0x177,0x376 on irq 15
Oct 31 08:36:52 xxx kernel: ide2 at 0x1400-0x1407,0x10f6 on irq 9
Oct 31 08:36:52 xxx kernel: ide3 at 0x10f8-0x10ff,0x10f2 on irq 9
Oct 31 08:36:52 xxx kernel: hda: IBM-DHEA-38451, 8063MB w/472kB Cache,
CHS=1027/255/63, UDMA(33)
Oct 31 08:36:52 xxx kernel: hde: IBM-DJNA-371800, 17206MB w/1966kB
Cache, CHS=34960/16/63, UDMA(33)
Oct 31 08:36:52 xxx kernel: hdg: IBM-DTLA-307045, 43979MB w/1916kB
Cache, CHS=89355/16/63, UDMA(100)
Oct 31 08:36:52 xxx kernel: hdc: ATAPI 32X CD-ROM drive, 256kB Cache,
DMA

:cat /proc/ide/pdc202xx

                                PDC20267 Chipset.
------------------------------- General Status
---------------------------------
Burst Mode                           : enabled
Host Mode                            : Normal
Bus Clocking                         : 66 External
IO pad select                        : 10 mA
Status Polling Period                : 9
Interrupt Check Status Polling Delay : 0
--------------- Primary Channel ---------------- Secondary Channel
-------------
                enabled                          enabled
66 Clocking     enabled                          enabled
           Mode PCI                         Mode PCI
                FIFO Empty                       FIFO Empty
--------------- drive0 --------- drive1 -------- drive0 ----------
drive1 ------
DMA enabled:    yes              no              yes               no
DMA Mode:       UDMA 4           NOTSET          UDMA 4
NOTSET
PIO Mode:       PIO 4            NOTSET           PIO 4
NOTSET

/sbin/hdparm -i /dev/hde

/dev/hde:

 Model=IBM-DJNA-371800, FwRev=J78OA30K, SerialNo=GR0GRF37488
 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=35239680
 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

/sbin/hdparm -i /dev/hdg

/dev/hdg:

 Model=IBM-DTLA-307045, FwRev=TX6OA50C, SerialNo=YMDYMLX1661
 Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
 RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=40
 BuffType=3(DualPortCache), BuffSize=1916kB, MaxMultSect=16,
MultSect=off
 DblWordIO=no, OldPIO=2, DMA=yes, OldDMA=2
 CurCHS=16383/16/63, CurSects=-66060037, LBA=yes, LBAsects=90069840
 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 *mode5

/sbin/hdparm -t /dev/hde
/dev/hde:
 Timing buffered disk reads:  64 MB in  3.78 seconds = 16.93 MB/sec

/sbin/hdparm -t /dev/hdg
/dev/hdg:
 Timing buffered disk reads:  64 MB in  1.79 seconds = 35.75 MB/sec

Sent via Deja.com http://www.deja.com/
Before you buy.

 
 
 

incorrect UDMA timing

Post by fr.. » Thu, 02 Nov 2000 02:20:02


One other strange thing that just happened: I rebooted
and when it ran a full file check on hde6 it took about
15mins to check the 2GB partition and it made quite some
terrible HD crunching noise. All other partitions on the
same drive were checked as normal, in much much shorter
time (for larger partitions) and without any loud noise.
All filechecks passed though. Also, now when I access /dev/hde6
its as fast as normal and normal sound. Any suggestions?

I'd be pretty sure that if I put the drive back on
the PIIX4 controller, this won't happen (I had that
config. yesterday and it checked fine).




> I am using kernel 2.2.16-3 (RH6.2)
> with ide.2.2.16.all.20000825.patch.
> Also, I'm using a Promise Ultra 100 controller.
> Two IBM HD's are connected to the Ultra 100 (on
> different ide ports). The drive on hde is an ATA-66
> and the drive on hdg is an ATA-100. Both have correct
> 80 pin cables.
> At boot, the Promise Ultra 100 bios configures the
> drives correctly, i.e. channel 0 master (hde) into UDMA 4
> and channel 1 master (hdg) into UDMA 5.
> However, at linux boot, the ATA-66 drive comes up as
> UDMA(33) whereas the ATA-100 drive comes up correctly as
> UDMA(100). The hdparm -v command confirms these settings,
> however, /proc/ide/pdc202xx shows both drives in UDMA4 (which
> I don't believe, hdparm -t /dev/hde gives me same as I used
> to get with my old PIIX4 UMDA 33 controller).
> Any suggestions? I've attached boot messages etc below.


> (obviously without the _nospam)

> Tom

> in /var/log/messages:

> Oct 31 08:36:52 xxx kernel: Uniform Multi-Platform E-IDE driver
> Revision: 6.30
> Oct 31 08:36:52 xxx kernel: ide: Assuming 33MHz system bus speed for
PIO
> modes; override with idebus=xx
> Oct 31 08:36:52 xxx kernel: PIIX4: IDE controller on PCI bus 00 dev 39
> Oct 31 08:36:52 xxx kernel: PIIX4: chipset revision 1
> Oct 31 08:36:52 xxx kernel: PIIX4: not 100% native mode: will probe
irqs
> later
> Oct 31 08:36:52 xxx kernel:     ide0: BM-DMA at 0x10e0-0x10e7, BIOS
> settings: hda:DMA, hdb:pio
> Oct 31 08:36:52 xxx kernel:     ide1: BM-DMA at 0x10e8-0x10ef, BIOS
> settings: hdc:DMA, hdd:pio
> Oct 31 08:36:52 xxx kernel: PDC20267: IDE controller on PCI bus 00 dev
> 70
> Oct 31 08:36:52 xxx kernel: PDC20267: chipset revision 2
> Oct 31 08:36:52 xxx kernel: PDC20267: not 100% native mode: will probe
> irqs later
> Oct 31 08:36:52 xxx kernel: PDC20267: (U)DMA Burst Bit ENABLED Primary
> PCI Mode Secondary PCI Mode.
> Oct 31 08:36:52 xxx kernel:     ide2: BM-DMA at 0x1080-0x1087, BIOS
> settings: hde:DMA, hdf:pio
> Oct 31 08:36:52 xxx kernel:     ide3: BM-DMA at 0x1088-0x108f, BIOS
> settings: hdg:DMA, hdh:pio
> Oct 31 08:36:52 xxx kernel: hda: IBM-DHEA-38451, ATA DISK drive
> Oct 31 08:36:52 xxx kernel: hdc: NEC CD-ROM DRIVE:28B, ATAPI CDROM
drive
> Oct 31 08:36:52 xxx kernel: hdd: HP COLORADO 8GB, ATAPI TAPE drive
> Oct 31 08:36:52 xxx kernel: hde: IBM-DJNA-371800, ATA DISK drive
> Oct 31 08:36:52 xxx kernel: hdg: IBM-DTLA-307045, ATA DISK drive
> Oct 31 08:36:52 xxx kernel: ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
> Oct 31 08:36:52 xxx kernel: ide1 at 0x170-0x177,0x376 on irq 15
> Oct 31 08:36:52 xxx kernel: ide2 at 0x1400-0x1407,0x10f6 on irq 9
> Oct 31 08:36:52 xxx kernel: ide3 at 0x10f8-0x10ff,0x10f2 on irq 9
> Oct 31 08:36:52 xxx kernel: hda: IBM-DHEA-38451, 8063MB w/472kB Cache,
> CHS=1027/255/63, UDMA(33)
> Oct 31 08:36:52 xxx kernel: hde: IBM-DJNA-371800, 17206MB w/1966kB
> Cache, CHS=34960/16/63, UDMA(33)
> Oct 31 08:36:52 xxx kernel: hdg: IBM-DTLA-307045, 43979MB w/1916kB
> Cache, CHS=89355/16/63, UDMA(100)
> Oct 31 08:36:52 xxx kernel: hdc: ATAPI 32X CD-ROM drive, 256kB Cache,
> DMA

> :cat /proc/ide/pdc202xx

>                                 PDC20267 Chipset.
> ------------------------------- General Status
> ---------------------------------
> Burst Mode                           : enabled
> Host Mode                            : Normal
> Bus Clocking                         : 66 External
> IO pad select                        : 10 mA
> Status Polling Period                : 9
> Interrupt Check Status Polling Delay : 0
> --------------- Primary Channel ---------------- Secondary Channel
> -------------
>                 enabled                          enabled
> 66 Clocking     enabled                          enabled
>            Mode PCI                         Mode PCI
>                 FIFO Empty                       FIFO Empty
> --------------- drive0 --------- drive1 -------- drive0 ----------
> drive1 ------
> DMA enabled:    yes              no              yes               no
> DMA Mode:       UDMA 4           NOTSET          UDMA 4
> NOTSET
> PIO Mode:       PIO 4            NOTSET           PIO 4
> NOTSET

> /sbin/hdparm -i /dev/hde

> /dev/hde:

>  Model=IBM-DJNA-371800, FwRev=J78OA30K, SerialNo=GR0GRF37488
>  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=35239680
>  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

> /sbin/hdparm -i /dev/hdg

> /dev/hdg:

>  Model=IBM-DTLA-307045, FwRev=TX6OA50C, SerialNo=YMDYMLX1661
>  Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
>  RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=40
>  BuffType=3(DualPortCache), BuffSize=1916kB, MaxMultSect=16,
> MultSect=off
>  DblWordIO=no, OldPIO=2, DMA=yes, OldDMA=2
>  CurCHS=16383/16/63, CurSects=-66060037, LBA=yes, LBAsects=90069840
>  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 *mode5

> /sbin/hdparm -t /dev/hde
> /dev/hde:
>  Timing buffered disk reads:  64 MB in  3.78 seconds = 16.93 MB/sec

> /sbin/hdparm -t /dev/hdg
> /dev/hdg:
>  Timing buffered disk reads:  64 MB in  1.79 seconds = 35.75 MB/sec

> Sent via Deja.com http://www.deja.com/
> Before you buy.

Sent via Deja.com http://www.deja.com/
Before you buy.