Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

kernel/3131: Sony CD-RW CRX195E1 CD burning errors

From: Alex Cichowski <e12(at)tfz.net>
Date: Mon Mar 03 2003 - 09:21:06 EST


>Number: 3131
>Category: kernel
>Synopsis: Various kernel errors when using cdrecord with Sony CD-RW CRX195E1
>Confidential: no
net
>Environment:

	System      : OpenBSD-current (Feb 9 snapshot)
	Architecture: OpenBSD.i386
	Machine     : i386

>Description:

The problem occurs with a Sony CD-RW drive reported as a "SONY CD-RW CRX195E1" when trying to use cdrecord. There is no problem reading CDs. It results in various kernel error messages, and usually causes burning a CD to fail.

When I first encountered this problem, I had only been running commands like 'cdrecord -scanbus' and 'cdrecord -toc' (which resulted in errors like those shown below), but the system also froze, which I haven't had happen again yet.

This problem appears to be the same as one described in this message (which got no replies as far as I can see):  http://marc.theaimsgroup.com/?l=openbsd-tech&m=102988841312265&w=2 This message also suggests that the problem may have been introduced somewhere between OpenBSD 3.0 and OpenBSD-current in August 2002.

It may also be related to kernel/3127 (Sony CD-RW CRX140E missing interrupt errors), although the symptoms are somewhat different.

>How-To-Repeat:

Note:
This kernel is OpenBSD 3.2 GENERIC with kernel errata patches, a patch to fix Promise IDE controller problems, a patch to fix RAIDframe problems, and the following configuration changes:  pseudo-device raid 4
 option RAID_AUTOCONFIG
 option SEMMNI=16
 option SEMMNS=256
However, I have also reproduced this problem with an unpatched 3.2 GENERIC kernel (with the Promise IDE controller removed), and the February 9 snapshot.

booting hd0a:/bsd: 4419584+131072+868288+[154056+198616]=0x681168 start=0xd0100020 entry point at 0x100020

[ using 352676 bytes of bsd a.out symbol table ] Copyright (c) 1982, 1986, 1989, 1991, 1993

        The Regents of the University of California. All rights reserved. Copyright (c) 1995-2002 OpenBSD. All rights reserved. http://www.OpenBSD.org

Do you need help?X

OpenBSD 3.2 (GENERIC+RPT) #0: Sun Jan 26 00:43:15 CST 2003

    alex@test.local:/home/alex/openbsd/GENERIC+RPT

cpu0: disabling processor serial number
cpu0: Intel Pentium III ("GenuineIntel" 686-class, 512KB L2 cache) 499 MHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SYS,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SIMD
real mem = 133541888 (130412K)
avail mem = 117784576 (115024K)
using 1655 buffers containing 6778880 bytes (6620K) of memory mainbus0 (root)
bios0 at mainbus0: AT/286+(00) BIOS, date 09/11/00, BIOS32 rev. 0 @ 0xfda74 apm0 at bios0: Power Management spec V1.2 apm0: AC on, battery charge unknown
pcibios0 at bios0: rev. 2.1 @ 0xf0000/0x10000
pcibios0: PCI IRQ Routing Table rev. 1.0 @ 0xf2e70/208 (11 entries)
pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82371FB PCI-ISA" rev 0x00)
pcibios0: PCI bus #2 is the last bus

