[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: What does this error mean ?



On Wed, Dec 24, 2008 at 11:35:17AM +0100, Joerg Schilling wrote:

> How do you believe you could get help with this?

I received the answer I was waiting for :-)

> You did not mention the software you used

It's your great one, version 2.01.01_alpha53

> you did not mention the drive you used

Device type    : Removable CD-ROM
Version        : 5
Response Format: 2
Capabilities   : 
Vendor_info    : 'TSSTcorp'
Identifikation : 'CDDVDW SH-S223F '
Revision       : 'SB02'
Device seems to be: Generic mmc2 DVD-R/DVD-RW/DVD-RAM.
Using generic SCSI-3/mmc-2 DVD-R/DVD-RW/DVD-RAM driver (mmc_dvd).
Driver flags   : NO-CD DVD MMC-3 SWABAUDIO BURNFREE 
Supported modes: PACKET SAO LAYER_JUMP

> You did not mention the media type
>
> You did not mention the media manufacturer .... 

They are Verbatim DVD-R 4.7GB 16X AZO

> You did not mention the media state

Mounted media class:      DVD
Mounted media type:       DVD-R sequential recording
Disk Is not erasable
data type:                standard
disk status:              incomplete/appendable
session status:           incomplete/appendable
BG format status:         none
first track:              1
number of sessions:       1
first track in last sess: 1
last track in last sess:  1
Disk Is unrestricted
Disk type: DVD, HD-DVD or BD

Track  Sess Type   Start Addr End Addr   Size
==============================================
    1     1 Blank  0          2298495    2298496

Next writable address:              2211648
Remaining writable size:            2298496

But, 99.99% of the time, I got complete success at writing.

> >From the size info I can guess that this may be a DVD but a 
> DVD has no PMA.... so I would guess that you have a problem 
> with your drive.

Well, here I am lost

> 
> The cdrecord web site mentions what you need to send....

Here we have a point, in order to have an even better cdrecord, that could be
printed when an error is encountered, just for stupid people like me which
don't think enough before reporting an incident :-)

> cdrecord -atip or better: cdrecord -v -minfo
> 
> and the cdrecord -v output from writing the medium.

That one is a little hard to do after the writing... I posted the end of it.

Thank you really much for cdrecord (and all which depends on it), maybe my burn
script is somehow false and a more skilled could look at it, specialy for the
more of 4Gb part ?
-- 
Grégoire FAVRE http://gregoire.favre.googlepages.com http://www.gnupg.org
               http://picasaweb.google.com/Gregoire.Favre
#!/bin/bash
if [ -z "$2" ]; then
	echo "usage : $0 DVD_title DVD_dir [write speed]"
	echo "That will write a DVD with video structure if there a VIDEO_TS."
	echo "And without video structure if without VIDEO_TS dir"
	exit
fi

UDF=`find $2 -size +2G|wc -w`

unlock() {
	cdrdao unlock --device 5,0,0 --driver generic-mmc && sleep 1
}

sync

ulimit -l unlimited

if [ $UDF -eq 0 ]; then
	COM="-f -J -r -graft-points "

	if [ -z "$3" ]; then
		COMCD="-v dev=5,0,0 -dao fs=1000m "
	else
		COMCD="-speed=$3 -v dev=5,0,0 -dao fs=1000m "
	fi
	VIDEO=`ls $2|grep -i VIDEO_TS 2> /dev/null   |wc -w`
	if [ $VIDEO -eq 0 ]; then
		OPTS=$COM
		SIZE=`mkisofs -f -J -r -graft-points -quiet -print-size -V $1 $2`
	else
		OPTS="$COM -dvd-video"
		SIZE=`mkisofs -f -J -r -graft-points -quiet -print-size -dvd-video  -V $1 $2`
	fi
	mkisofs $OPTS -V $1 $2|cdrecord $COMCD tsize="$SIZE"s -
else
	COM="-iso-level 3 -f -J -r -graft-points "

	if [ -z "$3" ]; then
		COMCD="-v dev=5,0,0 -dao fs=1000m "
	else
		COMCD="-speed=$3 -v dev=5,0,0 -dao fs=1000m "
	fi
	VIDEO=`ls $2|grep -i VIDEO_TS 2> /dev/null   |wc -w`
	if [ $VIDEO -eq 0 ]; then
		OPTS=$COM
		SIZE=`mkisofs -iso-level 3 -f -J -r -graft-points -quiet -print-size -V $1 $2`
	else
		OPTS="$COM -dvd-video"
		SIZE=`mkisofs -iso-level 3 -f -J -r -graft-points -quiet -print-size -dvd-video -V $1 $2`
	fi
	mkisofs $OPTS -V $1 $2|cdrecord $COMCD tsize="$SIZE"s -
fi
unlock
eject /dev/sr1
sleep 1
eject -t /dev/sr1
cdDir=0
while [ "$cdDir" == "0" ]; do
	sleep 1
	mount /mnt/cdrom2 && ls -alh /mnt/cdrom2 && DF && umount /mnt/cdrom2 && cdDir=1
done
sleep 1
#eject /dev/sr1

OPTIONS="delete reburn exit"
select opt in $OPTIONS; do
	if [ "$opt" = "delete" ]; then
		RM $2
		exit
	elif [ "$opt" = "reburn" ]; then
		echo $0 $*
		exit
	elif [ "$opt" = "exit" ]; then
		exit
	else
		echo bad option
	fi
done


Reply to: