OVH Cloud OVH Cloud

dma erreur

3 réponses
Avatar
bernard
Salut tout le monde
Voila mon probleme :
J'ai une debian 2.4.21 lorsque je configure le dma avec hdparm (hdparm -c 1 /dev/hda)
j'ai le message suivant : HDIO_SET_DMA failed: Operation not permitted ,
donc pas d'activation du dma sur mon dd (udma5), j'ai egalement essayer
l'option -X69, pareil.
Apres recherche sur google qui me parle de chipset j'ai installer le
pilote nforce sans aucun
effet ,,j'ai egalement recompiler le noyau en utilisant les options
adequate concernant le dma.
ma config : cm asus a7n8x(chipset nforce) + dd seagate udma5

Si quequ'un peut m'eclairer ou
connai la solution ?
merci a tous

3 réponses

Avatar
J. Mayer
On Tue, 12 Aug 2003 11:45:59 +0000, bernard wrote:

Salut tout le monde
Voila mon probleme :
J'ai une debian 2.4.21 lorsque je configure le dma avec hdparm (hdparm -c 1 /dev/hda)
j'ai le message suivant : HDIO_SET_DMA failed: Operation not permitted ,
donc pas d'activation du dma sur mon dd (udma5), j'ai egalement essayer
l'option -X69, pareil.
Apres recherche sur google qui me parle de chipset j'ai installer le
pilote nforce sans aucun
effet ,,j'ai egalement recompiler le noyau en utilisant les options
adequate concernant le dma.
ma config : cm asus a7n8x(chipset nforce) + dd seagate udma5

Si quequ'un peut m'eclairer ou
connai la solution ?
merci a tous
Postes un extrait de ton .config,

la partie qui contient ce genre de choses:
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 is not set
# 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 is not set
# CONFIG_BLK_DEV_RZ1000 is not set
# CONFIG_BLK_DEV_SC1200 is not set
# CONFIG_BLK_DEV_SVWKS is not set
# CONFIG_BLK_DEV_SIIMAGE is not set
# 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_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

+ cat /proc/pci

Cordialement

Avatar
bernard
J. Mayer wrote:
On Tue, 12 Aug 2003 11:45:59 +0000, bernard wrote:


Salut tout le monde
Voila mon probleme :
J'ai une debian 2.4.21 lorsque je configure le dma avec hdparm (hdparm -c 1 /dev/hda)
j'ai le message suivant : HDIO_SET_DMA failed: Operation not permitted ,
donc pas d'activation du dma sur mon dd (udma5), j'ai egalement essayer
l'option -X69, pareil.
Apres recherche sur google qui me parle de chipset j'ai installer le
pilote nforce sans aucun
effet ,,j'ai egalement recompiler le noyau en utilisant les options
adequate concernant le dma.
ma config : cm asus a7n8x(chipset nforce) + dd seagate udma5

Si quequ'un peut m'eclairer ou
connai la solution ?
merci a tous


Postes un extrait de ton .config,
la partie qui contient ce genre de choses:
CONFIG_BLK_DEV_IDEPCI=y
CONFIG_BLK_DEV_GENERIC=y
CONFIG_IDEPCI_SHARE_IRQ=y
CONFIG_BLK_DEV_IDEDMA_PCI=y
.

.
.
.
.


+ cat /proc/pci

Cordialement


Merci d'avoir repondu et de tenter de m'aider je te poste donc ma
config-kernel puis un cat /proc/pci



# ATA/IDE/MFM/RLL support
#
CONFIG_IDE=y

#
# IDE, ATA and ATAPI Block devices
#
CONFIG_BLK_DEV_IDE=y

#
# Please see Documentation/ide.txt for help/info on IDE drives
#
# 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_IDECD=y
# CONFIG_BLK_DEV_IDETAPE is not set
# CONFIG_BLK_DEV_IDEFLOPPY is not set
CONFIG_BLK_DEV_IDESCSI=y
# CONFIG_IDE_TASK_IOCTL is not set

#
# IDE chipset support/bugfixes
#
CONFIG_BLK_DEV_CMD640=y
# CONFIG_BLK_DEV_CMD640_ENHANCED 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_BLK_DEV_ADMA100 is not set
# CONFIG_BLK_DEV_AEC62XX is not set
# CONFIG_BLK_DEV_ALI15X3 is not set
# CONFIG_BLK_DEV_AMD74XX 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_BLK_DEV_HPT366 is not set
# CONFIG_BLK_DEV_PIIX is not set
# CONFIG_BLK_DEV_NS87415 is not set
# CONFIG_BLK_DEV_PDC202XX_OLD is not set
# CONFIG_BLK_DEV_PDC202XX_NEW 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 is not set
# 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 is not set
CONFIG_IDEDMA_AUTO=y
# CONFIG_IDEDMA_IVB is not set
# CONFIG_DMA_NONPCI is not set
CONFIG_BLK_DEV_IDE_MODES=y



