From owner-freebsd-current Fri Oct 4 23:15:28 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DF59F37B401; Fri, 4 Oct 2002 23:15:27 -0700 (PDT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0EDC543E4A; Fri, 4 Oct 2002 23:15:27 -0700 (PDT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.6/8.12.6) with ESMTP id g956F4pS081131; Sat, 5 Oct 2002 08:15:04 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Ian Dowse Cc: Robert Watson , Terry Lambert , Emiel Kollof , Peter Wemm , n0go013 , current Subject: Re: [ GEOM tests ] disklabel warnings and vinum drives lost In-Reply-To: Your message of "Sat, 05 Oct 2002 03:10:12 BST." <200210050310.ab54012@salmon.maths.tcd.ie> Date: Sat, 05 Oct 2002 08:15:04 +0200 Message-ID: <81130.1033798504@critter.freebsd.dk> From: Poul-Henning Kamp 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 In message <200210050310.ab54012@salmon.maths.tcd.ie>, Ian Dowse writes: >In message , Robe >rt Watson writes: >>However, here's a patch that makes Vinum use namei() to rely on devfs to >>locate requested devices instead of parsing the device name and guessing >>the device number (incorrectly with GEOM). Unfortunately, I almost >>immediately run into a divide by zero due to a zero sector size. Jeff >>Roberson mentioned to me he had a fix for this bug that he sent to Greg, >>but that was never committed. > >The divide by zero problem seems to be caused by an interaction >between two bugs: Make that _three_ bugs: vinum opens devices directly at the cdevsw level, bypassing in the process the vnodes and specfs. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message