From owner-svn-src-head@FreeBSD.ORG Wed Jun 24 13:08:21 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 504551065670; Wed, 24 Jun 2009 13:08:21 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (skuns.zoral.com.ua [91.193.166.194]) by mx1.freebsd.org (Postfix) with ESMTP id D520B8FC1D; Wed, 24 Jun 2009 13:08:20 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id n5OD8GBD080577 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 24 Jun 2009 16:08:16 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.3/8.14.3) with ESMTP id n5OD8G1e018569; Wed, 24 Jun 2009 16:08:16 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.3/8.14.3/Submit) id n5OD8Gfo018568; Wed, 24 Jun 2009 16:08:16 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Wed, 24 Jun 2009 16:08:16 +0300 From: Kostik Belousov To: Florian Smeets Message-ID: <20090624130816.GC2884@deviant.kiev.zoral.com.ua> References: <200906232045.n5NKjMMC089652@svn.freebsd.org> <4A421711.40907@kasimir.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="aHyShe78FfJzbeER" Content-Disposition: inline In-Reply-To: <4A421711.40907@kasimir.com> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: clamav-milter 0.95.1 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r194766 - in head/sys: dev/md fs/procfs fs/tmpfs kern security/mac_biba security/mac_lomac sys vm X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Jun 2009 13:08:21 -0000 --aHyShe78FfJzbeER Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jun 24, 2009 at 02:07:45PM +0200, Florian Smeets wrote: > On 23.06.09 22:45, Konstantin Belousov wrote: > >Author: kib > >Date: Tue Jun 23 20:45:22 2009 > >New Revision: 194766 > >URL: http://svn.freebsd.org/changeset/base/194766 > > >=20 > Hi kib, >=20 > this commit breaks my sparc64. >=20 > boot -v does only show: >=20 I assume the lines Copyright (c) 1992-2009 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. must be before these two ? > FreeBSD is a registered trademark of The FreeBSD Foundation. > FreeBSD 8.0-CURRENT #3 r194766M: Wed Jun 24 13:58:36 CEST 2009 What are the local changes you have in your sources ? > root@280r.solomo.de:/usr/obj/usr/src/sys/280R > panic: trap: fast data access mmu miss > cpuid =3D 0 > KDB: enter: panic > [thread pid 0 tid 0 ] > Stopped at 0xc01fe840: ta %xcc, 1 Can you look for the source line for this instruction ? > db> where > Tracing pid 0 tid 0 td 0xc053c520 > (null)() at 0xc01c878c > (null)() at 0xc03bc530 > (null)() at 0xc0060fd8 > (null)() at 0xc03487b0 > (null)() at 0xc0359c48 > (null)() at 0xc035af68 > (null)() at 0xc03b4200 > (null)() at 0xc0356f94 > (null)() at 0xc017792c > (null)() at 0xc0060030 > db> >=20 > usually the next few lines are: >=20 > real memory =3D 6442450944 (6144 MB) > avail memory =3D 6286557184 (5995 MB) These lines are printed by sparc64/sparc64/machdep.c:cpu_startup(). > cpu0: Sun Microsystems UltraSparc-III+ Processor (900.00 MHz CPU) > cpu1: Sun Microsystems UltraSparc-III+ Processor (900.00 MHz CPU) > FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs >=20 > r194765 boots fine. This one panics. >=20 > Anything i can do, anything you want me to try? I do not see anything obvious that might explain this. The changes I made add or substract allocation sizes from several variables, so to speak. Ideally, we need to find exact location in the boot sequence where the trap happen. The appearance of the copyright message means that sparc64_init() is done, and MI startup code is running. You may define VERBOSE_SYSINIT in init_main.c and watch what startup code is last called. --aHyShe78FfJzbeER Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkpCJT8ACgkQC3+MBN1Mb4gwdgCeKPC8jbL1+bxWm765nZ3zbR9m LGAAn2lmxulndvnvvUeAGXWCmIaxt6H2 =11sV -----END PGP SIGNATURE----- --aHyShe78FfJzbeER--