Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Apr 1995 18:05:37 +0200 (MET DST)
From:      Luigi Rizzo <luigi@labinfo.iet.unipi.it>
To:        hackers@FreeBSD.org
Subject:   MBR corruption again
Message-ID:  <199504031605.SAA10033@labinfo.iet.unipi.it>

next in thread | raw e-mail | index | archive | help
Once again I experienced MBR corruption on a snap950210 system, with
the entire disk dedicated to FreeBSD. It usually happens when the
machine (which is configured as a Firewall) is up for a few days (it
is *very* stable, I have to say), and what I see after I do a reboot
is random data on the partition table.

The parameters for the disk are:

studenti%~# fdisk       
******* Working on device /dev/rwd0d *******
parameters extracted from in-core disklabel are:
cylinders=1048 heads=16 sectors/track=63 (1008 blks/cyl)

 Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=1048 heads=16 sectors/track=63 (1008 blks/cyl)

Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 0 is:
sysid 165,(FreeBSD/NetBSD/386BSD)
    start 0, size 1056384 (515 Meg), flag 80
        beg: cyl 0/ sector 1/ head 0;
        end: cyl 1023/ sector 63/ head 15
The data for partition 1 is:
<UNUSED>
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
<UNUSED>


studenti%~# disklabel wd0
# /dev/rwd0c:
type: ST506
disk: ESDI/IDE
label: MBR based label
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 16
sectors/cylinder: 1008
cylinders: 1048
rpm: 0
interleave: 0
trackskew: 0
cylinderskew: 0
headswitch: 0           # milliseconds
track-to-track seek: 0  # milliseconds
drivedata: 0 

8 partitions:
#        size   offset    fstype   [fsize bsize bps/cpg]
  a:    61440        0    4.2BSD        0     0     0   # (Cyl.    0 - 60*)
  b:   131072    61440      swap                        # (Cyl.   60*- 190*)
  c:  1056384        0    unused        0     0         # (Cyl.    0 - 1047)
  d:  1056384        0    unused        0     0         # (Cyl.    0 - 1047)
  e:   863872   192512    4.2BSD        0     0     0   # (Cyl.  190*- 1047*)
Warning, revolutions/minute 0
super block size 0

Any ideas, other than upgrading the system (which is what I'll do
anyways) ?

	Thanks
	Luigi
====================================================================
Luigi Rizzo                     Dip. di Ingegneria dell'Informazione
email: luigi@iet.unipi.it       Universita' di Pisa
tel: +39-50-568533              via Diotisalvi 2, 56126 PISA (Italy)
fax: +39-50-568522
====================================================================



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199504031605.SAA10033>