From owner-freebsd-geom@FreeBSD.ORG Sun Jul 3 00:44:10 2005 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 89E5F16A5FA; Sun, 3 Jul 2005 00:44:10 +0000 (GMT) (envelope-from ps@mu.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1D3D644855; Sun, 3 Jul 2005 00:28:04 +0000 (GMT) (envelope-from ps@mu.org) Received: by elvis.mu.org (Postfix, from userid 1000) id 27063643ED; Sat, 2 Jul 2005 17:26:10 -0700 (PDT) X-Original-To: ps@mu.org Delivered-To: ps@mu.org Received: from mx2.freebsd.org (mx2.freebsd.org [216.136.204.119]) by elvis.mu.org (Postfix) with ESMTP id 22B1C5C975 for ; Thu, 14 Oct 2004 05:14:30 -0700 (PDT) Received: from hub.freebsd.org (hub.freebsd.org [216.136.204.18]) by mx2.freebsd.org (Postfix) with ESMTP id A0BE857BCF; Thu, 14 Oct 2004 12:11:31 +0000 (GMT) (envelope-from owner-freebsd-current@freebsd.org) Received: from hub.freebsd.org (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id 807B216A60A; Thu, 14 Oct 2004 12:11:13 +0000 (GMT) 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 4814616A4CE; Thu, 14 Oct 2004 05:21:02 +0000 (GMT) Received: from mrynet.com (mrynet.com [63.231.249.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id BBA5A43D39; Thu, 14 Oct 2004 05:21:01 +0000 (GMT) (envelope-from staylor@mrynet.com) Received: from mrynet.com (staylor@localhost [127.0.0.1]) by mrynet.com (8.13.1/8.13.1) with ESMTP id i9E5L0JJ001097; Thu, 14 Oct 2004 00:21:01 -0500 (CDT) (envelope-from staylor@mrynet.com) Received: (from staylor@localhost) by mrynet.com (8.13.1/8.13.1/Submit) id i9E5L06d001096; Thu, 14 Oct 2004 00:21:00 -0500 (CDT) (envelope-from staylor) Message-Id: <200410140521.i9E5L06d001096@mrynet.com> From: staylor@mrynet.com (User Staylor) X-Mailer: Mail User's Shell (7.2.6 beta(5) jp(8) 11/23/00) To: freebsd-current@freebsd.org, freebsd-geom@freebsd.org X-Mailman-Approved-At: Thu, 14 Oct 2004 12:10:41 +0000 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Sender: owner-freebsd-current@freebsd.org Errors-To: owner-freebsd-current@freebsd.org X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on elvis.mu.org X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.64 X-Spam-Level: Cc: Subject: GEOM will panic 6.0-current on userland wrong-length disk reads X-BeenThere: freebsd-geom@freebsd.org List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Sun, 03 Jul 2005 00:44:11 -0000 X-Original-Date: Thu, 14 Oct 2004 00:21:00 -0500 X-List-Received-Date: Sun, 03 Jul 2005 00:44:11 -0000 Just discovered (and verified with latest build on current.freebsd.org) that the following will panic the new GEOM fdc driver in 6.0-current: # dd if=/dev/fd0 bs=55 panic: wrong length 55 for sectorsize 512 And further checking, discovered that ALL disk devices will cause a panic: dd if=/dev/ad0 bs=1234 panic: wrong length 1234 for sectorsize 512 Perhaps this is geom's way of complaining? Seems a rather radical way to handle non-matching-blocksize reads of disk devices. A simple programming error reading a disk dev node will panic the machine. -scott _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"