From owner-freebsd-bugs Sat Jun 16 12:40:21 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 0A62137B408 for ; Sat, 16 Jun 2001 12:40:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.3/8.11.3) id f5GJe1B32254; Sat, 16 Jun 2001 12:40:01 -0700 (PDT) (envelope-from gnats) Received: from minerva.uucp.kew.com (kendra.ne.mediaone.net [24.218.227.234]) by hub.freebsd.org (Postfix) with ESMTP id 2CF5237B407 for ; Sat, 16 Jun 2001 12:36:01 -0700 (PDT) (envelope-from root@minerva.uucp.kew.com) Received: by minerva.uucp.kew.com (Postfix, from userid 0) id 33852D926; Sat, 16 Jun 2001 15:36:00 -0400 (EDT) Message-Id: <20010616193600.33852D926@minerva.uucp.kew.com> Date: Sat, 16 Jun 2001 15:36:00 -0400 (EDT) From: ahd@kew.com Reply-To: ahd@kew.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: bin/28204: Can't get label from /dev/da1s1c: Invalid argument (22) Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 28204 >Category: bin >Synopsis: vinum attempts to read DOS volumes and whines about it >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Jun 16 12:40:00 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Drew Derbyshire >Release: FreeBSD 4.3-RELEASE i386 >Organization: Kendra Electronic Wonderworks >Environment: System: FreeBSD minerva.hh.kew.com 4.3-RELEASE FreeBSD 4.3-RELEASE #2: Sat Jun 16 12:32:47 EDT 2001 ahd@minerva.hh.kew.com:/usr/src/sys/compile/MINERVA i386 >Description: Issue vinum dumpconfig on a machine with a DOS partition, vinum whines that it can't read the FreeBSD disklabel. fdisk output: ******* Working on device /dev/da1 ******* parameters extracted from in-core disklabel are: cylinders=2231 heads=255 sectors/track=63 (16065 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=2231 heads=255 sectors/track=63 (16065 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 6,(Primary 'big' DOS (> 32MB)) start 63, size 771057 (376 Meg), flag 0 beg: cyl 0/ sector 1/ head 1; end: cyl 47/ sector 63/ head 254 The data for partition 2 is: sysid 165,(FreeBSD/NetBSD/386BSD) start 771120, size 35069895 (17123 Meg), flag 80 (active) beg: cyl 48/ sector 1/ head 0; end: cyl 1023/ sector 63/ head 254 The data for partition 3 is: The data for partition 4 is: minerva,/home/ahd,84# vinum dumpconfig Can't get label from /dev/da1s1c: Invalid argument (22) >How-To-Repeat: See example above. >Fix: Check type of disk before blindly reading the disk. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message