NetBSD Problem Report #33293

From www@netbsd.org  Wed Apr 19 23:52:47 2006
Return-Path: <www@netbsd.org>
Received: by narn.netbsd.org (Postfix, from userid 31301)
	id 87F8A63B884; Wed, 19 Apr 2006 23:52:47 +0000 (UTC)
Message-Id: <20060419235247.87F8A63B884@narn.netbsd.org>
Date: Wed, 19 Apr 2006 23:52:47 +0000 (UTC)
From: dgriffi@cs.csubak.edu
Reply-To: dgriffi@cs.csubak.edu
To: gnats-bugs@netbsd.org
Subject: sysutils/cdbkup has problems with DVDs
X-Send-Pr-Version: www-1.0

>Number:         33293
>Category:       pkg
>Synopsis:       sysutils/cdbkup has problems with DVDs
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bsiegert
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Apr 19 23:55:00 +0000 2006
>Closed-Date:    Sun May 17 19:15:17 +0000 2015
>Last-Modified:  Tue Jul 14 03:25:00 +0000 2015
>Originator:     David Griffith
>Release:        2.1 i386
>Organization:
>Environment:
NetBSD zaphod 2.1 NetBSD 2.1 (GENERIC) #0: Mon Oct 24 22:35:45 UTC 2005  jmc@faith.netbsd.org:/home/builds/ab/netbsd-2-1-RELEASE/i386/200510241747Z-obj/home/builds/ab/netbsd-2-1-RELEASE/src/sys/arch/i386/compile/GENERIC i386

>Description:
Backing up to DVD:

Immediately, gtar(1) complains the deprecated use of the "l" option and suggests using "--one-file-system" instead.  Then things seem to go fine until it comes time to write out the newly-created tarball to the burner with cdrecord(8).  cdrecord(8) aborts, thus causing cdbkup(1) to also abort.  Here are the two lines of interest.

/usr/pkg/bin/cdrecord: Track 1 has unknown length.
/usr/pkg/bin/cdrecord: Use tsize= option in SAO mode to specify track size.


>How-To-Repeat:
cdbkup 0 -s 4 -l home -S 4200000000 -c none -w /usr/tmp/cdworkdir /dev/rcd0d /usr/home/joe

The home directory in question contains about 20 gigs of stuff.
>Fix:
The following patches seem to fix things completely:

$NetBSD$
--- src/cdappend.in.orig        2006-04-18 23:40:54.000000000 -0700
+++ src/cdappend.in     2006-04-18 23:41:12.000000000 -0700
@@ -101,7 +101,7 @@
 die "Options -b and -r conflict.\n" if( $blank && $recycle);

 $mkiso = "@MKISOFS@ -quiet -R -J";
-$cdrec = "@CDRECORD@ -v -data dev=$cddevice speed=$cdspeed";
+$cdrec = "@CDRECORD@ -v -data dev=$cddevice speed=$cdspeed tsize=$cdsize_all";

 $tmpimg = "$workdir/$filename";

$NetBSD$
--- src/cdsplit.in.orig 2002-03-06 11:01:23.000000000 -0800
+++ src/cdsplit.in      2006-04-19 00:11:17.000000000 -0700
@@ -125,7 +125,7 @@
 $workdir = "." if ($test && $workdir eq "/tmp/cdworkdir");

 $mkiso = "@MKISOFS@ -quiet -R -J";
-$cdrec = "@CDRECORD@ -v -data dev=$cddevice speed=$cdspeed";
+$cdrec = "@CDRECORD@ -v -data dev=$cddevice speed=$cdspeed tsize=$cdsize_all";

 $tmpimg = "$workdir/$filename";

$NetBSD$
--- src/cdbkup.in.orig  2002-03-06 11:01:23.000000000 -0800
+++ src/cdbkup.in       2006-04-18 23:48:05.000000000 -0700
@@ -298,12 +298,13 @@
 }

 $tarcmd = "cd ".esc_shell($dumpdir)." && $rgnutar -f - -cS";
