LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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-23-2003, 11:13 PM   #1
CodeWarrior
Member
 
Registered: Mar 2003
Location: US
Distribution: Kubuntu 6.06
Posts: 173

Rep: Reputation: 30
Need help installing CDRW in Slack 9.0


I have done a search on this topic and have read through threads, but have not found the answer to my problem. My CD writer is currently known as hdd. Currently the system is only recognizing my USB Card reader as a scsi drive(sda). This is the only scsi device the system seems to see.

Here is what I have done...

1.) Modified the lilo.confg file, by adding append="hdd=ide-scsi" to the end of the file.

2.) Ran lilo and recevied the following feedback
Warning: LBA32 addressing assumed
Warning: /dev/hdb2 is not on the first disk
Added Linux *

3.) Added the following lines to /etc/modules.conf
options ide-cd ignore=hdd
alias scd0 sr_mod
pre-install sg modprobe ide-scsi
pre-install sr_mod modprobe ide-scsi
pre-install ide-scsi modprobe ide-cd

4.) Added the following line in /etc/fstab
/dev/scd0 /mnt/cdrw auto noauto,defaults 0 0

5.) Saved everything and rebooted.



The results....

1.) I first checked to see if the scsi module was loaded in the kernel with lsmod and ide-scsi was in the list. When I installed Slack I used the bare.i kernel.

2.) I did a dmesg|grep scsi and I received the following...
kmod: failed to exec /sbin/modprobe -s -k scsi-hostadapter, erno=2
kmod: failed to exec /sbin/modprobe -s -k scsi-hostadapter, erno=2
kmod: failed to exec /sbin/modprobe -s -k scsi-hostadapter, erno=2
scsi0: scsi emulation for USB Mass Storage devices
Attached scsi removable disk sda at scsi0, channel 0, id0, lun0

3.) I ran cdrecord -scanbus and all it shows is the card reader

It seems the system is ignoring the scsi CDRW why? Any suggestions? Thanks

Last edited by CodeWarrior; 05-24-2003 at 09:49 AM.
 
Old 05-23-2003, 11:50 PM   #2
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
Shouldn't you use the same drive for these entries?
Quote:
append="hdd=ide-scsi"
Quote:
options ide-cd ignore=hdb
 
Old 05-24-2003, 07:49 AM   #3
quietguy47
Member
 
Registered: Mar 2003
Location: Everett
Distribution: Slackware
Posts: 805

Rep: Reputation: 35
You also need to create a mount point(makedir /mnt/scd0) for your new cdrom and link it too /dev/hdd
 
Old 05-24-2003, 09:50 AM   #4
CodeWarrior
Member
 
Registered: Mar 2003
Location: US
Distribution: Kubuntu 6.06
Posts: 173

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by fancypiper
Shouldn't you use the same drive for these entries?
That was a typo in my post; I have fixed it. I have everything as hdd.
 
Old 05-24-2003, 09:55 AM   #5
CodeWarrior
Member
 
Registered: Mar 2003
Location: US
Distribution: Kubuntu 6.06
Posts: 173

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by quietguy47
You also need to create a mount point(makedir /mnt/scd0) for your new cdrom and link it too /dev/hdd
I guess I am confused with this part. I have a dir I created called cdrw in the /mnt directory using mkdir. SO I figured that I would mount the SCSI CDRW here by doing someting like mount /dev/scd0 /mnt/cdrw. Is my thinking right on that?

But anyhow, the system should see hdd as a scsi device to start off right?
 
Old 05-24-2003, 10:03 AM   #6
quietguy47
Member
 
Registered: Mar 2003
Location: Everett
Distribution: Slackware
Posts: 805

Rep: Reputation: 35
Do ln -s /dev/scd0 /mnt/cdrw
Also, you need to be root to make cd's(according to your setup).
If you want to do it as a normal user, you will have to change /etc/fstab
/dev/scd0 /mnt/cdrw auto noauto,users 0 0
and chmod 666 /dev/scd0
 
Old 05-24-2003, 10:23 AM   #7
CodeWarrior
Member
 
