Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[DMA] Hdparm mauvais resultat | activation dma (résolu)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
KaptainouK
Tux's lil' helper
Tux's lil' helper


Joined: 02 Mar 2005
Posts: 96
Location: Bahamas, Nassau

PostPosted: Sun Mar 06, 2005 11:04 am    Post subject: [DMA] Hdparm mauvais resultat | activation dma (résolu) Reply with quote

Hi,

Voila j'ai un gros problème :oops: que je narrive pas à résoudre ... je narrive pas à activer ma dma ... donc hdparm -tT donnera un résultat nul ... qui traduira ... un ralentissement pour toutes les grosses taches de mon systeme ( lancer firefox par exemple )

j implaure votre aide .... mais pour cela je vais vous indiquer qq informations

tout d'abord
Code:
root@myboat kaptainouk # hdparm -tT /dev/hdb

/dev/hdb:
 Timing cached reads:   2100 MB in  2.00 seconds = 1048.06 MB/sec
 Timing buffered disk reads:   24 MB in  3.19 seconds =   7.51 MB/sec
root@myboat kaptainouk #


comme vouls voyait le buffered ( je comprends pas vraiment ce terme ) est très faible ... il devrait pas l'etre

donc qu'est ce que j'ai fait .... en fonction de
Code:
root@myboat kaptainouk # lspci                     
0000:00:00.0 Host bridge: Silicon Integrated Systems [SiS] SiS 645xx (rev 03)
0000:00:01.0 PCI bridge: Silicon Integrated Systems [SiS] Virtual PCI-to-PCI bridge (AGP)
0000:00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS963 [MuTIOL Media IO] (rev 25)
0000:00:02.1 SMBus: Silicon Integrated Systems [SiS] SiS961/2 SMBus Controller
0000:00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE]
0000:00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS] Sound Controller (rev a0)
0000:00:03.0 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f)
0000:00:03.1 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f)
0000:00:03.2 USB Controller: Silicon Integrated Systems [SiS] USB 2.0 Controller
0000:00:04.0 Ethernet controller: Silicon Integrated Systems [SiS] SiS900 PCI Fast Ethernet (rev 91)
0000:00:0a.0 FireWire (IEEE 1394): Texas Instruments TSB43AB23 IEEE-1394a-2000 Controller (PHY/Link)
0000:01:00.0 VGA compatible controller: nVidia Corporation NV34 [GeForce FX 5200] (rev a1)
root@myboat kaptainouk #


mon IDE j'ai activé grace à make menuconfig le chipset pour SIS 5513 ... ( jai meme essayé apres compilation [c'est bien ca make && make modules_install denlever le Generic PCI IDE Chipset Support comme on le dit ici https://forums.gentoo.org/viewtopic-t-264994-highlight-hdparm.html


mais ca ne marche toujours pas
Code:

root@myboat kaptainouk # hdparm -d1 /dev/hdb

/dev/hdb:
 setting using_dma to 1 (on)
 HDIO_SET_DMA failed: Operation not permitted
 using_dma    =  0 (off)
root@myboat kaptainouk #



je ne sais plus quoi faire pour activer ma dma et stopper les ralentissements


toute aide sera la bienvenue ( et grande reconnaissance de ma part :lol: )

Merci d'avance
Kapt
_________________
Do you want to taste my hook ?


Last edited by KaptainouK on Sun Mar 06, 2005 6:55 pm; edited 1 time in total
Back to top
View user's profile Send private message
kernelsensei
Bodhisattva
Bodhisattva


Joined: 22 Feb 2004
Posts: 5619
Location: Woustviller/Moselle/FRANCE (49.07°N;7.02°E)

PostPosted: Sun Mar 06, 2005 11:36 am    Post subject: Reply with quote

verifie que parnis les supports des differents chips, seul le tiens est active dans le kernel !
_________________
$ ruby -e'puts " .:@BFegiklnorst".unpack("x4ax7aaX6ax5aX15ax4aax6aaX7ax2aX5aX8 \
axaX3ax8aX4ax6aX3aX6ax3ax3aX9ax4ax2aX9axaX6ax3aX2ax4ax3aX4aXaX12ax10aaX7a").join'
Back to top
View user's profile Send private message
KaptainouK
Tux's lil' helper
Tux's lil' helper


Joined: 02 Mar 2005
Posts: 96
Location: Bahamas, Nassau

PostPosted: Sun Mar 06, 2005 1:26 pm    Post subject: Reply with quote

il y en avait 2 jai corrigé mais le prob reste .... tjs 9mb