-$tarcmd .= "l" unless ($crossmp);
 unless( $ziphere) {
        $tarcmd .= "z" if( $compress eq 'gz');
        $tarcmd .= "j" if( $compress eq 'bz2');
 }

+$tarcmd .= " --one-file-system" unless ($crossmp);
+
 $tarcmd .= " --listed-incremental=$listed".
        " --label=".esc_shell($datedlabel);
 foreach $exclude (@excludes) {


>Release-Note:

>Audit-Trail:
From: David Griffith <dgriffi@cs.csubak.edu>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/33293
Date: Wed, 19 Apr 2006 22:23:13 -0700 (PDT)

 The fixes I proposed have introduced or uncovered a subtle but significant
 bug involving disk-at-once versus track-at-once modes of operation in
 which the last disk turns out corrupted.  More to come.  Please don't
 apply these patches to a live system.

 -- 
 David Griffith
 dgriffi@cs.csubak.edu

From: Sergey Svishchev <svs@ropnet.ru>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/33293
Date: Thu, 4 Nov 2010 23:42:15 +0300

 Note: "As of 2004-07-27 17:16, this project is no longer under active development."

 (quote from its homepage)

 -- 
 Sergey Svishchev

From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: svs@ropnet.ru
Subject: Re: pkg/33293: sysutils/cdbkup has problems with DVDs
Date: Sun, 7 Nov 2010 21:13:45 +0000

 On Thu, Nov 04, 2010 at 08:50:04PM +0000, Sergey Svishchev wrote:
  >  Note: "As of 2004-07-27 17:16, this project is no longer under active development."
  >  
  >  (quote from its homepage)

 Does that mean it should be considered dead and removed from pkgsrc?

 -- 
 David A. Holland
 dholland@netbsd.org

From: Sergey Svishchev <svs@ropnet.ru>
To: David Holland <dholland-pbugs@netbsd.org>
Cc: gnats-bugs@netbsd.org
Subject: Re: pkg/33293: sysutils/cdbkup has problems with DVDs
Date: Mon, 8 Nov 2010 00:58:16 +0300

 On Sun, Nov 07, 2010 at 09:13:45PM +0000, David Holland wrote:
 >On Thu, Nov 04, 2010 at 08:50:04PM +0000, Sergey Svishchev wrote:
 > >  Note: "As of 2004-07-27 17:16, this project is no longer under active development."
 > >  
 > >  (quote from its homepage)
 >
 >Does that mean it should be considered dead and removed from pkgsrc?

 No, just that upstream probably won't release another version with our fixes.

 (We have plenty of abandonware in pkgsrc; I personally use one -- pload.)

 -- 
 Sergey Svishchev

State-Changed-From-To: open->feedback
State-Changed-By: bsiegert@NetBSD.org
State-Changed-When: Sun, 17 May 2015 12:32:13 +0000
State-Changed-Why:
You said "more to come". This does not seem to be the case. OK to close this?


Responsible-Changed-From-To: pkg-manager->bsiegert
Responsible-Changed-By: bsiegert@NetBSD.org
Responsible-Changed-When: Sun, 17 May 2015 19:15:17 +0000
Responsible-Changed-Why:


State-Changed-From-To: feedback->closed
State-Changed-By: bsiegert@NetBSD.org
State-Changed-When: Sun, 17 May 2015 19:15:17 +0000
State-Changed-Why:
Closing as per submitter's request.


From: David Griffith <dgriffi@cs.csubak.edu>
To: gnats-bugs@NetBSD.org
Cc: pkg-manager@netbsd.org, pkgsrc-bugs@netbsd.org, gnats-admin@netbsd.org, 
    bsiegert@NetBSD.org
Subject: Re: pkg/33293 (sysutils/cdbkup has problems with DVDs)
Date: Sun, 17 May 2015 10:56:08 -0700 (PDT)

 On Sun, 17 May 2015, bsiegert@NetBSD.org wrote:

 > Synopsis: sysutils/cdbkup has problems with DVDs
 >
 > State-Changed-From-To: open->feedback
 > State-Changed-By: bsiegert@NetBSD.org
 > State-Changed-When: Sun, 17 May 2015 12:32:13 +0000
 > State-Changed-Why:
 > You said "more to come". This does not seem to be the case. OK to close this?

 Oh dear.  This is ancient.  I think by now DVD support has been fully 
 vetted, so it's okay to close this.

 -- 
 David Griffith
 dgriffi@cs.csubak.edu

 A: Because it fouls the order in which people normally read text.
 Q: Why is top-posting such a bad thing?
 A: Top-posting.
 Q: What is the most annoying thing in e-mail?

From: Benny Siegert <bsiegert@NetBSD.org>
To: David Griffith <dgriffi@cs.csubak.edu>
Cc: gnats-bugs@netbsd.org, pkg-manager@netbsd.org, pkgsrc-bugs@netbsd.org, 
	gnats-admin@netbsd.org
Subject: Re: pkg/33293 (sysutils/cdbkup has problems with DVDs)
Date: Sun, 12 Jul 2015 21:20:39 -0700

 On Sun, May 17, 2015 at 10:56 AM, David Griffith <dgriffi@cs.csubak.edu> wrote:
 > Oh dear.  This is ancient.  I think by now DVD support has been fully
 > vetted, so it's okay to close this.

 Wait, when you say "fully vetted", does that mean there is a version
 that has these fixes? AFAICS, the last release was in 2004.

From: David Griffith <dgriffi@cs.csubak.edu>
To: Benny Siegert <bsiegert@NetBSD.org>
Cc: gnats-bugs@netbsd.org, pkg-manager@netbsd.org, pkgsrc-bugs@netbsd.org, 
    gnats-admin@netbsd.org
Subject: Re: pkg/33293 (sysutils/cdbkup has problems with DVDs)
Date: Mon, 13 Jul 2015 09:39:02 -0700 (PDT)

 On Sun, 12 Jul 2015, Benny Siegert wrote:

 > On Sun, May 17, 2015 at 10:56 AM, David Griffith <dgriffi@cs.csubak.edu> wrote:
 >> Oh dear.  This is ancient.  I think by now DVD support has been fully
 >> vetted, so it's okay to close this.
 >
 > Wait, when you say "fully vetted", does that mean there is a version
 > that has these fixes? AFAICS, the last release was in 2004.

 I think I meant that DVD support is complete in NetBSD.  I no longer 
 regularly use NetBSD, so *shrug*.

 -- 
 David Griffith
 dgriffi@cs.csubak.edu

 A: Because it fouls the order in which people normally read text.
 Q: Why is top-posting such a bad thing?
 A: Top-posting.
 Q: What is the most annoying thing in e-mail?

From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: bsiegert@NetBSD.org
Subject: Re: pkg/33293 (sysutils/cdbkup has problems with DVDs)
Date: Tue, 14 Jul 2015 03:21:56 +0000

 On Mon, Jul 13, 2015 at 05:50:00PM +0000, David Griffith wrote:
  >  >> Oh dear.  This is ancient.  I think by now DVD support has been fully
  >  >> vetted, so it's okay to close this.
  >  >
  >  > Wait, when you say "fully vetted", does that mean there is a version
  >  > that has these fixes? AFAICS, the last release was in 2004.
  >  
  >  I think I meant that DVD support is complete in NetBSD.  I no longer 
  >  regularly use NetBSD, so *shrug*.

 The only patch we have in pkgsrc does this:

 -       if( system("@MOUNT@ -t iso9660 ".esc_shell($device)." $mntpt") != 0)
 +       if( system("@MOUNT@ -t cd9660 ".esc_shell($device)." $mntpt") != 0)

 which isn't going to make the difference between DVDs working and not
 working.

 In any event, bsiegert@ wants to remove the package, so unless there's
 a reason to avert that it's all going to become moot.

 -- 
 David A. Holland
 dholland@netbsd.org

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.