From owner-freebsd-current Wed Jun 5 22:22:12 2002 Delivered-To: freebsd-current@freebsd.org Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by hub.freebsd.org (Postfix) with ESMTP id A771837B401 for ; Wed, 5 Jun 2002 22:22:04 -0700 (PDT) Received: from odin.ac.hmc.edu (IDENT:brdavis@localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.12.3/8.12.3) with ESMTP id g565M2eE020287; Wed, 5 Jun 2002 22:22:02 -0700 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.12.3/8.12.3/Submit) id g565M2po020286; Wed, 5 Jun 2002 22:22:02 -0700 Date: Wed, 5 Jun 2002 22:22:02 -0700 From: Brooks Davis To: Bruce Evans Cc: current@FreeBSD.ORG Subject: Re: dump (via amanda) causing panics Message-ID: <20020605222202.A17619@Odin.AC.HMC.Edu> References: <20020605161454.A22201@Odin.AC.HMC.Edu> <20020606100455.N9476-100000@gamplex.bde.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="XsQoSWH+UP9D9v3l" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020606100455.N9476-100000@gamplex.bde.org>; from bde@zeta.org.au on Thu, Jun 06, 2002 at 10:37:12AM +1000 X-Virus-Scanned: by amavisd-milter (http://amavis.org/) Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --XsQoSWH+UP9D9v3l Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jun 06, 2002 at 10:37:12AM +1000, Bruce Evans wrote: > On Wed, 5 Jun 2002, Brooks Davis wrote: >=20 > > For the last week or so I've had my laptop panic every time amanda did > > a dump of it. This happens with a kernel as of yesterday so it probably > > wasn't just a bad update. >=20 > This is caused by: > (1) amanda attempting to read from a bad offset on the device. Almost > any offset that causes a block number of >=3D 2GB or 4GB will trigger > the kernel bug. > (2) the bounds checking in dscheck() being 64-bit daddr_t casualty > (*blush*). This fixes the panic. It appears there's also another bug in dump though. When I run dump I get this: [10:15pm] brooks@minya (~): sudo dump -a -f /dev/null /var Password: DUMP: Date of this level 0 dump: Wed Jun 5 22:16:09 2002 DUMP: Date of last level 0 dump: the epoch DUMP: Dumping /dev/ad0s2e (/var) to /dev/null DUMP: mapping (Pass I) [regular files] DUMP: mapping (Pass II) [directories] DUMP: estimated 580085 tape blocks. DUMP: dumping (Pass III) [directories] DUMP: dumping (Pass IV) [regular files] DUMP: master/slave protocol botched. DUMP: The ENTIRE dump is aborted. Any idea what this problem is? -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --XsQoSWH+UP9D9v3l Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE8/vF6XY6L6fI4GtQRAjoMAKCXvnDBce65/GkecL/+1H0JfD7PRwCfexkx YUwNs1JVouunstxawLPPPQw= =iKx5 -----END PGP SIGNATURE----- --XsQoSWH+UP9D9v3l-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message