Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Jun 2009 23:21:38 +0200
From:      David Naylor <naylor.b.david@gmail.com>
To:        freebsd-current@freebsd.org
Cc:        kib@freebsd.org
Subject:   __getcwd panics [lock held] (r193174, r193186)
Message-ID:  <200906042321.44624.naylor.b.david@gmail.com>

next in thread | raw e-mail | index | archive | help
--nextPart4770535.LtA2o8KX1g
Content-Type: text/plain;
  charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Hi,

A recent change (r193174, r193186) in vfs_cache has been causing __getcwd t=
o=20
panic the system.  The panic appears to trigger when I try install lang/ezm=
3=20
(with other things also happening).

=2D- hand copied ---

System call _getcwd returning with the following locks held:
shared rw Name Cache (Name Cache) r =3D 0 (0xc0eced7c) locked=20
@ /usr/src/sys/kern/vfs_cache.c:1104
panic: witness_warn

=2D-- above reproducible ---

cpuid =3D 2
KDB: enter: panic
[thread pid 23322 tid 100190 ]
Stopped at kdb_enter+0x3a: movl $0, kdb_why
db> cont
Uptime 20m35s
Physical memory: 3055 MB
Dumping 271 MB: 256 240 224panic: bufwrite: buffer is not busy???
cpuid =3D 0
KDB: enter: panic
[thread pid 25 tid 100055 ]
Stopped at kdb_enter+0x3a: movl $0, kdb_why
db> cont
Uptime: 20m36s
Automatic reboot in 15 seconds - press a key on the console to abort
Rebooting...
cpu_reset: Stopping other CPUs

=2D-- systems hangs here, does nothing else ---
=2D-- hard reset ---

I reverst the change (and r193175) and the panic 'disappeared'. =20

Willing to test patches. =20

Regards,

David

--nextPart4770535.LtA2o8KX1g
Content-Type: application/pgp-signature; name=signature.asc 
Content-Description: This is a digitally signed message part.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (FreeBSD)

iEYEABECAAYFAkooOugACgkQUaaFgP9pFrKvzQCaAxe+CLCNABQSEzgnBOZTJjWD
p/kAn1vEc4RuK9W8Twya9Dv94ce5mgrY
=KxKp
-----END PGP SIGNATURE-----

--nextPart4770535.LtA2o8KX1g--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906042321.44624.naylor.b.david>