Subject: bin/6501: disklabel doesn't handle zone recorded disks the same
To: None <>
From: Tim Rightnour <>
List: netbsd-bugs
Date: 11/26/1998 10:58:06
>Number:         6501
>Category:       bin
>Synopsis:       disklabel doesn't handle zone recorded disks the same
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Nov 26 10:05:00 1998
>Originator:     Tim Rightnour
Tim Rightnour  -
Free Multi-Platform Operating System:
NetBSD Mailing lists on the web:
>Release:        1.3.2/sparc and 1.3I/alpha<NetBSD-current source date>
System: NetBSD polaris 1.3.2 NetBSD 1.3.2 (POLARIS) #1: Fri Nov 6 07:41:34 MST 1998 root@:/usr/src/sys/arch/i386/compile/POLARIS i386


Using the exact same disk, on my alpha and my sparc gives very different
results when disklabeling.  On my sparc, the label below works like a charm,
and uses as much of the zone recorded disk as possible. However when this
label is applied to the same disk, in an alpha, disklabel chokes with:

partition a extends past end of unit.
partition c extends past end of unit.

sparc SS1 running 1.3.2
Alpha 164LX running 1.3I

sd3 at scsibus0 targ 3 lun 0: <IBM, CFA170S       !S, 167A> SCSI2 0/direct fixed
sd3(ncr0:3:0): 10.0 MB/s (100 ns, offset 8)
sd3: 163MB, 2111 cyl, 2 head, 79 sec, 512 bytes/sect x 335270 sectors



make a disklabel in sparc, cut and paste to alpha, move disk, label.
Perhaps the sparc is doing something differently, to cope with sun disklabels?