Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Jan 2005 23:56:43 -0500
From:      Carleton Vaughn <keebler@mindspring.com>
To:        freebsd-hackers@freebsd.org
Subject:   growisofs killing every other DVD+R
Message-ID:  <41E4AE0B.4060907@mindspring.com>

next in thread | raw e-mail | index | archive | help
[I originally posted this in -questions, no replies yet]

I'm new to this list and how to ask it for help, so please bear with me
if I have omitted anything critical or have included too much or am in
the wrong place entirely.

I'm running:

> sally# uname -a
> FreeBSD sally.keebler.homeunix.net 4.10-RELEASE FreeBSD 4.10-RELEASE
> #3: Mon Dec 27 18:45:53 EST 2004
> root@sally.keebler.homeunix.net:/usr/src/sys/compile/C3  i386

And I recently installed a DVD burnerso that I could do system backups:

> sally# dmesg|grep cd1
> acd1: DVD-R <TSSTcorpCD/DVDW TS-H552B> at ata1-slave PIO4
> acd1: DVD-R <TSSTcorpCD/DVDW TS-H552B> at ata1-slave PIO4
> cd1 at ata1 bus 0 target 1 lun 0
> cd1: <TSSTcorp CD/DVDW TS-H552B TS03> Removable CD-ROM SCSI-0 device
> cd1: 16.000MB/s transfers
> cd1: cd present [1 x 2048 byte records]

I know there are "better" backup solutions, but this system is for home
use and I just want to get backups going.  Eventually (e.g. as soon as I
figure out how) I will be doing proper dumps, but for now I'm pouring
things off into cd9660 filesystems.

I've been using growfs

> sally# growisofs --version
> * growisofs by <appro@fy.chalmers.se>, version 5.19-1,
>   front-ending to mkisofs: mkisofs 2.0.3 (i386-unknown-freebsd4.10)

to do all this, and for the first disk, it did just fine.  The problem
is the *second* disk:

> sally# growisofs -dvd-compat -Z /dev/cd1c=farm5.iso
> Executing 'builtin_dd if=farm5.iso of=/dev/pass1 obs=32k seek=0'
> /dev/pass1: "Current Write Speed" is 8.2x1385KBps.
>          0/3085238272 ( 0.0%) @0x, remaining ??:??
>          0/3085238272 ( 0.0%) @0x, remaining ??:??
>          0/3085238272 ( 0.0%) @0x, remaining ??:??
> :-? the LUN appears to be stuck writing LBA=10h, retry in 0ms
> :-[ WRITE@LBA=80000010h failed with SK=2h/ASC=04h/ACQ=08h]: Resource
> temporarily unavailable
> :-( write failed: Resource temporarily unavailable
> /dev/pass1: flushing cache
> /dev/pass1: closing track
> /dev/pass1: closing disc

When I take the ruined disk out, I can see the physical evidence of a
short write, but the disk isn't mountable.

The best part of all is that once I replace the ruined media and rerun
growisofs, the new disk burns flawlessly.  Just to taunt me.

I am getting this result every single time.

I know very little about SCSI but my theory is that some sort of state
is being set on the device but not cleared before the next disk is
attempted.

Any help would be greatly appreciated, and I will happily provide
further information if you clue me on how to obtain it.  Thanks.
-- 
Carleton Vaughn
College Park, Georgia, USA



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41E4AE0B.4060907>