View previous topic :: View next topic |
Author |
Message |
Ti momo Apprentice
Joined: 29 Jun 2004 Posts: 198 Location: Paris
|
Posted: Sat Aug 14, 2004 2:09 pm Post subject: [HDPARM] DMA autodesactivé [résolue] |
|
|
Donc voila depuis quelque temps le DMA de mon disque principal HDA qui est un seagate se désactive tout seul lorsque je transfere un fichier de ce disque à un autre
Quote: |
# dmesg|grep hda
Kernel command line: root=/dev/hda4 vga=791
ide0: MMIO-DMA , BIOS settings: hda:pio, hdb:pio
hda: ST320414A, ATA DISK drive
hda: max request size: 64KiB
hda: 39102336 sectors (20020 MB) w/2048KiB Cache, CHS=38792/16/63, UDMA(100)
Adding 506036k swap on /dev/hda3. Priority:-1 extents:1
EXT3 FS on hda4, internal journal
|
Il faut savoir que tout mes disque dur sont connecter à un controleur IDE Silicon Image Sil0680 activer en "dur" dans mon kernel qui est 2.6.7-gentoo-r13.
Quote: |
# dmesg|grep SiI680
SiI680: IDE controller at PCI slot 0000:00:07.0
SiI680: chipset revision 2
SiI680: BASE CLOCK == 133
SiI680: 100% native mode on irq 5
|
J'ai activer le service hdparm donc voila mon /etc/conf.d/hdparm
Quote: |
disc0_args="-d1 -A1 -m1 -c1 -u1 -k1"
disc1_args="-d1 -A1 -m1 -c1 -u1 -k1"
disc2_args="-d1 -A1 -m1 -c1 -u1 -k1"
disc3_args="-d1 -A1 -m1 -c1 -u1 -k1"
cdrom0_args="-d1 -E40 -k1"
cdrom1_args="-d1 -E52 -k1"
|
Quote: |
hdparm /dev/hda
/dev/hda:
multcount = 1 (on)
IO_support = 1 (32-bit)
unmaskirq = 1 (on)
using_dma = 1 (on)
keepsettings = 1 (on)
readonly = 0 (off)
readahead = 256 (on)
geometry = 38792/16/63, sectors = 39102336, start = 0
|
Quote: |
hdparm -dit /dev/hda
/dev/hda:
using_dma = 1 (on)
Model=ST320414A, FwRev=3.05, SerialNo=3EC0PZH4
Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs RotSpdTol>.5% }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=0
BuffType=unknown, BuffSize=2048kB, MaxMultSect=16, MultSect=1
CurCHS=65535/1/63, CurSects=4128705, LBA=yes, LBAsects=39102336
IORDY=on/off, tPIO={min:240,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio1 pio2 pio3 pio4
DMA modes: mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5
AdvancedPM=no WriteCache=enabled
Drive conforms to: device does not report version: 1 2 3 4
* signifies the current active mode
Timing buffered disk reads: 118 MB in 3.04 seconds = 38.77 MB/sec
|
_________________ Avant de poster utilise la fonctions recherche qui est ton ami : https://forums.gentoo.org/search.php
Mon blog : http://blog.yacoubi.fr
Last edited by Ti momo on Sat Aug 14, 2004 8:54 pm; edited 2 times in total |
|
Back to top |
|
|
Ti momo Apprentice
Joined: 29 Jun 2004 Posts: 198 Location: Paris
|
Posted: Sat Aug 14, 2004 2:23 pm Post subject: |
|
|
Je viens de remarquer sa dans mes logs
Quote: |
Aug 14 16:19:39 momo hdb: dma_intr: status=0x51 { DriveReady SeekComplete Error }
Aug 14 16:19:39 momo hdb: dma_intr: error=0x84 { DriveStatusError BadCRC }
Aug 14 16:19:39 momo hdb: dma_intr: status=0x51 { DriveReady SeekComplete Error }
Aug 14 16:19:39 momo hdb: dma_intr: error=0x84 { DriveStatusError BadCRC }
Aug 14 16:19:39 momo hdb: dma_intr: status=0x51 { DriveReady SeekComplete Error }
Aug 14 16:19:39 momo hdb: dma_intr: error=0x84 { DriveStatusError BadCRC }
Aug 14 16:19:39 momo hdb: dma_intr: status=0x51 { DriveReady SeekComplete Error }
Aug 14 16:19:39 momo hdb: dma_intr: error=0x84 { DriveStatusError BadCRC }
Aug 14 16:19:39 momo hda: DMA disabled
|
_________________ Avant de poster utilise la fonctions recherche qui est ton ami : https://forums.gentoo.org/search.php
Mon blog : http://blog.yacoubi.fr |
|
Back to top |
|
|
Ti momo Apprentice
Joined: 29 Jun 2004 Posts: 198 Location: Paris
|
|
Back to top |
|
|
zdra Veteran
Joined: 30 Nov 2003 Posts: 1693 Location: Bruxelles, Belgique
|
Posted: Sat Aug 14, 2004 6:20 pm Post subject: |
|
|
Ti momo wrote: | Je viens de remarquer sa dans mes logs
Quote: |
Aug 14 16:19:39 momo hdb: dma_intr: status=0x51 { DriveReady SeekComplete Error }
Aug 14 16:19:39 momo hdb: dma_intr: error=0x84 { DriveStatusError BadCRC }
Aug 14 16:19:39 momo hdb: dma_intr: status=0x51 { DriveReady SeekComplete Error }
Aug 14 16:19:39 momo hdb: dma_intr: error=0x84 { DriveStatusError BadCRC }
Aug 14 16:19:39 momo hdb: dma_intr: status=0x51 { DriveReady SeekComplete Error }
Aug 14 16:19:39 momo hdb: dma_intr: error=0x84 { DriveStatusError BadCRC }
Aug 14 16:19:39 momo hdb: dma_intr: status=0x51 { DriveReady SeekComplete Error }
Aug 14 16:19:39 momo hdb: dma_intr: error=0x84 { DriveStatusError BadCRC }
Aug 14 16:19:39 momo hda: DMA disabled
|
|
J'ai la meme chose ché moi, c'est tres étrange, il me met ça au 1er démarage mais si je reboot directement il me met plus l'erreur et le dma reste activé tout le temps... je pensais que c'était un probleme hardware ce qui est possible car le disque qui faire l'erreur est vieux... |
|
Back to top |
|
|
Ti momo Apprentice
Joined: 29 Jun 2004 Posts: 198 Location: Paris
|
Posted: Sat Aug 14, 2004 7:27 pm Post subject: |
|
|
Moi c'est la première fois qu'il m'affiche sa et j'ai fait une analyse avec window$ et du coup ca le fait plus apparament, le disque hdb à 2 ans, sinon j'ai résolut mon probléme de DMA j'ai déplacé mon disque HDA pour le connecter direct sur la carte mère je doit par contre refaire tout les chemins la galére.
edit: J'ai de moins bonne performances que sur le controleur mais en meme temps pas trop le choix _________________ Avant de poster utilise la fonctions recherche qui est ton ami : https://forums.gentoo.org/search.php
Mon blog : http://blog.yacoubi.fr |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|