bios0: ROM list: 0xc0000/0xc000 0xcc000/0x8800 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 "Intel 82820 MCH" rev 0x03: rng active, 8Kb/sec ppb0 at pci0 dev 1 function 0 "Intel 82820 AGP" rev 0x03 pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "ATI Radeon VE QY" rev 0x00 wsdisplay0 at vga1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) ppb1 at pci0 dev 30 function 0 "Intel 82801AA Hub-to-PCI" rev 0x02 pci2 at ppb1 bus 2
eap0 at pci2 dev 7 function 0 "Ensoniq AudioPCI97" rev 0x09: irq 10 ac97: codec id 0x43525914 (Cirrus Logic CS4297A rev 4) ac97: codec features headphone, 20 bit DAC, 18 bit ADC, Crystal Semi 3D audio0 at eap0
pciide0 at pci2 dev 8 function 0 "Promise PDC20268R" rev 0x02: DMA, channel 0 configured to native-PCI, channel 1 configured to native-PCI pciide0: using irq 11 for native-PCI interrupt wd0 at pciide0 channel 0 drive 0: <WDC WD600BB-00CAA1> wd0: 16-sector PIO, LBA, 57241MB, 16383 cyl, 16 head, 63 sec, 117231408 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 wd1 at pciide0 channel 1 drive 0: <WDC WD600BB-00CAA1> wd1: 16-sector PIO, LBA, 57241MB, 16383 cyl, 16 head, 63 sec, 117231408 sectors wd1(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 5 sis0 at pci2 dev 10 function 0 "NS DP83815 10/100" rev 0x00: irq 11 address 00:09:5b:04:58:5a nsphyter0 at sis0 phy 0: DP83815 10/100 integrated, rev. 1 pcib0 at pci0 dev 31 function 0 "Intel 82801AA LPC" rev 0x02 pciide1 at pci0 dev 31 function 1 "Intel 82801AA IDE" rev 0x02: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility pciide1: channel 0 ignored (disabled)
atapiscsi0 at pciide1 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <SONY, CD-RW CRX195E1, ZYS5> SCSI0 5/cdrom removable cd0(pciide1:1:0): using PIO mode 4, Ultra-DMA mode 2 uhci0 at pci0 dev 31 function 2 "Intel 82801AA USB" rev 0x02: irq 10 usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: vendor 0x0000 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered "Intel 82801AA SMBus" rev 0x02 at pci0 dev 31 function 3 not configured isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0 pmsi0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pmsi0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
sysbeep0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: using exception 16 pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo pccom0: console
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec biomask 8c40 netmask 8c40 ttymask 9cc2
pctr: 686-class user-level performance counters enabled mtrr: Pentium Pro MTRR support
Kernelized RAIDframe activated
raid0 (root): (RAID Level 1) total number of sectors is 96258816 (47001 MB) as root dkcsum: wd0 matched BIOS disk 80
dkcsum: wd1 matched BIOS disk 81
root device? wd0g
root on wd0g
rootdev=0x6 rrootdev=0x306 rawdev=0x302

# cdrecord dev=/dev/cd0c -scanbus
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 Cdrecord 1.10 (i386-unknown-openbsd3.2) Copyright (C) 1995-2001 Jörg Schilling

scsidev: '/dev/cd0c'
devname: '/dev/cd0c'
scsibus: -2 target: -2 lun: -2

Using libscg version 'schily-0.5'
scsibus0:
        0,0,0     0) 'SONY    ' 'CD-RW  CRX195E1 ' 'ZYS5' Removable CD-ROM
        0,1,0     1) *
        0,2,0     2) *
        0,3,0     3) *
        0,4,0     4) *
        0,5,0     5) *
        0,6,0     6) *
        0,7,0     7) *

------------------------------

Note: blank CD-RW in drive
# cdrecord dev=/dev/cd0c -toc
Cdrecord 1.10 (i386-unknown-openbsd3.2) Copyright (C) 1995-2001 Jörg Schilling
scsidev: '/dev/cd0c'
devname: '/dev/cd0c'
scsibus: -2 target: -2 lun: -2

Using libscg version 'schily-0.5'
Device type    : Removable CD-ROM
Version        : 0
Response Format: 2
Capabilities   : 
Vendor_info    : 'SONY    '
Identifikation : 'CD-RW  CRX195E1 '
Revision       : 'ZYS5'

Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc CD-R driver (mmc_cdr). Driver flags : SWABAUDIO
cdrecord: Input/output error. read toc: scsi sendcmd: retryable error CDB: 43 00 00 00 00 00 00 00 04 00
status: 0x0 (GOOD STATUS)
resid: 4
cmd finished after 0.000s timeout 40s
cdrecord: Cannot read TOC header
cdrecord: Cannot read TOC/PMA
cd0(pciide1:1:0): timeout
	type: atapi
	c_bcount: 14
	c_skip: 18

pciide1:1:0: device timeout, c_bcount=14, c_skip=18, status=58, ireason=02

Note: normal CD-ROM in drive
# cdrecord dev=/dev/cd0c -toc
Cdrecord 1.10 (i386-unknown-openbsd3.2) Copyright (C) 1995-2001 Jörg Schilling
scsidev: '/dev/cd0c'
devname: '/dev/cd0c'
scsibus: -2 target: -2 lun: -2

Using libscg version 'schily-0.5'
Device type    : Removable CD-ROM
Version        : 0
Response Format: 2
Capabilities   : 
Vendor_info    : 'SONY    '
Identifikation : 'CD-RW  CRX195E1 '
Revision       : 'ZYS5'

Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc CD-R driver (mmc_cdr). Driver flags : SWABAUDIO
first: 1 last 1
track:   1 lba:         0 (        0) 00:02:00 adr: 1 control: 4 mode: 1
track:lout lba:     57716 (   230864) 12:51:41 adr: 1 control: 4 mode: -1
[A few minutes pass]
cd0(pciide1:1:0): timeout
	type: atapi
	c_bcount: 14
	c_skip: 18

pciide1:1:0: device timeout, c_bcount=14, c_skip=18, status=58, ireason=02 pciide1:1:0: Identify timed out
cdrecord: Input/output error. prevent/allow medium removal: scsi sendcmd: cmd timeout after 3.019 (40) s CDB: 1E 00 00 00 00 00
cmd finished after 3.019s timeout 40s

This shows a failed attempt at burning a CD: # cdrecord -v speed=4 dev=/dev/cd0c iso1 Cdrecord 1.10 (i386-unknown-openbsd3.2) Copyright (C) 1995-2001 Jörg Schilling TOC Type: 1 = CD-ROM
scsidev: '/dev/cd0c'
devname: '/dev/cd0c'
scsibus: -2 target: -2 lun: -2

