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

Re: How to tell if mounted media is CD-R, CD-RW or CD-ROM?



I was asked to give more details.

However, i found out that even if I don't get the "erasable" strings,
if I add "-v" I get the same info in another way (the "current
profile" stuff)

So immediate problem is solved.


#  The version number of cdrecord that caused the bug.
Cdrecord-ProDVD-Clone 2.01.01a01 (i686-pc-linux-gnu) Copyright (C)
1995-2004 Jörg Schilling

# The command line that was used for the failing command.
cdrecord -atip dev=<devid>

# The complete output (including error messages) from 'cdrecord -v ...'
scsidev: '1,0,0'
scsibus: 1 target: 0 lun: 0
Linux sg driver version: 3.1.25
./cdrecord-prodvd-2.01.01: Warning Linux Bus mapping botch.
SCSI buffer size: 64512
./cdrecord-prodvd-2.01.01: This version of cdrecord limits
DVD-R/DVD-RW supportto -dummy or 1 GB real.
./cdrecord-prodvd-2.01.01: If you need full DVD-R/DVD-RW support, ask
the Author for cdrecord-ProDVD.
./cdrecord-prodvd-2.01.01: Free test versions and free keys for personal use are
 at ftp://ftp.berlios.de/pub/cdrecord/ProDVD/
./cdrecord-prodvd-2.01.01: Input/output error. read buffer: scsi sendcmd: no err
or
CDB:  3C 00 00 00 00 00 00 FC 00 00
status: 0x0 (GOOD STATUS)
cmd finished after 0.002s timeout 40s

Cdrecord-ProDVD-Clone 2.01.01a01 (i686-pc-linux-gnu) Copyright (C)
1995-2004 Jörg Schilling
Unlocked features:
Limited  features:
TOC Type: 1 = CD-ROM
Using libscg version 'schily-0.8'
atapi: 1
Device type    : Removable CD-ROM
Version        : 2
Response Format: 2
Capabilities   :
Vendor_info    : 'HL-DT-ST'
Identifikation : 'DVDRRW GSA-2164D'
Revision       : '1.00'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Current: CD-RW
Profile: DVD-RAM
Profile: DVD+RW/DL
Profile: DVD+R
Profile: DVD+RW
Profile: 0x0016
Profile: 0x0015
Profile: DVD-RW sequential overwrite
Profile: DVD-RW restricted overwrite
Profile: DVD-R sequential recording
Profile: DVD-ROM
Profile: CD-RW (current)
Profile: CD-R
Profile: CD-ROM
Profile: Removable Disk
Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
Driver flags   : MMC-3 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
Drive buf size : 1114112 = 1088 KB
Current Secsize: 2048
  ATIP start of lead in:  -12374 (97:17/01)
  ATIP start of lead out: 359849 (79:59/74)
Disk type:    Phase change
Manuf. index: 69
Manufacturer: Moser Baer India Limited
Manufacturer is guessed because of the orange forum embargo.
The orange forum likes to get money for recent information.
The information for this media may not be correct.

# Probably the important part of the 'cdrecord -V' output if we agreed on it
Attached, but I had to use a "patched" cdrecord since cdrecord-prodvd
would not give debug with -V

# The OS name, release and hardware (processor)
Linux RHEL3 , with stock 2.4.32 kernel.org kernel

# Special conditions of your environment (libc vers. SCSI transport ...)
glibc-2.3.2-95.33,
 static char * sg_version_str = "Version: 3.1.25 (20030529)";
 static int sg_version_num = 30125; /* 2 digits for each component */
*
# Sufficient information on the media used. This is at least the ATIP
data, a note to #CD-R/CD-RW and information on the state and the case
history of this media.
The atip data if any is in the log above.


--
giulioo@pobox.com

Attachment: cd.log.gz
Description: GNU Zip compressed data


Reply to: