Koozali.org: home of the SME Server

adding an ide cdrw drive?

daithik

adding an ide cdrw drive?
« on: January 30, 2002, 02:45:08 PM »
Folks,
any idea how I add an IDE CDRW deive to e-smith 5.1.2?
I have followed the instructions on http://www.geocities.com/lapsch/webCDWriter-howto.html,
and all seems fine except for e-smith seeing the drive as a cd burner, it sees it ok on start-up but running cdrecord -scanbus results in the following:
[root@serve /root]# cdrecord -scanbus
Cdrecord 1.10 (i686-pc-linux-gnu) Copyright (C) 1995-2001 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.

any help would be appreciated,
daithik.

Luciano Terra

Re: adding an ide cdrw drive?
« Reply #1 on: January 30, 2002, 05:30:27 PM »

daithik

Re: adding an ide cdrw drive?
« Reply #2 on: January 30, 2002, 05:41:44 PM »
Thanks,
getting further with the help of this...
one other issue -  append="hdd=ide-scsi" to /etc/lilo.conf - on e-smith this file is a template, any ideas which is the correct file to add this line to?

Craig

Re: adding an ide cdrw drive?
« Reply #3 on: February 08, 2002, 06:33:49 AM »
I am having the same problem as you.

Could you post here what you did to get it going or if I get it going tonight I will post what I did.

Regards
Craig

daithikuk

Re: adding an ide cdrw drive?
« Reply #4 on: February 13, 2002, 04:26:02 PM »
To get the CDRW (HP 9100) to work with e-smith 5.12 after a fresh install & also work with WebCDWriter what I needed to do was:
download & install: audiofile, esound, mpg123, mkisofs, cdrecord, cdda2wav, cdrecord-devel & webCDWriter.
Add 3 lines to modules.conf
Reboot and all was working.

Links to the downloads I used & change to modules.conf are below.
Daithi.



ssh to the e-smith box (or login at the console)

cd /home/e-smith/files/primary/files
mkdir webcd
cd webcd

wget ftp://rpmfind.net/linux/redhat/7.2/en/os/i386/RedHat/RPMS/audiofile-0.2.1-2.i386.rpm

wget ftp://rpmfind.net/linux/redhat/7.2/en/os/i386/RedHat/RPMS/esound-0.2.22-5.i386.rpm

wget ftp://rpmfind.net/linux/redhat/7.1/en/os/i386/RedHat/RPMS/mpg123-0.59r-10.i386.rpm

wget ftp://rpmfind.net/linux/redhat/7.2/en/os/i386/RedHat/RPMS/mkisofs-1.10-4.i386.rpm

wget ftp://rpmfind.net/linux/redhat/7.2/en/os/i386/RedHat/RPMS/cdda2wav-1.10-4.i386.rpm

wget ftp://rpmfind.net/linux/redhat/7.2/en/os/i386/RedHat/RPMS/cdrecord-devel-1.10-4.i386.rpm

wget http://wwwhomes.uni-bielefeld.de/jhaeger/webCDwriter/download/webCDwriter-2.1-1.i586.rpm

wget ftp://rpmfind.net/linux/redhat/7.2/en/os/i386/RedHat/RPMS/cdrecord-1.10-4.i386.rpm


now that all required files are downloaded, create your WebCDCreator directory.

mkdir /home/e-smith/files/primary/html/webCDcreator
ln -s /home/e-smith/files/primary/html/webCDcreator /var/www/html/webCDcreator



Now to install the downloaded files:

rpm -Uvh *.rpm

once installed you need to edit modules.conf

pico /etc/modules.conf

add the following lines to the end of this file:

alias scd0 srmod
alias scsi_hostadapter ide-scsi
options ide-cd ignore=hdc

replace hdc on the last line with the device name e-smith gives your cd burner. In my case it is hdc = the first device on the secondary IDE controller.


Reboot the e-smith server. Once back up ssh back in and issue:

cdrecord --scanbus

results should look something like:
scsibus0:
   0,0,0     0) 'HP      ' 'CD-Writer+ 9100b' '1.07' 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) *


You are now ready to burn CDs - if you want to use WebCDCreator, you have one last file to edit - /etc/CDWserver/config

pico /etc/CDWserver/config

Scrool down to section 5 - # 5. CD-ROM(s) and CD-writer(s)
and change:
#CDwriters=auto
to:
CDwriters=0,0,0 (use results from cdrecord --scanbus)

Make whatever config changes you want. When done restart WebCDWriter.

/etc/rc.d/init.d/CDWserver start

use a browser on your Lan and browse to:
http://servername/webCDcreator

and finally off you go.


sorry for the long winded post & thanks to Placido Sanchez for his how-to on http://www.geocities.com/lapsch/webCDWriter-howto.html which these instructions are based on.

daithikuk

Re: adding an ide cdrw drive?
« Reply #5 on: February 13, 2002, 06:02:51 PM »
sorry, the version of cdrecord above is not working with my e-smith 5.1.2 server - all else is fine - any ideas what version should be used with the 5.1.2 kernel?

daithikuk

correct version of cdrecord - Re: adding an ide cdrw drive?
« Reply #6 on: February 13, 2002, 06:47:12 PM »