Using libscg version 'schily-0.5'
atapi: 0
Device type    : Removable CD-ROM
Version        : 0
Response Format: 2
Capabilities   : 
Vendor_info    : 'SONY    '
Identifikation : 'CD-RW  CRX195E1 '
Do you need more help?X
Revision : 'ZYS5'

Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
Driver flags   : SWABAUDIO
Drive buf size : 1895168 = 1850 KB
FIFO size      : 4194304 = 4096 KB
Track 01: data   13 MB        
Total size:      15 MB (01:31.54) = 6866 sectors
Lout start:      15 MB (01:33/41) = 6866 sectors
Current Secsize: 2048
Trying to clear drive status.
cdrecord: Drive needs to reload the media to return to proper status.   ATIP start of lead out: 1166730 (03:18/30) Blocks total: 1166730 Blocks current: 1166730 Blocks remaining: 1159864 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. read track info: scsi sendcmd: retryable error CDB: 52 01 00 00 00 FF 00 00 1C 00
status: 0x0 (GOOD STATUS)
resid: 28
cmd finished after 0.000s timeout 240s
Writing time: 0.034s
Fixating...
cdrecord: Input/output error. close track/session: scsi sendcmd: retryable error CDB: 5B 00 02 00 00 00 00 00 00 00
status: 0x0 (GOOD STATUS)
cmd finished after 0.000s timeout 480s
cmd finished after 0.000s timeout 480s
Fixating time: 0.002s
cd0(pciide1:1:0): timeout
	type: atapi
	c_bcount: 14
	c_skip: 18

pciide1:1:0: device timeout, c_bcount=14, c_skip=18, status=58, ireason=02 cdrecord: Input/output error. prevent/allow medium removal: scsi sendcmd: retryable error CDB: 1E 00 00 00 00 00
status: 0x0 (GOOD STATUS)
cmd finished after 0.611s timeout 40s
cdrecord: fifo had 68 puts and 0 gets.
cdrecord: fifo was 0 times empty and 0 times full, min fill was 100%.

This shows a (seemingly) successful attempt at burning a CD: # cdrecord -v dev=/dev/cd0c speed=4 iso1 cd0(atapiscsi0:0:0): Check Condition on opcode 0x43

    SENSE KEY: Illegal Request
     ASC/ASCQ: Illegal Field in CDB
Cdrecord 1.10 (i386-unknown-openbsd3.2) Copyright (C) 1995-2001 Jörg Schilling TOC Type: 1 = CD-ROM
cd0(atapiscsi0:0:0): Check Condition on opcode 0x28

    SENSE KEY: Illegal Request
     ASC/ASCQ: Logical Block Address Out of Range

scsidev: '/dev/cd0c'
devname: '/dev/cd0c'
scsibus: -2 target: -2 lun: -2

Using libscg version 'schily-0.5'
atapi: 0
Device type    : Removable CD-ROM
Version        : 0
Response Format: 2
Capabilities   : 
Vendor_info    : 'SONY    '
Identifikation : 'CD-RW  CRX195E1 '
Revision       : 'ZYS5'

Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
Driver flags   : SWABAUDIO
Drive buf size : 1895168 = 1850 KB
FIFO size      : 4194304 = 4096 KB
Track 01: data   13 MB        
Total size:      15 MB (01:31.54) = 6866 sectors
Lout start:      15 MB (01:33/41) = 6866 sectors
Current Secsize: 2048
ATIP info from disk:
  Indicated writing power: 5
  Reference speed: 2
  Is not unrestricted
  Is erasable
  ATIP start of lead in: -11635 (97:26/65)   ATIP start of lead out: 337350 (75:00/00)   speed low: 0 speed high: 4
  power mult factor: 4 6
  recommended erase/write power: 3
  A2 values: 4A C8 36
Disk type: Phase change
Manuf. index: 3
Manufacturer: CMC Magnetics Corporation
Blocks total: 337350 Blocks current: 337350 Blocks remaining: 330484
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...
Starting new track at sector: 0
Track 01: 13 of 13 MB written (fifo 100%). Track 01: Total bytes read/written: 14057472/14057472 (6864 sectors). Writing time: 32.140s
Fixating...
Fixating time: 77.425s
cd0(pciide1:1:0): timeout
	type: atapi
	c_bcount: 14
	c_skip: 18

pciide1:1:0: device timeout, c_bcount=14, c_skip=18, status=58, ireason=02 cdrecord: Input/output error. prevent/allow medium removal: scsi sendcmd: retryable error CDB: 1E 00 00 00 00 00
status: 0x0 (GOOD STATUS)
cmd finished after 1.111s timeout 40s
cdrecord: fifo had 229 puts and 229 gets. cdrecord: fifo was 0 times empty and 140 times full, min fill was 86%.

>Fix:

Unknown

>Release-Note:
Received on Mon Mar 3 09:40:07 2003

Can we help you?X

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 13:29:51 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library