Can't burn CD when hald is running

Silas De Munck s.dem at belgacom.net
Fri Jul 2 10:41:34 PDT 2004


I'm trying to get ivman running to automount cdrom's. But had a serious 
problem when I tried to burn a cd with this setup. I found out the problem 
was not ivman but hald so I think this is the right place to ask about.

When Burning starts I get this in dmesg:

scsi1:0:6:0: Attempting to queue an ABORT message
CDB: 0x0 0x0 0x0 0x0 0x0 0x0
scsi1: At time of recovery, card was not paused
>>>>>>>>>>>>>>>>>> Dump Card State Begins <<<<<<<<<<<<<<<<<
scsi1: Dumping Card State in Message-in phase, at SEQADDR 0x41
Card was paused
ACCUM = 0x0, SINDEX = 0x3, DINDEX = 0x8c, ARG_2 = 0x0
HCNT = 0x0 SCBPTR = 0x0
SCSISIGI[0xe4]:(BSYI|MSGI|IOI|CDI) ERROR[0x0] SCSIBUSL[0x0]
LASTPHASE[0xe0]:(MSGI|IOI|CDI) SCSISEQ[0x12]:(ENAUTOATNP|ENRSELI)
SBLKCTL[0x0] SCSIRATE[0xf]:(SXFR_ULTRA2) SEQCTL[0x10]:(FASTMODE)
SEQ_FLAGS[0x20]:(DPHASE) SSTAT0[0x5]:(DMADONE|SDONE)
SSTAT1[0x2]:(PHASECHG) SSTAT2[0x0] SSTAT3[0x0] SIMODE0[0x0]
SIMODE1[0xa4]:(ENSCSIPERR|ENSCSIRST|ENSELTIMO) SXFRCTL0[0x80]:(DFON)
DFCNTRL[0x0] DFSTATUS[0x29]:(FIFOEMP|HDONE|FIFOQWDEMP)
STACK: 0x0 0x160 0x103 0xfd
SCB count = 4
Kernel NEXTQSCB = 3
Card NEXTQSCB = 2
QINFIFO entries: 2
Waiting Queue entries:
Disconnected Queue entries:
QOUTFIFO entries:
Sequencer Free SCB List: 0 1 2
Sequencer SCB Info:
  0 SCB_CONTROL[0xc0]:(DISCENB|TARGET_SCB) SCB_SCSIID[0x67]
SCB_LUN[0x0] SCB_TAG[0xff]
  1 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
  2 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
Pending list:
  2 SCB_CONTROL[0x40]:(DISCENB) SCB_SCSIID[0x67] SCB_LUN[0x0]
Kernel Free SCB list: 1 0
Untagged Q(6): 2
DevQ(0:6:0): 0 waiting

<<<<<<<<<<<<<<<<< Dump Card State Ends >>>>>>>>>>>>>>>>>>
scsi1:0:6:0: Cmd aborted from QINFIFO
aic7xxx_abort returns 0x2002


Then the cd ejects immediately and so burning fails.

Maybe necessary cdrecord output:

scsidev: '1,6,0'
scsibus: 1 target: 6 lun: 0
Linux sg driver version: 3.5.31
SCSI buffer size: 64512
Cdrecord-Clone 2.01a28 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg 
Schilling
TOC Type: 1 = CD-ROM
Using libscg version 'schily-0.8'.
atapi: 0
Device type    : Removable CD-ROM
Version        : 2
Response Format: 2
Capabilities   : SYNC 
Vendor_info    : 'YAMAHA  '
Identifikation : 'CRW8424S        '
Revision       : '1.0j'
Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
Driver flags   : MMC SWABAUDIO 
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R96R
Drive buf size : 3172848 = 3098 KB
FIFO size      : 4194304 = 4096 KB
/usr/bin/cdrecord: Input/output error. test unit ready: scsi sendcmd: no error
CDB:  00 00 00 00 00 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: F0 00 0B 00 00 00 00 00
Sense Key: 0xB Aborted Command, Segment 0
Sense Code: 0x00 Qual 0x00 (no additional sense information) Fru 0x0
Sense flags: Blk 0 (valid) 
cmd finished after 0.001s timeout 200s
Track 01: data   673 MB        
Total size:      773 MB (76:39.70) = 344978 sectors
Lout start:      774 MB (76:41/53) = 344978 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: 359849 (79:59/74)
  1T speed low:  0 (reserved val  0) 1T speed high:  4
  2T speed low:  8 2T speed high:  0 (reserved val 10)
  power mult factor: 4 6
  recommended erase/write power: 3
  A1 values: 02 4C B0
  A2 values: 4A C8 36
Disk type:    Phase change
Manuf. index: 3
Manufacturer: CMC Magnetics Corporation
Blocks total: 359849 Blocks current: 359849 Blocks remaining: 14871
Starting to write CD/DVD at speed 4 in dummy SAO mode for single session.
Last chance to quit, starting dummy write in 2 seconds.
   1 seconds.
   0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
Sending CUE sheet...
Writing pregap for track 1 at -150
Starting new track at sector: 0
Track 01:    0 of  673 MB written.
Track 01:    1 of  673 MB written (fifo 100%) [buf  50%]  27.8x.
Track 01:    2 of  673 MB written (fifo 100%) [buf  89%]  28.3x.
/usr/bin/cdrecord: Input/output error. write_g1: scsi sendcmd: no error
CDB:  2A 00 00 00 04 F7 00 00 1F 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: F0 00 0B 00 00 00 00 00
Sense Key: 0xB Aborted Command, Segment 0
Sense Code: 0x00 Qual 0x00 (no additional sense information) Fru 0x0
Sense flags: Blk 0 (valid) 
cmd finished after 0.001s timeout 200s
/usr/bin/cdrecord: A write error occured.
/usr/bin/cdrecord: Please properly read the error message above.
write track data: error after 2603008 bytes
Writing  time:   47.274s
Average write speed  97.4x.
Fixating...
/usr/bin/cdrecord: Input/output error. test unit ready: scsi sendcmd: no error
CDB:  00 00 00 00 00 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 03 00 00 00 00 0A 00 00 00 00 0C 0A 00 00
Sense Key: 0x3 Medium Error, Segment 0
Sense Code: 0x0C Qual 0x0A (write error - padding blocks added) Fru 0x0
Sense flags: Blk 0 (not valid) 
cmd finished after 0.004s timeout 200s
WARNING: Some drives don't like fixation in dummy mode.
Fixating time:    0.005s
/usr/bin/cdrecord: fifo had 105 puts and 42 gets.
/usr/bin/cdrecord: fifo was 0 times empty and 29 times full, min fill was 96%.

I hope this can be solved...


_______________________________________________
hal mailing list
hal at freedesktop.org
http://freedesktop.org/mailman/listinfo/hal



More information about the Hal mailing list