View previous topic :: View next topic |
Author |
Message |
azertoto n00b
Joined: 01 Feb 2004 Posts: 24 Location: earth
|
Posted: Sat Feb 07, 2004 12:29 pm Post subject: [DMA] Quelles options de compilation pour le noyau ? |
|
|
Coucou,
j'ai un petit problème, je n'arrive pas à activer le mode DMA des mes disques.
je pense que je n'ai pas activé les bonnes options de compilation de mon noyau, car le live-cd, lui, active le mode DMA.
j'ai installé "en dur" dans mon noyau 2.4.24 basé sur les vanilla-sources :
* Generic PCI IDE Chipset Support
* Sharing PCI IDE Chipset Support
* Generic PCI bus-master DMA support
* Intel PIIXn chipsets support
Quand j'entre cette commande
Code: | hdparm -d1 /dev/hdc |
j'obtiens ce message
Code: | ...
HDIO_SET_DMA failed: Operation not permitted
...
|
Que faire ?? |
|
Back to top |
|
|
Wallalai Tux's lil' helper
Joined: 09 Aug 2002 Posts: 108 Location: Switzerland
|
Posted: Sat Feb 07, 2004 12:57 pm Post subject: |
|
|
Salut,
Voilà un extrait de mon fichier de conf du noyau avec support des disques sata et du DMA.
J'ai un chipset nforce2 sur ma carte mère d'ou certaines options dont tu n'auras pas besoin.
Code: | #
# IDE, ATA and ATAPI Block devices
#
CONFIG_BLK_DEV_IDE=y
# CONFIG_BLK_DEV_HD_IDE is not set
# CONFIG_BLK_DEV_HD is not set
CONFIG_BLK_DEV_IDEDISK=y
CONFIG_IDEDISK_MULTI_MODE=y
# CONFIG_IDEDISK_STROKE is not set
# CONFIG_BLK_DEV_IDECS is not set
# CONFIG_BLK_DEV_IDECD is not set
# CONFIG_BLK_DEV_IDETAPE is not set
# CONFIG_BLK_DEV_IDEFLOPPY is not set
CONFIG_BLK_DEV_IDESCSI=m
# CONFIG_IDE_TASK_IOCTL is not set
CONFIG_BLK_DEV_CMD640=y
# CONFIG_BLK_DEV_CMD640_ENHANCED is not set
# CONFIG_BLK_DEV_ISAPNP is not set
CONFIG_BLK_DEV_IDEPCI=y
CONFIG_BLK_DEV_GENERIC=y
CONFIG_IDEPCI_SHARE_IRQ=y
CONFIG_BLK_DEV_IDEDMA_PCI=y
# CONFIG_BLK_DEV_OFFBOARD is not set
# CONFIG_BLK_DEV_IDEDMA_FORCED is not set
CONFIG_IDEDMA_PCI_AUTO=y
# CONFIG_IDEDMA_ONLYDISK is not set
CONFIG_BLK_DEV_IDEDMA=y
# CONFIG_IDEDMA_PCI_WIP is not set
# CONFIG_BLK_DEV_ADMA100 is not set
# CONFIG_BLK_DEV_AEC62XX is not set
# CONFIG_BLK_DEV_ALI15X3 is not set
# CONFIG_WDC_ALI15X3 is not set
CONFIG_BLK_DEV_AMD74XX=y
# CONFIG_AMD74XX_OVERRIDE is not set
# CONFIG_BLK_DEV_CMD64X is not set
# CONFIG_BLK_DEV_TRIFLEX is not set
# CONFIG_BLK_DEV_CY82C693 is not set
# CONFIG_BLK_DEV_CS5530 is not set
# CONFIG_BLK_DEV_HPT34X is not set
# CONFIG_HPT34X_AUTODMA is not set
# CONFIG_BLK_DEV_HPT366 is not set
# CONFIG_BLK_DEV_PIIX is not set
# CONFIG_BLK_DEV_NS87415 is not set
# CONFIG_BLK_DEV_OPTI621 is not set
# CONFIG_BLK_DEV_PDC202XX_OLD is not set
# CONFIG_PDC202XX_BURST is not set
CONFIG_BLK_DEV_PDC202XX_NEW=y
# CONFIG_PDC202XX_FORCE is not set
CONFIG_BLK_DEV_RZ1000=y
# CONFIG_BLK_DEV_SC1200 is not set
# CONFIG_BLK_DEV_SVWKS is not set
CONFIG_BLK_DEV_SIIMAGE=y
# CONFIG_BLK_DEV_SIS5513 is not set
# CONFIG_BLK_DEV_SLC90E66 is not set
# CONFIG_BLK_DEV_TRM290 is not set
CONFIG_BLK_DEV_VIA82CXXX=y
# CONFIG_IDE_CHIPSETS is not set
CONFIG_IDEDMA_AUTO=y
# CONFIG_IDEDMA_IVB is not set
# CONFIG_DMA_NONPCI is not set
CONFIG_BLK_DEV_PDC202XX=y
CONFIG_BLK_DEV_IDE_MODES=y
# CONFIG_BLK_DEV_ATARAID is not set
# CONFIG_BLK_DEV_ATARAID_PDC is not set
# CONFIG_BLK_DEV_ATARAID_HPT is not set
# CONFIG_BLK_DEV_ATARAID_SII is not set |
|
|
Back to top |
|
|
azertoto n00b
Joined: 01 Feb 2004 Posts: 24 Location: earth
|
Posted: Sat Feb 07, 2004 3:37 pm Post subject: |
|
|
on a presque pareil.
c'est quoi au juste le CMD640 ? un contrôleur spécifique ? je ne l'ai pas installé, c'est peut-être ça le problème.
ou bien alors l'option qui me manque se trouve dans une autre section... _________________ Kernel : 2.4.24 vanilla
CPU : Pentium 200-MMX
Chipset : Intel 430TX
RAM : 128Mo PC100
NIC : RTL8139 |
|
Back to top |
|
|
sireyessire Advocate
Joined: 20 Mar 2003 Posts: 2991 Location: back in Paris, France
|
Posted: Sat Feb 07, 2004 4:23 pm Post subject: Re: [DMA] Quelles options de compilation pour le noyau ? |
|
|
azertoto wrote: | Coucou,
j
j'ai installé "en dur" dans mon noyau 2.4.24 basé sur les vanilla-sources :
* Generic PCI IDE Chipset Support
* Sharing PCI IDE Chipset Support
* Generic PCI bus-master DMA support
* Intel PIIXn chipsets support
|
c'est quoi ta carte mère ?
Fais un pour savoir le type de controleur IDE que tu as et tu le rajoute dans la liste _________________ I never think of the future. It comes soon enough.
Albert Einstein
Try simpler first
Shockley |
|
Back to top |
|
|
azertoto n00b
Joined: 01 Feb 2004 Posts: 24 Location: earth
|
Posted: Sat Feb 07, 2004 5:38 pm Post subject: Re: [DMA] Quelles options de compilation pour le noyau ? |
|
|
sireyessire wrote: |
c'est quoi ta carte mère ?
|
rien d'exotique :
une socket7. ça date, mais bon .
le chipset est Intel 430TX - 82439TX MTXC (http://www.intel.com/design/chipsets/mature/430tx/)
sireyessire wrote: |
Fais un pour savoir le type de controleur IDE que tu as et tu le rajoute dans la liste |
De ce côté là, rien de surprenant : j'ai un contrôleur IDE Intel PIIX4. _________________ Kernel : 2.4.24 vanilla
CPU : Pentium 200-MMX
Chipset : Intel 430TX
RAM : 128Mo PC100
NIC : RTL8139 |
|
Back to top |
|
|
sireyessire Advocate
Joined: 20 Mar 2003 Posts: 2991 Location: back in Paris, France
|
Posted: Sun Feb 08, 2004 12:47 pm Post subject: |
|
|
azertoto wrote: | on a presque pareil.
c'est quoi au juste le CMD640 ? un contrôleur spécifique ? je ne l'ai pas installé, c'est peut-être ça le problème.
|
ça doit te servir car c'est utilisé par de vieilles cartes mères donc pê la tienne essaie avec et croisons les doigts _________________ I never think of the future. It comes soon enough.
Albert Einstein
Try simpler first
Shockley |
|
Back to top |
|
|
azertoto n00b
Joined: 01 Feb 2004 Posts: 24 Location: earth
|
Posted: Mon Feb 09, 2004 1:19 pm Post subject: |
|
|
non, ça n'a rien changé...
par contre, quelqu'un aurait le script de configuration du kernel du live-cd ? j'aimerais le comparer avec le mien. _________________ Kernel : 2.4.24 vanilla
CPU : Pentium 200-MMX
Chipset : Intel 430TX
RAM : 128Mo PC100
NIC : RTL8139 |
|
Back to top |
|
|
azertoto n00b
Joined: 01 Feb 2004 Posts: 24 Location: earth
|
Posted: Tue Feb 10, 2004 3:29 pm Post subject: |
|
|
up _________________ Kernel : 2.4.24 vanilla
CPU : Pentium 200-MMX
Chipset : Intel 430TX
RAM : 128Mo PC100
NIC : RTL8139 |
|
Back to top |
|
|
yoyo Bodhisattva
Joined: 04 Mar 2003 Posts: 4273 Location: Lyon - France
|
Posted: Tue Feb 10, 2004 4:02 pm Post subject: |
|
|
Que donne un grep DMA /usr/src/linux/.config ??
Chez moi :
Quote: | CONFIG_BLK_DEV_IDEDMA_PCI=y
# CONFIG_BLK_DEV_IDEDMA_FORCED is not set
CONFIG_IDEDMA_PCI_AUTO=y
# CONFIG_IDEDMA_ONLYDISK is not set
CONFIG_BLK_DEV_IDEDMA=y
# CONFIG_IDEDMA_PCI_WIP is not set
# CONFIG_BLK_DEV_IDEDMA_TIMEOUT is not set
# CONFIG_IDEDMA_NEW_DRIVE_LISTINGS is not set
CONFIG_BLK_DEV_ADMA=y
# CONFIG_HPT34X_AUTODMA is not set
CONFIG_IDEDMA_AUTO=y
# CONFIG_IDEDMA_IVB is not set
# CONFIG_DMA_NONPCI is not set
# CONFIG_SCSI_EATA_DMA is not set
# CONFIG_XFS_DMAPI is not set
|
_________________ La connaissance s'accroît quand on la partage.
JCB |
|
Back to top |
|
|
azertoto n00b
Joined: 01 Feb 2004 Posts: 24 Location: earth
|
Posted: Tue Feb 10, 2004 4:32 pm Post subject: |
|
|
en faisant ta commande
Code: | grep DMA /usr/src/linux/.config |
j'ai ça en retour :
Quote: | CONFIG_BLK_DEV_IDEDMA_PCI=y
CONFIG_BLK_DEV_IDEDMA_FORCED=y
CONFIG_IDEDMA_PCI_AUTO=y
# CONFIG_IDEDMA_ONLYDISK is not set
CONFIG_BLK_DEV_IDEDMA=y
# CONFIG_IDEDMA_PCI_WIP is not set
# CONFIG_BLK_DEV_ADMA100 is not set
# CONFIG_HPT34X_AUTODMA is not set
CONFIG_IDEDMA_AUTO=y
# CONFIG_IDEDMA_IVB is not set
# CONFIG_DMA_NONPCI is not set
|
l'option y de la ligne en rouge, je viens tout juste de l'activer. Avant elle était en commentaire.
Je suis entrain de recompiler mon kernel avec cette option, je te tiens au courant. _________________ Kernel : 2.4.24 vanilla
CPU : Pentium 200-MMX
Chipset : Intel 430TX
RAM : 128Mo PC100
NIC : RTL8139 |
|
Back to top |
|
|
azertoto n00b
Joined: 01 Feb 2004 Posts: 24 Location: earth
|
Posted: Tue Feb 10, 2004 5:36 pm Post subject: |
|
|
résultat : toujours pas moyen d'activer ce foutu mode DMA. Comment le live-cd arrive à l'activer, et moi non
j'ai une question comme ça : peut-on activer le mode DMA "on-the-fly" ? c'est-à-dire après s'être logué, en faisant un hdparm -d1 /dev/hd? _________________ Kernel : 2.4.24 vanilla
CPU : Pentium 200-MMX
Chipset : Intel 430TX
RAM : 128Mo PC100
NIC : RTL8139 |
|
Back to top |
|
|
sireyessire Advocate
Joined: 20 Mar 2003 Posts: 2991 Location: back in Paris, France
|
Posted: Tue Feb 10, 2004 7:16 pm Post subject: |
|
|
oui tu peux _________________ I never think of the future. It comes soon enough.
Albert Einstein
Try simpler first
Shockley |
|
Back to top |
|
|
azertoto n00b
Joined: 01 Feb 2004 Posts: 24 Location: earth
|
Posted: Tue Feb 10, 2004 9:19 pm Post subject: |
|
|
ok, j'étais pas sûr.
et aussi :
azertoto wrote: | par contre, quelqu'un aurait le .config du kernel du live-cd ? j'aimerais le comparer avec le mien. |
cette demande tient toujours _________________ Kernel : 2.4.24 vanilla
CPU : Pentium 200-MMX
Chipset : Intel 430TX
RAM : 128Mo PC100
NIC : RTL8139 |
|
Back to top |
|
|
azertoto n00b
Joined: 01 Feb 2004 Posts: 24 Location: earth
|
Posted: Fri Feb 13, 2004 5:25 pm Post subject: |
|
|
up _________________ Kernel : 2.4.24 vanilla
CPU : Pentium 200-MMX
Chipset : Intel 430TX
RAM : 128Mo PC100
NIC : RTL8139 |
|
Back to top |
|
|
sebweb Apprentice
Joined: 29 Jan 2003 Posts: 220 Location: Bordeaux - France
|
Posted: Sat Feb 14, 2004 9:57 pm Post subject: |
|
|
Tout con mais :
Quote: |
HDIO_SET_DMA failed: Operation not permitted
|
T'u est en root pour lancer la commande ? |
|
Back to top |
|
|
scout Veteran
Joined: 08 Mar 2003 Posts: 1991 Location: France, Paris en Semaine / Metz le W-E
|
Posted: Sun Feb 15, 2004 11:16 am Post subject: |
|
|
carte mère intel, essaye de mettre CONFIG_BLK_DEV_PIIX=yes
(dans le noyau c'est l'option support for PIIX, ou qqch come ça) _________________ http://petition.eurolinux.org/ - Petition against ePatents
L'essence de la finesse |
|
Back to top |
|
|
sireyessire Advocate
Joined: 20 Mar 2003 Posts: 2991 Location: back in Paris, France
|
Posted: Sun Feb 15, 2004 11:32 am Post subject: |
|
|
scout wrote: | carte mère intel, essaye de mettre CONFIG_BLK_DEV_PIIX=yes
(dans le noyau c'est l'option support for PIIX, ou qqch come ça) |
scout tu cotes @lr bordel lis les messages :
azertoto wrote: | j'ai installé "en dur" dans mon noyau 2.4.24 basé sur les vanilla-sources :
* Generic PCI IDE Chipset Support
* Sharing PCI IDE Chipset Support
* Generic PCI bus-master DMA support
* Intel PIIXn chipsets support
|
_________________ I never think of the future. It comes soon enough.
Albert Einstein
Try simpler first
Shockley |
|
Back to top |
|
|
scout Veteran
Joined: 08 Mar 2003 Posts: 1991 Location: France, Paris en Semaine / Metz le W-E
|
Posted: Sun Feb 15, 2004 11:40 am Post subject: |
|
|
sireyessire wrote: | scout tu cotes @lr bordel lis les messages : |
Rah désolé, j'ai regardé les options du noyau du 2eme post comme un glandu ... en plus le grep DMA .config il sort pas l'option ... donc forcément là non plus je ne l'ai pas vu _________________ http://petition.eurolinux.org/ - Petition against ePatents
L'essence de la finesse |
|
Back to top |
|
|
sireyessire Advocate
Joined: 20 Mar 2003 Posts: 2991 Location: back in Paris, France
|
Posted: Sun Feb 15, 2004 11:47 am Post subject: |
|
|
c'est pas grave scout, on te pardonne parceque tu le vaux bien _________________ I never think of the future. It comes soon enough.
Albert Einstein
Try simpler first
Shockley |
|
Back to top |
|
|
azertoto n00b
Joined: 01 Feb 2004 Posts: 24 Location: earth
|
Posted: Sun Feb 15, 2004 7:37 pm Post subject: |
|
|
sebweb wrote: | Tout con mais :
Quote: |
HDIO_SET_DMA failed: Operation not permitted
|
T'u est en root pour lancer la commande ? |
ouais...
pour tout vous dire, je crois que je vais laisser tel quel...
un de ces jours je re-compilerai mon noyau avec une version 2.6, on verra bien ce que ça donnera.
merci en tout cas de votre aide _________________ Kernel : 2.4.24 vanilla
CPU : Pentium 200-MMX
Chipset : Intel 430TX
RAM : 128Mo PC100
NIC : RTL8139 |
|
Back to top |
|
|
|