From owner-freebsd-current@FreeBSD.ORG Wed Apr 20 21:43:01 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5C8D516A4CE for ; Wed, 20 Apr 2005 21:43:01 +0000 (GMT) Received: from obsecurity.dyndns.org (CPE0050040655c8-CM00111ae02aac.cpe.net.cable.rogers.com [69.194.102.111]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0EA7343D31 for ; Wed, 20 Apr 2005 21:43:01 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 2D9E353090; Wed, 20 Apr 2005 14:43:00 -0700 (PDT) Date: Wed, 20 Apr 2005 14:43:00 -0700 From: Kris Kennaway To: othermark Message-ID: <20050420214259.GA46821@xor.obsecurity.org> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="jI8keyz6grp/JLjh" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i cc: freebsd-current@freebsd.org Subject: Re: LOR/page fault panic vfs_mountroot X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Apr 2005 21:43:01 -0000 --jI8keyz6grp/JLjh Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Apr 20, 2005 at 01:04:08PM -0700, othermark wrote: > Current as of a few minutes ago. LOR/panic. Dual processor box. >=20 > kernel has vlan, ipfw, and dummynet enabled, but this doesn't > look like the problem. =20 >=20 > Curiously, booting single user and mounting root there doesn't=20 > panic, but it does panic if you try to 'exit' to multiuser. >=20 > [...] > Timecounters tick every 1.000 msec > ipfw2 (+ipv6) initialized, divert loadable, rule-based forwarding disable= d, > default to accept, logging disabled > ad0: 19092MB at ata0-master UDMA33 > acd0: CDROM at ata1-master UDMA33 > ATA PseudoRAID loaded > SMP: AP CPU #1 Launched! > Trying to mount root from ufs:/dev/ad0s1a > lock order reversal > 1st 0xc0a2d740 vm page queue mutex (vm page queue mutex) > @ /usr/src/sys/kern/vfs_bio.c:1485 > 2nd 0xc25e4d6c vnode interlock (vnode interlock) > @ /usr/src/sys/kern/vfs_subr.c:1992 This has been reported a half-dozen times or so. > Fatal trap 12: page fault while in kernel mode > cpuid =3D 0; apic id =3D 01 > fault virtual address =3D 0x4ac0c092 > fault code =3D supervisor read, page not present > instruction pointer =3D 0x20:0xc0703f88 > stack pointer =3D 0x28:0xe5092b78 > frame pointer =3D 0x28:0xe5092b78 > code segment =3D base 0x0, limit 0xfffff, type 0x1b > =3D DPL 0, pres 1, def32 1, gran 1 > processor eflags =3D interrupt enabled, resume, IOPL =3D 0 > current process =3D 73 (sysctl) > [thread pid 73 tid 100060 ] > Stopped at strlen+0x8: cmpb $0,0(%edx) > db> show alllocks > Process 73 (sysctl) thread 0xc23b2600 (100060) > exclusive sx sysctl lock r =3D 0 (0xc09d1c60) locked > @ /usr/src/sys/kern/kern_sysctl.c:1335 > exclusive sleep mutex Giant r =3D 0 (0xc09d1620) locked > @ /usr/src/sys/kern/kern_sysctl.c:1273 I think this one might be new. Please obtain a debugging traceback. Kris --jI8keyz6grp/JLjh Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFCZszjWry0BWjoQKURAq2XAJ4k3OYEbV2m/5ptuKKGcnwAJMS+RQCeK/Bx CIKNCGTjosvqefmh+3c6Gu8= =AiZ/ -----END PGP SIGNATURE----- --jI8keyz6grp/JLjh--