en passant lorsque je démarre mon ordi il ya un prob ac hdparm et la dma et es cds

bon ne sachant plus quoi faire je vous cite le kernel ...
Code:

       <*> ATA/ATAPI/MFM/RLL support                                                                 x x 
  x x                   <*>   Enhanced IDE/MFM/RLL disk/cdrom/tape/floppy support                                     x x 
  x x                   ---     Please see Documentation/ide.txt for help/info on IDE drives                          x x 
  x x                   [ ]     Support for SATA (deprecated; conflicts with libata SATA driver)                      x x 
  x x                   [ ]     Use old disk-only driver on primary interface                                         x x 
  x x                   <*>     Include IDE/ATA-2 DISK support                                                        x x 
  x x                   [*]       Use multi-mode by default                                                           x x 
  x x                   <*>     Include IDE/ATAPI CDROM support                                                       x x 
  x x                   < >     Include IDE/ATAPI TAPE support (EXPERIMENTAL)                                         x x 
  x x                   < >     Include IDE/ATAPI FLOPPY support                                                      x x 
  x x                   < >     SCSI emulation support                                                                x x 
  x x                   [ ]     IDE Taskfile Access                                                                   x x 
  x x                   ---     IDE chipset support/bugfixes                                                          x x 
  x x                   <*>     generic/default IDE chipset support                                                   x x 
  x x                   [*]     CMD640 chipset bugfix/support                                                         x x 
  x x                   [ ]       CMD640 enhanced support                                                             x x 
  x x                   [ ]     PNP EIDE support                                                                      x x 
  x x                   [*]     PCI IDE chipset support                                                               x x 
  x x                   [*]       Sharing PCI IDE interrupts support                                                  x x 
  x x                   [ ]       Boot off-board chipsets first support                                               x x 
  x x                   <M>       Generic PCI IDE Chipset Support                                                     x x 
  x x                   < >       OPTi 82C621 chipset enhanced support (EXPERIMENTAL)                                 x x 
  x x                   <*>       RZ1000 chipset bugfix/support                                                       x x 
  x x                   [*]       Generic PCI bus-master DMA support                                                  x x 
  x x                   [ ]         Force enable legacy 2.0.X HOSTS to use DMA                                        x x 
  x x                   [*]         Use PCI DMA by default when available                                             x x 
  x x                   [ ]           Enable DMA only for disks                                                       x x 
  x x                   < >         AEC62XX chipset support                                                           x x 
  x x                   < >         ALI M15x3 chipset support                                                         x x 
  x x                   < >         AMD and nVidia IDE support                                                        x x 
  x x                   < >         ATI IXP chipset IDE support                                                       x x 
  x x                   < >         CMD64{3|6|8|9} chipset support                                                    x x 
  x x                   < >         Compaq Triflex IDE support                                                        x x 
  x x                   < >         CY82C693 chipset support                                                          x x 
  x x                   < >         Cyrix CS5510/20 MediaGX chipset support (VERY EXPERIMENTAL)                       x x 
  x x                   < >         Cyrix/National Semiconductor CS5530 MediaGX chipset support                       x x 
  x x                   < >         HPT34X chipset support                                                            x x 
  x x                   < >         HPT36X/37X chipset support                                                        x x 
  x x                   < >         National SCx200 chipset support                                                   x x 
  x x                   < >         Intel PIIXn chipsets support                                                      x x 
  x x                   < >         NS87415 chipset support                                                           x x 
  x x                   < >         PROMISE PDC202{46|62|65|67} support                                               x x 
  x x                   < >         PROMISE PDC202{68|69|70|71|75|76|77} support                                      x x 
  x x                   < >         ServerWorks OSB4/CSB5/CSB6 chipsets support                                       x x 
  x x                   < >         Silicon Image chipset support                                                     x x 
  x x                   <*>         SiS5513 chipset support                                                           x x 
  x x                   < >         SLC90E66 chipset support                                                          x x 
  x x                   < >         Tekram TRM290 chipset support                                                     x x 
  x x                   < >         VIA82CXXX chipset support                                                         x x 
  x x                   [ ]     Other IDE chipset support                                                             x x 
  x x                   [ ]     IGNORE word93 Validation BITS             




svp aidez moi je suis desesperé ac ce prob

merci davance
_________________
Do you want to taste my hook ?
Back to top
View user's profile Send private message
cuicui
Apprentice
Apprentice


Joined: 17 Dec 2004
Posts: 208

