svn commit: r194766 - in head/sys: dev/md fs/procfs fs/tmpfs kern security/mac_biba security/mac_lomac sys vm

Kostik Belousov kostikbel at gmail.com
Wed Jun 24 13:08:21 UTC 2009


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
> >
> 
> Hi kib,
> 
> this commit breaks my sparc64.
> 
> boot -v does only show:
> 
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 at 280r.solomo.de:/usr/obj/usr/src/sys/280R
> panic: trap: fast data access mmu miss
> cpuid = 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>
> 
> usually the next few lines are:
> 
> real memory  = 6442450944 (6144 MB)
> avail memory = 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
> 
> r194765 boots fine. This one panics.
> 
> 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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/svn-src-all/attachments/20090624/3fd3300a/attachment.pgp


More information about the svn-src-all mailing list