LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 02-25-2004, 12:20 AM   #1
Shade
Senior Member
 
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Blog Entries: 1

Rep: Reputation: 46
IDE CD burner under 2.6.2


I've read about how ide-scsi emulation is deprecated in the 2.6.x series, and that ide-cd or ide-cdrom is to be used instead.

How does one go about getting the cdburner to work without scsi emulation now?
I also could not find an ide-cd or ide-cdrom module to be enabled in the kernel config.

I've tried the following:

append="/dev/hdd=ide-cd"
and
append="/dev/hdd=ide-cdrom"

in lilo.conf

A cdrecord -scanbus still won't recognize a device.

What am I forgetting

--Shade
 
Old 02-25-2004, 08:54 AM   #2
Rounan
Member
 
Registered: Jun 2003
Location: Ontario
Distribution: Ubuntu, Gentoo, Debian
Posts: 416

Rep: Reputation: 30
You should be able to just enable ATAPI cdrom support in the IDE section of the kernel, and all will be well...

According to the documentation in Xcdroaster, scsi emulation is still faster and more reliable than the IDE drivers - might just be that program.

Can anyone confirm/deny that SCSI emulation is still better for burning than the IDE interface?

--Rounan
 
Old 02-25-2004, 06:10 PM   #3
Shade
Senior Member
 
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418

Original Poster
Blog Entries: 1

Rep: Reputation: 46
Thanks for the reply.

The cdwriter works as a regular cdrom but I can't figure out a way to burn under 2.6.2...

--Shade
 
Old 02-25-2004, 06:51 PM   #4
Rounan
Member
 
Registered: Jun 2003
Location: Ontario
Distribution: Ubuntu, Gentoo, Debian
Posts: 416

Rep: Reputation: 30
odd... I did absolutely nothing special, and was able to burn just fine. I haven't tested for performance yet though.

What burning software are you using, and what errors is it generating?

--Rounan
 
Old 02-25-2004, 09:23 PM   #5
Shade
Senior Member
 
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418

Original Poster
Blog Entries: 1

Rep: Reputation: 46
Here's what I'm trying, and the readouts:

Code:
root@gobot:/usr/src/linux# cat /proc/cmdline 
BOOT_IMAGE=Slack-2.6.2 root=301 /dev/hdd=ide-cd
root@gobot:/usr/src/linux# cdrecord -scanbus
Cdrecord 2.00.3 (i686-pc-linux-gnu) Copyright (C) 1995-2002 Jörg Schilling
cdrecord: No such file or directory. Cannot open '/dev/pg*'. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root.
cdrecord: For possible transport specifiers try 'cdrecord dev=help'.
root@gobot:/usr/src/linux#
I included /proc/cmdline to show what I was passing to the kernel from lilo

EDIT to add what /proc/ide/hdd says about it...

Code:
root@gobot:/proc/ide/hdd# cat model 
Hewlett-Packard CD-Writer Plus 9100b
root@gobot:/proc/ide/hdd# cat settings 
name                    value           min             max             mode
----                    -----           ---             ---             ----
current_speed           34              0               70              rw
dsc_overlap             1               0               1               rw
ide-scsi                0               0               1               rw
init_speed              12              0               70              rw
io_32bit                1               0               3               rw
keepsettings            0               0               1               rw
nice1                   1               0               1               rw
number                  3               0               3               rw
pio_mode                write-only      0               255             w
slow                    0               0               1               rw
unmaskirq               1               0               1               rw
using_dma               1               0               1               rw
root@gobot:/proc/ide/hdd# 
root@gobot:/proc/ide/hdd# cat driver 
ide-cdrom version 4.60
root@gobot:/proc/ide/hdd#

Last edited by Shade; 02-25-2004 at 09:29 PM.
 
Old 02-25-2004, 09:49 PM   #6
Shade
Senior Member
 
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418

Original Poster
Blog Entries: 1

Rep: Reputation: 46
UPDATE and BINGO!

:-D

Got it working, and am burning cd right now.

Here's the info:

Code:
mike@gobot:~$ cat /proc/cmdline 
BOOT_IMAGE=Slack-2.6.2 root=301 hdd=ide-cdrom
Then I searched around alittle more and came accross the command:

Code:
cdrecord dev=ATAPI -scanbus
Which listed my burner :-D Gave it an address of 0,1,0
So I tried how I usually do it when I had scsi emulation...

Code:
cdrecord -v dev=0,1,0 speed=8 whatever.iso
But it spat out the same old error, not able to open /dev/pg*

Quick glance at the cdrecord manpage led me to this permutation:

Code:
cdrecord -v dev=ATAPI:0,1,0 speed=8 whatever.iso
And I'm now in the cd-burning business :-D
Hope this helps some one else.
I was racking my brain over it.

--Shade
 
Old 02-26-2004, 03:41 AM   #7
nbitaud
LQ Newbie
 
Registered: Feb 2004
Distribution: LFS
Posts: 19

Rep: Reputation: 0
you can also use a cmd like

cdrecord dev=/dev/hdd speed=8 whatever.iso

it works fine
 
Old 02-26-2004, 06:10 AM   #8
robot5x
Member
 
Registered: Feb 2004
Location: uk
Distribution: arch 0.7
Posts: 41

Rep: Reputation: 15
Thanks for this advice - I've been trying to figure this out too, but now it goes like a dream.
 
Old 02-28-2004, 12:58 AM   #9
Shade
Senior Member
 
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418

Original Poster
Blog Entries: 1

Rep: Reputation: 46
Bump to the top, since there seem to be a few more threads about this.

--Shade
 
Old 02-29-2004, 06:13 PM   #10
zuesse
LQ Newbie
 
Registered: Feb 2004
Distribution: Gentoo, Fedora,RHEL,WHitebox others...
Posts: 5

Rep: Reputation: 0
Wink Thanks Guys

All of your hard work made my life better by removing this problem quickly.

Thanks
 
Old 03-14-2004, 05:22 PM   #11
digitalninja
LQ Newbie
 
Registered: Mar 2004
Posts: 1

Rep: Reputation: 0
Question I don't see anyone using the ide-cd driver.

I'm using kernel 2.6.2 and trying to burn a DVD. Following the suggestions here doesn't give you SCSI emulation and no one here is using the ide-cd driver in the 2.6.x kernel. If I run K3b using what has been posted I get an error message telling me that I'm burning in ATAPI mode.

How do I use the ide-cd driver in the 2.6.x kernel?

Note: I have the ide-cd module loaded.
 
Old 03-15-2004, 01:38 AM   #12
nbitaud
LQ Newbie
 
Registered: Feb 2004
Distribution: LFS
Posts: 19

Rep: Reputation: 0
I can burn CD without scsi emulation. I'm using the last version of k3b and cdrdao (1.1.8). Neverheless, as this last version of cdrdao doesn't exists when the las version of k3b has been released, you still have an error message

NB
 
  


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
Need help IDE burner to SCSI johnnygnote Linux - Hardware 19 12-21-2004 02:19 AM
ide burner under debian Voyager_MP Linux - Hardware 1 08-16-2004 04:49 AM
Ide burner Lobais Linux - Hardware 2 05-17-2004 01:35 PM
installing an ide cd burner drrnsk8ter4 Linux - Newbie 2 04-24-2004 06:04 PM
ide cd rom burner SirRobbin Linux - Hardware 2 06-02-2003 07:18 AM

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

All times are GMT -5. The time now is 08: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