Re: UDMA not supported on my board

Andre M. Hedrick (hedrick@Astro.Dyer.Vanderbilt.Edu)
Fri, 12 Mar 1999 23:53:08 -0600 (CST)


On Fri, 12 Mar 1999, Mark Harburn wrote:

> The patche's (as there was two one with extra features) failed on a lot of

Explain what and where the failures occured.

I assume that you are applying these to a pristine kernel tree.
Excuse the clock drift problem.........

Mar 13 11:41:47 Deneb kernel:
Linux version 2.2.3 (root@Deneb) (gcc version 2.8.1) #1
Sat Mar 13 11:40:00 CST 1999
Detected 267284162 Hz processor.

Mar 13 11:41:47 Deneb kernel:
Uniform Multi-Platform E-IDE driver Revision: 6.19
ALI15X3: IDE controller on PCI bus 00 dev 78
ALI15X3: not 100% native mode: will probe irqs later
ALI15X3: enabled read of IDE channels state (en/dis-abled) Succeeded.
ide0: BM-DMA at 0xd400-0xd407, BIOS settings: hda:DMA, hdb:DMA
ide1: BM-DMA at 0xd408-0xd40f, BIOS settings: hdc:pio, hdd:pio
hda: Maxtor 90680D4, ATA DISK drive
hdb: Maxtor 90680D4, ATA DISK drive
hdc: IDE/ATAPI CD-ROM 36X, ATAPI CDROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: Maxtor 90680D4, 6485MB w/256kB Cache, CHS=13176/16/63, UDMA
hdb: Maxtor 90680D4, 6485MB w/256kB Cache, CHS=826/255/63, UDMA
hdc: ATAPI 16X CD-ROM drive, 128kB Cache, UDMA
Uniform CDROM driver Revision: 2.52

root@Deneb% cat pci
PCI devices found:
Bus 0, device 0, function 0:
Host bridge: Acer Labs M1541 Aladdin V (rev 4).
Slow devsel. Master Capable. Latency=64.
Non-prefetchable 32 bit memory at 0xe0000000 [0xe0000000].
Bus 0, device 1, function 0:
PCI bridge: Acer Labs M5243 AGP (rev 4).
Slow devsel. Master Capable. Latency=64.
Bus 0, device 2, function 0:
USB Controller: Acer Labs M5237 USB (rev 3).
Medium devsel. Fast back-to-back capable. IRQ 9. Master Capable.
No bursts. Max Lat=80.
Non-prefetchable 32 bit memory at 0xdf800000 [0xdf800000].
Bus 0, device 3, function 0:
Bridge: Acer Labs M7101 PMU (rev 0).
Medium devsel. Fast back-to-back capable.
Bus 0, device 7, function 0:
ISA bridge: Acer Labs M1533 Aladdin IV (rev 195).
Medium devsel. Master Capable. No bursts.
Bus 0, device 9, function 0:
VGA compatible controller: S3 Inc. Trio64V2/DX or /GX (rev 6).
Medium devsel. IRQ 12.
Non-prefetchable 32 bit memory at 0xd8000000 [0xd8000000].
Bus 0, device 10, function 0:
Ethernet controller: Realtek 8029 (rev 0).
Medium devsel. IRQ 10.
I/O at 0xd800 [0xd801].
Bus 0, device 15, function 0:
IDE interface: Acer Labs M5229 TXpro (rev 193).
Medium devsel. Fast back-to-back capable. Master Capable. Latency=32.
Min Gnt=2.Max Lat=4.
I/O at 0xd400 [0xd401].

hdparm -i /dev/hda

/dev/hda:

Model=Maxtor 90680D4, FwRev=PAS23B15, SerialNo=V40WB98A
Config={ Fixed }
RawCHS=13176/16/63, TrkSize=0, SectSize=0, ECCbytes=29
BuffType=3(DualPortCache), BuffSize=256kB, MaxMultSect=16, MultSect=off
DblWordIO=no, maxPIO=2(fast), DMA=yes, maxDMA=2(fast)
CurCHS=13176/16/63, CurSects=13281408, LBA=yes, LBAsects=13281408
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
Drive Supports : ATA/ATAPI-4 T13 1153D revision 17 : ATA-1 ATA-2 ATA-3 ATA-4

hdparm -tT /dev/hda

/dev/hda:
Timing buffer-cache reads: 128 MB in 3.92 seconds =32.65 MB/sec
Timing buffered disk reads: 64 MB in 5.20 seconds =12.31 MB/sec

Here is your proof that I got it right.

> sections, but the majority of the code went in. Anyway the kernel is 2.2.3
> and with the patches reports exactly the same error below. hdparm reports
> them as being dma capable, but can't turn the dma flag on. Sugesting it's
> the hd controller's that linux doesn't support.
>
> Any other sugestions?
>
> -----Original Message-----
> From: Roy C Bixler <rcb@press-gopher.uchicago.edu>
> To: Mark Harburn <marcus@xcalibre.uk.com>
> Date: 13 March 1999 04:30
> Subject: Re: UDMA not supported on my board
>
>
> >On Fri, 12 Mar 1999, Mark Harburn wrote:
> >> Hi, heres the jargon:-
> >>
> >> PCI_IDE: unknown IDE controller on PCI bus 00 device 58, VID=10b9,
> >> DID=5229
> >> PCI_IDE: not 100% native mode: will probe irqs later
> >> PCI_IDE: simplex device: DMA disabled
> >> ide0: PCI_IDE Bus-Master DMA disabled (BIOS)
> >> PCI_IDE: simplex device: DMA disabled
> >> ide1: PCI_IDE Bus-Master DMA disabled (BIOS)
> >> hda: ST33210A, ATA DISK drive
> >> hdb: WDC AC35100L, ATA DISK drive
> >> hdd: FX240S, ATAPI CDROM drive
> >>
> >> Board = micom TX pro plus i think (not sure :/)
> >> both drives are UDMA and windows recognises' them as such.
> >>
> >> bios = award 1997
> >>
> >> this is with all the chipset's compiled in (i reported this last year,
> but
> >> never got back around to checking it afraid :/)
> >>
> >> The bios say's it support upto UDMA2
> >>
> >> any ideas?
> >
> >Yes, try out Andre Hedrick's UDMA patches at
> >"http://astro.dyer.vanderbilt.edu/server/udma"
> >
> >--
> >Roy Bixler
> >The University of Chicago Press
> >rcb@press-gopher.uchicago.edu
> >
>
>
> -
> 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/
>

Andre Hedrick
The Linux IDE guy -- http://www.dyer.vanderbilt.edu/server/udma/

APC UPS Daemon Support Center.
http://www.brisse.dk/site/apcupsd/
Going FSF/GNU or GPL2 source soon.

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