From owner-freebsd-hackers@FreeBSD.ORG Sun Mar 25 15:05:12 2012 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1AF571065701 for ; Sun, 25 Mar 2012 15:05:12 +0000 (UTC) (envelope-from rank1seeker@gmail.com) Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id C69C98FC2B for ; Sun, 25 Mar 2012 15:05:06 +0000 (UTC) Received: by wern13 with SMTP id n13so4887329wer.13 for ; Sun, 25 Mar 2012 08:05:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:from:to:subject:date:content-type :content-transfer-encoding:x-mailer; bh=WFBGYA0YkbC6AvUCs/CUH8ttZiZXzBWDGP0fD3WgFmg=; b=gT5ZdDie9IpsVSJB1xylwL1OFT0r7KfZOTpnks7IYBlVb63FWnPrbcgSsHVBx1tvSF NpFBizdjdLlgRDXDBPIzMH97VZ3ss/GJfOQYx2s4adHGsfy/0JVkhWC3+2xe8yNHKXWW 5cSmD4QoiH6iZLahQrqNQQLuGe7aj46nOFQV/IASA1USplbaENJAsurp1WaEMcQtQG3p uCXZkZNivn+X3oDw+S+0x7e3sMNivneNarwEBHLnTMZYH7U2359YUpx9piZgpiLNAh4a OsSGdLHHyW6hVrYUH/iNRbt3825hoaiEfd9lQDuYQSHqfomSfCVrynz988Oc4snKF3t2 ZSoA== Received: by 10.216.131.30 with SMTP id l30mr10501086wei.111.1332687905548; Sun, 25 Mar 2012 08:05:05 -0700 (PDT) Received: from DOMYPC ([82.193.208.173]) by mx.google.com with ESMTPS id gd4sm41040254wib.6.2012.03.25.08.04.44 (version=SSLv3 cipher=OTHER); Sun, 25 Mar 2012 08:05:03 -0700 (PDT) Message-ID: <20120325.150506.135.2@DOMY-PC> From: rank1seeker@gmail.com To: hackers@freebsd.org Date: Sun, 25 Mar 2012 17:05:06 +0200 Content-Type: text/plain; charset="Windows-1250" Content-Transfer-Encoding: quoted-printable X-Mailer: POP Peeper (3.8.1.0) Cc: Subject: BUG: REL 9.0 - 'boot0cfg' fails with providers of non 512 byte sectorsize X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Mar 2012 15:05:12 -0000 I've created a vnode image (md0) with sectorsizes of 8192 and = 4096=0D=0A=0D=0AAfter installing MBR's bootcode '/boot/boot0', in = provider 'md0' I did:=0D=0A# boot0cfg -o noupdate -m 0xc = md0=0D=0Aboot0cfg: read /dev/md0: Invalid argument=0D=0A# boot0cfg -v = md0=0D=0Aboot0cfg: read /dev/md0: Invalid argument=0D=0A=0D=0AIf custom = sectorsize isn't specifed(512 bytes), then both above CMDs will = work.=0D=0A=0D=0A=0D=0ADomagoj Smol=E8i=E6