Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
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.
You just need some software to do the burning. xcdroast, kOnCD, many others. You'll need to set up some SCSI emulation stuff in the kernel and add a line like this to your lilo.conf
Code:
append="hdg=ide-scsi"
Adjust for your setup and season to your taste. Man pages for the burner software gives the gory details.
"Failed to scan the SCSI-bus. No permission to access the generic SCSI devices or no SCSI support enabled in the Kernel.
For ATAPI devices you have to install the SCSI-emulation first. Please see the CD writing HOWTO".
QUESTIONS:
1.) The system has put an entry into my lilo.conf: "hdd=ide-scsi". My CD's are attached to the IDE channel of my motherboard. How can I tell if this entry is correct?
2.) How do I tell if my kernel contains support for CDRW's?
3.) I assume my CDRW is not a SCSI device. However, somehow, I have to fool the system into thinking it is, according to stuff I have read. If this is true, do I have to recompile my kernel to get this support inclulded?
4.) I want to copy files to a CD-R from my HD. Can I just drag and drop, once the configuration is correct?
5.) Quite often, people refer to the HOWTO's. Are these found on the Linux documentation project or somewhere else?
note: I found the answer to question 1.): /var/log/dmesg identifies my CD-Writer as hdd.
Last edited by rdaves@earthlink.net; 09-11-2001 at 10:59 PM.
On my Mandrake system I have to be root to successfully use the cd writing software. I am not sure of the technical reasoning.
I think the program is gcombust, but I am not !00% on that.
The Linux Documentation Project's Howto at http://wt.xpilot.org/linux/cdr/html/CDWriting-2.html, says in section 2.1 Quickstart, that "your version should be 2.0.X or 2.2.Y...". This appears to be the most authoritative on the subject, however, I suspect that like many documents written for linux, it is out of date. I suspect that there is an easier way as a result of Linux V7.1 and the kernel 2.4.2.
Though I've not tried the cd-writer I've put in a new server yet or even thought of using it (I have 1 in a Windows pc ) I did come across the following info while configuring for recompiling of the kernel..
First you need SCSI emulation and for your writer to work with that you need Generic SCSI drivers. Both need to be compiled into the kernel.
So under SCSI configuration look for those 2 things.
Why all that trouble you might say.. and really I dunno..
Whatever happened to plug and play?
First you need SCSI emulation and for your writer to work with
that you need Generic SCSI drivers. Both need to be compiled into the
kernel.
I have recompiled my kernel with SCSI emulation and Generic SCSI drivers as modules.
Now, here are all the things I have tried:
Code:
[root@localhost /root]# xcdroast
*** NOTE ***:
---------------------------------------------------------------
This permission warning and the following set-uid bit warnings
can be safely ignored, if you want to run X-CD-Roast as root only.
---------------------------------------------------------------
NOTE: After all this, I got a screen that allowed me to go ahead,
anyway, but the caveats that accompany xcdroast were enough to
scare me off. Besides, I don't think anything would have worked for me
because something is wrong with my system.
[[root@localhost /root]# cdrecord -scanbus
Cdrecord 1.9 (i686-pc-linux-gnu) Copyright (C) 1995-2000 Jörg Schilling
cdrecord: No such file or directory. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you
are root.
[root@localhost /root]# kOnCD
bash: kOnCD: command not found
Even though I think I have compiled these modules into my kernel, I
have no idea if they are up and running. They don't seem to be. The
documentation says that modules are loaded automatically, but are they
today.
Where do I go from here?
Originally posted by fizban64 The Link above is invalid.
Whenever stuff like this happens, and pages disappear, google often still has a cache of the page. In this case, doing a search for peachy howto cdr returns a suitable link. Select the "cached" link and you can see the original howto document.
Slackware 8.0
TEAC CDRW on IDE2, primary - /dev/hdc
This is just what I did to get scsi emulation working. I haven't burned anything yet.
If any of this is too elementary to you, skip it, but it sounds like you either didn't compile something in, or a module is not loaded.
In X, go to /usr/src/linux (or whatever dir holds the sources for your current kernel), and do:
make xconfig
Hit the 'Load Configruation from File' button and put in '.config' and hit OK
Check for the following:
ATA/IDE/MFM/RLL suport:
IDE ATA & ATAPI Block Devices:
IDE/ATAPI CDROM support (kernel for me, module name ide-cd)
SCSI Emulation Support (module named ide-scsi.o)
SCSI Support:
SCSI Support (module named scsi_mod.o)
SCSI Disk Support (module named sd_mod.o)
SCSI CD-ROM Support (module named sr_mod.o)
SCSI Generic Support (module named sg.o)
I guess you can build whichever ones of those you want into kernel, instead of using modules. Whatever doesn't get built into the kernel, modprobe in. For me, this meant doing:
Obviously, you won't see things here that you have chosen to compile directly into the kernel. But you should make sure the the things in the above list are either in the kernel, or insterted as modules. (Not sure if they're all really needed--that's why I went with modules, so I can remove the unnecessary ones after testing)
Once I was sure it worked I added
/sbin/modprobe <module>
for each of the modules i needed into my /etc/rc.d/rc.modules script.
Here's my /etc/fstab showing the line added for my scsi-emulated burner:
Then in my lilo.conf, under the kernel I was enabling scsi emulation in, I added:
append=" hdc=ide-scsi"
Substitute your own hdx, of course.
I did cdrecord -scanbus, and there was my burner! I can also mount /dev/scd0 /mnt/burner. I read that you also need the loop module (or kernel support) for certain uses, but I forget what it was. Let us know how it goes.
Last edited by urinal cake; 04-07-2002 at 06:19 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.