All pastes #87276 Raw Edit

Unnamed

public text v1 · immutable
·published 2006-07-13 20:48 UTC
rendered paste body
I'm trying to enable DMA for my dvd drive (/dev/hdc).  How do I enable it?
Here is the output from hdparm, lspci, and the kernel configuration.
### hdparm -d1 /dev/hdc
/dev/hdc:
 setting using_dma to 1 (on)
 HDIO_SET_DMA failed: Operation not permitted
 using_dma    =  0 (off)


###lspci
00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS/940GML and 945GT Express Memory Controller Hub (rev 03)
00:01.0 PCI bridge: Intel Corporation Mobile 945GM/PM/GMS/940GML and 945GT Express PCI Express Root Port (rev 03)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01)
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 01)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #3 (rev 01)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #4 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 01)
00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) Serial ATA Storage Controller IDE (rev 01)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 01)
01:00.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility X1400
03:00.0 Ethernet controller: Broadcom Corporation BCM4401-B0 100Base-TX (rev 02)03:01.0 FireWire (IEEE 1394): Ricoh Co Ltd Unknown device 0832
03:01.1 Class 0805: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 19)
03:01.2 System peripheral: Ricoh Co Ltd Unknown device 0843 (rev 01)
03:01.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 0a)
03:01.4 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 05)
0b:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02)