PostPosted: Sun Mar 06, 2005 3:29 pm    Post subject: Reply with quote

Si tu fais un :

Code:
dmesg | grep -i dma


Tu obtiens quelques chose? A mon avis le problème vient de ton noyau, essaies de compiler le support pour d'autres contrôleurs...
Back to top
View user's profile Send private message
kernelsensei
Bodhisattva
Bodhisattva


Joined: 22 Feb 2004
Posts: 5619
Location: Woustviller/Moselle/FRANCE (49.07°N;7.02°E)

PostPosted: Sun Mar 06, 2005 3:59 pm    Post subject: Reply with quote

vire le RZ1000 chipset bugfix/suppor aussi pour voir !
_________________
$ ruby -e'puts " .:@BFegiklnorst".unpack("x4ax7aaX6ax5aX15ax4aax6aaX7ax2aX5aX8 \
axaX3ax8aX4ax6aX3aX6ax3ax3aX9ax4ax2aX9axaX6ax3aX2ax4ax3aX4aXaX12ax10aaX7a").join'
Back to top
View user's profile Send private message
KaptainouK
Tux's lil' helper
Tux's lil' helper


Joined: 02 Mar 2005
Posts: 96
Location: Bahamas, Nassau

PostPosted: Sun Mar 06, 2005 5:21 pm    Post subject: Reply with quote

donc le résultat ne change pas

Code:

root@myboat kaptainouk # hdparm -tT /dev/hdb

/dev/hdb:
 Timing cached reads:   2100 MB in  2.00 seconds = 1048.59 MB/sec
 Timing buffered disk reads:   30 MB in  3.13 seconds =   9.58 MB/sec
root@myboat kaptainouk #


pour le dmesg | grep -i dma
ca me donne
Code:

root@myboat kaptainouk # dmesg | grep -i dma
  DMA zone: 4096 pages, LIFO batch:1
  You don't have DMA enabled for your hard disk (see hdparm),
root@myboat kaptainouk #



et l'etat actuel niveau kernel c'est

Code:

  x lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk x 
  x x             <*> ATA/ATAPI/MFM/RLL support                                                          x x 
  x x             <*>   Enhanced IDE/MFM/RLL disk/cdrom/tape/floppy support                              x x 
  x x             ---     Please see Documentation/ide.txt for help/info on IDE drives                   x x 
  x x             [ ]     Support for SATA (deprecated; conflicts with libata SATA driver)               x x 
  x x             [ ]     Use old disk-only driver on primary interface                                  x x 
  x x             <*>     Include IDE/ATA-2 DISK support                                                 x x 
  x x             [*]       Use multi-mode by default                                                    x x 
  x x             <*>     Include IDE/ATAPI CDROM support                                                x x 
  x x             < >     Include IDE/ATAPI TAPE support (EXPERIMENTAL)                                  x x 
  x x             < >     Include IDE/ATAPI FLOPPY support                                               x x 
  x x             < >     SCSI emulation support                                                         x x 
  x x             [ ]     IDE Taskfile Access                                                            x x 
  x x             ---     IDE chipset support/bugfixes                                                   x x 
  x x             <*>     generic/default IDE chipset support                                            x x 
  x x             [*]     CMD640 chipset bugfix/support                                                  x x 
  x x             [ ]       CMD640 enhanced support                                                      x x 
  x x             [ ]     PNP EIDE support                                                               x x 
  x x             [*]     PCI IDE chipset support                                                        x x 
  x x             [*]       Sharing PCI IDE interrupts support                                           x x 
  x x             [ ]       Boot off-board chipsets first support                                        x x 
  x x             <*>       Generic PCI IDE Chipset Support                                              x x 
  x x             < >       OPTi 82C621 chipset enhanced support (EXPERIMENTAL)                          x x 
  x x             < >       RZ1000 chipset bugfix/support                                                x x 
  x x             [*]       Generic PCI bus-master DMA support                                           x x 
  x x             [ ]         Force enable legacy 2.0.X HOSTS to use DMA                                 x x 
  x x             [*]         Use PCI DMA by default when available                                      x x 
  x x             [ ]           Enable DMA only for disks                                                x x 
  x x             < >         AEC62XX chipset support                                                    x x 
  x x             < >         ALI M15x3 chipset support                                                  x x 
  x x             < >         AMD and nVidia IDE support                                                 x x 
  x x             < >         ATI IXP chipset IDE support                                                x x 
  x x             < >         CMD64{3|6|8|9} chipset support                                             x x 
  x x             < >         Compaq Triflex IDE support                                                 x x 
  x x             < >         CY82C693 chipset support                                                   x x 
  x x             < >         Cyrix CS5510/20 MediaGX chipset support (VERY EXPERIMENTAL)                x x 
  x x             < >         Cyrix/National Semiconductor CS5530 MediaGX chipset support                x x 
  x x             < >         HPT34X chipset support                                                     x x 
  x x             < >         HPT36X/37X chipset support                                                 x x 
  x x             < >         National SCx200 chipset support                                            x x 
  x x             < >         Intel PIIXn chipsets support                                               x x 
  x x             < >         NS87415 chipset support                                                    x x 
  x x             < >         PROMISE PDC202{46|62|65|67} support                                        x x 
  x x             < >         PROMISE PDC202{68|69|70|71|75|76|77} support                               x x 
  x x             < >         ServerWorks OSB4/CSB5/CSB6 chipsets support                                x x 
  x x             < >         Silicon Image chipset support                                              x x 
  x x             <*>         SiS5513 chipset support                                                    x x 
  x x             < >         SLC90E66 chipset support                                                   x x 
  x x             < >         Tekram TRM290 chipset support                                              x x 
  x x             < >         VIA82CXXX chipset support                                                  x x 
  x x             [ ]     Other IDE chipset support                                                      x x 
  x x             [ ]     IGNORE word93 Validation BITS             


