LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Lite - On CD-RW Not working (https://www.linuxquestions.org/questions/linux-hardware-18/lite-on-cd-rw-not-working-229089/)

zepplin611 09-10-2004 05:20 PM

Lite - On CD-RW Not working
 
I am using RH 9.0 and am having troubles with the CD-RW i have installed.

Here is some info that may provide someone with insight into my problems:

output of cdrecord -scanbus:

Cdrecord 2.0 (i686-pc-linux-gnu) Copyright (C) 1995-2002 Jrg Schilling
Linux sg driver version: 3.1.24
Using libscg version 'schily-0.7'
scsibus0:
0,0,0 0) 'LITE-ON ' 'LTR-52327S ' 'QS09' 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) *


output of uname -a:
2.4.20-31.9 #1 Tue Apr 13 17:38:16 EDT 2004 i686 athlon i386 GNU/Linux


output from dmesg |grep -i cd:

hdd: LITE-ON LTR-52327S, ATAPI CD/DVD-ROM drive
Type: CD-ROM ANSI SCSI revision: 02
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
sr0: scsi3-mmc drive: 218x/52x writer cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.12


I am booting with the grub bootloader and the output of cat /boot/grub/grub.conf:

default=0
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title Red Hat Linux (2.4.20-31.9)
root (hd0,0)
kernel /vmlinuz-2.4.20-31.9 ro root=LABEL=/
initrd /initrd-2.4.20-31.9.img
title Red Hat Linux (2.4.20-6)
root (hd0,0)
kernel /vmlinuz-2.4.20-6 ro root=LABEL=/
initrd /initrd-2.4.20-6.img


Now I have tried burning using cdrecord -v speed=24 dev=0,0,0 file.text

and the file does not burn to the cd properly...as i can not mount it later...

Can anyone provide any diagnostics on how to fix this ?????


ALL HELP IS APPRECIATED!

zepp

J.W. 09-10-2004 07:31 PM

This is how I burn via the CLI. (Example is based on burning the contents of an entire directory to a CD rather than just a single file.)

Make your image file, if necessary, which I'll call "my_image.img" by running this command
Code:

mkisofs -r -o my_image.img /home/user/whatever
Burn it to CD by running this command:
Code:

cdrecord -v speed=8 dev=0,0,0 -data my_image.img
Obviously you would want to adjust the speed parameter to fit your hardware. -- J.W.

zepplin611 09-10-2004 07:36 PM

thanks for the help JW --- though I question whether or not my server is properly
recognizing the CD-RW...how can I confirm this??? I am particularly concerned
this Lite-On CD-RW replaced a Lite-On CD-Rom...I think the output from dmesg
may be hinting at this problem...

any help with this???

zepp

J.W. 09-10-2004 07:41 PM

All the output you've posted shows that the machine is recognizing the new drive. It all looks good to me, and if the machine wasn't seeing your new CD you wouldn't get any results in the cdrecord -scanbus or dmesg output. As I said, I think the issue may be with the command you're inputting, namely that you need to pass it the -data flag. -- J.W.

zepplin611 09-13-2004 11:16 AM

JW -- Your method worked!!!! Thanks a bunch!!!

zepp

J.W. 09-13-2004 12:22 PM

Glad to help, you're welcome. -- J.W.


All times are GMT -5. The time now is 07:19 AM.