LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-07-2003, 06:50 PM   #1
InsaneBob
Member
 
Registered: Mar 2003
Posts: 105

Rep: Reputation: 15
xcdroast scsi


I just installed xcdroast on my comp but I dont know how to install scsi emulation for slackware. I have one of those lg combo drives for my comp. CD/CDR/CDRW/DVD Can anyone point in the direction of some readme files or faq that could help me out?
 
Old 09-07-2003, 07:04 PM   #2
enyawix
Member
 
Registered: Sep 2003
Location: ky
Distribution: gentoo
Posts: 399

Rep: Reputation: 32
Lightbulb Xcdroast

u need to install the ide_scsi modual & edit your lilo.conf

see man lilo & man insmod
 
Old 09-07-2003, 07:07 PM   #3
yocompia
Member
 
Registered: Apr 2003
Location: Chicago, IL
Distribution: openbsd 3.6, slackware 10.0
Posts: 244

Rep: Reputation: 30
first thing to check is the output of "#cdrecord -scanbus." you should get something like

Cdrecord 2.01a16 (i686-pc-linux-gnu) Copyright (C) 1995-2003 Jörg Schilling
Linux sg driver version: 3.1.25
Using libscg version 'schily-0.7'
scsibus0:
0,0,0 0) 'SONY ' 'CD-RW CRX220E1 ' '6YS2' Removable CD-ROM
0,1,0 1) *
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *

if you have ide-scsi emulation setup already. if you don't get anything like this, then you need to setup ide-scsi emulation for your drive.

a first place to start is check what modules you have loaded by issuing "#lsmod" and looking for the "ide-scsi" module on that list. if you have it loaded, you're in the good, as far as having the module loaded. if you've compiled support for the emulation into the kernel, you won't see the module. the ide-scsi module is inserted by default on a fresh slack 9.0 install (find the line in /etc/rc.d/rc.modules that inserts it).

another notable thing is that you must have a line in your /etc/lilo.conf file that says

append="hdx=ide-scsi"

where x denotes the drive label of your burner. if you don't know which drive this is, look in the output of dmesg w/ "dmesg|less".

i'm not sure if you have to reboot to get the ide-scsi emulation working, but i know that'll work. you might just be able to issue the append command from the command line to get this all to work, but i'm not sure about that. if you want it to work from now on, put it that line in /etc/lilo.conf.

to check that things are a go, just issue the cdrecord command (at the top) again to get an output like i have listed. then running xcdroast should go smoothly.

gl,
y-p
 
Old 09-07-2003, 07:33 PM   #4
InsaneBob
Member
 
Registered: Mar 2003
Posts: 105

