Subject: Re: CURRENT build crash (was: Re: New 2.0 snapshot available)
To: Hubert Feyrer <hubert@feyrer.de>
From: david l goodrich <dlg@dorkzilla.org>
List: port-sgimips
Date: 08/14/2004 23:06:31
--bozR=.+0TQ?ZbDyl
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
On Sun, 15 Aug 2004 00:24:15 +0200 (CEST)
Hubert Feyrer <hubert@feyrer.de> wrote:
> On Sat, 14 Aug 2004, david l goodrich wrote:
> > root file system type: ffs
> > /: bad dir ino 270370 at offset 8192: mangled entry
> > panic: bad dir
> > db>
> >
> > so... a filesystem error?
>
> looks like it... what does fsck(8) say?
>
fsck on the next boot says:
--[start]--
Starting file system checks:
/dev/rsd0a: INCORRECT BLOCK COUNT I=287202 (2 should be 0) (CORRECTED)
/dev/rsd0a: FREE BLK COUNT(S) WRONG IN SUPERBLK (SALVAGED)
/dev/rsd0a: SUMMARY INFORMATION BAD (SALVAGED)
/dev/rsd0a: BLK(S) MISSING IN BIT MAPS (SALVAGED)
/dev/rsd0a: 99522 files, 569211 used, 919958 free (902 frags, 114882 blocks, 0.1
% fragmentation)
/dev/rsd0a: MARKING FILE SYSTEM CLEAN
--[end]--
(yes, sd0a is the only partition. small disk, didn't want to limit myself)
# df
Filesystem 1K-blocks Used Avail Capacity Mounted on
/dev/sd0a 1489169 569216 845494 40% /
kernfs 1 1 0 100% /kern
#
i have the whole boot sequence logged if anybody wants it.
i'll set to work on building a kernel with debugging enabled. never done it
before, should be an adventure :]
--david
>
> > > but here's the backtrace:
> > > db> bt
> > > 80343004+214 (87fff000,bf390000,0,d) ra 8029b6bc sz 0
> > > 8029b52c+190 (87fff000,d,0,72) ra 802401c0 sz 40
> > > 802401b4+c (87fff000,d,0,72) ra 0 sz 0
> > > User-level: pid 633.1
>
> Um, that's not useful.
> Can you make a kernel with debug-symbols and check that, possibly by
> forcing a crash dump ("reboot 0x104") first, then running gdb on the saved
> core.
>
>
> - Hubert
>
> --
> ,,_
> If wishes were wings, o" )~ would fly. -- Go www.NetBSD.org!
> ''''
--bozR=.+0TQ?ZbDyl
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (OpenBSD)
iD8DBQFBHtM7sw9Pt+GRQPURAjMiAJ0UZz0ARXXMHa8uIp/hBphLanuDCQCgq3Ad
rt4qkfRAEEnFh7WHfsYIx84=
=Kuod
-----END PGP SIGNATURE-----
--bozR=.+0TQ?ZbDyl--