LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   cdrecord problems using both - scsi-emulation (https://www.linuxquestions.org/questions/linux-software-2/cdrecord-problems-using-both-scsi-emulation-109599/)

HLVS 10-28-2003 02:43 PM

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.. :D
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 :D
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

jailbait 10-28-2003 03:09 PM

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

HLVS 10-28-2003 03:32 PM

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 :-)

jailbait 10-29-2003 04:20 PM

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

HLVS 10-29-2003 04:34 PM

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)

JeanBrownHarrel 02-02-2005 12:21 AM

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


All times are GMT -5. The time now is 12:14 AM.