Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Jun 2009 16:08:16 +0300
From:      Kostik Belousov <kostikbel@gmail.com>
To:        Florian Smeets <flo@kasimir.com>
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
Message-ID:  <20090624130816.GC2884@deviant.kiev.zoral.com.ua>
In-Reply-To: <4A421711.40907@kasimir.com>
References:  <200906232045.n5NKjMMC089652@svn.freebsd.org> <4A421711.40907@kasimir.com>

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

--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--



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