Subject: bin/10658: disklabel(8) on hp300 refuses to write bootblocks
To: None <gnats-bugs@gnats.netbsd.org>
From: None <cchen@nougat.org>
List: netbsd-bugs
Date: 07/22/2000 19:12:14
>Number: 10658
>Category: bin
>Synopsis: disklabel(8) on hp300 refuses to write bootblocks
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Jul 22 19:13:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator: Chris Chen
>Release: 1.4.2
>Organization:
Fat Electron Group
>Environment:
NetBSD hagel 1.4.2 NetBSD 1.4.2 (GENERIC) #0: Wed Mar 15 09:20:57 PST 2000 oster@zoot:/u1/NetBSD-1.4.2/usr/src/sys/arch/hp300/compile/GENERIC hp300
>Description:
I'm trying to install a bootblock on a 1 gig seagate ST11200N,
giving partition a an offset of 1 cylinder for the bootblock.
When trying to write a bootblock with disklabel:
disklabel: boot overlaps used partition a
disklabel: boot overlaps used partition c
disklabel: cannot install boot program
Trying an offset of 2 doesn't seem to help.
>How-To-Repeat:
On an hp300, with seagate ST11200N drive, disklabel:
# /dev/rsd0c:
type: SCSI
disk: SCSI disk
label: SUN1.05 cyl 2036
flags:
bytes/sector: 512
sectors/track: 72
tracks/cylinder: 14
sectors/cylinder: 1008
cylinders: 2036
total sectors: 2052288
rpm: 5400
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0 # milliseconds
track-to-track seek: 0 # milliseconds
drivedata: 0
4 partitions:
# size offset fstype [fsize bsize cpg]
a: 256032 1008 4.2BSD 1024 8192 16 # (Cyl. 1 - 254)
b: 256032 257040 4.2BSD 1024 8192 16 # (Cyl. 255 - 508)
c: 2052288 0 boot # (Cyl. 0 - 2035)
d: 1539216 513072 4.2BSD 1024 8192 16 # (Cyl. 509 - 2035)
run disklabel -B sd0
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: