From owner-freebsd-hackers Mon Apr 3 09:15:04 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id JAA11668 for hackers-outgoing; Mon, 3 Apr 1995 09:15:04 -0700 Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id JAA11654 for ; Mon, 3 Apr 1995 09:14:53 -0700 Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id SAA10033 for hackers@freebsd.org; Mon, 3 Apr 1995 18:05:37 +0200 From: Luigi Rizzo Message-Id: <199504031605.SAA10033@labinfo.iet.unipi.it> Subject: MBR corruption again To: hackers@FreeBSD.org Date: Mon, 3 Apr 1995 18:05:37 +0200 (MET DST) X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 2367 Sender: hackers-owner@FreeBSD.org Precedence: bulk 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: The data for partition 2 is: The data for partition 3 is: 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 ====================================================================