[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: DMA on CD Burners



On Tue, May 10, 2005 at 11:42:39AM -0500, Jason Martens wrote:
> Jim Seymour wrote:
> >On Tue, May 10, 2005 at 09:38:33AM -0500, Jason Martens wrote:
> >
> >>Does anyone know why I can't set DMA on my CD Burners?  It makes 
> >>burning CD's very slooooooow.  When I try to set it with hdparm, I get 
> >>the following error:
> >>
> >>morpheus:~# hdparm -d1 /dev/hdb
> >>
> >>/dev/hdb:
> >>setting using_dma to 1 (on)
> >>HDIO_SET_DMA failed: Operation not permitted
> >>using_dma    =  0 (off)
> >>
> >>
> >>I've tried it on two seperate drives, with the same result:
> >>hda: SONY DVD RW DW-U10A, ATAPI CD/DVD-ROM drive
> >>hdb: TSST CD-RW/DVD-ROM TSH492B, ATAPI CD/DVD-ROM drive
> >>
> >>
> >
> >Jason,
> >
> >What kernel version and motherboard chipset are you using? There is an
> >issue with kernel 2.6.8 and nforce chipset that is causing problems with
> >dma. What about your hard drive? Is dma working on it?
> 
> I'm running the stock debian 2.6.8-2-686-smp kernel, and this is a Dell 
> Optiplex 280.  The chipset is an Intel 915G (I believe) with SATA. 
> (relevant) lspci output below.  I believe that DMA is not necessary with 
>  sata drives, because they're using the scsi subsystem correct?
> 
> 0000:00:00.0 Host bridge: Intel Corp. 915G/P/GV Processor to I/O 
> Controller (rev 04)
> 0000:00:01.0 PCI bridge: Intel Corp. 915G/P/GV PCI Express Root Port 
> (rev 04)
> 0000:00:1c.0 PCI bridge: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) 
> PCI Express Port 1 (rev 03)
> 0000:00:1c.1 PCI bridge: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) 
> PCI Express Port 2 (rev 03)
> 0000:00:1f.1 IDE interface: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 
> Family) IDE Controller (rev 03)
> 0000:00:1f.2 IDE interface: Intel Corp. 82801FB/FW (ICH6/ICH6W) SATA 
> Controller (rev 03)
> 0000:00:1f.3 SMBus: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) 
> SMBus Controller (rev 03)
> 0000:01:00.0 VGA compatible controller: nVidia Corporation: Unknown 
> device 0140 (rev a2)
> 0000:02:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5751 
> Gigabit Ethernet PCI Express (rev 01)
> 

Try looking at your dmesg output. What is happening with the nforce
chipset is that a generic driver that does not support the dma grabs the
device first and then you get an error message the dma is not enabled
when it tries to load the nforce driver that supports dma. I have no
idea if there is a similar problem with the Intel chipset. The only
workaround I have seen thus far is to build the kernel with the driver
that supports the dma as part of the kernel and not as a module. Hope
that helps.

Later,

Jim Seymour

-- 
I started using something better than the "standard" back when IBM advertised
OS/2 Warp on TV. As Linux matured I made the transition from OS/2 v4 to Linux.
You don't have to accept less than you deserve.
"Use the Power of the Penguin" Registered Linux user #316735



Reply to: