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

cdrecord problem



I havent burned cdroms for quite a while and recently, after upgrading to openbsd-3.1-current, I found out that somewhere after 3.0, cd burning stopped working.
It looks like it's not able to perform OPC correctly (I've pasted log from cdrecord at the bottom).
Notes:
1) it's not a hardware problem: the same thing works if I load a 3.0 kernel.
2) I believe the key message is "Bad file descriptor". Why does it say that?
3) The kernel doesn't spit any error regarding this specific OPC issue. Other usual messages are (they don't seem critic though):


cd0(atapiscsi0:0:0): Check Condition on opcode 0x43
    SENSE KEY: Illegal Request
     ASC/ASCQ: Illegal Field in CDB
cd0(atapiscsi0:0:0): Check Condition on opcode 0x28
    SENSE KEY: Illegal Request
     ASC/ASCQ: Logical Block Address Out of Range
cd0(pciide0:1:0): timeout
        type: atapi
        c_bcount: 4
        c_skip: 28
pciide0:1:0: device timeout, c_bcount=4, c_skip=28, status=58, ireason=02

Does anyone have a clue what broke? I tried to look up kernel code, but I'm not familiar with cdroms hardware at all.


Details:

Cdrecord 1.10 (i386-unknown-openbsd3.1) Copyright (C) 1995-2001 Jörg Schilling
TOC Type: 1 = CD-ROM
scsidev: '/dev/rcd0c:0,0,0'
devname: '/dev/rcd0c'
scsibus: 0 target: 0 lun: 0
Using libscg version 'schily-0.5'
atapi: 0
Device type    : Removable CD-ROM
Version        : 0
Response Format: 1
Vendor_info    : 'WAITEC  '
Identifikation : 'SAURUS          '
Revision       : ' 3.0'
Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
Driver flags   : SWABAUDIO
Drive buf size : 3244032 = 3168 KB
FIFO size      : 4194304 = 4096 KB
Track 01: data   42 MB
Total size:      48 MB (04:51.05) = 21829 sectors
Lout start:      49 MB (04:53/04) = 21829 sectors
Current Secsize: 2048
ATIP info from disk:
  Indicated writing power: 6
  Is not unrestricted
  Is not erasable
  Disk sub type: Medium Type A, low Beta category (A-) (2)
  ATIP start of lead in:  -11606 (97:27/19)
  ATIP start of lead out: 335100 (74:30/00)
Disk type:    Short strategy type (Phthalocyanine or similar)
Manuf. index: 18
Manufacturer: Plasmon Data systems Ltd.
Blocks total: 335100 Blocks current: 335100 Blocks remaining: 313271
Starting to write CD/DVD at speed 4 in write mode for single session.
Last chance to quit, starting real write in 0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
Performing OPC...
cdrecord: Input/output error. send opc: scsi sendcmd: retryable error
CDB:  54 01 00 00 00 00 00 00 00 00
status: 0x0 (GOOD STATUS)
cmd finished after 30.738s timeout 60s
cdrecord: Bad file descriptor. OPC failed.
cdrecord: fifo had 68 puts and 0 gets.
cdrecord: fifo was 0 times empty and 0 times full, min fill was 100%.


Giacomo Cariello, jwk_(_at_)_bug_(_dot_)_it KeyID: 3072/1024/0x409C9044 Fingerprint: 7984 10FD 0460 4202 BF90 3881 CDE4 D78E 409C 9044

"Put that mic in my hand and let me kick out the jams!" - MC5



Visit your host, monkey.org