pour compiler le noyau il faut bien faire make && make modules_install ???


je sais plus quoi faire ca devient desesperant :cry: jai envie de pleurer snif

(faut il que jactive ca ..... x x [ ] Force enable legacy 2.0.X HOSTS to use DMA x x
ou alors
que je désactive ca x x <*> Generic PCI IDE Chipset Support x x )


je sais plus quoi faire snif aidez moi svp


Merci d'avance
_________________
Do you want to taste my hook ?
Back to top
View user's profile Send private message
sireyessire
Advocate
Advocate


Joined: 20 Mar 2003
Posts: 2991
Location: back in Paris, France

PostPosted: Sun Mar 06, 2005 6:02 pm    Post subject: Reply with quote

KaptainouK wrote:


pour compiler le noyau il faut bien faire make && make modules_install ???

oui il faut faire ça, mais ensuite faut pas oublier de monter le /boot de copier les nouveaux kernels, de lancer lilo si tu l'utilises, de démonter /boot et de rebooter :)

sinon essaie sans le support generic et juste avec le support de ton chipset
_________________
I never think of the future. It comes soon enough.
Albert Einstein

Try simpler first
Shockley
Back to top
View user's profile Send private message
KaptainouK
Tux's lil' helper
Tux's lil' helper


Joined: 02 Mar 2005
Posts: 96
Location: Bahamas, Nassau

PostPosted: Sun Mar 06, 2005 6:22 pm    Post subject: Reply with quote

ok donc je dois ma compiler ....


je comprends pas vraiment la tout ce que tu mas dit :D !!!
_________________
Do you want to taste my hook ?
Back to top
View user's profile Send private message
cuicui
Apprentice
Apprentice


Joined: 17 Dec 2004
Posts: 208

PostPosted: Sun Mar 06, 2005 6:39 pm    Post subject: Reply with quote

KaptainouK wrote:
ok donc je dois mal compiler ....


je comprends pas vraiment la tout ce que tu mas dit :D !!!


Heuu, regarde par ici et assure toi que tu boot sur le bon noyau:
http://www.gentoo.org/doc/fr/kernel-upgrade.xml?style=printable

Tu peux aussi faire un:

Code:
uname -a


Ça te donnera qqchose du style:

Quote:
Linux host 2.x.x-gentoo-rx #X ...


#X s'incrémente à chaque fois que tu recompile, c'est comme un numéro de version. Par exemple si tu as #1 et que tu recompile 3 fois, tu obtiendras #4, si tu as toujours #1 ça signifie que tu boot toujours sur l'ancien noyau.
Back to top
View user's profile Send private message
KaptainouK
Tux's lil' helper
Tux's lil' helper


Joined: 02 Mar 2005
Posts: 96
Location: Bahamas, Nassau

PostPosted: Sun Mar 06, 2005 6:55 pm    Post subject: Reply with quote

youppiiiiiiiiiiii

46mb je peux encore accélerez ca un peu :)

en tout cas merci bcp

je sais c'est bete ... de pas avoir copié mon kernel :D

bon ya juste mon chipset et plus le generic

merci a tous
_________________
Do you want to taste my hook ?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
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