Click to See Complete Forum and Search --> : CD-RW and CD-Rom together


cage47
03-29-2001, 11:01 AM
Gathering info for next month's project. I understand the process now to get an IDE cd-rewriter installed (memorex 1622) But I want to also have my old 4x cdrom installed to burn from cd to cd. (Also isa) At least in Mandrake 7.0 will is recognize the cd-rom as isa AND give the cd-rw the necessary scsi emulation? Anyone else have this kind of setup working? Also what would be the best cd burning proggies to try. I have the bunch from Maximum Linux (RIP) :(

7
03-29-2001, 11:33 AM
isa cdrom? Im guessing you just mis-typed ide.

The way I have my (IDE) cdrom and rewriter, is scsi emulation on both of them. I just turned off IDE cdrom support in my kernel and on with the emulation. It sees both my drives as scsi now. No messing with LILO either.

My favorite cd-buring programs are cdrecord and cdrdao. But there both command line.

MBMarduk
03-29-2001, 11:38 AM
You prolly want a "front end" in X for the CLI progs. ;)
There are a LOT out there , tho I don't use one.

Damn, I'm so glad I grabbed the CD-writing HOW-TO from linuxdoc.org and printed it...soooo handy! Here (http://www.linuxdoc.org/HOWTO/CD-Writing-HOWTO.html) it is.

-Mike

cage47
03-29-2001, 11:39 AM
Duh, brain fart. IDE not isa Sorry, So the scsi emulation will work fine for the other cd also huh? Will keep this in mind. Does this work for anyone else?

7
03-29-2001, 12:24 PM
Oh yeah. Ive done it in all my installations. No messing with LILO appends thank god.

bdg1983
03-29-2001, 12:44 PM
Note that this is for Caldera and uses a extra module instead of the standard 2 modules used by most distros. Should give you an idea though.

Many people have nowadays more then one CD-ROM in there system (a 2nd CD-ROM or a CD-cdwriter). Sometimes they want to access data from the one or the other device. It is not possible to share both devices under one filesystem entry, like /auto/cdrom using amd, instead you have to create a 2nd entry in the system.

First of all, if you have an IDE CD writer (only) and want to burn with it with programs like xcdroast, you have to add the correct kernel modules for access.

1) Add the required modules with COAS-->kernel
2) Load the module "ide-scsi" and make sure that the "load at boot time" option is "enabled".
3) Load the module "sr_mod" and again "enable" "load at boot time".
4) Finally load the module "sg" and "enable" "load at boot time" too.

A SCSI CD writer shouldn't require any additional modules. It should be detected at installation. If not, make sure the module of your SCSI host adapter (eg. "aic7xxx"), "sr_mod" and "sg" are loaded.

Next you have to find out which node your device in the system has. If it is an (E)IDE device, then the node is named:
/dev/hda at controller 0 as master device
/dev/hdb at controller 0 as slave device
/dev/hdc at controller 1 as master device
/dev/hdd at controller 1 as slave device
/dev/hde at controller 2 as master device
/dev/hdf at controller 2 as slave device
For example let's assume the 2nd CD ROM (= CD writer) is the slave device on controller 1, then it is just /dev/hdd

If you have a SCSI CD-ROM or CD-Burner, all cd device are named /dev/scdX, where X is an enumerated value: /dev/scd0, /dev/scd1, ...

Now you've to choose a good name for the device, like "cdrom2" or "cdwriter". In the following, let's assume you choose "cdwriter".

Now open a command line window, such as xterm or konsole, and type the commands:

1) su root
2) mkdir /mnt/cdwriter
3) ln -s /dev/hdd /dev/cdwriter
4) echo "/dev/hdd /mnt/cdwriter iso9660 ro,user,noauto,exec 0 0" >> /etc/fstab
5) echo "cdwriter dev:=/dev/hdd;addopts:=ro,utimeout=10" >> /etc/am.d/localdev

Alternativly you can add such a line in /etc/fstab and /etc/am.d/localdev with the editor of your choice (be user root!).

Finaly edit (again as user root) the files /etc/X11/kdm/GiveConsole and /etc/X11/kdm/TakeConsole.
The very long line beginning with "CONSOLE_DEVICES" contains devices which are given/taken to/from the user who is logged in at the console using kdm. Add to both files at this entry (before the second double-quote ") the device name without leading "/dev/" (in our example: hdd) and cdwriter.