From owner-freebsd-questions Sat Aug 31 14: 4:19 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D458F37B400 for ; Sat, 31 Aug 2002 14:04:04 -0700 (PDT) Received: from medg.lcs.mit.edu (medg.lcs.mit.edu [18.30.0.179]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1EFD943E42 for ; Sat, 31 Aug 2002 14:04:04 -0700 (PDT) (envelope-from jg@medg.lcs.mit.edu) Received: from medg.lcs.mit.edu (pool-141-154-15-8.bos.east.verizon.net [141.154.15.8]) by medg.lcs.mit.edu (8.9.3/8.9.3) with ESMTP id RAA03081 for ; Sat, 31 Aug 2002 17:04:03 -0400 (EDT) Message-ID: <3D713B9D.2050201@medg.lcs.mit.edu> Date: Sat, 31 Aug 2002 17:56:45 -0400 From: Jules Gilbert Reply-To: jg@medg.lcs.mit.edu Organization: compression and prediction and stuff like that... User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4.1) Gecko/20020508 Netscape6/6.2.3 X-Accept-Language: en-us MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: cdburner mystery, help! Content-Type: multipart/alternative; boundary="------------070206040007050201020003" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --------------070206040007050201020003 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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%. [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 at ata1-master PIO4 ANy help sought thanx --------------070206040007050201020003 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit
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%.
[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 
 
--------------070206040007050201020003-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message