Subject: None
To: 'netbsd-help@netbsd.org' <netbsd-help@netbsd.org>
From: Scott Burns <Scott.Burns@Netcontech.Com>
List: netbsd-help
Date: 12/17/1999 20:40:09
Using the NetBSD-1.3.3/i386 package for cdrecord-1.6.1 I am having the
following problems when cutting a CD. I was able to create 2 CD's without
problem at 02:00 last night but now I constantly get the following errors
almost immediately after
starting the recording.
I have not tried rebooting yet as this is a production server and my uptime
is so high I really hate to reboot it ;-) I am trying
to get this to work as it turns out that SCSI HP CD Writers are not
supported under NT Server, just Workstation, 98 and
95 so I thought I would show those Windoze people ;-).
My questions are:
1) Will V1.4.1 help this in any way ?
2) Will a newer 'cdrecord' executable help ? I see V1.8.x on the web site.
3) The guy who wrote this thing really slams the SCSI implementation, are
these issues
because of some of his concerns ? Are they going away once a new PI SCSI
layer is in place,
or if NetBSD switches to CAMS (spell ?) ? Oh please lets not start a mass
mailing over SCSI
re: this thread ;-).
Thanks
Scott...
The configuration is as follows:
NetBSD/i386 V1.3.3
- Compaq Prosignia (P2-300)
- 160MB RAM
- triple SCSI controllers
- dual 2940UW with 2 Seagate Barr 9GB drives on each bus
- one old 'aic' based Adaptec holding a HP DAT24x6 changer and the HP
9200 CD writer
- IDE Compaq CD-Rom
Using cdrecord-v1.6.1 from the NetBSD packages collection for V1.3.3/i386 I
get the following error from the following file:
------------------------------------------------------------------------
-------
# cat burn_cdimage1test.sh
SOURCE="/scratch1/cdimage1"
DEST="/dev/cd0d"
IMAGE="/tmp/cdimage1.raw"
/usr/local/bin/cdrecord -v speed=2 dev=${DEST} ${IMAGE}
------------------------------------------------------------------------
-------
Now executing it like this:
------------------------------------------------------------------------
-------
sh burn_cdimage1test.sh > log.out 2> err.out
------------------------------------------------------------------------
-------
I get this dumped to the screen:
------------------------------------------------------------------------
-------
/usr/local/bin/cdrecord: Undefined error: 0. test unit ready: scsi sendcmd:
no error
status: 0x2 (CHECK CONDITION)
/usr/local/bin/cdrecord: Warning: controller does not support CD write
parameter page.
/usr/local/bin/cdrecord: Cannot open new session.
/usr/local/bin/cdrecord: Undefined error: 0. prevent/allow medium removal:
scsi
sendcmd: no error
status: 0x2 (CHECK CONDITION)
------------------------------------------------------------------------
-------
In the err.out file I get:
------------------------------------------------------------------------
-------
Cdrecord release 1.6.1 Copyright (C) 1995-1998 Jorg Schilling
TOC Type: 1 = CD-ROM
scsidev: '/dev/cd0d'
devname: '/dev/cd0d'
scsibus: -2 target: -2 lun: -2
atapi: 0
Device type : Removable CD-ROM
Version : 4
Response Format: 2
Capabilities : SYNC
Vendor_info : 'HP '
Identifikation : 'CD-Writer+ 9200 '
Revision : '1.0c'
Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
Driver flags : SWABAUDIO
Track 01: data 553 MB
Total size: 635 MB (62:59.92) = 283494 sectors
Lout start: 636 MB (63:01/69) = 283494 sectors
Current Secsize: 2048
ATIP info from disk:
Indicated writing power: 4
Is not unrestricted
Is not erasable
Disk sub type: 3
ATIP start of lead in: -11849 (97:24/01)
ATIP start of lead out: 336075 (74:43/00)
Disk type: Cyanine, AZO or similar
Manufacturer: Taiyo Yuden Company Limited
Blocks total: 336075 Blocks current: 336075 Blocks remaining: 52581
Starting to write CD/DVD at speed 2 in write mode for single session.
Waiting for reader process to fill input-buffer ... input-buffer ready.
CDB: 00 00 00 00 00 00
Sense Bytes:
Sense Key: 0xFFFFFFFF [], Segment 0
Sense Code: 0x00 Qual 0x00 (no additional sense information) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 0.001s timeout 40s
CDB: 1E 00 00 00 00 00
Sense Bytes:
Sense Key: 0xFFFFFFFF [], Segment 0
Sense Code: 0x00 Qual 0x00 (no additional sense information) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 0.001s timeout 40s
Track 01: data 553 MB
Total size: 635 MB (62:59.92) = 283494 sectors
Lout start: 636 MB (63:01/69) = 283494 sectors
Current Secsize: 2048
ATIP info from disk:
Indicated writing power: 4
Is not unrestricted
Is not erasable
Disk sub type: 3
ATIP start of lead in: -11849 (97:24/01)
ATIP start of lead out: 336075 (74:43/00)
Disk type: Cyanine, AZO or similar
Manufacturer: Taiyo Yuden Company Limited
Blocks total: 336075 Blocks current: 336075 Blocks remaining: 52581
------------------------------------------------------------------------
-------