Registered: Mar 2003
Location: US
Distribution: Kubuntu 6.06
Posts: 173

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by quietguy47
Do ln -s /dev/scd0 /mnt/cdrw
Also, you need to be root to make cd's(according to your setup).
If you want to do it as a normal user, you will have to change /etc/fstab
/dev/scd0 /mnt/cdrw auto noauto,users 0 0
and chmod 666 /dev/scd0
Currently I am doing this as root. SO you are telling me to create a symbolic link, ok, I will try that. But does that have any bearing on Slack recognizing the device as a scsi device?
 
Old 05-24-2003, 12:59 PM   #8
quietguy47
Member
 
Registered: Mar 2003
Location: Everett
Distribution: Slackware
Posts: 805

Rep: Reputation: 35
What program are you using to make cd's?
Quote:
But does that have any bearing on Slack recognizing the device as a scsi device?
Modifying your /etc/lilo.conf should have done that.
 
Old 05-24-2003, 01:18 PM   #9
CodeWarrior
Member
 
Registered: Mar 2003
Location: US
Distribution: Kubuntu 6.06
Posts: 173

Original Poster
Rep: Reputation: 30
Well I want to use cdrecord and mkiso(sp?), but I am not even there yet. I don't understand why The Scsi emulation is not working for the CDRW. IT is a LITEON CDRW and the system is seeing it as hdd. I can mount a CD from it to /mnt/cdrw with no problems and get files from it. ANybody have any ideas? DO you think the lines in my /etc/modules.conf should be in my lilo.conf file? I don't know
 
Old 05-24-2003, 04:14 PM   #10
quietguy47
Member
 
Registered: Mar 2003
Location: Everett
Distribution: Slackware
Posts: 805

Rep: Reputation: 35
When I added a cd-rw to my computer, the only thing's I did were adding:
append="hdc=ide-scsi"
added a new line to /etc/fstab
created a new mount point in /mnt
then linked the mount point to /dev/hdc

Have you tried burning a cd yet?
cdrecord -v speed=? dev=0,0 filetoburn
 
Old 05-24-2003, 05:47 PM   #11
CodeWarrior
Member
 
Registered: Mar 2003
Location: US
Distribution: Kubuntu 6.06
Posts: 173

Original Poster
Rep: Reputation: 30
No I haven't tried to burn a CD yet. The cdrecord program doesn't even see the CDRW. I did the command cdrecord -scanbus, which looks for all the scsi devices and all it displays is the Card reader.
 
Old 05-24-2003, 08:12 PM   #12
quietguy47
Member
 
Registered: Mar 2003
Location: Everett
Distribution: Slackware
Posts: 805

Rep: Reputation: 35
http://www.ibiblio.org/pub/Linux/doc...-Writing-HOWTO
 
Old 05-25-2003, 07:28 PM   #13
CodeWarrior
Member
 
Registered: Mar 2003
Location: US
Distribution: Kubuntu 6.06
Posts: 173

Original Poster
Rep: Reputation: 30
Well, I got it to work I didn't know that cdrecord came with Slack 9.0 so I went and downloaded a version from the web and installed it, this might have screwed things up, but I am not sure. I had to reinstall Slack 9.0 for another reason adn I passed the option to the kernel there and now things are fine. Thanks for your help!
 
Old 05-25-2003, 07:35 PM   #14
quietguy47
Member
 
Registered: Mar 2003
Location: Everett
Distribution: Slackware
Posts: 805

Rep: Reputation: 35
Glad to hear you got it working, sorry I wasn't more helpful.
 
  


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
Installing RPM's from CDRW Radiolarian Mandriva 1 02-07-2005 07:02 AM
How can I get Slack 9.1 to recognise DVD and CDRW? erraticassassin Slackware 2 07-14-2004 01:09 PM
How do I set up CDROM and CDRW in Slack? lumpfish Slackware 7 11-16-2003 01:36 PM
Slack install can`t see CDRW AlanL Slackware 3 06-12-2003 11:37 PM
slack recognize cdrw jhorvath Slackware 14 12-21-2002 06:19 PM

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

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