Florin Andrei wrote:
# cdrecord -scanbus dev=ATA: Cdrecord-Clone 2.01a27-dvd (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling Note: This version is an unofficial (modified) version with DVD support Note: and therefore may have bugs that are not present in the original. Note: Please send bug reports or support requests to <warly@xxxxxxxxxxxxxxxx>. Note: The author of cdrecord should not be bothered with problems in this version. scsidev: 'ATA:' devname: 'ATA' scsibus: -1 target: -1 lun: -1 Warning: Using badly designed ATAPI via /dev/hd* interface. Linux sg driver version: 3.5.27 Using libscg version 'schily-0.8'. cdrecord: Warning: using inofficial libscg transport code version (schily - Red Hat-scsi-linux-sg.c-1.80-RH '@(#)scsi-linux-sg.c 1.80 04/03/08 Copyright 1997 J. Schilling'). cdrecord: Invalid argument. Cannot get SCSI I/O buffer.
Again, the writer is /dev/hdg, which is the master drive on the 4th IDE port. It works with growisofs.
Mine was getting the same error until I edited the /etc/cdrecord.conf file.
cdrecord -scanbus finds:
1,0,0 100) 'ATAPI ' 'DVD-ROM 16X ' '422L' Removable CD-ROM 1,1,0 101) 'PLEXTOR ' 'CD-R PX-W4012A' '1.01' Removable CD-ROM
I edited my cdrecord.conf file and now it contains:
CDR_DEVICE=PLEXTOR CDR_FIFOSIZE=4m PLEXTOR= ATA:1,1,0 -1 -1 burnfree
# cdrecord -v windows.iso
cdrecord: No write mode specified.
cdrecord: Asuming -tao mode.
cdrecord: Future versions of cdrecord may have different drive dependent defaults.
cdrecord: Continuing in 5 seconds...
Cdrecord-Clone 2.01a27-dvd (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
Note: This version is an unofficial (modified) version with DVD support
Note: and therefore may have bugs that are not present in the original.
Note: Please send bug reports or support requests to <warly@xxxxxxxxxxxxxxxx>.
Note: The author of cdrecord should not be bothered with problems in this version.
TOC Type: 1 = CD-ROM
scsidev: 'ATA:1,1,0'
devname: 'ATA'
scsibus: 1 target: 1 lun: 0
Warning: Using badly designed ATAPI via /dev/hd* interface.
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.8'.
cdrecord: Warning: using inofficial libscg transport code version (schily - Red Hat-scsi-linux-sg.c-1.80-RH '@(#)scsi-linux-sg.c 1.80 04/03/08 Copyright 1997 J. Schilling').
Driveropts: 'burnfree'
SCSI buffer size: 64512
atapi: -1
Device type : Removable CD-ROM
Version : 0
Response Format: 1
Vendor_info : 'PLEXTOR '
Identifikation : 'CD-R PX-W4012A'
Revision : '1.01'
Device seems to be: Generic mmc CD-RW.
Current: 0x000A
Profile: 0x0008
Profile: 0x0009
Profile: 0x000A (current)
Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr).
Driver flags : MMC-3 SWABAUDIO BURNFREE VARIREC FORCESPEED SINGLESESSION HIDECDR
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
Drive buf size : 2394336 = 2338 KB
FIFO size : 4194304 = 4096 KB
Track 01: data 572 MB
Total size: 657 MB (65:10.41) = 293281 sectors
Lout start: 658 MB (65:12/31) = 293281 sectors
Current Secsize: 2048
ATIP info from disk:
Indicated writing power: 3
Reference speed: 6
Is not unrestricted
Is erasable
Disk sub type: High speed Rewritable (CAV) media (1)
ATIP start of lead in: -11835 (97:24/15)
ATIP start of lead out: 335100 (74:30/00)
1T speed low: 4 1T speed high: 10
2T speed low: 4 2T speed high: 0 (reserved val 6)
power mult factor: 1 5
recommended erase/write power: 5
A1 values: 24 1A D8
A2 values: 26 B2 4A
Disk type: Phase change
Manuf. index: 24
Manufacturer: SONY Corporation
Single session is OFF.
Hide CDR is OFF.
Blocks total: 335100 Blocks current: 335100 Blocks remaining: 41819
Forcespeed is ON.
Turning forcespeed off
Power-Rec is OFF.
Power-Rec write speed: 0x (recommended)
Turning Power-Rec on.
Starting to write CD/DVD at speed 12.0 in real TAO mode for single session.
Last chance to quit, starting real write 0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
trackno=0
BURN-Free is OFF.
Turning BURN-Free on
Performing OPC...
Starting new track at sector: 0
Track 01: 572 of 572 MB written (fifo 100%) [buf 96%] 9.7x.
Track 01: Total bytes read/written: 600635392/600635392 (293279 sectors).
Writing time: 405.237s
Average write speed 9.9x.
Min drive buffer fill was 90%
Fixating...
Fixating time: 35.822s
Last selected write speed: 10x
Max media write speed: 10x
Last actual write speed: 10x
BURN-Free was never needed.
cdrecord: fifo had 9461 puts and 9461 gets.
cdrecord: fifo was 0 times empty and 5541 times full, min fill was 90%.