LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-28-2003, 02:43 PM   #1
HLVS
Member
 
Registered: Oct 2003
Location: Prague, Czech Republic
Distribution: Gentoo, FreeBSD
Posts: 37

Rep: Reputation: 15
Unhappy cdrecord problems using both - scsi-emulation


Hi,
I've got problems burning CDs using cdrecord. I've scsi-emulation, general scsi support, etc. compiled into kernel and everything seems okay:

bash-2.05b# cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: TEAC Model: CD-W516EB Rev: 1.0B
Type: CD-ROM ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 01 Lun: 00
Vendor: PIONEER Model: DVD-ROM DVD-106 Rev: 1.22
Type: CD-ROM ANSI SCSI revision: 02

I've got also cdrecord -scanbus working nice:

bash-2.05b# cdrecord -scanbus
Cdrecord 2.01a14 (i686-pc-linux-gnu) Copyright (C) 1995-2003 Jörg Schilling
Linux sg driver version: 3.1.25
Using libscg version 'schily-0.7'
scsibus0:
0,0,0 0) 'TEAC ' 'CD-W516EB ' '1.0B' Removable CD-ROM
0,1,0 1) 'PIONEER ' 'DVD-ROM DVD-106 ' '1.22' Removable CD-ROM
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *

Blanking CD-RW seems to be working:

bash-2.05b# cdrecord blank=fast dev=0,0,0
Cdrecord 2.01a14 (i686-pc-linux-gnu) Copyright (C) 1995-2003 Jörg Schilling
scsidev: '0,0,0'
scsibus: 0 target: 0 lun: 0
Linux sg driver version: 3.1.25
Using libscg version 'schily-0.7'
Device type : Removable CD-ROM
Version : 0
Response Format: 1
Vendor_info : 'TEAC '
Identifikation : 'CD-W516EB '
Revision : '1.0B'
Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr).
Driver flags : MMC SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
Starting to write CD/DVD at speed 10 in real BLANK mode for single session.
Last chance to quit, starting real write 0 seconds. Operation starts.
bash-2.05b#

No errors so I suppose everything is ok..
And finally, here is the problem:

bash-2.05b# cdrecord dev=0,0,0 MorphixCombined-Gnome-0.4-1.iso
Cdrecord 2.01a14 (i686-pc-linux-gnu) Copyright (C) 1995-2003 Jörg Schilling
scsidev: '0,0,0'
scsibus: 0 target: 0 lun: 0
Linux sg driver version: 3.1.25
Using libscg version 'schily-0.7'
Device type : Removable CD-ROM
Version : 0
Response Format: 1
Vendor_info : 'TEAC '
Identifikation : 'CD-W516EB '
Revision : '1.0B'
Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr).
Driver flags : MMC SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
Starting to write CD/DVD at speed 10 in real TAO mode for single session.
Last chance to quit, starting real write 0 seconds. Operation starts.
Turning BURN-Free off
cdrecord: Input/output error. write_g1: scsi sendcmd: no error
CDB: 2A 00 00 00 01 93 00 00 1F 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 24 00 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x24 Qual 0x00 (invalid field in cdb) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 0.029s timeout 40s
write track data: error after 825344 bytes
cdrecord: A write error occured.
cdrecord: Please properly read the error message above.
bash-2.05b#

So I properly read that message above and ... here am I
I've also tried to compile another kernel with scsi as modules and tried to burn using ATAPI and I was even able to burn CDs, but it was never succesful - it stopped during the process. But since ATAPI libscg is pre alpha i dont find it as a mistake between keyboard and monitor.. :-) Burning works fine with windows + nero, so hardware shouldn't be broken..

Thanks for your time
 
Old 10-28-2003, 03:09 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
I have hit the same problem occasionally. In my case I can get around the problem by changing:
cdrecord blank=fast dev=0,0,0
to
cdrecord blank=all dev=0,0,0


___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
Old 10-28-2003, 03:32 PM   #3
HLVS
Member
 
Registered: Oct 2003
Location: Prague, Czech Republic
Distribution: Gentoo, FreeBSD
Posts: 37

Original Poster
Rep: Reputation: 15
I've tried to blank the entire CD as you recommended and got these errors:

