Re: lug-bg: DMA-nai-posle
- Subject: Re: lug-bg: DMA-nai-posle
- From: whitefang@xxxxxx ( )
- Date: Sat, 24 Mar 2001 21:57:06 +0200
On Sat, 24 Mar 2001 13:56:12 +0200
George Danchev <danchev@xxxxxxxxx> wrote:
> Prav si ATA/33 e :))
> Da tezi CONFIG vsi4kite sa na "Yes", propuslnal sum oba4e
> CONFIG_PIIX_TUNING
> , sled kato go razreshih i nego , rabotata se opravi . Otna4alo ne se
> usmelih
> da my razresha i CONFIG_IDEDMA_PCI_AUTO ( Use PCI DMA by default
> when
> available) , podawah my IDEx=dma ot prompta , no posle pak se
> precompile
> kato razreshih i nego , i sega samo razpoznava 4e DMA is available i
> go
> set-va na on
>
Setva DMA za Controlera. No vse oshte triabva da vklu4ish DMA za
konkretnoto ustroistvo s hdparm.
Osven tova ako imash CD na vtoria IDE kanal i to ne poddyrja DMA
shte triabva da mu puskash kato opcia na kernel-a. ( za 2.4.x ne sam
siguren 4e e taka , no 2.2 osven tova ne poddryrja i dve ustroistva-
edno
sys i edno bez DMA na edin kanal ).
Eto ti parametri za hdparm s koito az polzvam na dma33 disk.
hdparm -c1d1X34u1A1W1k1 /dev/hda
c1 -32 bit transfer mode
d1 -dma-enable
X34 transfer mode multiword dma 2
u1 unmask irq
k1 keep settings ( tova ne go puskai dokato ne se ubedish 4e
vsi4ko raboti idealno i ne ti dava onezi greshki za ide-bus reset) ina4e
efekta
shte e syshtia kato kogato si vklu4il Enable DMA by default v kernel-a.
A1 LookAhead enabled
W1 Write Cache enabled.
i posledno ako iskash disk-a ti da spin-down-va vij opciata S.
Uspeh.
> drugo si e kato pogledne 4ovek :
> using_dma = 1 (on)
>
> I za oste nesto si prav , pone sto se otnasq do kernela , trea se
> 4ete
> vnimatelno ...........
>
> MNOGO BLAGODARQ na podskazva4ite :)))
>
> On Saturday 24 March 2001 09:35, you wrote:
> > Ne sam vijdal dano sas BX440 chipset , kojto da ima _SAMO_ ATA66
> > controller. t.e. hda...hdd sa na ATA33 IDE, a drugoto, akoe ATA66 e
> > naj chesto na HPT366(370) ili nesto drugo, koeto niama nisto obsto
> > sas samia BX440, osven, che e zakachen kam nego kato obiknovena PCI
> > platka. A diskovete zakacheni na takiva contoleri ne zapochvat s
> hda.
> >
> > A obarna, li vnimanie za opciata v kernela za support na PIIX4:
> > (CONFIG_BLK_DEV_PIIX)
> > i na tezi sashto: (CONFIG_BLK_DEV_IDEDMA_PCI),
> > (CONFIG_BLK_DEV_IDEPCI), (CONFIG_BLK_DEV_IDEDISK) i naj nakraja :
> >
> > **** izvadka ot help na make menuconfig :
> > CONFIG_IDEDISK_MULTI_MODE:
> >
> > If you get this error, try to say Y here:
> > hda: set_multmode: status=0x51 { DriveReady SeekComplete Error
> }
> > hda: set_multmode: error=0x04 { DriveStatusError }
> > If in doubt, say N.
> > **** kraj na izvadkata
> >
> > I az ne se zachitam mnogo , ama kato stava vapros za kernela - za
> > vsiaka opcia - po tri pati go preprochitam:))
> >
> > USPEHI!!!
> > ----------------------------
> > Ivan Petrov
> >
> > On Saturday 24 March 2001 09:29, you wrote:
> > > Sled kernel precompile ( kernela e 2.4.2 i gcc-2.91.66) s
> vklu4eno
> > > CONFIG_BLK_DEV_IDEDMA_PCI i CONFIG_IDEDMA_PCI_AUTO
> > > , i sled kato go boot-na se polu4i slednoto:
> > > hdparm /dev/hda pokazva 4e DMA ne se izpolzwa vupreki 4e sum go
> > > compile s Enable DMA by default (if available) . Togava :
> > > hdparm -d1 /dev/hda
> > > using_dma = 1 (on)
> > > oba4e sled nqkolko secundi systemata uvisva , s slednoto
> > > suobstenie :
> > >
> > > hda: timeout waiting for DMA
> > > ide_dmaproc: chipset supported ide_dma_timeout func
> > > only:14
> > >
> > > Pak kernel precompile , bez Enable DMA by Default ( if available
> ),
> > > kakto mi beshe preporu4ano , i pri boot my davam IDEx=DMA . Tuk
> > > 4asti4en uspeh :
> > > hdparm -d1 /dev/hda
> > > using_dma = 1 (on)
> > > i sled nqkolko sekundi , mi pravi sledniq output :
> > >
> > > hda:dma_intr:status=0x51 {DriveReady SeekCompile Error}
> > > hda:dma_intr:error=0x84 {DriveStatusReady Bad CRC }
> > > ide0:reset:success
> > >
> > > oba4e ne uvisva , prosto izkluva DMA supporta .
> > > Tolkova li ne mi haresva hardware-to :
> > > Acorp 6BX67 , BX440, ATA/66
> > > BIOS: Award Modular v4.51PG
> > > Quantum FIreball lct10
> > >
> > > Naistina pishe 4e ima problem s VIA VP2 chipset-a , no az mislq
> 4e
> > > sum dale4 ot tova . I pak ostanah bez DMA support
> > >
> > > P.S. Include IDE/ATA 2 Disk support susto e vklu4eno , probah i s
> > > inzklu4eno rezultata e sustiq ........Mai si ostanah bez DMA
> > > support
> > > .............?????????
> > > Blagodarq za to4nite otgovori
> > >
> > > On Friday 23 March 2001 23:27, you wrote:
> > > > On Fri, 23 Mar 2001 19:31:55 +0200
> > > >
> > > > George Danchev <danchev@xxxxxxxxx> wrote:
> > > > > Ne nqmam takiva ekstri v BIOSa , dunoto mi e staro Acorp s
> > > > > BX440 chipset i
> > > > > Award BIOS nekuf star , ama vurshi rabota . Zabravil sum da
> > > > > razresha DMA
> > > > > support v kernela ( tupo , ama trea se seti nqkoi ) .Sega se
> > > > > compile , da
> > > > > vidim ko sha stane ....
> > > >
> > > > Ne e losho da ne puskash Enable DMA by Default ( if available )
> > > > a vmesto tova na kernel-a da mu puskash pri boot IDEx=DMA
> > > >
> > > > > On Friday 23 March 2001 18:57, you wrote:
> > > > > > George Danchev wrote:
> > > > > > > Mersi ,
> > > > > > > (namerih go , s apt-get sum) ,
> > > > > > > NO
> > > > > > > Kakto predpolagah ne beshe vklu4eno DMA-to , i uporito
> > > > > > > neiska da
> > > > >
> > > > > go
> > > > >
> > > > > > > vklu4i
> > > > > > >
> > > > > > > hdparm -d1 -X34 /dev/hda , dava :
> > > > > > > /dev/hda:
> > > > > > > setting using_dma to 1 (on)
> > > > > > > HDIO_SET_DMA failed : operation not permitted
> > > > > > > setting xfermode to 34 (multiword DMA mode2)
> > > > > > > using_dma = 0 (off)
> > > > > > >
> > > > > > > hdparm /dev/hda , dava :
> > > > > > > /dev/hda:
> > > > > > > multcount = 0 (off)
> > > > > > > I/O support = 0 (default 16-bit)
> > > > > > > unmaskirq = 0 (off)
> > > > > > > using_dma = 0 (off)
> > > > > > > keepsettings = 0 (off)
> > > > > > > nowerr = 0 (off)
> > > > > > > readonly = 0 (off)
> > > > > > > readahead = 8 (on)
> > > > > > > geometry = 2482/255/63, sectors = 39876480, start =
> 0
> > > > > > >
> > > > > > > No permittion dori i za root ( controlera na diska
> > > > > > > poddurja DMA
> > > > >
> > > > > )
> > > > >
> > > > > > > .Pravata na /dev/hda fileto sa b r w - r w - - - -
> > > > > > > (0660)
> > > > >
> > > > > . Kude
> > > > >
> > > > > > > moje da e grijata ???? Problema mi e 4e bavno mi
> > > > > > > transferira
> > > > >
> > > > > hdd-to .....
> > > > >
> > > > > > Write-back Write-through opciite na cache-a? Ima li gi pri
> > > > > > teb v
> > > > >
> > > > > BIOS-a?
> > > > >
> > > > > > (mozhe i da govorq gluposti... )
> > > > > >
> > > > > > "Trust noone"
> > > > > >
> > > > > > =========================
> > > > > > Teodor Georgiev
> > > > > > System Administrator
> > > > > > Netplus OOD - Sofia
> > > > > > phone: ++359-2-9633298
> > > > > > e-mail: teodor@xxxxxxxxxx
> > > > > > ICQ: 33741477
> > > > > > =========================
> > > > > >
> > > > > >
> > > > > > =============================================================
> > > > > >========== ==== A mail-list of Linux Users Group - Bulgaria
> > > > > > (bulgarian linuxers) http://www.linux-bulgaria.org/ Hosted
> by
> > > > > > Internet Group Ltd. -
> > > > >
> > > > > Stara Zagora
> > > > > ===============================================================
> > > > >========== == A mail-list of Linux Users Group - Bulgaria
> > > > > (bulgarian linuxers) http://www.linux-bulgaria.org/ Hosted by
> > > > > Internet Group Ltd. - Stara Zagora
> > > >
> > > > -----------------------------
> > > > Free mail from www.dir.bg!
> > > > =================================================================
> > > >========== A mail-list of Linux Users Group - Bulgaria
> (bulgarian
> > > > linuxers) http://www.linux-bulgaria.org/ Hosted by Internet
> Group
> > > > Ltd. - Stara Zagora
> > >
> > > ===================================================================
> > >======== A mail-list of Linux Users Group - Bulgaria (bulgarian
> > > linuxers) http://www.linux-bulgaria.org/ Hosted by Internet Group
> > > Ltd. - Stara Zagora
> >
> > ===========================================================================
> > A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
> > http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. -
> Stara Zagora
> ===========================================================================
> A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
> http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara
> Zagora
-----------------------------
Free mail from www.dir.bg!
===========================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
|