problem with cdrecord / Fedora Core 2 (/dev/sg*)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



My TEAC R55S SCSI CD-Burner works fine with Fedora Core 1.

cat /proc/scsi/sg/devices
0       0       0       0       0       1       1       0       1
1       0       3       0       5       1       2       0       1

cat /proc/scsi/sg/device_strs
TinyDisk        2003-10-10              2.00
TEAC            CD-R55S                 1.0R

Fedora Core 2 also recognizes it at /dev/scd0 (CD-reading works fine).
But cdrecord, only regognizes my ATAPI-CDROM, which isn't a CD-Writer:

cdrecord --scanbus
Cdrecord-Clone 2.01a27-dvd (i686-pc-linux-gnu) Copyright (C) 1995-2004
Jörg Schilling
Note: This version is an unofficial (modified) version with DVD support
Note: and therefore may have bugs that are not present in the original.
Note: Please send bug reports or support requests to
<warly@xxxxxxxxxxxxxxxx>.
Note: The author of cdrecord should not be bothered with problems in
this version.
scsidev: 'ATA'
devname: 'ATA'
scsibus: -2 target: -2 lun: -2
Warning: Using badly designed ATAPI via /dev/hd* interface.
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.8'.
cdrecord: Warning: using inofficial libscg transport code version
(schily - Red Hat-scsi-linux-sg.c-1.80-RH '@(#)scsi-linux-sg.c   1.80
04/03/08 Copyright 1997 J. Schilling').
scsibus1:
        1,0,0   100) 'LG    ' 'CD-ROM CRD-8522B' '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) *
cdrecord --checkdrive
Cdrecord-Clone 2.01a27-dvd (i686-pc-linux-gnu) Copyright (C) 1995-2004
Jörg Schilling
Note: This version is an unofficial (modified) version with DVD support
Note: and therefore may have bugs that are not present in the original.
Note: Please send bug reports or support requests to
<warly@xxxxxxxxxxxxxxxx>.
Note: The author of cdrecord should not be bothered with problems in
this version.
scsidev: 'ATAPI:0,0,0'
devname: 'ATAPI'
scsibus: 0 target: 0 lun: 0
Warning: Using ATA Packet interface.
Warning: The related libscg interface code is in pre alpha.
Warning: There may be fatal problems.
Using libscg version 'schily-0.8'.
Device type    : Removable CD-ROM
Version        : 0
Response Format: 1
Vendor_info    : 'LG      '
Identifikation : 'CD-ROM CRD-8522B'
Revision       : '1.02'
Device seems to be: Generic mmc CD-ROM.
cdrecord: Sorry, no CD/DVD-Recorder or unsupported CD/DVD-Recorder found
on this target.

I have tried serveral former Versions of cdrecord (also the one included
in Fedora Core 1) whitout success.

The main problem seems to me, that there are no sg-scsi-devices:
cat /proc/scsi/sg/devices
cat /proc/scsi/sg/device_strs
...no result

I can find the CD-Weiter in the sysfs:
cat /sys/bus/scsi/devices/0\:0\:3\:0/model
CD-R55S
cat /sys/bus/scsi/devices/0\:0\:3\:0/vendor
TEAC

So, were are the /dev/sg* - devices? And why doesn't find cdrecord the
SCSI-Device?

To resolve the problem. I made a link:
ln -s /dev/scd0 /dev/sg0
cdrecord --scanbus
scsibus0:
        0,0,0     0) *
        0,1,0     1) *
        0,2,0     2) *
        0,3,0     3) 'TEAC    ' 'CD-R55S       ' '1.0R' Removable CD-ROM
        0,4,0     4) *
        0,5,0     5) *
        0,6,0     6) *
        0,7,0     7) *

but it still doesn't work, I get the follwoing error:

> cdrecord -v dev=0,3,0 speed=1 -data /root/project.iso

Cdrecord-Clone 2.01a27-dvd (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
Note: This version is an unofficial (modified) version with DVD support
Note: and therefore may have bugs that are not present in the original.
Note: Please send bug reports or support requests to <warly@xxxxxxxxxxxxxxxx>.
Note: The author of cdrecord should not be bothered with problems in this version.
TOC Type: 1 = CD-ROM
scsidev: '0,3,0'
scsibus: 0 target: 3 lun: 0
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.8'.
cdrecord: Warning: using inofficial libscg transport code version (schily - Red Hat-scsi-linux-sg.c-1.80-RH '@(#)scsi-linux-sg.c 1.80 04/03/08 Copyright 1997 J. Schilling').
SCSI buffer size: 64512
atapi: 1
Device type : Removable CD-ROM
Version : 2
Response Format: 2
Capabilities : RELADR SYNC LINKED
Vendor_info : 'TEAC '
Identifikation : 'CD-R55S '
Revision : '1.0R'
Device seems to be: Teac CD-R50S.
Using driver for Teac CD-R50S, Teac CD-R55S, JVC XR-W2010, Pinnacle RCD-5020 (teac_cdr50).
Driver flags : SWABAUDIO
Supported modes: TAO
FIFO size : 4194304 = 4096 KB
Track 01: data 1 MB
Total size: 1 MB (00:06.94) = 521 sectors
Lout start: 1 MB (00:08/71) = 521 sectors
Current Secsize: 2048
Blocks total: 359849 Blocks current: 359849 Blocks remaining: 359328
Starting to write CD/DVD at speed 1.0 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.
cdrecord: Success. clear subcode: scsi sendcmd: no error
CDB: E4 00 00 00 00 80 00 00 00 00 00 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 24 00 00 C0
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x24 Qual 0x00 (invalid field in cdb) Fru 0x0
Sense flags: Blk 0 (not valid) error refers to command part, bit ptr 0 (not valid) field ptr 0
cmd finished after 0.008s timeout 40s
cdrecord: Cannot open new session.
Writing time: 0.039s
cdrecord: fifo had 17 puts and 0 gets.
cdrecord: fifo was 0 times empty and 0 times full, min fill was 100%.


Thanks for your help
Werner Hagmanns



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux