Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[hdparm] udma impossible encore un! [RESOLU]
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
chrissou
Guru
Guru


Joined: 22 Mar 2004
Posts: 473

PostPosted: Thu Apr 22, 2004 9:10 am    Post subject: [hdparm] udma impossible encore un! [RESOLU] Reply with quote

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
View user's profile Send private message
cylgalad
Veteran
Veteran


Joined: 18 Apr 2003
Posts: 1327
Location: France

PostPosted: Thu Apr 22, 2004 10:04 am    Post subject: Reply with quote

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
View user's profile Send private message
chrissou
Guru
Guru


Joined: 22 Mar 2004
Posts: 473

PostPosted: Thu Apr 22, 2004 10:17 am    Post subject: Reply with quote

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
View user's profile Send private message
cylgalad
Veteran
Veteran


Joined: 18 Apr 2003
Posts: 1327
Location: France

PostPosted: Thu Apr 22, 2004 10:36 am    Post subject: Reply with quote

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
View user's profile Send private message
chrissou
Guru
Guru


Joined: 22 Mar 2004
Posts: 473

PostPosted: Thu Apr 22, 2004 12:13 pm    Post subject: Reply with quote

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
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