View previous topic :: View next topic |
Author |
Message |
pommespaula Apprentice
Joined: 25 Jul 2004 Posts: 177 Location: Würzburg
|
Posted: Fri Nov 03, 2006 12:29 pm Post subject: DMA Aktivierung - geht nicht |
|
|
Hallo,
ich bekomme die DMA Aktivierung meines DVD-Laufwerkes einfach nicht an!!!
Hier zunächst ein paar Informationen:
Quote: | hdc: MATSHITADVD-RAM UJ-841S, ATAPI CD/DVD-ROM drive
hdc: ATAPI 24X DVD-ROM DVD-R-RAM CD-R/RW drive, 2048kB Cache |
Quote: | 00:1f.2 IDE interface: Intel Corporation 82801FBM (ICH6M) SATA Controller (rev 03) |
Im Kernel habe ich bezüglich IDE und DMA folgendes aktiviert:
Code: | nano -w /usr/src/linux/.config |
Quote: | [...]
#
# ATA/ATAPI/MFM/RLL support
#
CONFIG_IDE=y
CONFIG_BLK_DEV_IDE=y
#
# Please see Documentation/ide.txt for help/info on IDE drives
#
CONFIG_BLK_DEV_IDE_SATA=y
# CONFIG_BLK_DEV_HD_IDE is not set
# CONFIG_BLK_DEV_IDEDISK is not set
# CONFIG_IDEDISK_MULTI_MODE is not set
# CONFIG_BLK_DEV_IDECS 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 is not set
# CONFIG_IDE_TASK_IOCTL is not set
#
# IDE chipset support/bugfixes
#
CONFIG_IDE_GENERIC=y
# CONFIG_BLK_DEV_CMD640 is not set
# CONFIG_BLK_DEV_IDEPNP is not set
CONFIG_BLK_DEV_IDEPCI=y
# CONFIG_IDEPCI_SHARE_IRQ is not set
# CONFIG_BLK_DEV_OFFBOARD is not set
# CONFIG_BLK_DEV_GENERIC is not set
# CONFIG_BLK_DEV_OPTI621 is not set
# CONFIG_BLK_DEV_RZ1000 is not set
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_AEC62XX is not set
# CONFIG_BLK_DEV_ALI15X3 is not set
# CONFIG_BLK_DEV_AMD74XX is not set
# CONFIG_BLK_DEV_ATIIXP 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_CS5520 is not set
# CONFIG_BLK_DEV_CS5530 is not set
# CONFIG_BLK_DEV_CS5535 is not set
# CONFIG_BLK_DEV_HPT34X is not set
# CONFIG_BLK_DEV_HPT366 is not set
# CONFIG_BLK_DEV_SC1200 is not set
CONFIG_BLK_DEV_PIIX=y
CONFIG_BLK_DEV_IT821X=y
# 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_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_IDE_ARM is not set
# CONFIG_IDE_CHIPSETS is not set
CONFIG_BLK_DEV_IDEDMA=y
# CONFIG_IDEDMA_IVB is not set
CONFIG_IDEDMA_AUTO=y
# CONFIG_BLK_DEV_HD is not set
[...] |
hdparm spuckt folgendes aus:
Quote: | /dev/hdc:
Model=MATSHITADVD-RAM UJ-841S, FwRev=1.00, SerialNo=
Config={ Fixed Removeable DTR<=5Mbs DTR>10Mbs nonMagnetic }
RawCHS=0/0/0, TrkSize=0, SectSize=0, ECCbytes=0
BuffType=unknown, BuffSize=0kB, MaxMultSect=0
(maybe): CurCHS=0/0/0, CurSects=0, LBA=yes, LBAsects=0
IORDY=on/off, tPIO={min:240,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio1 pio2 pio3 pio4
DMA modes: sdma0 sdma1 sdma2 mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 *udma2
AdvancedPM=no
Drive conforms to: Unspecified: ATA/ATAPI-3 ATA/ATAPI-4 ATA/ATAPI-5 ATA/ATAPI-6
* signifies the current active mode |
Wenn ich nun versuich DMA zu aktivieren erhalte ich die folgende Meldung:
Code: | hdparm -d1 /dev/hdc |
Quote: | /dev/hdc:
setting using_dma to 1 (on)
HDIO_SET_DMA failed: Operation not permitted
using_dma = 0 (off) |
Naja vieleicht hat ja jemand von euch eine Idee.
Jedenfalls schonmal besten Dank für alle Antworten
Cu _________________ Da geht er hin, einer von Gottes eigenen Prototypen, ein aufgemotzter Mutant von der Sorte, die nie zur Massenproduktion in Betracht gezogen wurde. Zu spleenig zum leben und zu selten zum sterben... |
|
Back to top |
|
|
XMath Guru
Joined: 14 Aug 2004 Posts: 435 Location: Germany, Gaimersheim
|
Posted: Fri Nov 03, 2006 6:19 pm Post subject: |
|
|
Namd,
SATA hat doch gar kein flag dafür oder?
Jedenfalls sagt bei mir ein hdparm /dev/sda folgendes:
Code: | /dev/sda:
IO_support = 0 (default 16-bit)
readonly = 0 (off)
readahead = 256 (on)
geometry = 19457/255/63, sectors = 312581808, start = 0
|
|
|
Back to top |
|
|
pommespaula Apprentice
Joined: 25 Jul 2004 Posts: 177 Location: Würzburg
|
Posted: Sun Nov 05, 2006 10:20 pm Post subject: |
|
|
das ist etwas was ich nicht so ganz verstehe.
Da steht SATA Controler. Läuft aber dennoch als ATAPI unter /dev/hdc.
Und hdparm spuckt folgendes aus
Quote: | IO_support = 0 (default 16-bit)
unmaskirq = 0 (off)
using_dma = 0 (off)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 256 (on)
HDIO_GETGEO failed: Inappropriate ioctl for device |
Also doch DMA!!!
Aber wie geht es an? _________________ Da geht er hin, einer von Gottes eigenen Prototypen, ein aufgemotzter Mutant von der Sorte, die nie zur Massenproduktion in Betracht gezogen wurde. Zu spleenig zum leben und zu selten zum sterben... |
|
Back to top |
|
|
blu3bird Retired Dev
Joined: 04 Oct 2003 Posts: 614 Location: Munich, Germany
|
Posted: Sun Nov 05, 2006 11:08 pm Post subject: |
|
|
Bist du sicher, dass das Laufwerk SATA ist? Sieht sehr sehr stark nach IDE aus
Dann könnte der Grund sein, dass die der Treiber für den IDE-Controller fehlt.
Für den SATA-Controller solltest du CONFIG_SCSI_ATA_PIIX anstelle von CONFIG_BLK_DEV_PIIX benutzen. _________________ Black Holes are created when God divides by zero! |
|
Back to top |
|
|
|
|
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
|
|