Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Mar 2006 16:39:19 -0500
From:      "Matt Emmerton" <matt@compar.com>
To:        "Kris Kennaway" <kris@obsecurity.org>
Cc:        stable@freebsd.org
Subject:   Re: 6.0-REL problems with ISA ed0, FFS corruption and ancient hardware
Message-ID:  <001701c64b9d$94b44a70$1200a8c0@gsicomp.on.ca>
References:  <000c01c64b72$321d6520$1200a8c0@gsicomp.on.ca> <20060319174831.GA3270@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Mar 19, 2006 at 11:28:45AM -0500, Matt Emmerton wrote:
> [ Asked on -questions on Friday; re-asking now on -stable without
> cross-post]
>
> I recently upgraded a 4.11-REL machine to 6.0-REL and have run into some
> snags.  While the installation from CD went fine, after configuring and
> enabling my ed0 NIC, bad things start to happen.
>
> FWIW, this machine is an ancient (hardware circa 1991, BIOS circa 1994)
> dual-Pentium 133 MHz machine, with EISA/PCI and onboard SCSI.
>
> So far I can reliably reproduce two panics, one appears to be a ed driver
> bug (based on reports of similar panics with different NICs, notably nge)
> and one is a filesystem corruption problem.
>
> Here's the process that I go through to reliably reproduce both problems.
> 1) Boot machine in multi-user mode
> 2) After ifconfig ed0, machine panics with a trap 12 in ithread_loop.
> 3) In debugger, reset (or panic to get vmcore)
> 4) Reboot in multi-user mode, but set "hint.ed.0.disabled=1" in the boot
> loader (to avoid ifconifg panic)
> 5) Root filesystem is fsckd; all other filesystems are scheduled for
> background fsck
> 6) Encounter panic "ffs_valloc: dup alloc"

I think this part is because you have filesystem corruption from your
previous panic.  Force a fsck in foreground mode and it should clear
it up.

--

That prevents the FFS panic from occurring.  I had forgot about the fact
that fsck in multi-user mode runs as "fsck -p" which only catches a limited
subset of filesystem errors.

--
Matt Emmerton




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001701c64b9d$94b44a70$1200a8c0>