View previous topic :: View next topic |
Author |
Message |
chrissou Guru
Joined: 22 Mar 2004 Posts: 473
|
Posted: Thu Apr 22, 2004 9:10 am Post subject: [hdparm] udma impossible encore un! [RESOLU] |
|
|
re bon beh voilà encore un qui n'arrive pas a activer l'udma sur son DD et son Cdrom !
j'ai pourtant lu pas mal de poste la dessus il me semble avoir compilé le noyau avec les bonnes options (bien que ma carte mère me reste inconnu ainsi que le chipset d'ailleurs) j'utilise un portable Compaq nx9000 équipé en P4M
voilà ce que me retourne hdparm :
Code: |
bash-2.05b# hdparm -d1 /dev/hda
/dev/hda:
setting using_dma to 1 (on)
HDIO_SET_DMA failed: Operation not permitted
using_dma = 0 (off)
bash-2.05b# hdparm -i /dev/hda
/dev/hda:
Model=IC25N040ATMR04-0, FwRev=MO2OAD5A, SerialNo=MRG257K2JRLKYH
Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4
BuffType=DualPortCache, BuffSize=1740kB, MaxMultSect=16, MultSect=16
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=78140160
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=yes: mode=0x80 (128) WriteCache=enabled
Drive conforms to: ATA/ATAPI-6 T13 1410D revision 3a:
* signifies the current active mode
|
Merci de votre aide @ tous !
@ + Chrissou
Last edited by chrissou on Thu Apr 22, 2004 12:13 pm; edited 1 time in total |
|
Back to top |
|
|
cylgalad Veteran
Joined: 18 Apr 2003 Posts: 1327 Location: France
|
Posted: Thu Apr 22, 2004 10:04 am Post subject: |
|
|
Code: | UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5
...
* signifies the current active mode |
Heu, il est où le problème ? hda est déjà en udma 100 (udma5)
Et avec un hdparm -d1 -Xudma5, ça fait aussi l'erreur ?
Pour avoir une idée du chipset, tu peux faire (en tant que root) :
Code: | /sbin/lspci|fgrep IDE |
|
|
Back to top |
|
|
chrissou Guru
Joined: 22 Mar 2004 Posts: 473
|
Posted: Thu Apr 22, 2004 10:17 am Post subject: |
|
|
oui c'est en effet très bizard mais non je ne ss pas en udma !!
Code: |
bash-2.05b# hdparm /dev/hda
/dev/hda:
multcount = 16 (on)
IO_support = 0 (default 16-bit)
unmaskirq = 0 (off)
using_dma = 0 (off)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 256 (on)
geometry = 16383/255/63, sectors = 78140160, start = 0
|
la commande avec le d1 et Xudma5 me donne un not permitted
enfin le lspci donne
Code: |
bash-2.05b# lspci |fgrep IDE
00:10.0 IDE interface: ALi Corporation M5229 IDE (rev c4)
|
et evidemment je n'ai pas vu ce controlleur ds la liste des controleurs du noyau
voilà .... |
|
Back to top |
|
|
cylgalad Veteran
Joined: 18 Apr 2003 Posts: 1327 Location: France
|
Posted: Thu Apr 22, 2004 10:36 am Post subject: |
|
|
Que donne : hdparm -tT /dev/hda ? D'après hdparm -i /dev/hda, l'udma est activé (sans doute par défaut au démarrage)
Pour le noyau :
Code: |
...
[*] PCI IDE chipset support
[*] Generic PCI IDE Chipset Support
[*] Sharing PCI IDE interrupts support
[*] Generic PCI bus-master DMA support
[*] Use PCI DMA by default when available
...
<*> ALI M15x3 chipset support
|
Le dernier, je ne suis pas sûr qu'il concerne ton chipset, mais sait-on jamais |
|
Back to top |
|
|
chrissou Guru
Joined: 22 Mar 2004 Posts: 473
|
Posted: Thu Apr 22, 2004 12:13 pm Post subject: |
|
|
trop bien ca y est ca fonctionne ! j'ai juste cocher le ALI 15 ki ne correspnd pourtant pas mais bon cela fonctionne c'est le principal merci bcp un fois de plus !!!
ca pulse maintenant !!!!
Merci encore @ bientot |
|
Back to top |
|
|
|