On 6/8/07, Theo de Raadt <[EMAIL PROTECTED]> wrote:
> c: 71681967 63 unused 0 0 # Cyl 0*- 4461
> d: 2104452 63 4.2BSD 2048 16384 132 # Cyl 0*- 130
Ah -- your 'c' partition does not start at 0.
It's an old FreeBSD partition on your disk. That should not work; it
is bunk. We are removing the code from the kernel that allows it to
work, because it requires extra stupid checks all over the place to
support an old 386BSD stupidity.
It appears I have the very same issue, though with a much larger
offset. I created an OpenBSD partition on an existing partition table
towards the end of the drive.
[EMAIL PROTECTED]:~> sudo fdisk wd0
Disk: wd0 geometry: 11978/255/63 [192426570 Sectors]
Offset: 0 Signature: 0xAA55
Starting Ending LBA Info:
#: id C H S - C H S [ start: size ]
------------------------------------------------------------------------
0: E8 15356 77 8 - 229721 118 4 [ 246698998: 3443776305 ] <Unknown ID>
1: 01 0 0 1 - 267349 89 4 [ 0: 0 ] DOS FAT-12
2: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused
3: 3F 0 0 1 - 267349 89 4 [ 0: 0 ] <Unknown ID>
[EMAIL PROTECTED]:~> sudo disklabel wd0
# /dev/rwd0c:
type: ESDI
disk: ad0s3
label:
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 11978
total sectors: 192426570
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0 # microseconds
track-to-track seek: 0 # microseconds
drivedata: 0
8 partitions:
# size offset fstype [fsize bsize cpg]
a: 208845 155557395 4.2BSD 2048 16384 13 # Cyl 9683 - 9695
b: 4192965 155766240 swap # Cyl 9696 - 9956
c: 36869175 155557395 unused 0 0 # Cyl 9683 - 11977
d: 401625 159959205 4.2BSD 2048 16384 25 # Cyl 9957 - 9981
e: 20964825 160360830 4.2BSD 2048 16384 328 # Cyl 9982 - 11286
f: 11100915 181325655 4.2BSD 2048 16384 328 # Cyl 11287 - 11977
disklabel: warning, unused partition i: size 1413615339 offset -2147417768
disklabel: warning, unused partition j: size -1900006918 offset 402701520
disklabel: warning, unused partition k: size 503365533 offset 1463353529
disklabel: warning, unused partition l: size -1407327343 offset -1382830702
disklabel: warning, unused partition m: size -2013104760 offset -1065155243
disklabel: warning, unused partition n: size 402998726 offset 268977606
disklabel: warning, unused partition o: size -400023365 offset 17760440
disklabel: warning, unused partition p: size 1086332943 offset -356507121
[EMAIL PROTECTED]:~>
Jimmy.