Hi Dianne,

        Thank you very much for your attention.  I got a solution:  I used
via82cxxx.c version 3.26 (from kernel source MDK 8.1), recompiled the
kernel and voilà, it works, now 'hdparm -tT (and -i) /dev/hda' gives:

 Timing buffer-cache reads:   128 MB in  0.50 seconds =256.00 MB/sec
 Timing buffered disk reads:  64 MB in  1.60 seconds = 40.00 MB/sec

 Model=MAXTOR 6L040J2, FwRev=A93.0500, SerialNo=362203122597
 Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
 RawCHS=16383/16/63, TrkSize=32256, SectSize=21298, ECCbytes=4
 BuffType=DualPortCache, BuffSize=1819kB, MaxMultSect=16, MultSect=off
 CurCHS=16383/16/63, CurSects=-66060037, LBA=yes, LBAsects=78177792
 IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
 PIO modes: pio0 pio1 pio2 pio3 pio4
 DMA modes: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 *udma5 udma6
 AdvancedPM=no
 Drive Supports : ATA/ATAPI-5 T13 1321D revision 1 : ATA-1 ATA-2 ATA-3
ATA-4 ATA-5

Cheers,

On Sat, 23 Mar 2002, Dianne Marie Montesa wrote:

> hi alan
>
> whats the output of your lspci? or the /proc/pci? my
> dmesg shows me this for my ide drive:
>
> ide: Assuming 33MHz system bus speed for PIO modes;
> override with idebus=xx
> PIIX4: IDE controller on PCI bus 00 dev 39
> PIIX4: chipset revision 1
> PIIX4: not 100% native mode: will probe irqs later
>     ide0: BM-DMA at 0x1420-0x1427, BIOS settings:
> hda:DMA, hdb:pio
>     ide1: BM-DMA at 0x1428-0x142f, BIOS settings:
> hdc:DMA, hdd:pio
>
> im able to set/unset dma and pio.
>
> --- Alan Wilter Sousa da Silva <[EMAIL PROTECTED]>
> wrote:
> > Hi, thank you for your attention.
> >
> >     Yes I set.  Only Non pci DMA is unset (from config
> > file):
> > # CONFIG_DMA_NONPCI is not set
> >     Otherwise I used config file from MDK 8.1 with
> > minimal changes.
> >
> > On Fri, 22 Mar 2002, Dianne Marie Montesa wrote:
> >
> > > have you enabled "Generic PCI DMA support" on your
> > new
> > > kernel?
> > >
> > > --- Alan Wilter Sousa da Silva <[EMAIL PROTECTED]>
> > > wrote:
> > > > Hi,
> > > >         I tried 'hdparm -d 1 /dev/hda' and I got:
> > > > /dev/hda:
> > > >  setting using_dma to 1 (on)
> > > >  HDIO_SET_DMA failed: Operation not permitted
> > > >  using_dma    =  0 (off)
> > > >
> > > > Help if I said that I'm using an own compiled
> > > > kernel?
> > > > When using original MKD 8.1 kernel I have no
> > problem
> > > > (my HD flies high).
> > > >
> > > > I'm using kernel 2.4.9 + Mosix patch
> > > > (www.mosix.org).  My mobo is a Soyo
> > > > Dragon+.  I've done the same thing with a P4
> > mobo
> > > > Asus (but same chipset
> > > > of Dragon, VIA) and it worked pretty well.
> > > >
> > > > Many thanks in advance.
> > > >
> > > > -----------------------
> > > > Alan Wilter S. da Silva
> > > > -----------------------
> > > >  Laboratório de Física Biológica
> > > >   Instituto de Biofísica Carlos Chagas Filho
> > > >    Universidade do Brasil/UFRJ
> > > >     Rio de Janeiro, Brasil
> > > >
> > > >
> > > >
> > > > > Want to buy your Pack or Services from
> > > MandrakeSoft?
> > > >
> > > > Go to http://www.mandrakestore.com
> > > >
> > >
> > >
> > > __________________________________________________
> > > Do You Yahoo!?
> > > Yahoo! Movies - coverage of the 74th Academy
> > Awards®
> > > http://movies.yahoo.com/
> > >
> > >
> >
> > --
> > -----------------------
> > Alan Wilter S. da Silva
> > -----------------------
> >  Laboratório de Física Biológica
> >   Instituto de Biofísica Carlos Chagas Filho
> >    Universidade do Brasil/UFRJ
> >     Rio de Janeiro, Brasil
> >
> >
> > > Want to buy your Pack or Services from
> MandrakeSoft?
> >
> > Go to http://www.mandrakestore.com
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Movies - coverage of the 74th Academy Awards®
> http://movies.yahoo.com/
>
>

-- 
-----------------------
Alan Wilter S. da Silva
-----------------------
 Laboratório de Física Biológica
  Instituto de Biofísica Carlos Chagas Filho
   Universidade do Brasil/UFRJ
    Rio de Janeiro, Brasil


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to