LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-13-2006, 06:13 PM   #1
quietguy47
Member
 
Registered: Mar 2003
Location: Everett
Distribution: Slackware
Posts: 805

Rep: Reputation: 35
ide-scsi to ide-cd


What do I need to do to switch from ide-scsi to ide-cd?
I'm using 2.6.14.7
 
Old 05-13-2006, 10:20 PM   #2
theoffset
Member
 
Registered: Aug 2005
Location: Guadalajara, Jal, Mexico
Distribution: Slackware Linux
Posts: 211

Rep: Reputation: 31
If you are using 2.6.x you usually don't need ide-scsi, since this kernel knows ATAPI. Just stop passing the bootparam (edit /etc/lilo.conf).
 
Old 05-15-2006, 11:05 AM   #3
quietguy47
Member
 
Registered: Mar 2003
Location: Everett
Distribution: Slackware
Posts: 805

Original Poster
Rep: Reputation: 35
Quote:
Originally Posted by theoffset
If you are using 2.6.x you usually don't need ide-scsi, since this kernel knows ATAPI. Just stop passing the bootparam (edit /etc/lilo.conf).
when I do that I get "/dev/cdrom is not a valid block device"
 
Old 05-15-2006, 11:36 AM   #4
dennisk
Member
 
Registered: May 2004
Location: Southwestern USA
Distribution: CentOS
Posts: 279

Rep: Reputation: 30
What's the output of "cdrecord -scanbus" and "ls -l /dev/cdrom"?

Dennisk
 
Old 05-17-2006, 06:38 AM   #5
elp
Member
 
Registered: Aug 2003
Posts: 66

Rep: Reputation: 16
I have to write :
cdrecord dev=ATAPI -scanbus

To get that to work.
 
Old 05-17-2006, 07:43 AM   #6
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: Slackware®
Posts: 13,922
Blog Entries: 44

Rep: Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158
Quote:
Originally Posted by quietguy47
What do I need to do to switch from ide-scsi to ide-cd?
I'm using 2.6.14.7
Hi,

If you are having trouble with your kernel recognizing the device(s) then pass;
Code:
append= "hdc=ide-cd hdd=ide-cd"
by placing the append in your 2.6.14 stanza of the lilo.conf file.
Be sure to run lilo to update.

The new 2.6 kernel do use ide-cd module and the ide-scsi is deprecated. You can place the append for the ide-scsi in the stanza of the 2.4 or earlier to allow the use of that module.
 
Old 05-17-2006, 07:50 AM   #7
evilDagmar
Member
 
Registered: Mar 2005
Location: Right behind you.
Distribution: NBG, then randomed.
Posts: 480

Rep: Reputation: 31
Patrick has a thing wedged in the init scripts to load ide-scsi. You'll need to kill it off (or simply delete or don't build the module anymore--it's really not needed for 2.6.x). Once ide-scsi is loaded, unless you've told it otherwise, it will claim the IDE optical drive for itself and then ide-cd can't get at it anymore, leading to the device error.
 
Old 05-17-2006, 03:44 PM   #8
quietguy47
Member
 
Registered: Mar 2003
Location: Everett
Distribution: Slackware
Posts: 805

Original Poster
Rep: Reputation: 35
append="hdc=ide-cd" doesn't work. It's not compiled as a module. It's compiled into the kernel.
 
Old 05-18-2006, 07:16 AM   #9
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: Slackware®
Posts: 13,922
Blog Entries: 44

Rep: Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158
Quote:
Originally Posted by quietguy47
append="hdc=ide-cd" doesn't work. It's not compiled as a module. It's compiled into the kernel.
Hi,

The append command passes the option to the kernel! The ide-cd can be a module or compiled and the option is still passed. This way you can do some reassignment of the device.
 
Old 05-19-2006, 12:15 PM   #10
quietguy47
Member
 
Registered: Mar 2003
Location: Everett
Distribution: Slackware
Posts: 805

Original Poster
Rep: Reputation: 35
I have added append="hdc=ide-cd" to lilo.conf and updated lilo after(/sbin/lilo).
This is what cdrecord --scanbus returns
Quote:
root@Hal:/home/martin# cdrecord --scanbus
Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
cdrecord: Warning: Running on Linux-2.6.14.7
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
cdrecord: No such file or directory. Cannot open '/dev/pg*'. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'.
cdrecord: For possible transport specifiers try 'cdrecord dev=help'.
 
Old 05-20-2006, 09:58 AM   #11
rkrishna
Member
 
Registered: Mar 2005
Location: chennai(madras), India
Distribution: slackware ofcourse
Posts: 654

Rep: Reputation: 32
Talking

i hope u didnt mention your main aim!!!
do u want to burn cd or read cd???
you still cant write cd even using k3b??

burning cd you dont need scsi emulation(dont need to append lilo), now have you enabled that in yur custom kernel, while compilation?? (while compilaiton there is am option like that)

so you only need to give the device name not the dev=0,0,0 names

how many cd drives u have?
1. first determine the cd device, then we can get into next step
"dmesg |grep CD"

regards
 
Old 05-20-2006, 01:36 PM   #12
quietguy47
Member
 
Registered: Mar 2003
Location: Everett
Distribution: Slackware
Posts: 805

Original Poster
Rep: Reputation: 35
No, can't burn cd's
Quote:
martin@Hal:~$ dmesg | grep CD
hdc: HL-DT-ST DVD-RW GWA-4080N, ATAPI CD/DVD-ROM drive
hdc: ATAPI 24X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache
Uniform CD-ROM driver Revision: 3.20
martin@Hal:~$ dmesg | grep ide-cd
Kernel command line: BOOT_IMAGE=SlackII ro root=303 hdc=ide-cd
ide_setup: hdc=ide-cd
 
Old 05-21-2006, 05:38 PM   #13
Boow
Member
 
Registered: Feb 2004
Distribution: Slackware 10.2
Posts: 669

Rep: Reputation: 32
Quote:
Originally Posted by quietguy47
when I do that I get "/dev/cdrom is not a valid block device"
as root

rm /dev/cdrom && ln -s /dev/hdc /dev/cdrom

Last edited by Boow; 05-21-2006 at 05:50 PM.
 
Old 05-21-2006, 05:47 PM   #14
Boow
Member
 
Registered: Feb 2004
Distribution: Slackware 10.2
Posts: 669

Rep: Reputation: 32
You want to burn cd's use kuser to add yourself to the disk and cdrom group than run k3bsetup to fix permissions.
 
Old 05-22-2006, 04:23 PM   #15
quietguy47
Member
 
Registered: Mar 2003
Location: Everett
Distribution: Slackware
Posts: 805

Original Poster
Rep: Reputation: 35
Quote:
Originally Posted by Boow
as root

rm /dev/cdrom && ln -s /dev/hdc /dev/cdrom
Thanks, that worked.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
IDE-scsi vs IDE-atapi reyemarr Linux - General 1 11-18-2003 04:36 PM
bad dmesg output when using ide-scsi boot parameter for IDE CD/DVD-ROM Locura Slackware 7 09-29-2003 02:36 AM
use ide-scsi to emulate an ide disk as a scsi disk free_ok_man Linux - Software 1 07-01-2003 05:08 PM
use ide-scsi to emulate an ide disk as a scsi disk free_ok_man Linux - Newbie 1 07-01-2003 03:51 AM
ide CDRW problems under ide-scsi jwbrownuk Linux - Hardware 3 04-30-2003 12:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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