Re: DMA
Le Thu, 16 Dec 2004 14:20:05 +0100, Benoît Soëte a écrit :
> Bonjour,
>
>
> L'udma n'est pas activé sur ma machine au démarrage (Debian Sarge,
> 2.6.9, A7n8x, nforce2) :
>
> _________________________________________________________________________
> Dec 16 11:19:30 kernel: Uniform Multi-Platform E-IDE driver Revision:
> 7.00alpha2
> Dec 16 11:19:30 kernel: ide: Assuming 33MHz system bus speed for PIO
> modes; override with idebus=xx
> Dec 16 11:19:30 kernel: hda: Maxtor 6Y120P0, ATA DISK drive
> Dec 16 11:19:30 kernel: hdb: CD-W54E, ATAPI CD/DVD-ROM drive
> Dec 16 11:19:30 kernel: hdc: ATAPI DVDROM 16X, ATAPI CD/DVD-ROM drive
> Dec 16 11:19:30 kernel: Using anticipatory io scheduler
> Dec 16 11:19:30 kernel: ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
> Dec 16 11:19:30 kernel: ide1 at 0x170-0x177,0x376 on irq 15
> Dec 16 11:19:30 kernel: hda: max request size: 128KiB
> Dec 16 11:19:30 speranzah kernel: hda: 240121728 sectors (122942 MB)
> w/7936KiB Cache, CHS=65535/16/63
> Dec 16 11:19:30 kernel: hda: hda1 hda2 hda3 < hda5 hda6 hda7 hda8 hd
> a9 hda10 hda11 hda12 hda13 hda14 >
> Dec 16 11:19:30 kernel: hdb: ATAPI 32X CD-ROM CD-R/RW drive, 1280kB C ache
> ___________________________________________________________________________
>
> Mon noyau est compilé avec les options suivantes :
>
> #grep -i dma /boot/config-2.6.9
> CONFIG_GENERIC_ISA_DMA=y
> 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_IVB is not set
> CONFIG_IDEDMA_AUTO=y
> CONFIG_SCSI_SYM53C8XX_DMA_ADDRESSING_MODE=1
>
> Ceci est bien gênant pour mes applications à chaque accès disque. Si
> quelqu'un a une idée...
>
> Autre chose, et çà n'a sûrement rien à voir, je ne parvient pas à monter
> les disques audio, les autres ne posent pas de pb :
>
> #mount /dev/hdb
> /dev/hdb: Erreur d'entrée/sortie
> mount: /dev/hdb: can't read superblock
> _______________________________________________________________________
> Dec 16 14:03:32 kernel: hdb: command error: status=0x51 { DriveReady
> SeekComplete Error }
> Dec 16 14:03:32 kernel: hdb: command error: error=0x54
> Dec 16 14:03:32 kernel: ide: failed opcode was 100
> Dec 16 14:03:32 kernel: end_request: I/O error, dev hdb, sector 0
> Dec 16 14:03:34 kernel: hdb: command error: status=0x51 { DriveReady
> SeekComplete Error }
> Dec 16 14:03:34 kernel: hdb: command error: error=0x54
> Dec 16 14:03:34 kernel: ide: failed opcode was 100
> Dec 16 14:03:34 kernel: end_request: I/O error, dev hdb, sector 8
> _______________________________________________________________________
>
> Le format du CD est pourtant le même, non ?
>
> extrait du fstab :
>
> /dev/hdb /media/cdrom auto ro,user,noauto 0 0
>
> Si je remplace auto par iso9660, rien ne va plus !
>
> merci pour vos contributions,
>
> Amicalement,
>
> -Ben
ultra dma doit s'activé avec l'utilitaire : hdparm
le paquet debian doit être installé.
ensuite tu passes sous root et tu tapes ceci :
hdparm -d1 /dev/hda <--- pour activer l'udma sur le hda
Reply to:
- References:
- DMA
- From: Benoît Soëte <nattybwoai@neuf.fr>