Puis cat /proc/pci


Bus 0, device 0, function 0:
Host bridge: PCI device 10de:01e0 (nVidia Corporation) (rev 193).
Prefetchable 32 bit memory at 0xd0000000 [0xd7ffffff].
Bus 0, device 0, function 1:
RAM memory: PCI device 10de:01ea (nVidia Corporation) (rev 193).
Bus 0, device 0, function 2:
RAM memory: PCI device 10de:01ee (nVidia Corporation) (rev 193).
Bus 0, device 0, function 3:
RAM memory: PCI device 10de:01ed (nVidia Corporation) (rev 193).
Bus 0, device 0, function 4:
RAM memory: PCI device 10de:01ec (nVidia Corporation) (rev 193).
Bus 0, device 0, function 5:
RAM memory: PCI device 10de:01ef (nVidia Corporation) (rev 193).
Bus 0, device 1, function 0:
ISA bridge: PCI device 10de:0060 (nVidia Corporation) (rev 164).
Bus 0, device 1, function 1:
SMBus: PCI device 10de:0064 (nVidia Corporation) (rev 162).
IRQ 11.
Master Capable. No bursts. Min Gnt=3.Max Lat=1.
I/O at 0xe000 [0xe01f].
Bus 0, device 2, function 0:
USB Controller: PCI device 10de:0067 (nVidia Corporation) (rev 164).
IRQ 5.
Master Capable. No bursts. Min Gnt=3.Max Lat=1.
Non-prefetchable 32 bit memory at 0xe4000000 [0xe4000fff].
Bus 0, device 2, function 1:
USB Controller: PCI device 10de:0067 (nVidia Corporation) (rev 164).
IRQ 10.
Master Capable. No bursts. Min Gnt=3.Max Lat=1.
Non-prefetchable 32 bit memory at 0xe4001000 [0xe4001fff].
Bus 0, device 2, function 2:
USB Controller: PCI device 10de:0068 (nVidia Corporation) (rev 164).
IRQ 11.
Master Capable. No bursts. Min Gnt=3.Max Lat=1.
Non-prefetchable 32 bit memory at 0xe4002000 [0xe40020ff].
Bus 0, device 8, function 0:
PCI bridge: PCI device 10de:006c (nVidia Corporation) (rev 163).
Master Capable. No bursts. Min Gnt=2.Max Lat=2.
Bus 0, device 9, function 0:
IDE interface: PCI device 10de:0065 (nVidia Corporation) (rev 162).
Master Capable. No bursts. Min Gnt=3.Max Lat=1.
I/O at 0xf000 [0xf00f].
Bus 0, device 30, function 0:
PCI bridge: PCI device 10de:01e8 (nVidia Corporation) (rev 193).
Master Capable. Latency2. Min Gnt.
Bus 1, device 7, function 0:
Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL-8139/8139C/8139C+ (rev 16).


merci d'avance (je vois pas le probleme a moins que je passe à cô te)


Avatar
J. Mayer
On Tue, 12 Aug 2003 16:09:20 +0000, bernard wrote:

J. Mayer wrote:
On Tue, 12 Aug 2003 11:45:59 +0000, bernard wrote:


Salut tout le monde
Voila mon probleme :
J'ai une debian 2.4.21 lorsque je configure le dma avec hdparm (hdparm -c 1 /dev/hda)
j'ai le message suivant : HDIO_SET_DMA failed: Operation not permitted ,
donc pas d'activation du dma sur mon dd (udma5), j'ai egalement essayer
l'option -X69, pareil.
Apres recherche sur google qui me parle de chipset j'ai installer le
pilote nforce sans aucun
effet ,,j'ai egalement recompiler le noyau en utilisant les options
adequate concernant le dma.
ma config : cm asus a7n8x(chipset nforce) + dd seagate udma5

Si quequ'un peut m'eclairer ou
connai la solution ?
merci a tous


Merci d'avoir repondu et de tenter de m'aider je te poste donc ma

config-kernel puis un cat /proc/pci


Donc, en conclusion, il faut:
- désactiver le support pour les chipsets CMD640 et RZ1000,
désactiver l'option Use multi-mode by default
et surtout: activer le support du chipset nforce:
AMD and nVidia IDE support
Et tout ira bien...