From owner-freebsd-bugs@FreeBSD.ORG Wed Aug 24 07:15:54 2005 Return-Path: X-Original-To: freebsd-bugs@FreeBSD.org Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D83B516A41F; Wed, 24 Aug 2005 07:15:54 +0000 (GMT) (envelope-from Ted.Nolan@sri.com) Received: from imf19aec.mail.bellsouth.net (imf19aec.mail.bellsouth.net [205.152.59.67]) by mx1.FreeBSD.org (Postfix) with ESMTP id 59FFD43D45; Wed, 24 Aug 2005 07:15:54 +0000 (GMT) (envelope-from Ted.Nolan@sri.com) Received: from sri.com ([68.217.248.70]) by imf19aec.mail.bellsouth.net with ESMTP id <20050824071553.FXJD3199.imf19aec.mail.bellsouth.net@sri.com>; Wed, 24 Aug 2005 03:15:53 -0400 To: Gleb Smirnoff In-Reply-To: Message from Gleb Smirnoff of "Sat, 20 Aug 2005 11:27:32 -0000." <200508201127.j7KBRWxW071121@freefall.freebsd.org> Date: Wed, 24 Aug 2005 03:15:53 -0400 From: Ted Nolan Message-Id: <20050824071553.FXJD3199.imf19aec.mail.bellsouth.net@sri.com> Cc: freebsd-bugs@FreeBSD.org, Ted.Nolan@sri.com Subject: Re: bin/85011: /sbin/restore on 5.4 will not read Solaris-sparc dumps, whereas 4.x restore will X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Aug 2005 07:15:55 -0000 In message <200508201127.j7KBRWxW071121@freefall.freebsd.org>you write: >Synopsis: /sbin/restore on 5.4 will not read Solaris-sparc dumps, whereas 4.x >restore will > >State-Changed-From-To: open->feedback >State-Changed-By: glebius >State-Changed-When: Sat Aug 20 11:26:16 GMT 2005 >State-Changed-Why: >Some changes to re-add support for old tapes were commited >to 5-STABLE _after_ 5.4-RELEASE. > >Can you please update your system and say whether SunOS >tapes are readable in 5.4-STABLE? > > >http://www.freebsd.org/cgi/query-pr.cgi?pr=85011 Hello, I'm afraid I can't upgrade my system at this time. However, I have downloaded the ssbin source code from a stable snapshot: http://snapshots.jp.freebsd.org/pub/FreeBSD/snapshots/i386/ 5.4-STABLE-20050824-JPSNAP/src/ (This site suggested in the handbook) extracting the sbin/dump and sbin/restore src directories, and compiling on my 5.4-RELEASE machine appears to work, and produces a binary: ========================================= cc -O -pipe -DRRESTORE -c main.c cc -O -pipe -DRRESTORE -c interactive.c cc -O -pipe -DRRESTORE -c restore.c cc -O -pipe -DRRESTORE -c dirs.c cc -O -pipe -DRRESTORE -c symtab.c cc -O -pipe -DRRESTORE -c tape.c cc -O -pipe -DRRESTORE -c utilities.c cc -O -pipe -DRRESTORE -c /usr/home/ted/stable/sbin/restore/../dump/dumprmt.c cc -O -pipe -DRRESTORE -o restore main.o interactive.o restore.o dirs.o symtab.o tape.o utilities.o dumprmt.o gzip -cn restore.8 > restore.8.gz ========================================= But the binary fails in the same way as the original 5.4-RELEASE binary: ========================================= %./restore if ~/root.dump Tape is not a dump tape ========================================= whereas copying a 4.x binary to the 5.4-RELEASE system works: ========================================= %restore4 if ~/root.dump Note: Doing Quad swapping restore > ls .: .TTauthority adrg kernel/ proc/ .Xauthority bin lib projects/ .cshrc cdrom/ lost+found/ sbin/ .dt/ core mirror/ tmp/ .dtprofile dev/ mnt/ usr/ .java/ devices/ net/ var/ .lsof_solabel10 etc/ netwars vol/ .rhosts export/ opt/ www/ .ssh/ home/ overflow/ xfn/ TT_DB/ home.local platform/ restore > quit % ========================================= Ted Nolan