# ./dvdrecord -scanbus
dvdrtools v0.1.4
[snip]
Cdrecord 1.11a15 (i386-unknown-openbsd3.2) Copyright (C) 1995-2001 Jörg
Schilling
./dvdrecord: No such file or directory. Cannot open SCSI driver.
./dvdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you
are root.
# dmesg|grep cd
cd0 at scsibus0 targ 0 lun 0: <PIONEER, DVD-RW DVR-104, 1.33> SCSI0
5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
address 00:04:76:24:cd:fa
# cdrecord -scanbus
Cdrecord 1.10 (i386-unknown-openbsd3.2) Copyright (C) 1995-2001 Jörg
Schilling
cdrecord: No such file or directory. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you
are root.
#
so is there some SCSI emulation to enable or standalone ATAPI burner are
supported ?
with testing, i find, but ...
#./dvdrecord -dao -v -dummy speed=2 dev=/dev/rcd0c:0,0,0 /share3/rw.iso
[snip]
Cdrecord 1.11a15 (i386-unknown-openbsd3.2) Copyright (C) 1995-2001 Jörg
Schilling
TOC Type: 1 = CD-ROM
scsidev: '/dev/rcd0c:0,0,0'
devname: '/dev/rcd0c'
scsibus: 0 target: 0 lun: 0
Using libscg version 'bero-0.5a'
./dvdrecord: Warning: using inofficial version of libscg (bero-0.5a
'@(#)scsitransp.c 1.81 01/04/20 Copyright 1988,1995,2000 J. Schilling').
atapi: 0
Device type : Removable CD-ROM
Version : 0
Response Format: 2
Capabilities :
Vendor_info : 'PIONEER '
Identifikation : 'DVD-RW DVR-104 '
Revision : '1.33'
Device seems to be: Generic mmc2 DVD.
Using generic SCSI-3/mmc DVD-R(W) driver (mmc_mdvd).
Driver flags : SWABAUDIO BURNFREE
Supported modes: PACKET SAO
Drive buf size : 1638400 = 1600 KB
FIFO size : 4194304 = 4096 KB
Track 01: data 3178 MB
Total size: 3650 MB (361:38.26) = 1627370 sectors
Lout start: 3650 MB (361:40/20) = 1627370 sectors
Current Secsize: 2048
ATIP start of lead in: -150 (00:00/00)
Disk type: unknown dye (reserved id code)
Manuf. index: -1
Manufacturer: unknown (not in table)
Blocks total: 2297888 Blocks current: 2297888 Blocks remaining: 670518
Starting to write CD/DVD at speed 1 in dummy mode for single session.
Last chance to quit, starting dummy write in 0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
trackno=0
BURN-Free is ON.
./dvdrecord: Input/output error. reserve track: scsi sendcmd: retryable
error
CDB: 53 00 00 00 00 00 18 D4 EA 00
status: 0x0 (GOOD STATUS)
cmd finished after 0.006s timeout 200s
./dvdrecord: Cannot open new session.
./dvdrecord: fifo had 68 puts and 0 gets.
./dvdrecord: fifo was 0 times empty and 0 times full, min fill was 100%.
any ideas ?
Regards
Julien
# cdrecord dev=/dev/rcd0c -scanbus
for the raw device.
for burn then try, # cdrecord -v dev=/dev/rcd0c speed=8 file.iso
Fco.
> Try
>
> # cdrecord dev=/dev/rcd0c -scanbus
>
> for the raw device.
ok for this one.
# cdrecord dev=/dev/rcd0c -scanbus
Cdrecord 1.10 (i386-unknown-openbsd3.2) Copyright (C) 1995-2001 Jörg
Schilling
scsidev: '/dev/rcd0c'
devname: '/dev/rcd0c'
scsibus: -2 target: -2 lun: -2
Using libscg version 'schily-0.5'
scsibus0:
0,0,0 0) 'PIONEER ' 'DVD-RW DVR-104 ' '1.33' 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) *
so it seems cdrecord can handle ATAPI burner directly if we give the
device, right ?
>
>
> for burn then try, # cdrecord -v dev=/dev/rcd0c speed=8 file.iso
>
# ./dvdrecord -dao -v speed=1 dev=/dev/rcd0c /share3/rw.iso
dvdrtools v0.1.4
[snip]
Based on:
Cdrecord 1.11a15 (i386-unknown-openbsd3.2) Copyright (C) 1995-2001 Jörg
Schilling
TOC Type: 1 = CD-ROM
scsidev: '/dev/rcd0c'
devname: '/dev/rcd0c'
scsibus: -2 target: -2 lun: -2
Starting to write CD/DVD at speed 1 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.
trackno=0
BURN-Free is ON.
./dvdrecord: Input/output error. reserve track: scsi sendcmd: retryable
error
CDB: 53 00 00 00 00 00 18 D4 EA 00
status: 0x0 (GOOD STATUS)
cmd finished after 0.006s timeout 200s
./dvdrecord: Cannot open new session.
./dvdrecord: fifo had 68 puts and 0 gets.
./dvdrecord: fifo was 0 times empty and 0 times full, min fill was 100%.
but dvdrecord seems not without some SCSI emulation ...
has someone manage to do some dvd-r/-rw burning on openbsd ?
Regards
Julien
note: cdrecord seems still blocked for DVD (same for 2.0.3):
#cdrecord -dao -v speed=1 dev=/dev/rcd0c /share3/rw.iso
[snip]
cdrecord: Data will not fit on any disk.
cdrecord: Cannot write CD's >= 100 minutes.
You haven't told it that it should look to see if it has dvd media in
the drive or not. I bet it's using the default driver=mmc_cdr instead of
the correct one.
--
34. I will not turn into a snake. It never helps.
--Peter Anspach's list of things to do as an Evil Overlord