Date: Tue, 6 Feb 2018 20:34:30 +0100 From: Peter Holm <peter@holm.cc> To: Gleb Smirnoff <glebius@FreeBSD.org> Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r328916 - in head/sys: kern vm Message-ID: <20180206193430.GA36054@x2.osted.lan> In-Reply-To: <20180206182839.GB1063@FreeBSD.org> References: <201802060416.w164G0va096970@repo.freebsd.org> <20180206113017.GA25428@x2.osted.lan> <20180206182839.GB1063@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Feb 06, 2018 at 10:28:39AM -0800, Gleb Smirnoff wrote: > Peter, > > On Tue, Feb 06, 2018 at 12:30:17PM +0100, Peter Holm wrote: > P> i386 also doesn't boot: > P> > P> FreeBSD 12.0-CURRENT #1 r328924: Tue Feb 6 11:51:17 CET 2018 > P> pho@x4.osted.lan:/usr/src/sys/i386/compile/PHO i386 > P> FreeBSD clang version 6.0.0 (branches/release_60 321788) (based on LLVM 6.0.0) > P> WARNING: WITNESS option enabled, expect reduced performance. > P> WARNING: DIAGNOSTIC option enabled, expect reduced performance. > P> Entering uma_startup with 4 boot pages configured > P> startup_alloc from "UMA Kegs", 3 boot pages left > P> startup_alloc from "UMA Zones", 2 boot pages left > P> startup_alloc from "UMA Hash", 1 boot pages left > P> Entering uma_startup1 with 0 boot pages left > P> kernel trap 12 with interrupts disabled > > Sorry for problems, I'm working on this. > > How do you think, is it a good idea to quickly add a one line change > to subversion that would bump boot_pages value to arbitrary +100, > to fixup the head while I'm working on a proper fix? > Oh, this is not a problem for me. Increasing boot_pages does however not seem to change anything: OK set vm.boot_pages=164 OK boot /boot/kernel/kernel text=0x146eead data=0xf0da0+0x2aa460 syms=[0x4+0xf0420+0x4+0x1865f5] /boot/entropy size=0x1000 /boot/kernel/amdtemp.ko text=0x2154 data=0x164+0x4 syms=[0x4+0x600+0x4+0x6d9] loading required module 'amdsmn' /boot/kernel/amdsmn.ko text=0xe1c data=0x124+0x4 syms=[0x4+0x4a0+0x4+0x4fd] Booting... GDB: no debug ports present KDB: debugger backends: ddb KDB: current backend: ddb Copyright (c) 1992-2018 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 12.0-CURRENT #3 r328941: Tue Feb 6 20:20:12 CET 2018 pho@x4.osted.lan:/usr/src/sys/i386/compile/PHO i386 FreeBSD clang version 6.0.0 (branches/release_60 321788) (based on LLVM 6.0.0) WARNING: WITNESS option enabled, expect reduced performance. WARNING: DIAGNOSTIC option enabled, expect reduced performance. Entering uma_startup with 164 boot pages configured startup_alloc from "UMA Kegs", 163 boot pages left startup_alloc from "UMA Zones", 162 boot pages left startup_alloc from "UMA Hash", 161 boot pages left Entering uma_startup1 with 160 boot pages left kernel trap 12 with interrupts disabled Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address = 0x19c fault code = supervisor read, page not present instruction pointer = 0x20:0xc0cdac38 stack pointer = 0x28:0xc2022bd0 frame pointer = 0x28:0xc2022c00 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = resume, IOPL = 0 current process = 0 () [ thread pid 0 tid 0 ] Stopped at vmem_alloc+0x88: cmpl %esi,0x19c(%edi) db> bt Tracing pid 0 tid 0 td 0xc1be3a40 vmem_alloc(0,1000,2102,c2022c1c,c169f490,...) at vmem_alloc+0x88/frame 0xc2022c00 kmem_malloc_domain(0,1000,102) at kmem_malloc_domain+0x44/frame 0xc2022c2c page_alloc(c2318000,1000,0,c2022c77,102,...) at page_alloc+0x26/frame 0xc2022c44 keg_alloc_slab(0,2,c169f490,d19,c2315b70,...) at keg_alloc_slab+0xf6/frame 0xc2022c8c uma_prealloc(c2318000,4,0,0,0,...) at uma_prealloc+0x95/frame 0xc2022cbc vmem_startup(c2157000,c0cc523b,c12b048b,c2022d0c,c2022d0c,...) at vmem_startup+0xf5/frame 0xc2022ce4 vm_mem_init(0,0,0,0,c1869340,...) at vm_mem_init+0x24/frame 0xc2022d10 mi_startup() at mi_startup+0xf7/frame 0xc2022d38 begin() at begin+0x2f db> - Peter
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180206193430.GA36054>