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

Gavin Atkinson gavin at FreeBSD.org
Thu Jun 25 13:27:26 UTC 2009


On Tue, 2009-06-23 at 20:45 +0000, Konstantin Belousov wrote:
> Author: kib
> Date: Tue Jun 23 20:45:22 2009
> New Revision: 194766
> URL: http://svn.freebsd.org/changeset/base/194766
> 
> Log:
>   Implement global and per-uid accounting of the anonymous memory. Add
>   rlimit RLIMIT_SWAP that limits the amount of swap that may be reserved
>   for the uid.

This commit also breaks sparc64 for me, stock kernel with no local
changes.  r194765 boots successfully.  This is on a dual-CPU E250 with
1G RAM.

jumping to kernel entry at 0xc0088000.
GDB: no debug ports present
KDB: debugger backends: ddb
KDB: current backend: ddb
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.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 8.0-CURRENT #3 r194766: Thu Jun 25 13:08:26 BST 2009
    root at milla.x.y.z:/usr/obj/usr/src/sys/GENERIC
WARNING: WITNESS option enabled, expect reduced performance.
panic: trap_pfault: vmspace NULL
cpuid = 0
KDB: enter: panic
[thread pid 0 tid 0 ]
Stopped at      0xc03aa4c0:     ta              %xcc, 1
db> bt
Tracing pid 0 tid 0 td 0xc08d6f90
(null)() at 0xc03726ac
(null)() at 0xc06a0b34
(null)() at 0xc06a1294
(null)() at 0xc0088ff8
(null)() at 0xc0625130
(null)() at 0xc0634f48
(null)() at 0xc0635864
(null)() at 0xc06990e0
(null)() at 0xc0632054
(null)() at 0xc031cd0c
(null)() at 0xc0088030
db> reset
Resetting ...

milla# addr2line -e /boot/kernel/kernel.symbols 0xc03726ac
/usr/src/sys/kern/kern_shutdown.c:558
milla# addr2line -e /boot/kernel/kernel.symbols 0xc06a0b34
/usr/src/sys/sparc64/sparc64/trap.c:420
milla# addr2line -e /boot/kernel/kernel.symbols 0xc06a1294
/usr/src/sys/sparc64/sparc64/trap.c:351
milla# addr2line -e /boot/kernel/kernel.symbols 0xc0088ff8
/usr/src/sys/sparc64/sparc64/exception.S:2723
milla# addr2line -e /boot/kernel/kernel.symbols 0xc0625130
/usr/src/sys/vm/swap_pager.c:173
milla# addr2line -e /boot/kernel/kernel.symbols 0xc0634f48
/usr/src/sys/vm/vm_map.c:1137
milla# addr2line -e /boot/kernel/kernel.symbols 0xc0635864
/usr/src/sys/vm/vm_map.c:1405
milla# addr2line -e /boot/kernel/kernel.symbols 0xc06990e0
/usr/src/sys/sparc64/sparc64/pmap.c:627
milla# addr2line -e /boot/kernel/kernel.symbols 0xc0632054
/usr/src/sys/vm/vm_init.c:126
milla# addr2line -e /boot/kernel/kernel.symbols 0xc031cd0c
/usr/src/sys/kern/init_main.c:252
milla# addr2line -e /boot/kernel/kernel.symbols 0xc0088030
/usr/src/sys/sparc64/sparc64/locore.S:84


The next few lines of the dmesg would usually be:

Preloaded elf kernel "/boot/kernel.old/kernel" at 0xc0c0a000.
real memory  = 1073741824 (1024 MB)
avail memory = 1027825664 (980 MB)
machine: SUNW,Ultra-250
cpu0: Sun Microsystems UltraSparc-II Processor (400.00 MHz CPU)
  mask=0x90 maxtl=5 maxwin=7
initalizing intr_countp
cpu1: Sun Microsystems UltraSparc-II Processor (400.00 MHz CPU)
  mask=0xa0 maxtl=5 maxwin=7
INTR: Adding CPU 1 as a target
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs

Gavin


More information about the svn-src-all mailing list