Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Aug 2009 21:26:56 -0400
From:      "B. Cook" <bcook@poughkeepsieschools.org>
To:        "Roland Smith" <rsmith@xs4all.nl>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: reboot after panic: ufs_dirbad: /var...
Message-ID:  <9fc3d32e2c07ce4d3aecf9d0522de7d0.squirrel@mail.poughkeepsieschools.org>
In-Reply-To: <20090813191513.GB66607@slackbox.xs4all.nl>
References:  <4A843E71.4080101@poughkeepsieschools.org> <20090813191513.GB66607@slackbox.xs4all.nl>

next in thread | previous in thread | raw e-mail | index | archive | help

On Thu, August 13, 2009 3:15 pm, Roland Smith wrote:
> On Thu, Aug 13, 2009 at 12:25:21PM -0400, B. Cook wrote:
>> Here is the full error:
>>
>> Aug 13 09:29:57 gameface savecore: reboot after panic: ufs_dirbad: /var:
>> bad dir ino 3485849 at offset 3584: mangled entry
>>
>> The error causes the machine to keep rebooting on its own over and over
>> again.
>
> You are not using the partition that contains /var as the dump device, are
> you?
>
>> i386 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Wed May 20 16:56:48 EDT 2009
>>
>> It is running a GENERIC kernel with ALTQ in it, and DEVICE_POLLING
>>
>> The machine will not reboot on its own, but if you start in single user
>> mode, fsck /var and then mount it; and exit.. the box will start..
>>
>> It will do this everytime; any suggestions?
>
> Disable saving coredumps bt setting 'dumpdev="NO"' in /etc/rc.conf.
>
> Roland
> --
> R.F.Smith                                   http://www.xs4all.nl/~rsmith/
> [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
> pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)
>

[/etc/defaults]# 2 > grep dumpdev *
rc.conf:dumpdev="AUTO"	 # Device to crashdump to (device name, AUTO, or NO).
rc.conf:savecore_flags="" # Used if dumpdev is enabled above, and present.

I will set it to NO and try rebooting it.

Would AUTO cause it to write to the same fs that has the crash?

What does this mean? Other than the obvious.. is there something useful
that I could glean from vmcore.15 ?

[/var/crash]# 22 > cat info.15
Dump header from device /dev/mirror/gm0s1b
  Architecture: i386
  Architecture Version: 2
  Dump Length: 177184768B (168 MB)
  Blocksize: 512
  Dumptime: Thu Aug 13 09:14:44 2009
  Hostname: gameface
  Magic: FreeBSD Kernel Dump
  Version String: FreeBSD 7.2-RELEASE #0: Wed May 20 16:56:48 EDT 2009
    root@gameface:/usr/obj/usr/src/sys/GENERICplus
  Panic String: ufs_dirbad: /var: bad dir ino 3485849 at offset 3584:
mangled entry
  Dump Parity: 2197692492
  Bounds: 15
  Dump Status: good

var/crash]# 26 > ls -al vmcore.*
-rw-------  1 root  wheel  212860928 Jun 13 17:04 vmcore.0
-rw-------  1 root  wheel  231198720 Jun 13 17:08 vmcore.1
-rw-------  1 root  wheel  176918528 Aug 13 09:10 vmcore.13
-rw-------  1 root  wheel  177827840 Aug 13 09:14 vmcore.14
-rw-------  1 root  wheel   23068672 Aug 13 09:30 vmcore.15
-rw-------  1 root  wheel  488067072 Aug 13 07:46 vmcore.2
-rw-------  1 root  wheel  176640000 Aug 13 07:50 vmcore.3
-rw-------  1 root  wheel  174018560 Aug 13 07:53 vmcore.4
-rw-------  1 root  wheel  175534080 Aug 13 07:57 vmcore.5
-rw-------  1 root  wheel  176820224 Aug 13 08:07 vmcore.8

Thanks in advance.





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