LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-10-2005, 05:18 PM   #1
bailmann
LQ Newbie
 
Registered: Jan 2005
Location: Germany / Hannover
Distribution: Debian
Posts: 24

Rep: Reputation: 16
Can't activate DMA on a DVD-Writer


I can turn the DMA on for my two harddisks (hda hdb) but when i try for the DVD-Writer I get:

hdparm -d 1 /dev/scd0

/dev/scd0:
setting using_dma to 1 (on)
HDIO_SET_DMA failed: Invalid argument


hdparm -v /dev/scd0 # returns:
/dev/scd0:
readonly = 0 (off)
readahead = 256 (on)
HDIO_GETGEO failed: Invalid argument


My System is the following:
Duron600 @ GA-7X (VIA 133)
BenQ DW1620Pro <- as hdc-scsi emulation
Debian Kernel 2.6


Any ideas how to turn DMA on / why it doesn't work?
 
Old 01-10-2005, 06:28 PM   #2
Chris H
Member
 
Registered: Aug 2003
Location: Farnborough, UK
Distribution: Zenwalk
Posts: 288

Rep: Reputation: 30
As root

hdparm -d1 /dev/scd0

Methinks the space is causing probs
 
Old 01-11-2005, 02:28 AM   #3
bailmann
LQ Newbie
 
Registered: Jan 2005
Location: Germany / Hannover
Distribution: Debian
Posts: 24

Original Poster
Rep: Reputation: 16
hdparm -d1 /dev/scd0
returns the same...
 
Old 01-11-2005, 05:42 AM   #4
arjanhs
LQ Newbie
 
Registered: Jan 2005
Posts: 12

Rep: Reputation: 0
Having the same problem, i'm using two S-ATA disks and a 8 speed DVD burner, which only burns at 1 speed.

Arjan
 
Old 01-11-2005, 06:18 AM   #5
bailmann
LQ Newbie
 
Registered: Jan 2005
Location: Germany / Hannover
Distribution: Debian
Posts: 24

Original Poster
Rep: Reputation: 16
Hi Arjan,

I got some questions:

Which chipset do you have ?
Also the BenQ DVD-writer ?
Did you try to burn under Windows ?

I didn't since I don't have Windows here, but allready thaught of checking it in an other OS, if I could exclude demaged hardware I could set my efforts towards the software part.

Thanks in advance.
 
Old 01-11-2005, 06:23 AM   #6
bailmann
LQ Newbie
 
Registered: Jan 2005
Location: Germany / Hannover
Distribution: Debian
Posts: 24

Original Poster
Rep: Reputation: 16
Oh, 8x speed, so its an other writer i guess.

But since they burn allready (I heave maneged to burn 2.8x with my 16x burner) I guess the hardware should be OK - especially since google throws out only a hand full results searching for "damaged DMA"
 
Old 01-11-2005, 01:35 PM   #7
bailmann
LQ Newbie
 
Registered: Jan 2005
Location: Germany / Hannover
Distribution: Debian
Posts: 24

Original Poster
Rep: Reputation: 16
Ok I mostly solved it by installing the chipset-drivers - either module or included in the kernel - i compiled the kernel new with KT133-specific driver via82cxxx included

It's odd that I could turn on DMA for my drives with the comon chipset driver - but not for my dvd.

I can burn a DVD+R 8x in about 8-9 min. regarding my slow CPU (Duron 600) its ok I guess - some take 10min.
 
Old 01-11-2005, 04:19 PM   #8
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
The kernel version 2.6 does not need to do SCSI emulation for a an IDE recording drive. Try not using hdc=ide-scsi or hdd=ide-scsi in your boot loader.

You can try hdparm -d1 /dev/hdc or hdparm -d1 /dev/hdd.

SCSI drives does not use DMA.
 
Old 01-19-2005, 01:49 AM   #9
arjanhs
LQ Newbie
 
Registered: Jan 2005
Posts: 12

Rep: Reputation: 0
Quote:
Originally posted by bailmann
Hi Arjan,

I got some questions:

Which chipset do you have ?
Also the BenQ DVD-writer ?
Did you try to burn under Windows ?

I didn't since I don't have Windows here, but allready thaught of checking it in an other OS, if I could exclude demaged hardware I could set my efforts towards the software part.

Thanks in advance.
I don't know which chip set i use, i have a ASUS P4P800 bord.