bash-2.05b# cdrecord -v MorphixCombined-Gnome-0.4-1.iso dev=0,0,0 driveropts=burnfree
Cdrecord 2.01a14 (i686-pc-linux-gnu) Copyright (C) 1995-2003 Jörg Schilling
TOC Type: 1 = CD-ROM
scsidev: '0,0,0'
scsibus: 0 target: 0 lun: 0
Linux sg driver version: 3.1.25
Using libscg version 'schily-0.7'
Driveropts: 'burnfree'
atapi: 1
Device type : Removable CD-ROM
Version : 0
Response Format: 1
Vendor_info : 'TEAC '
Identifikation : 'CD-W516EB '
Revision : '1.0B'
Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr).
Driver flags : MMC SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
Drive buf size : 1674624 = 1635 KB
FIFO size : 4194304 = 4096 KB
Track 01: data 479 MB
Total size: 551 MB (54:35.94) = 245696 sectors
Lout start: 551 MB (54:37/71) = 245696 sectors
Current Secsize: 2048
ATIP info from disk:
Indicated writing power: 2
Reference speed: 6
Is not unrestricted
Is erasable
Disk sub type: High speed Rewritable (CAV) media (1)
ATIP start of lead in: -11077 (97:34/23)
ATIP start of lead out: 359849 (79:59/74)
1T speed low: 4 1T speed high: 10
2T speed low: 2 2T speed high: 10
power mult factor: 2 6
recommended erase/write power: 5
A1 values: 24 2C DC
A2 values: 14 A4 4A
Disk type: Phase change
Manuf. index: 11
Manufacturer: Mitsubishi Chemical Corporation
Blocks total: 359849 Blocks current: 359849 Blocks remaining: 114153
Starting to write CD/DVD at speed 10 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 ON.
Performing OPC...
Starting new track at sector: 0
Track 01: 0 of 479 MB written.cdrecord: Input/output error. write_g1: scsi sendcmd: no error
CDB: 2A 00 00 00 01 74 00 00 1F 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 24 00 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x24 Qual 0x00 (invalid field in cdb) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 0.016s timeout 40s

write track data: error after 761856 bytes
cdrecord: A write error occured.
cdrecord: Please properly read the error message above.
Writing time: 17.215s
Average write speed 351.9x.
Fixating...
Fixating time: 31.847s
cdrecord: fifo had 76 puts and 13 gets.
cdrecord: fifo was 0 times empty and 3 times full, min fill was 92%.

I've noticed "status: 0x2 (CHECK CONDITION) " so i tried the burn process one more time with brand new cd and the error were the same.. It seems Gentoo does not want me to burn any other distribution :-)

Last edited by HLVS; 10-28-2003 at 03:35 PM.
 
Old 10-29-2003, 04:20 PM   #4
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
I am at a lose as to what your problem is.

The fast erase sometimes creates a bad spot at the end of the erase and full erase did not fix the problem.

Sometimes you have a bad CD-RW but you have tried several CD-RWs, including a new one with the same results.

Sometimes you get a bad drive which may or may not be fixable by cleaning the heads but Windows Nero works OK.

I suggest that you try a CD-R and see what happens, not because I particularly expect it to work but because it may give you a different clue as to what the problem is.


___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
Old 10-29-2003, 04:34 PM   #5
HLVS
Member
 
Registered: Oct 2003
Location: Prague, Czech Republic
Distribution: Gentoo, FreeBSD
Posts: 37

Original Poster
Rep: Reputation: 15
I've tried many CD-Rs or CD-RWs, but the error was the same.. i've got it working today using 2.6-beta-test9 kernel+ATAPI burning (scsi-emulation even was not compiled) and it worked, but i have found some problems using 2.6 kernel, so im trying to make brand new configuration for 2.4.23-pre8..
I have made 4 new kernels today and still same problem.. maybe it has something to do with the version of gcc im using (3.2.3).. it looks i will have to wait until 2.6 is definetely out.. :o)

Last edited by HLVS; 10-29-2003 at 04:36 PM.
 
Old 02-02-2005, 12:21 AM   #6
JeanBrownHarrel
Member
 
Registered: Sep 2004
Location: Phoenix, Arizona, USA
Distribution: Ubuntu Linux 18.04-amd64
Posts: 50

Rep: Reputation: 16
CD/DVD burning ALWAYS with errors with both K3b & Xcdroast!!!

Dear Folks: I have been having the same problem with DVD & CD burning. Always with errors. Nothing I do seems to work. Occasionally I get a CD burned without an error. Always the DVD is burned with errors. I have yet to burn a DVD without errors. I have tried everything I know: ide-scsi emulation, setting the permissions different with K3b setup, and logging in as root and using both K3b and Xcdroast. Nothing works. I have an AMD Athlon 64 3400 processor with a MSI K8T-NeoFSR2 motherboard [MS-6702] with 1 GB of RAM and 2 CD/DVD combo burner drives: a Lite-On and an Optorite drive and nothing seems to work! I am running Fedora Core 2 the 32-bit version with the 2.6.5-1.358 kernel and nothing seems to work. It does not matter what kernel I use as the result is the same. I give up. I even tried Fedora Core 3 but it was so buggy and flawed I had to go back to Fedora Core 2 until Fedora Core 4 comes out as I had too many problems with Fedora Core 3 [which is garbage and should be junked]. Any ideas anyone? I may have to install Windows just to get some DVDs & CDs to burn without errors although I purely HATE Windoze.

Jbrowncalif@hotmail.com
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cdrecord doesn't work, scsi emulation on? tsphan Linux - Hardware 4 02-02-2005 09:05 PM
scsi-emulation, cdrecord, and xsane problems FiveFlat Linux - Software 2 12-12-2004 06:46 PM
cd burner problems, SCSI emulation help? kryptobs2000 Linux - Hardware 2 06-21-2004 09:53 AM
SCSI Emulation Problems nrunge Linux - Software 0 11-11-2003 07:48 PM
cdrecord (scsi emulation) HwzrHlslndr Linux - Software 17 01-11-2003 07:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration