*BSD News Article 76253


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.cis.okstate.edu!newsfeed.ksu.ksu.edu!news.mid.net!mr.net!news.sgi.com!enews.sgi.com!news.mathworks.com!newsfeed.internetmci.com!news.msfc.nasa.gov!sol.ctr.columbia.edu!startide.ctr.columbia.edu!wpaul
From: wpaul@ctr.columbia.edu (Bill Paul)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Major problem with disc syncing
Date: 16 Aug 1996 14:03:43 GMT
Organization: Columbia University Center for Telecommunications Research
Lines: 65
Message-ID: <4v1v3v$2qc@sol.ctr.columbia.edu>
References: <4uvvp8$580@cti01.citenet.net>
NNTP-Posting-Host: startide.ctr.columbia.edu
X-Newsreader: TIN [version 1.2 PL2]

Daring to challenge the will of the almighty Leviam00se, Phil Holmstrom
(philh@cdngateway.pe.ca) had the courage to say:

: 	We have the unfortunate incident of a power outage (our UPS ran out
: after 4 hrs) and now my freebsd machine is non operational. Anyhow
: here's the specs :
: pent 100,32mb ram, quantum fireball (1080A) (its IDE), intel pro 100b
: card running the May snap version.

Well, you're quite a bit out of date, but anyway...

: Heres whats happening:
: Machine boots the kernal off the had no problem, probes and detects
: all the stuff normally however after the detection of wd0, it comes up
: with this :
: WARNING: / was not properly dismounted
: /: bad dir ino 182 at offset 1536: mangled entry
: bad dir
: syncing disks 1 1 1 1 1 1 1 1 1 1 1 1 1 1 giving up

Double-plus ungood.

: it then requests a reboot, I let it and the similar thing happens over
: and over again. Is there a simple fix to this problem or am I screwed?

You are screwed. There's a small chance that fsck might help you,
but you can't get far along into the boot process to reach a shell
and run it, so you're stuck unless you can bootstrap the system off
an altername boot device. (Or remove the hard disk from this machine
and install it on another FreeBSD machine as an IDE slave just long
enough to repair the fs damage.)

: I still have the boot floppy (it boots off it ok, just no hd),if that
: will help. Can someone explain what is happening and if there is a way
: to fix it?

The fixit floppy is supposed to be useful for these sorts of things.
Presumeably it has a few tools on it that will net you unmangle your
filesystem damage. You will almost certainly lose some data no matter
what you do though. Of that there is little doubt. Try booting from the
install floppy and selecting the fixit option, keeping the fixit floppy
handy. I think it will mount it for you and give you a shell so you
can play.

Of course you did make backups of your system so you can always recover
everything later, right?

Right?

Beuller?

-Bill

PS: I would recommend upgrading to a later SNAP if possible. This
    problem has a familiar ring to it and it could happen again with
    the older kernel you're using.

--
=============================================================================
-Bill Paul            (212) 854-6020 | System Manager, Master of Unix-Fu
Work:         wpaul@ctr.columbia.edu | Center for Telecommunications Research
Home:  wpaul@skynet.ctr.columbia.edu | Columbia University, New York City
=============================================================================
 "If you're ever in trouble, go to the CTR. Ask for Bill. He will help you."
=============================================================================