From owner-freebsd-current@freebsd.org Fri Apr 15 11:38:22 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 52680AED4B8 for ; Fri, 15 Apr 2016 11:38:22 +0000 (UTC) (envelope-from zakharov.vv@gmail.com) Received: from mail-lf0-x243.google.com (mail-lf0-x243.google.com [IPv6:2a00:1450:4010:c07::243]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C604F1AF8 for ; Fri, 15 Apr 2016 11:38:21 +0000 (UTC) (envelope-from zakharov.vv@gmail.com) Received: by mail-lf0-x243.google.com with SMTP id e190so16320041lfe.1 for ; Fri, 15 Apr 2016 04:38:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=AJMD7WAiEgNbQRd07IXHRhqHpx55APkhqDURXFr4WJk=; b=jq3wlCDeE2inXEhkZAoukki8TNzLeHBGSZkSB1HZV2wUrFiIvUtOFgxXD8OpNXQ8pq WZlspuNw2kgEC/2GO05pKnA/aHIF/HoywchNlwN/AVEdizi4eh+MEMqGyGld1on1Xbns NvS1yoN1SvVH4lIBBujrK5Wj2PhM53ueR3PF2juR5Ogi/W+7uLFim/2iFgrCR8mscT5U oER2nBT/DRdN7u+2x/bNAgl1jOisNk9scxZQHxhI0jaPswcNYbodduAdb6KDWAVGCmtL SdPzXdS14rwAehtiaOk3OZWD/z2afBc9WoU04ghjOXtAWvqmTrlOgTpLbGFuTLsWtkS0 kYkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=AJMD7WAiEgNbQRd07IXHRhqHpx55APkhqDURXFr4WJk=; b=bRrreZveE9chg466WLAD0eCazH5y1z4sZeK6nvFauhiHGZ2O6xSKEHcV9e1YdQTtoR T/VEbiDqvVmKydDPCwttpiYKA3U+lhy6a5cuMZ88gVkAooUYuhrqHYW70MLb6THQxiPS wTejeZ1LFo7eZ/Y5FmMkIcE+n42ehSXr1SfOfUs34Ytjvns3A4lG9Az5v73kLnSKA6Xo y8VIoRpTlAvCdtYNTeDx4QrZ5Ypc6g3A3E3LqqhEv+ePZnUrPBjsMvUAyostXw5djXT7 VtJfsArOhgFOm7OAdsrwff0E8rS9RX5cZ1mkmoGVKJG2Ns6ALBvaixAn0AbqT5+JBf0V qtmg== X-Gm-Message-State: AOPr4FWnHrWUVxH6QXQqhj6hIr9dVFeRgm8f9ym/v+gcpfSUaBPbc30Uuf7Fqw0UIxEDNA== X-Received: by 10.112.61.10 with SMTP id l10mr8564147lbr.136.1460720300117; Fri, 15 Apr 2016 04:38:20 -0700 (PDT) Received: from localhost ([81.19.73.103]) by smtp.gmail.com with ESMTPSA id ai2sm7480165lbc.46.2016.04.15.04.38.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 15 Apr 2016 04:38:19 -0700 (PDT) Date: Fri, 15 Apr 2016 14:38:18 +0300 From: Vladimir Zakharov To: Konstantin Belousov Cc: freebsd-current@freebsd.org Subject: Re: GENERIC-NODEBUG panics, GENERIC does not Message-ID: <20160415113818.GA1613@vzakharov> References: <20160415102644.GA1380@vzakharov> <20160415105055.GI2422@kib.kiev.ua> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20160415105055.GI2422@kib.kiev.ua> X-Operating-System: FreeBSD 11.0-CURRENT amd64 X-PGP-Key: http://vzakharov.ru/pubkey.asc User-Agent: Mutt/1.6.0 (2016-04-01) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Apr 2016 11:38:22 -0000 On Fri, Apr 15, 2016, Konstantin Belousov wrote: > On Fri, Apr 15, 2016 at 01:26:44PM +0300, Vladimir Zakharov wrote: > > Hello > > > > Setting 'kern.eventtimer.periodic = 1' in /etc/sysctl.conf leads to > > GENERIC-NODEBUG panic. GENERIC loads without problems. > > So do GENERIC-NODEBUG as of r297245. > > > > https://imgur.com/0DtDU3m > > > > $ uname -a > > > > FreeBSD vzakharov 11.0-CURRENT FreeBSD 11.0-CURRENT #4 r298037: Fri Apr > > 15 12:27:40 MSK 2016 root@vzakharov:/home/obj/usr/src/sys/GENERIC-NODEBUG amd64 > > > > I cannot reproduce it locally. > Please provide me verbose dmesg from the successfull boot on your machine. GENERIC with kern.eventtimer.periodic=1: http://pastebin.com/raw/TB0TKSje GENERIC-NODEBUG: http://pastebin.com/raw/05CchraS > Also, for the panic, show me the output of the same data as on the > screenshot and the output of 'show registers'. https://imgur.com/pO8Yc3w > Also please load your kernel into kgdb and do > list *lapic_et_start+0x281 $ kgdb /boot/kernel/kernel GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "amd64-marcel-freebsd"... (kgdb) list *lapic_et_start+0x281 0xffffffff81099411 is in lapic_et_start (cpufunc.h:408). 403 cpufunc.h: No such file or directory. in cpufunc.h (kgdb) list *lapic_et_start 0xffffffff81099190 is in lapic_et_start (/usr/src/sys/x86/x86/local_apic.c:833). 828 } 829 } 830 831 static int 832 lapic_et_start(struct eventtimer *et, sbintime_t first, sbintime_t period) 833 { 834 struct lapic *la; 835 836 la = &lapics[PCPU_GET(apic_id)]; 837 if (et->et_frequency == 0) { (kgdb) PS. I've started building kernel with clean OBJDIR and with ccache disabled. -- Regards, | "In theory there is no difference between theory Vladimir Zakharov | and practice. In practice there is."- Yogi Berra