[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
disklabel problems (pmax)
- To: tech_(_at_)_openbsd_(_dot_)_org
- Subject: disklabel problems (pmax)
- From: Thomas Graichen <graichen_(_at_)_rzpd_(_dot_)_de>
- Date: Sun, 12 Jan 1997 13:58:38 +0100 (MET)
i need some help from someone with some more disklabel/kernel
knowlegde - then i access the disklabel on a pmax (either by doing an
disklabel -r or mounting a partition from there and unmounting it) the
in memory copy of the disklabel get's trashed - i see this on
different disks now - and it does'nt happen if i use NetBSD/pmax - it
can't be something with the pmax code - because it is nearly identical
to NetBSD - so it can only be some change which was done on the
OpenBSD disklabel/disk/kernel subsystem which was missed on the pmax -
i looked through all the logs in arch/pmax - but did'nt find anything
which might cause this problem - can someone please look at this
because after one day of experimenting i don't know how to go on - if
you wan't to know more about it - i'll try to give you all information
i can give you
ok - here is an example which illustates the trashing very well
(btw. - sources are 961228 - but the problem exists since i started
with OpenBSD/pmax i think)
a lot of thanks in advance
t
p.s.: it does'nt seem to happen on all (but on some) disks and keep in
mind that the pmax still uses the old scsi stuff from 4.4bsd
root_(_at_)_summer:~> disklabel rz3
# /dev/rrz3c:
type: SCSI
disk: rz56
label:
flags:
bytes/sector: 512
sectors/track: 54
tracks/cylinder: 15
sectors/cylinder: 810
cylinders: 1632
total sectors: 1299174
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: 65536 0 4.2BSD 1024 8192 16
b: 98304 65536 swap
c: 1299174 0 unused 1024 8192
d: 1135334 163840 4.2BSD 1024 8192 16
root_(_at_)_summer:~> disklabel -r rz3
# /dev/rrz3c:
type: SCSI
disk: rz56
label:
flags:
bytes/sector: 512
sectors/track: 54
tracks/cylinder: 15
sectors/cylinder: 810
cylinders: 1632
total sectors: 1299174
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: 65536 0 4.2BSD 1024 8192 16
b: 98304 65536 swap
c: 1299174 0 unused 1024 8192
d: 1135334 163840 4.2BSD 1024 8192 16
root_(_at_)_summer:~> disklabel rz3
# /dev/rrz3c:
type: SCSI
disk: rz56
label:
flags:
bytes/sector: 512
sectors/track: 54
tracks/cylinder: 15
sectors/cylinder: 810
cylinders: 1632
total sectors: 1299174
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: 65536 0 28
b: 852141077 65536 swap
c: 1299174 0 unused 1024 8192
d: 1135334 163840 4.2BSD 1024 8192 16
disklabel: partition b: partition extends past end of unit
--
thomas graichen - graichen_(_at_)_rzpd_(_dot_)_de graichen_(_at_)_OpenBSD_(_dot_)_org graichen_(_at_)_FreeBSD_(_dot_)_org
perfection is reached, not when there is no longer anything to add, but when
there is no longer anything to take away antoine de saint-exupery
Visit your host, monkey.org