I have a Plextor 708 burner, i have used the burner with XP, and there were no probs, burning a DVD takes up to 10 minuten, but with Linux it takes about 30 to 60 minutes.
 
Old 01-19-2005, 01:50 AM   #10
arjanhs
LQ Newbie
 
Registered: Jan 2005
Posts: 12

Rep: Reputation: 0
Quote:
Originally posted by bailmann
Oh, 8x speed, so its an other writer i guess.

But since they burn allready (I heave maneged to burn 2.8x with my 16x burner) I guess the hardware should be OK - especially since google throws out only a hand full results searching for "damaged DMA"
I have never seen my burning speed above 1 speed.

Arjan
 
Old 01-19-2005, 01:52 AM   #11
arjanhs
LQ Newbie
 
Registered: Jan 2005
Posts: 12

Rep: Reputation: 0
Quote:
Originally posted by Electro
The kernel version 2.6 does not need to do SCSI emulation for a an IDE recording drive. Try not using hdc=ide-scsi or hdd=ide-scsi in your boot loader.

You can try hdparm -d1 /dev/hdc or hdparm -d1 /dev/hdd.

SCSI drives does not use DMA.
I have tried both settings, but nothing seems to solve the problem, i will take a look at the driver for my chipset, but first need to find the chip set i'm using :-)

Arjan
 
Old 01-23-2005, 06:14 AM   #12
bailmann
LQ Newbie
 
Registered: Jan 2005
Location: Germany / Hannover
Distribution: Debian
Posts: 24

Original Poster
Rep: Reputation: 16
So it wasn't the chipset alone that solved the prob over here. I've while compiling the new kernel also switched from scsi-emulation to ATAPI-Support, since the kernel-config info told me scsi-emu is not longer required for burning. And it seems you can't access your drivesetting with 'hdparm' when in scsi-emu mode.

I would suggest you have 2 choices:

the easy way:
"modprobe ide-cd" as root to load it as module.
remove the scsi-emu stuff from lilo.conf, run lilo, and reboot - you than should load the atapi-module and not the scsi-emu - dvd is at /dev/hdx (x = a,b,c,d...)

or
kernel-implanted: you start kernel-config by 'make menuconfig' you should find the ATAPI-module in
"Device Drivers ---> ATA/ATAPI/MFM/RLL support --->Include IDE/ATAPI CDROM support"
I've also included the chipset-specific driver which are in "Device Drivers ---> ATA/ATAPI/MFM/RLL support" too - look up at your mainboard's manufacturer website for info about your MB and check for a match in the kernel-config. If you'r unsure it may also work in the ide-generic driver.

Don't forget to change the mountpoint-settings if you want to read from that drive. Your dvdrom will be depending on which IDE-port you've it in, slave 2nd will be /dev/hdd for example.
 
Old 02-17-2005, 06:08 PM   #13
miquelo
LQ Newbie
 
Registered: Feb 2005
Location: Finland
Distribution: Debian unstable
Posts: 9

Rep: Reputation: 0
Unhappy So ive got allmost the same problem!

But,

Won't get any dma on to cd and dvd. I have no other ide devices.

I'd like to post my menuconfig to here if somebody could verify that i've done the setup right. I myself have checked many times and think it's ok. I picked amd/nvidia ide module for my setup(thinking it was for my ide) from kernel setup. But I allso picked ide-generic and ide-cd.

I have an abit nf7-s board, nforce2 ultra400.

I have ide generic and ide-cd is loaded(automaticly) Havent even tried to go with scsi emu but its still loaded?
Might it be that it isnt needed for my sata controller or what?

I have an other post on this subject too sry. Didn't find this till now.

My old post is named : can't get dma to cd and dvd

It has links to my lspci lsmod and dmesg outputs...

Losing hope of burning and watching dvd:s on linux
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
DVD-writer DMA on Intel 915 chipset with 2.6.13.1 kernel carboncopy Linux - Hardware 2 09-14-2005 01:17 AM
Failed to enable DMA after upgrade to a DVD writer samael26 Debian 3 09-05-2005 12:31 PM
Cannot find DVD writer or get CD-writer to spin audio disk dgwebb Linux - Hardware 5 03-28-2005 05:00 PM
Can't activate DMA on Lite-On DVD er241 Linux - Hardware 2 09-21-2003 08:46 AM
Suse 8.2 change my DMA setting on my DVD-R drive to off & IDE DMA MODE NOT SHOWING IT maximalred Linux - General 0 08-23-2003 04:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration