All pastes #448415 Raw Edit

Anonymous

public text v1 · immutable
·published 2007-04-19 16:55 UTC
rendered paste body
[root@visionary ~]# cdburn ~josh/Desktop/CentOS-5.0-i386-bin-DVD.iso 
/usr/bin/cdrecord: No write mode specified.
/usr/bin/cdrecord: Asuming -tao mode.
/usr/bin/cdrecord: Future versions of cdrecord may have different drive dependent defaults.
/usr/bin/cdrecord: Continuing in 5 seconds...
Cdrecord-Clone 2.01 (cpu-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 http://bugzilla.redhat.com/bugzilla
Note: The author of cdrecord should not be bothered with problems in this version.
TOC Type: 1 = CD-ROM
scsidev: 'ATAPI:4,0,0'
devname: 'ATAPI'
scsibus: 4 target: 0 lun: 0
Use of ATA is preferred over ATAPI.
Warning: Using ATA Packet interface.
Warning: The related Linux kernel interface code seems to be unmaintained.
Warning: There is absolutely NO DMA, operations thus are slow.
Using libscg version 'schily-0.8'.
SCSI buffer size: 64512
atapi: -1
/usr/bin/cdrecord: Cannot do inquiry for CD/DVD-Recorder.
/usr/bin/cdrecord: Input/output error. test unit ready: scsi sendcmd: fatal error
CDB:  00 00 00 00 00 00
cmd finished after 0.000s timeout 40s

--------------------------------------------------------------

[root@visionary ~]# cat /usr/local/bin/cdburn 
#
#!/bin/sh
#
#
#
#
#
#
#
MYNAME=`basename $0`
#
[ "x$1" = "x" ] && {
#
        echo "Usage:  $MYNAME (isoname)" 1>&2
#
        exit 1
#
        }
#
[ ! -s $1 ] && {
#
        echo "Error:  $MYNAME: (isoname) is missing or null" 1>&2
#
        exit 1
#
        }
#
#
#
#       for a 2.6 RHEL 4 unit
#
#
#
DEVICE="dev=ATAPI:4,0,0"
#
EJECT="-eject"
#
SPEED=""
#
#
#
# /usr/bin/cdrecord -v dev=0,0,0  -speed=4  -eject  $1
#
/usr/bin/cdrecord -v $DEVICE $SPEED $EJECT $1
#
#

---------------------------------------------------------------

[root@visionary ~]# cdburn ~josh/Desktop/CentOS-5.0-i386-bin-DVD.iso 
/usr/bin/cdrecord: No write mode specified.
/usr/bin/cdrecord: Asuming -tao mode.
/usr/bin/cdrecord: Future versions of cdrecord may have different drive dependent defaults.
/usr/bin/cdrecord: Continuing in 5 seconds...
Cdrecord-Clone 2.01 (cpu-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 http://bugzilla.redhat.com/bugzilla
Note: The author of cdrecord should not be bothered with problems in this version.
TOC Type: 1 = CD-ROM
scsidev: 'ATAPI:4,0,0'
devname: 'ATAPI'
scsibus: 4 target: 0 lun: 0
Use of ATA is preferred over ATAPI.
Warning: Using ATA Packet interface.
Warning: The related Linux kernel interface code seems to be unmaintained.
Warning: There is absolutely NO DMA, operations thus are slow.
Using libscg version 'schily-0.8'.
SCSI buffer size: 64512
atapi: -1
/usr/bin/cdrecord: Cannot do inquiry for CD/DVD-Recorder.
/usr/bin/cdrecord: Input/output error. test unit ready: scsi sendcmd: fatal error
CDB:  00 00 00 00 00 00
cmd finished after 0.000s timeout 40s