Re: i840 stuff

From: Tony Hoyle (tmh@magenta-logic.com)
Date: Fri May 19 2000 - 15:18:24 EST


Mark Hahn wrote:
>
> > > I do know that hdparm reported the two hard drives in the machine I was
> > > testing to be using udma mode 4 (udma66 IIRC)
> > >
> > Are you sure... hdparm on my board states that the drives are capable of
> > udma mode 4, but
> > that they are not running it. If I use hdparm -X (yes I know very
> > dangerous) I get the
> > error 'udma mode 3/4 not suppported'
>
> modern kernels (I looked at pre9-2, I think) definitely have code to
> support the controller. if you know you've got it configured into
> your kernel, then perhaps you should check the PCI ide of it (82801).
> also, Linux does generally trust/rely on the bios to set up initial
> disk modes...

Now I'm really confused.... The chipset is recognised but hdparm has
switched
to Udma2 and won't switch out of it!

In /proc/ide/piix:

                               Intel PIIX4 Ultra 66 Chipset.
--------------- Primary Channel ---------------- Secondary Channel
-------------
                 enabled enabled
--------------- drive0 --------- drive1 -------- drive0 ----------
drive1
------
DMA enabled: yes no yes yes
UDMA enabled: yes no no no
UDMA enabled: 4 X X X
UDMA
DMA
PIO

Output from hdparm -i /dev/hda:

 Model=Maxtor 53073U6, FwRev=DA6207V0, SerialNo=K607RFNC
 Config={ Fixed }
 RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=57
 BuffType=3(DualPortCache), BuffSize=2048kB, MaxMultSect=16,
MultSect=off
 DblWordIO=no, maxPIO=2(fast), DMA=yes, maxDMA=0(slow)
 CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=60030432
 WARNING 43516368 ORPHANED SECTORS :: KERNEL REPORTING ERROR
 tDMA={min:120,rec:120}, DMA modes: mword0 mword1 mword2
 IORDY=on/off, tPIO={min:120,w/IORDY:120}, PIO modes: mode3 mode4
 UDMA modes: mode0 mode1 *mode2 mode3 mode4
 Drive Supports : ATA/ATAPI-4 T13 1153D revision 17 : ATA-1 ATA-2 ATA-3
ATA-4
ATA-5

Output from hdparm -X68 /dev/hda:

/dev/hda:
 setting xfermode to 68 (UltraDMA mode4)

...which logs...
May 19 20:57:03 spock kernel: hda: Speed warnings UDMA 3/4 is not
functional.

Tony (3rd attempt hope netscape doesn't crash this time...)

-
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/



This archive was generated by hypermail 2b29 : Tue May 23 2000 - 21:00:18 EST