###kernel
Device Drivers --> ATA/ATAPI/MFM/RLL support: 

      <*> ATA/ATAPI/MFM/RLL support                                       
  &#9474; &#9474; <*>   Enhanced IDE/MFM/RLL disk/cdrom/tape/floppy support           &#9474; &#9474;
  &#9474; &#9474; ---     Please see Documentation/ide.txt for help/info on IDE drives&#9474; &#9474;
  &#9474; &#9474; [ ]     Support for SATA (deprecated; conflicts with libata SATA dri&#9474; &#9474;
  &#9474; &#9474; [ ]     Use old disk-only driver on primary interface               &#9474; &#9474;
  &#9474; &#9474; <*>     Include IDE/ATA-2 DISK support                              &#9474; &#9474;
  &#9474; &#9474; [*]     Use multi-mode by default                                   &#9474; &#9474;
  &#9474; &#9474; <M>     PCMCIA IDE support                                          &#9474; &#9474;
  &#9474; &#9474; <*>     Include IDE/ATAPI CDROM support                             &#9474; &#9474;
  &#9474; &#9474; < >     Include IDE/ATAPI TAPE support (EXPERIMENTAL)               &#9474; &#9474;
  &#9474; &#9474; < >     Include IDE/ATAPI FLOPPY support                            &#9474; &#9474;
  &#9474; &#9474; < >     SCSI emulation support                                      &#9474; &#9474;
  &#9474; &#9474; [ ]     IDE Taskfile Access                                         &#9474; &#9474;
  &#9474; &#9474; ---     IDE chipset support/bugfixes                                &#9474; &#9474;
  &#9474; &#9474; <*>     generic/default IDE chipset support                         &#9474; &#9474;
  &#9474; &#9474; [*]     CMD640 chipset bugfix/support                               &#9474; &#9474;
  &#9474; &#9474; [ ]       CMD640 enhanced support                                   &#9474; &#9474;
  &#9474; &#9474; [ ]     PNP EIDE support                                            &#9474; &#9474;
  &#9474; &#9474; [*]     PCI IDE chipset support                                     &#9474; &#9474;
  &#9474; &#9474; [*]       Sharing PCI IDE interrupts support                        &#9474; &#9474;
  &#9474; &#9474; [ ]       Boot off-board chipsets first support                     &#9474; &#9474;
  &#9474; &#9474; <*>       Generic PCI IDE Chipset Support                           &#9474; &#9474;
  &#9474; &#9474; < >       OPTi 82C621 chipset enhanced support (EXPERIMENTAL)       &#9474; &#9474;
  &#9474; &#9474; <*>       RZ1000 chipset bugfix/support                             &#9474; &#9474;
  &#9474; &#9474; [*]       Generic PCI bus-master DMA support                        &#9474; &#9474;
  &#9474; &#9474; [ ]         Force enable legacy 2.0.X HOSTS to use DMA              &#9474; &#9474;
  &#9474; &#9474; [*]         Use PCI DMA by default when available                   &#9474; &#9474;
  &#9474; &#9474; [ ]           Enable DMA only for disks                             &#9474; &#9474;
  &#9474; &#9474; < >         AEC62XX chipset support                                 &#9474; &#9474;
  &#9474; &#9474; < >         ALI M15x3 chipset support                               &#9474; &#9474;
  &#9474; &#9474; < >         AMD and nVidia IDE support                              &#9474; &#9474;
  &#9474; &#9474; <M>         ATI IXP chipset IDE support                             &#9474; &#9474;
  &#9474; &#9474; < >         CMD64{3|6|8|9} chipset support                          &#9474; &#9474;
  &#9474; &#9474; < >         Compaq Triflex IDE support                              &#9474; &#9474;
  &#9474; &#9474; < >         CY82C693 chipset support                                &#9474; &#9474;
  &#9474; &#9474; < >         Cyrix CS5510/20 MediaGX chipset support (VERY EXPERIMENT&#9474; &#9474;
  &#9474; &#9474; < >         Cyrix/National Semiconductor CS5530 MediaGX chipset supp&#9474; &#9474;
  &#9474; &#9474; < >         AMD CS5535 chipset support    
  &#9474; &#9474; < >         CMD64{3|6|8|9} chipset support                          &#9474; &#9474;
  &#9474; &#9474; < >         Compaq Triflex IDE support                              &#9474; &#9474;
  &#9474; &#9474; < >         CY82C693 chipset support                                &#9474; &#9474;
  &#9474; &#9474; < >         Cyrix CS5510/20 MediaGX chipset support (VERY EXPERIMENT&#9474; &#9474;
  &#9474; &#9474; < >         Cyrix/National Semiconductor CS5530 MediaGX chipset supp&#9474; &#9474;
  &#9474; &#9474; < >         AMD CS5535 chipset support                              &#9474; &#9474;
  &#9474; &#9474; < >         HPT34X chipset support                                  &#9474; &#9474;
  &#9474; &#9474; < >         HPT36X/37X chipset support                              &#9474; &#9474;
  &#9474; &#9474; < >         National SCx200 chipset support                         &#9474; &#9474;
  &#9474; &#9474; <*>         Intel PIIXn chipsets support                            &#9474; &#9474;
  &#9474; &#9474; < >         IT821X IDE support                                      &#9474; &#9474;
  &#9474; &#9474; < >         NS87415 chipset support                                 &#9474; &#9474;
  &#9474; &#9474; < >         PROMISE PDC202{46|62|65|67} support                     &#9474; &#9474;
  &#9474; &#9474; < >         PROMISE PDC202{68|69|70|71|75|76|77} support            &#9474; &#9474;
  &#9474; &#9474; < >         ServerWorks OSB4/CSB5/CSB6 chipsets support             &#9474; &#9474;
  &#9474; &#9474; < >         Silicon Image chipset support                           &#9474; &#9474;
  &#9474; &#9474; < >         SiS5513 chipset support                                 &#9474; &#9474;
  &#9474; &#9474; < >         SLC90E66 chipset support                                &#9474; &#9474;
  &#9474; &#9474; < >         Tekram TRM290 chipset support                           &#9474; &#9474;
  &#9474; &#9474; < >         VIA82CXXX chipset support                               &#9474; &#9474;
  &#9474; &#9474; [ ]     Other IDE chipset support                                   &#9474; &#9474;
  &#9474; &#9474; [ ]     IGNORE word93 Validation BITS