Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Sep 2002 22:38:06 -0700 (Pacific Daylight Time)
From:      "Peter Gatsoulis" <pg@eth1.com>
To:        <freebsd-questions@FreeBSD.ORG>
Subject:   cdrecord mystery, seems to burn but doesn't
Message-ID:  <3D82CB3E.00000B.09919@kjw98se.ne.mediaone.net>

next in thread | raw e-mail | index | archive | help
PLS ALSO REPLY TO ME, pg@eth1.com

CDRECORD MYSTERY

runnin 4.6
burncd works fine with this machine's ide burner designated to burncd as
/dev/acd0c, however cdrecord reports it's working just fine as
well and it even finishes and fixates the disk.   But when i pull out the
finished CD-R it doesn't look burned and i put it into another machine
and sure enough it's not...

can anyone help w/ thsi mystery

the reason cdrecord over burncd
burncd w/ thsi machine has been flaky, every 3rd-4th burn i have to try
resetting this ide burner and usually end up doing a reboot.

On this 4.6 box i dnloaded Soren's CDRTOOLS-ATA where i got this version of
cdrecord that works w/ ide burners.
I checked for /dev/ata on this 4.6 box and it does exist. reason i say this
is because of note below about building cdrecord on other box and then
copying onto this box, both boxes are 4.6 machines.

as you see below "cdrecord -scanbus" also works.

NOW the 4.6 machine that CDRTOOLS-ATA was built and this machine ARE
diffrent boxes i simply copied cdrecord, once it was built on other 4.6 box,
to this 4.6 box.

Here's the relevant output, note that cdrecord ends as if successfull but it
s NOT.  tried burning at 4 speed 8 speed 12 speed etc, always
the same end, seeming as if successfull.

[root@DFY lk1] # cdrecord -v speed=4 dev=1,0,0 -data DNX.iso
Cdrecord 1.10 (i386-unknown-freebsd5.0) Copyright (C)
1995-2001 Jörg Schilling
TOC Type: 1 = CD-ROM
scsidev: '1,0,0'
scsibus: 1 target: 0 lun: 0
Using libscg version 'schily-0.5'
FreeBSD ATA/ATAPI backend - Copyright (C) 2000-2002
Søren Schmidt ('v1.0 ').
atapi: 1
Device type    : Removable CD-ROM
Version        : 0
Response Format: 1
Vendor_info    : 'CDWriter'
Identifikation : 'IDE128          '
Revision       : '1.01'
Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
Driver flags   : SWABAUDIO
Drive buf size : 1359872 = 1328 KB
FIFO size      : 4194304 = 4096 KB
Track 01: data  160 MB
Total size:     184 MB (18:17.41) = 82306 sectors
Lout start:     184 MB (18:19/31) = 82306 sectors
Current Secsize: 2048
ATIP info from disk:
  Indicated writing power: 5
  Is not unrestricted
  Is not erasable
  Disk sub type: Medium Type A, low Beta category (A-) (2)
  ATIP start of lead in:  -11634 (97:26/66)
  ATIP start of lead out: 359849 (79:59/74)
Disk type:    Short strategy type (Phthalocyanine or similar)
Manuf. index: 3
Manufacturer: CMC Magnetics Corporation
Blocks total: 359849 Blocks current: 359849 Blocks
remaining: 277543
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: 160 of 160 MB written (fifo 100%).
Track 01: Total bytes read/written:
168558592/168558592 (82304 sectors).
Writing  time:  299.393s
Fixating...
Fixating time:  189.780s
cdrecord: fifo had 2655 puts and 2655 gets.
cdrecord: fifo was 0 times empty and 2580 times full, min fill was 95%.

NOTE: CHECKED CD AND NOT BURNED THO ????

[root@DFY lk1] # dmesg
cut it out of here 

then later on that day;

[root@DFY lk1] # /usr/sbin/burncd -f /dev/acd0c -s 8
data ./DNX.iso fixate
next writeable LBA 0
writing from file ./DNX.iso size 164608 KB
written this track 164608 KB (100%) total 164608 KB
fixating CD, please wait..

NOTE, pulled out the CD-R here, looked burned
allright, put it into other machine and sure enough it
reads fine.

[root@DFY lk1] #
[root@DFY lk1] # cdrecord -scanbus
Cdrecord 1.10 (i386-unknown-freebsd5.0) Copyright (C)
1995-2001 Jörg Schilling
Using libscg version 'schily-0.5'
FreeBSD ATA/ATAPI backend - Copyright (C) 2000-2002
Søren Schmidt ('v1.0
').
scsibus0:
        0,0,0     0) 'ADAPTEC ' 'ACB-5500        '
'FAKE' NON CCS Disk
        0,1,0     1) 'ADAPTEC ' 'ACB-5500        '
'FAKE' NON CCS Disk
        0,2,0     2) *
        0,3,0     3) *
        0,4,0     4) *
        0,5,0     5) *
        0,6,0     6) *
        0,7,0     7) *
scsibus1:
        1,0,0   100) 'CDWriter' 'IDE128          '
'1.01' Removable CD-ROM
        1,1,0   101) 'ADAPTEC ' 'ACB-5500        '
'FAKE' NON CCS Disk
        1,2,0   102) *
        1,3,0   103) *
        1,4,0   104) *
        1,5,0   105) *
        1,6,0   106) *
        1,7,0   107) *
[root@DFY lk1] #


[root@DFY lk1] $ cdrecord -version
Cdrecord 1.10 (i386-unknown-freebsd5.0) Copyright (C)
1995-2001 Jörg Schilling

note here; this is really Soren's CDRTOOLS-ATA
cdrecord version just dnloaded fr his site;

# uname -a
FreeBSD somemachine.baims.com 4.6-RELEASE FreeBSD
4.6-RELEASE #0: Tue Jun 18 00:34:38 EDT 2002    
root@BSD1.verizon.net:/usr/src/sys/compile/ARRINEA 
i386

# dmesg|grep acd
acd0: CD-RW <IDE128 CDWriter> at ata1-master PIO4


ANy help sought
thanx


PLS ALSO REPLY TO ME, pg@eth1.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D82CB3E.00000B.09919>