From owner-svn-src-all@freebsd.org Tue Feb 6 19:34:34 2018 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 44911EF645A; Tue, 6 Feb 2018 19:34:34 +0000 (UTC) (envelope-from pho@holm.cc) Received: from relay01.pair.com (relay01.pair.com [209.68.5.15]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D744F7C783; Tue, 6 Feb 2018 19:34:33 +0000 (UTC) (envelope-from pho@holm.cc) Received: from x2.osted.lan (87-58-223-204-dynamic.dk.customer.tdc.net [87.58.223.204]) by relay01.pair.com (Postfix) with ESMTP id 432B8D00B7D; Tue, 6 Feb 2018 14:34:32 -0500 (EST) Received: from x2.osted.lan (localhost [127.0.0.1]) by x2.osted.lan (8.14.9/8.14.9) with ESMTP id w16JYUC7036314 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 6 Feb 2018 20:34:30 +0100 (CET) (envelope-from pho@x2.osted.lan) Received: (from pho@localhost) by x2.osted.lan (8.14.9/8.14.9/Submit) id w16JYUds036313; Tue, 6 Feb 2018 20:34:30 +0100 (CET) (envelope-from pho) Date: Tue, 6 Feb 2018 20:34:30 +0100 From: Peter Holm To: Gleb Smirnoff 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> References: <201802060416.w164G0va096970@repo.freebsd.org> <20180206113017.GA25428@x2.osted.lan> <20180206182839.GB1063@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180206182839.GB1063@FreeBSD.org> User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Feb 2018 19:34:34 -0000 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