Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
05-13-2006, 07:13 PM
|
#1
|
Member
Registered: Mar 2003
Location: Everett
Distribution: Slackware
Posts: 805
Rep:
|
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
|
|
|
05-13-2006, 11:20 PM
|
#2
|
Member
Registered: Aug 2005
Location: Guadalajara, Jal, Mexico
Distribution: Slackware Linux
Posts: 211
Rep:
|
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).
|
|
|
05-15-2006, 12:05 PM
|
#3
|
Member
Registered: Mar 2003
Location: Everett
Distribution: Slackware
Posts: 805
Original Poster
Rep:
|
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"
|
|
|
05-15-2006, 12:36 PM
|
#4
|
Member
Registered: May 2004
Location: Southwestern USA
Distribution: CentOS
Posts: 279
Rep:
|
What's the output of "cdrecord -scanbus" and "ls -l /dev/cdrom"?
Dennisk
|
|
|
05-17-2006, 07:38 AM
|
#5
|
Member
Registered: Aug 2003
Posts: 66
Rep:
|
I have to write :
cdrecord dev=ATAPI -scanbus
To get that to work.
|
|
|
05-17-2006, 08:43 AM
|
#6
|
Moderator
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: Slackware®
Posts: 13,961
|
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.
|
|
|
05-17-2006, 08:50 AM
|
#7
|
Member
Registered: Mar 2005
Location: Right behind you.
Distribution: NBG, then randomed.
Posts: 480
Rep:
|
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.
|
|
|
05-17-2006, 04:44 PM
|
#8
|
Member
Registered: Mar 2003
Location: Everett
Distribution: Slackware
Posts: 805
Original Poster
Rep:
|
append="hdc=ide-cd" doesn't work. It's not compiled as a module. It's compiled into the kernel.
|
|
|
05-18-2006, 08:16 AM
|
#9
|
Moderator
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: Slackware®
Posts: 13,961
|
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.
|
|
|
05-19-2006, 01:15 PM
|
#10
|
Member
Registered: Mar 2003
Location: Everett
Distribution: Slackware
Posts: 805
Original Poster
Rep:
|
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'.
|
|
|
|
05-20-2006, 10:58 AM
|
#11
|
Member
Registered: Mar 2005
Location: chennai(madras), India
Distribution: slackware ofcourse
Posts: 654
Rep:
|
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
|
|
|
05-20-2006, 02:36 PM
|
#12
|
Member
Registered: Mar 2003
Location: Everett
Distribution: Slackware
Posts: 805
Original Poster
Rep:
|
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
|
|
|
|
05-21-2006, 06:38 PM
|
#13
|
Member
Registered: Feb 2004
Distribution: Slackware 10.2
Posts: 669
Rep:
|
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 06:50 PM.
|
|
|
05-21-2006, 06:47 PM
|
#14
|
Member
Registered: Feb 2004
Distribution: Slackware 10.2
Posts: 669
Rep:
|
You want to burn cd's use kuser to add yourself to the disk and cdrom group than run k3bsetup to fix permissions.
|
|
|
05-22-2006, 05:23 PM
|
#15
|
Member
Registered: Mar 2003
Location: Everett
Distribution: Slackware
Posts: 805
Original Poster
Rep:
|
Quote:
Originally Posted by Boow
as root
rm /dev/cdrom && ln -s /dev/hdc /dev/cdrom
|
Thanks, that worked.
|
|
|
All times are GMT -5. The time now is 01:37 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|