Linux - SoftwareThis 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.
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.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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?
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
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.
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'.
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
boot = /dev/hda1
message = /boot/boot_message.txt
timeout = 1200
# Override dangerous defaults that rewrite the partition table:
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).
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
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.
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.
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.
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.