LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-29-2003, 07:44 PM   #1
chup
Member
 
Registered: Aug 2003
Location: South Africa
Distribution: Ubuntu (Feisty)
Posts: 280

Rep: Reputation: 31
Kernel 2.6 dvd writer ide-scsi emulation


I'm going to run kernel 2.6 soon, after I fix my modules problem, but I've got a question about it (the kernel).
When configuring it, I came acros an option "enable ide-scsi emulation", as I need this so that my dvd writer will write.
But, in order to play dvd's, I need to disable the scsi emulation on the writer so that I can enable DMA on it.
Im now using kernel 2.4.20, and I have slightly different boot options to the same kernel in grub to enable scsi emulation or not.
How will I do this when running kernel 2.6?
 
Old 12-29-2003, 09:47 PM   #2
tricky_linux
Member
 
Registered: Jul 2003
Distribution: Red Hat Linux 9.0; Old and Solid
Posts: 674

Rep: Reputation: 30
i don't get the idea that you need to disable dma to play dvd. you you could enable dma mode while your drive was still scsi emulated.
assuming that your drive was /dev/hdc or /dev/scd0 after scsi emulation.
just do "hdparm -d1 /dev/hdc"
 
Old 12-30-2003, 04:45 AM   #3
Quadreg
LQ Newbie
 
Registered: Sep 2003
Location: Belgium
Distribution: Gentoo
Posts: 14

Rep: Reputation: 0
My DVD writer has scsi emulation and is mounted at /dev/sr0 (and I have kernel 2.6).
I can write and play DVDs without changing anything.
 
Old 12-30-2003, 06:24 AM   #4
chup
Member
 
Registered: Aug 2003
Location: South Africa
Distribution: Ubuntu (Feisty)
Posts: 280

Original Poster
Rep: Reputation: 31
this is weird, I must have done something wrong or my drive doesnt support dma at all
Code:
hdparm -d 1 /dev/sr0
/dev/sr0 not supported by hdparm
 
Old 12-30-2003, 06:40 AM   #5
Quadreg
LQ Newbie
 
Registered: Sep 2003
Location: Belgium
Distribution: Gentoo
Posts: 14

Rep: Reputation: 0
no, that is normal (I think )
I have that same error (?)
 
Old 12-30-2003, 08:28 PM   #6
tricky_linux
Member
 
Registered: Jul 2003
Distribution: Red Hat Linux 9.0; Old and Solid
Posts: 674

Rep: Reputation: 30
it's not normal. the reason why you gotten error was because you did the wrong thing in order to enable your dma.
assume that hdc=ide-scsi was add to your boot loader which means originally your drive was mounted as /dev/hdc.
what you should do was "hdparm -d1 /dev/hdc"
 
Old 01-02-2004, 05:05 AM   #7
core
Member
 
Registered: May 2003
Location: Berlin
Distribution: Slackware 9.1 Kernel: 2.6.4
Posts: 60

Rep: Reputation: 15
Re: Kernel 2.6 dvd writer ide-scsi emulation

Quote:
Originally posted by chup
I'm going to run kernel 2.6 soon, after I fix my modules problem, but I've got a question about it (the kernel).
When configuring it, I came acros an option "enable ide-scsi emulation", as I need this so that my dvd writer will write.
With kernel 2.6.0 you should disable the ide-scsi Emulation. the current cdrecord version works with plain ATAPI mode.. cdrecord -scanbus dev=ATAPI
The current CVS Version of cdrdao also has ATAPI Support..

ide-scsi emulation for cd/dvd-writers is depreciated.
 
Old 01-02-2004, 10:47 AM   #8
tricky_linux
Member
 
Registered: Jul 2003
Distribution: Red Hat Linux 9.0; Old and Solid
Posts: 674

Rep: Reputation: 30
but the thing was that wouldn't scsi-ide emulation would make the drive's performance higher?
 
Old 01-02-2004, 11:29 AM   #9
thegeekster
Member
 
Registered: Dec 2003
Location: USA (Pacific coast)
Distribution: Vector 5.8-SOHO, FreeBSD 6.2
Posts: 513

Rep: Reputation: 34
ide-scsi deprecated in kernel 2.6.0

Quote:
Originally posted by tricky_linux
but the thing was that wouldn't scsi-ide emulation would make the drive's performance higher?
I just upgraded to kernel 2.6.0 and had left the ide-scsi emulation in lilo.conf. During bootup, I recieved this message:
Code:
ide-scsi is deprecated for cd burning! Use ide-cd and give dev=/dev/hdX as device
The ide-scsi emulation still worked okay and my cd-rw was still remapped to /dev/sr0.............Just thought I'd bring this to everyone's attention, tho'

Last edited by thegeekster; 01-02-2004 at 11:33 AM.
 
Old 01-02-2004, 06:20 PM   #10
tricky_linux
Member
 
Registered: Jul 2003
Distribution: Red Hat Linux 9.0; Old and Solid
Posts: 674

Rep: Reputation: 30
i am not quite understand what the passage are trying to say.
say "hdc=ide-scsi" in my grub.conf
what do i support to change it to?

I will appreciate for the answer.
 
Old 01-02-2004, 07:32 PM   #11
thegeekster
Member
 
Registered: Dec 2003
Location: USA (Pacific coast)
Distribution: Vector 5.8-SOHO, FreeBSD 6.2
Posts: 513

Rep: Reputation: 34
Quote:
Originally posted by tricky_linux
i am not quite understand what the passage are trying to say.
say "hdc=ide-scsi" in my grub.conf
what do i support to change it to?

I will appreciate for the answer.
You can replace it with "hdc=ide-cd" in the config file..........although I think you can remove that line altogether. I'm not totally sure, but 'ide-cd' may be the default..........I just replaced 'ide-scsi' with 'ide-cd' in my lilo.conf file and left it at that.........

Without the scsi emulation, the cd/dvd writer will be mapped to the normal '/dev/cdrom' (or whatever the default for your distro is), which will be linked to '/dev/hdc' in your case
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Why does IDE DVD writer show up as SCSI? NickC Mandriva 2 07-19-2004 10:06 AM
Recompiling kernel without ide-scsi emulation techrolla Linux - Software 1 06-21-2004 12:52 PM
dvd playback choppy with ide-scsi emulation catfishk Linux - Hardware 2 03-21-2004 03:56 PM
CD Writing without ide-scsi emulation in 2.6 kernel xgreen Linux - Software 6 02-19-2004 09:49 AM
How to Enable ide-scsi emulation in the kernel? shassouneh Linux - Software 29 05-31-2002 01:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:18 AM.

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