LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 09-23-2004, 04:45 PM   #1
emilryge
LQ Newbie
 
Registered: Aug 2003
Location: Copenhagen, Denmark
Distribution: Slackware 10
Posts: 28

Rep: Reputation: 15
scsi cdrom problems


Hi guys,

Im having trouble getting my cddrive to work on my brand, new Slack install (laptop)

The question is, if the comp knows the drive as scsi0 or sr0?

Code:
root@linuxlap:~# dmesg | grep scsi
Kernel command line: auto BOOT_IMAGE=Slackware ro root=304 hdc=ide-scsi
ide_setup: hdc=ide-scsi
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
hdc: attached ide-scsi driver.
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
sr0: scsi3-mmc drive: 24x/24x writer cd/rw xa/form2 cdda tray
ide-scsi: hdc: unsupported command in request queue (0)
No of the options are working so far, so any help is appreciated.

Fstab looks like this right now

Code:
/dev/hda4        /                ext3        defaults         1   1
/dev/hda1        /win_c           ntfs        ro               1   0
/dev/hda2        /storage         ntfs        ro               1   0
/dev/sr0       /mnt/cdrom       iso9660     noauto,owner,ro  0   0
/dev/fd0         /mnt/floppy      auto        noauto,owner     0   0
devpts           /dev/pts         devpts      gid=5,mode=620   0   0
proc             /proc            proc        defaults         0   0
Thanks,

/ Emil
 
Old 09-24-2004, 08:35 PM   #2
d0odman
Member
 
Registered: Sep 2004
Location: CA, USA
Distribution: Slackware 10.2
Posts: 132

Rep: Reputation: 15
Looks like it's working

It seems that Slack has recognized your drive fine.

The problem may be in your fstab file. If you're always logged in as root (not a good idea), then it's not a problem, look elsewhere. You can try to use scd0 instead of sr0 or sg0 if that doesn't work.

If you log in as a normal user for work, then you have to change your fstab file to say 'users' instead of 'owner' and add the cdrom group access to the account (usermod -G cdrom <user>)

One problem about using burners in linux. You MUST have root priviledges to burn to the device. That, or turn on the sticky bit for the program (chmod u+s /usr/bin/cdparanoia comes to mind) you're trying to use.
 
Old 09-25-2004, 01:45 AM   #3
emilryge
LQ Newbie
 
Registered: Aug 2003
Location: Copenhagen, Denmark
Distribution: Slackware 10
Posts: 28

Original Poster
Rep: Reputation: 15
Hi and thanks for your reply.

The problem is partially resolved. I can now mount data cds, but are having trouble with audio ones. I realize from reading posts in this forum, that audio cds can't be mounted, but I can't play them either.
My Gnome player gives me a Drive Error and the ripper returns a "CD ROM drive not found".

Any ideas?

- Emil
 
Old 09-25-2004, 03:59 AM   #4
d0odman
Member
 
Registered: Sep 2004
Location: CA, USA
Distribution: Slackware 10.2
Posts: 132

Rep: Reputation: 15
Check /dev/cdrom

I assume you edited your fstab to get it to be able to mount data cds. Now, go check in /dev and see where cdrom is pointing at (it SHOULD be pointing somewhere). If it's not pointing to the same location you have set up in fstab, let's say it was scd0, then rm cdrom, and make a new symbolic link to scd0:

<root shell access>
cd /dev
ls -l cdrom
<is it pointing to what's in fstab? (e.g. /dev/scd0)>
<no? (most likely not)>
rm cdrom
ln -s /dev/scd0 cdrom
<check cdplayer>

HTH
 
Old 09-25-2004, 06:25 PM   #5
mritch
Member
 
Registered: Nov 2003
Location: austria
Distribution: debian
Posts: 667

Rep: Reputation: 30
the ripper will use the generic scsi interface to rip data off an audio cd. so the ripper has to be told that /dev/sgX is the cdrom. they are numbered from your firsts generic interface upwards. if you also have scsi in your pc the first sg0 will likely be your scsi-harddisk. if not and you use the ide-scsi emulation for cdrom only sg0 will point to the cdrom you'll like to rip data off.

sl mritch.
 
  


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
Install from SCSI cdrom? cootcraig Slackware - Installation 1 09-25-2004 03:10 PM
cannot find scsi cdrom mm3000 Slackware 38 08-19-2004 07:37 AM
SCSI CDROM emulation atheist Linux - Hardware 4 02-10-2004 06:35 PM
Installing from a SCSI CDROM!! xanthium Linux - Networking 2 11-13-2002 03:46 AM
Mandrake 8.1 CDROM and SCSI Ashes Linux - Software 6 02-05-2002 08:33 PM

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

All times are GMT -5. The time now is 08:21 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration