Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Aug 2005 20:43:26 -0400
From:      Kris Kennaway <kris@obsecurity.org>
To:        phk@FreeBSD.org
Cc:        current@FreeBSD.org
Subject:   Infinite loop in devfs_create()
Message-ID:  <20050813004326.GA47855@xor.obsecurity.org>

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

--Kj7319i9nmIyA2yE
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

I have an SMP amd64 package machine that has deadlocked, apparently
here:

--- trap 0x13, rip = 0xffffffff8034b2a1, rsp = 0xffffffffbe6f2a10, rbp = 0xffffffffbe6f2a40 ---
devfs_create() at devfs_create+0x41
make_dev_credv() at make_dev_credv+0x148
make_dev() at make_dev+0x97
g_dev_taste() at g_dev_taste+0x130
g_new_provider_event() at g_new_provider_event+0x8a
one_event() at one_event+0x19b
g_run_events() at g_run_events+0x9
g_event_procbody() at g_event_procbody+0x7d
fork_exit() at fork_exit+0xdf
fork_trampoline() at fork_trampoline+0xe
--- trap 0, rip = 0, rsp = 0xffffffffbe6f2d00, rbp = 0 ---

If I break/continue and examine devfs_nextino, it appears to be
looping infinitely in devfs_create:

db> x/d devfs_nextino
devfs_nextino:  746
[...]
db> x/d devfs_nextino
devfs_nextino:  339

This machine has a number of md mounts active (they are created and
destroyed dynamically and tend to get up to high unit numbers, around
~600 at the time of deadlock).  Also devfs mounts come and go, but I
don't think anything else unusual is going on on the system.

Kris



--Kj7319i9nmIyA2yE
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFC/UIuWry0BWjoQKURAiKhAKDMeaec+2EZxXIdH5pqKpahGATlsACg2EKy
M8lf6G6Km0vo6Uc8T2L9M4Q=
=7pRN
-----END PGP SIGNATURE-----

--Kj7319i9nmIyA2yE--



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