Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
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.
Hi, I have just installed a new LG cd writer into this machine, and was having trouble burning with it. I am running Red Hat 9 Kernel 2.4.20-8. Blanking works fine, heres what i get when I try to burn:
Starting to write CD/DVD at speed 4 in real TAO mode for single session.
Last chance to quit, starting real write 0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
BURN-Free is OFF.
Performing OPC...
cdrecord: Input/output error. read track info: scsi sendcmd: no error
CDB: 52 01 00 00 00 FF 00 00 1C 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 30 06 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x30 Qual 0x06 (cannot format medium - incompatible medium) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 0.000s timeout 240s
Writing time: 0.231s
Average write speed 999.0x.
Fixating...
Fixating time: 0.001s
cdrecord: fifo had 64 puts and 0 gets.
cdrecord: fifo was 0 times empty and 0 times full, min fill was 100%.
Are you sure that's your device? cdrecord --scanbus to check. Haven't seen a 0,0,0 device before, but anythign's possible. You will also want to specify generic-mmc-raw mode when writing. I also have a LG drive.
The rest of the errors look like the data you are trying to write isn't there or isn't in the right format. I dunno, but do the previous stuff first when diagnosing.
I am pretty sure I am using the right media because Windows has no problems writing to it, and I have actually burned twice successfully from Linux before. (dont know what I did differently, same command). Using -scanbus, the device number is correct, and blanking a CDRW always worked. This is a resent error I got trying to burn. If it helps, the burner is a primary slave and there is a secondary slave cd drive attached.
Track 01: 0 of 139 MB written.cdrecord: Input/output error. write_g1: scsi sendcmd: no error
CDB: 2A 00 00 00 00 00 00 00 1F 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 04 00 00 00 00 0A 00 00 00 00 08 03 00 00
Sense Key: 0x4 Hardware Error, Segment 0
Sense Code: 0x08 Qual 0x03 (logical unit communication crc error (ultra-dma/32)) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 0.005s timeout 40s
write track data: error after 0 bytes
Sense Bytes: 70 00 00 00 00 00 00 0A 00 00 00 00 00 00 00 00 00 00
Writing time: 10.959s
Average write speed 87.7x.
Fixating...
Fixating time: 80.472s
cdrecord: fifo had 64 puts and 1 gets.
cdrecord: fifo was 0 times empty and 0 times full, min fill was 100%.
Here is the output of -scanbus. The device is now 1,0,0 after I connected a USB card reader, still no luck burnin with dev=1,0,0 though.
As far as the /etc/cdrecord.conf file, for some reason its comming up as a YAMAHA drive which is weird. Could it be using the same modules??
AsCdrecord 2.0 (i686-pc-linux-gnu) Copyright (C) 1995-2002 J�g
Using libscg version 'schily-0.7'
scsibus0:
0,0,0 0) 'SanDisk ' 'ImageMate CF-SD1' '0100' Removable Disk
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) *
scsibus1:
1,0,0 100) 'HL-DT-ST' 'CD-RW GCE-8520B ' '1.02' Removable CD-ROM
1,1,0 101) *
1,2,0 102) *
1,3,0 103) *
1,4,0 104) *
1,5,0 105) *
1,6,0 106) *
1,7,0 107) *
I have 2 machines one with a Yamaha CRW-F1E with the 2@tattoo and I also have a sony CRX215E5 drive and I have tried X-CD-Roast, KonCD and GNOME Toaster and I get the same stuff as listed in the top message.
I have tried TDK 2X/4X and I then tried memorex 700mb 80min multi speed cdrw media that goes up to 12X. guess what no go. I then went and found as many web pages and wrote a letter to a person of one of them about this.
Now one thing I will also note that when I used GNOME TOASTER it popped up a web page to check for drivers. cdrado.sourceforge.net/drivers do a search on this as its an HTML page thing. Keep you posted.
# Burn an ISO to disk
cdrecord -v speed=<burning speed> dev=<your device> /path/to/foo.iso
# Burn from disk to disk
cdrecord -v dev=<your device> speed=<burning speed> -isosize /dev/cdrom
# Generate an ISO from a directory.
mkisofs -Jr -o foo.iso /path/to/directory
mkisofs -vrTJUV "Label" -o foo.iso /path/to/directory
# Generate an ISO from a CD
dd if=/dev/cdrom of=foo.iso Linux MP3 CD Burning mini-HOWTO
# Convert mp3 to wav with lame
for i in *.mp3; do lame --decode $i `basename $i .mp3`.wav; done
# Burn a CD from wav files
cdrecord -v -audio -pad speed=<burning speed> dev=<your device> /path/to/*.wav
# Erase a CDRW
cdrecord -v dev=<your device> speed=<burning speed> blank=fast
When I run the cdrecord --scanbus it comes up just like it should in my redhat book as scsibus 0,0,0 Pioneer DVD-RW DVR-105 1.21 removable CD-ROM
the next one 0,1,0 1)Yamaha CRW-F1E 1.0c Removable CD-ROM.
What I'm trying to do is learn this O/S from both the command prompt and the GUI. I did blank the CDRW in windows XP on the Yamaha with no problem and put a jpg image on it and then pull it up just fine in REDHAT 8.0 but for trying to get it to blank the CDRW not. It comes up with -tfs bad block something iso9660 ,kudzu,noauto. I haven't tried the command line yet. But I might just do it again for aggervation and post the info that it spits out after it finishes.
I have also tried GTOASTER and recieved the exact same error message I did when using command line. This led me to believe that GTOASTER is jsut a graphical interface of CDRECORD and not a different program.
Well I did now, without better results... as I understand it (i could be wrong) it will only read from that file as long as i dont specify a device in the cdrecord command line, which I did.
Corin: me being a newb, I have absolutely no Idea what SMP or APIC means. I didnt even compile the kernel myself, Just installed Red Hat and it detected the drive and did all the SCSI emulation.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.