Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Aug 1998 09:30:08 +0200
From:      Jos Backus <Jos.Backus@nl.origin-it.com>
To:        Tor.Egge@fast.no
Cc:        hackers@FreeBSD.ORG
Subject:   Re: system shitdown using mount
Message-ID:  <19980812093008.A4232@hal.mpn.cp.philips.com>
In-Reply-To: <199806101453.QAA09941@pat.idi.ntnu.no>; from Tor.Egge@fast.no on Wed, Jun 10, 1998 at 04:53:44PM %2B0200
References:  <Pine.BSF.3.96.980610083657.28640A-100000@Amnesiac.123.org> <199806101453.QAA09941@pat.idi.ntnu.no>

next in thread | previous in thread | raw e-mail | index | archive | help
	Hello Tor, all,

On Wed, Jun 10, 1998 at 04:53:44PM +0200, Tor.Egge@fast.no wrote:
> /mnt was locked while ffs_mount tried to lookup /mnt/foo.  This probably
> caused a panic in ufs_lock, since a recursive lock on /mnt was not expected.
> 
> This behavior is also present in 3.0-CURRENT.  I'm using the following
> patch (for 3.0-CURRENT), after having made a similar mistake with
> the mount command (I forgot to specify the '-t null' option).
[patch elided]

I am trying to move my FreeBSD partition from sd1 to sd0. Before applying
this patch, when creating the slice and labeling and newfsing it using
sysinstall the system would die with a 'locking against myself' type panic.
Upon inspection the slice definition would be OK but the label would be
invalid (I tried this using a boot floppy, too). Therefore I wasn't able to
proceed any further with the migration.

However, after applying this patch, the label at least survives the ensuing
'vrele: negative ref cnt' panic (sys/kern/vfs_subr.c(1348))), and while the
filesystems apparently aren't set up properly (fsck complains about a bad
magic number in the superblock), I can newfs the partitions without problems.

So it looks like I will be able to migrate to sd0 after all *grin*

Of course, I guess the panic happening is Bad Thing. If there's anything I can
do to help fix this problem, please let me know. I can summon it at will :)

In the meantime, thank you for the patch!

Groetjes,
-- 
Jos Backus                          _/  _/_/_/    "Reliability means never
                                   _/  _/   _/     having to say you're sorry."
                                  _/  _/_/_/               -- D. J. Bernstein
                             _/  _/  _/    _/
Jos.Backus@nl.origin-it.com  _/_/   _/_/_/        use Std::Disclaimer;

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



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