Original Poster
Rep: Reputation: 15
I added append="hdc=ide-scsi" to the end of me lilo.conf file and then restarted but when I ran the cdrecord -scanbus command as root I got back the following:
Cdrecord 2.0 (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'.
 
Old 09-07-2003, 07:49 PM   #5
mi6
Member
 
Registered: Jun 2003
Distribution: Fedora 9 64bit, RHEL 4.6
Posts: 96

Rep: Reputation: 15
I had similar problems with the Slack9.

I used #mount /dev/scd0 -t iso9660 /mnt/cdrom and that seemed to fix the problem.
 
Old 09-07-2003, 08:24 PM   #6
InsaneBob
Member
 
Registered: Mar 2003
Posts: 105

Original Poster
Rep: Reputation: 15
When I try to do that a get back the following message:
mount: /dev/scd0 is not a valid block device
 
Old 09-07-2003, 09:01 PM   #7
InsaneBob
Member
 
Registered: Mar 2003
Posts: 105

Original Poster
Rep: Reputation: 15
The device scd0 also does exist and to make sure I went ./MAKEDEV scd0 in the dev directory to make sure.
 
Old 09-08-2003, 12:42 AM   #8
yocompia
Member
 
Registered: Apr 2003
Location: Chicago, IL
Distribution: openbsd 3.6, slackware 10.0
Posts: 244

Rep: Reputation: 30
for me, the name of the burner changes to /dev/sr0, not /dev/scd0. if you look through dmesg using less "dmesg|less," you should be able to see where the ide-scsi emulation "sticks" and assigns the device name for the emulated device. here's the excerpt from my /etc/fstab for my burner:

/dev/sr0 /mnt/cdrom iso9660 noauto,owner,ro 0 0
^^^ this is what i have to put to have the burner mount and unmount correctly

when you put the append in lilo.conf, i believe that position matters, so just add it as i have below:

(beginning of file)
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
append="hdd=ide-scsi"
boot = /dev/hda1
message = /boot/boot_message.txt
prompt
timeout = 1200
# Override dangerous defaults that rewrite the partition table:
change-rules
reset
....

an alternative is to run the program "#liloconfig," which will walk you through this (it'll ask if you need any append statements, so type your append statement there).
 
Old 09-08-2003, 03:42 PM   #9
InsaneBob
Member
 
Registered: Mar 2003
Posts: 105

Original Poster
Rep: Reputation: 15
The append statement was in the wrong place and my scsi device is sr0. On to the next problem. Whenever I try to eject my cd drive now I get the following message:
eject: unable to eject, last error: Input/output error
It does the same for normal users and root. I also changed my fstab cdrom line to the following:
/dev/sr0 /mnt/cdrom iso9660 noauto,users,ro 0 0
 
Old 09-08-2003, 04:27 PM   #10
yocompia
Member
 
Registered: Apr 2003
Location: Chicago, IL
Distribution: openbsd 3.6, slackware 10.0
Posts: 244

Rep: Reputation: 30
a possible problem with the ejecting is that you have a console that's got a directory open on the CD. if you're browsing a file system in a console and you try to umount the thing, it gets pissed off, as you're trying to umount the file system that you're "in."

i usually just do a "cd /" before i umount devices/filesystems so that i'm not on the fs i'm trying to umount. make sure you're not looking at the CD fs in a console, then issue "eject /mnt/cdrom." hope that works.

gl,
y-p
 
Old 09-08-2003, 05:04 PM   #11
InsaneBob
Member
 
Registered: Mar 2003
Posts: 105

Original Poster
Rep: Reputation: 15
Nope thats not it.
 
Old 09-08-2003, 07:18 PM   #12
InsaneBob
Member
 
Registered: Mar 2003
Posts: 105

Original Poster
Rep: Reputation: 15
Another thing is not all my cd will work now. When I try to mount this Tenacious D cd I get the following error:
mount: wrong fs type, bad option, bad superblock on /dev/sr0,
or too many mounted file systems
But at the same time animatrix will work just fine.
 
Old 09-09-2003, 03:08 PM   #13
yocompia
Member
 
Registered: Apr 2003
Location: Chicago, IL
Distribution: openbsd 3.6, slackware 10.0
Posts: 244

Rep: Reputation: 30
that's odd, i have the same problem mounting audio cds. the only thing is, do you really need to mount it to play it? i'm not sure on this one, as i only play mp3s on my computer and don't use any of the cd player utilities. i think it may have to do with the FS type, as i don't think it's an iso9660 (the usual default FS for cdroms).

i wouldn't expect that you'd ever need to mount an audio cd, as you can just copy, rip, or play them. i don't know if you have to mount it to rip it. i'll look into it, if you find anything, let me know.
 
Old 09-09-2003, 06:02 PM   #14
yocompia
Member
 
Registered: Apr 2003
Location: Chicago, IL
Distribution: openbsd 3.6, slackware 10.0
Posts: 244

Rep: Reputation: 30
i found another thread about mounting/reading audio cds, and it's just as i had suspected: there's no FS on them and thus you can't mount them, but you can use a cd player application to play them. here's the thread, the relevant post is ~50% down from the top.

http://www.linuxquestions.org/questi...mount+audio+cd

HTH,
y-p
 
  


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
XCDroast - Cannot allocate memory. Cannot get SCSI I/O buffer. Zero-0-Effect Linux - Software 0 10-28-2005 09:56 PM
Enabling SCSI emulation for ATAPI CD writer for Xcdroast nikos3.14 Fedora 2 09-30-2005 09:10 AM
SCSI Emulation in XCDROAST Scrob Linux - Software 1 03-22-2005 09:53 PM
CD-RW install/setup/scsi issue with k3b/xcdroast and kernel compile probs Texicle Slackware 17 01-09-2004 02:50 AM
XCDRoast: Should it work without SCSI emulation in 2.6??? rech Linux - Software 1 01-04-2004 04:24 AM


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