From owner-freebsd-current@freebsd.org Thu Jun 27 09:52:00 2019 Return-Path: Delivered-To: freebsd-current@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 A6245159DFE6 for ; Thu, 27 Jun 2019 09:52:00 +0000 (UTC) (envelope-from freebsd@omnilan.de) Received: from mx0.gentlemail.de (mx0.gentlemail.de [IPv6:2a00:e10:2800::a130]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 84ECD76600 for ; Thu, 27 Jun 2019 09:51:59 +0000 (UTC) (envelope-from freebsd@omnilan.de) Received: from mh0.gentlemail.de (mh0.gentlemail.de [IPv6:2a00:e10:2800::a135]) by mx0.gentlemail.de (8.14.5/8.14.5) with ESMTP id x5R9pu1A068245 for ; Thu, 27 Jun 2019 11:51:56 +0200 (CEST) (envelope-from freebsd@omnilan.de) Received: from titan.inop.mo1.omnilan.net (s1.omnilan.de [217.91.127.234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mh0.gentlemail.de (Postfix) with ESMTPSA id 5315299 for ; Thu, 27 Jun 2019 11:51:56 +0200 (CEST) To: freebsd-current@freebsd.org From: Harry Schmalzbauer Subject: =?UTF-8?Q?kern.panic=5freboot=5fwait=5ftime_=e2=80=93_no_effect_on_?= =?UTF-8?Q?KDB-less_machine?= Organization: OmniLAN Message-ID: Date: Thu, 27 Jun 2019 11:51:56 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (mx0.gentlemail.de [IPv6:2a00:e10:2800::a130]); Thu, 27 Jun 2019 11:51:56 +0200 (CEST) X-Milter: Spamilter (Reciever: mx0.gentlemail.de; Sender-ip: ; Sender-helo: mh0.gentlemail.de; ) X-Rspamd-Queue-Id: 84ECD76600 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of freebsd@omnilan.de designates 2a00:e10:2800::a130 as permitted sender) smtp.mailfrom=freebsd@omnilan.de X-Spamd-Result: default: False [-6.80 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; HAS_ORG_HEADER(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; RCVD_TLS_LAST(0.00)[]; MX_GOOD(-0.01)[cached: mx0.gentlemail.de]; NEURAL_HAM_SHORT(-0.98)[-0.985,0]; DMARC_NA(0.00)[omnilan.de]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; IP_SCORE(-3.51)[ip: (-9.25), ipnet: 2a00:e10:2800::/38(-4.59), asn: 25074(-3.70), country: DE(-0.01)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:25074, ipnet:2a00:e10:2800::/38, country:DE]; MID_RHS_MATCH_FROM(0.00)[] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 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: Thu, 27 Jun 2019 09:52:00 -0000 Hello, currently, I have one stable/12-i386 machine panicing as ESXi guest. The kernel was built without KDB.  Hence, I set debug.debugger_on_panic=0 in loader.conf. Additionally, I set kern.panic_reboot_wait_time=20 But after the panic, the memory is dumped to swap and an immediate reboot happens. Far too quick to read a single word of the kernel message (1G RAM only, quick ssd swap). How can I delay the auto-reboot? Does kern.panic_reboot_wait_time only affect KDB behaviour? Thanks, -harry P.S.: I guess the following isn't really a VM problem, but a bug in my patched vmxnet3 driver (which happens with ALTQ usage, ALTQ is the reason I can't use if_vmx(4)): #4  0x00e329fd in vm_fault_hold (map=0x1edc000, vaddr=0, fault_type=, fault_flags=0, m_hold=0x0)     at /usr/local/share/deploy-tools/RELENG_12/src/sys/vm/vm_fault.c:600 #5  0x00e303fa in vm_fault (map=0x1edc000, vaddr=0, fault_type=1 '\001', fault_flags=0)     at /usr/local/share/deploy-tools/RELENG_12/src/sys/vm/vm_fault.c:550 #6  0x00ea6c6e in trap_pfault (frame=, usermode=0, eva=40)     at /usr/local/share/deploy-tools/RELENG_12/src/sys/i386/i386/trap.c:884 #7  0x00ea630c in trap (frame=0x471dee8) at /usr/local/share/deploy-tools/RELENG_12/src/sys/i386/i386/trap.c:521 #8  0xffc0316d in ?? () #9  0x013e663a in vmxnet3_start () from /boot/modules/vmxnet3.ko #10 0x00c0921a in if_transmit (ifp=0x5241000, m=0x18d7cd00) at /usr/local/share/deploy-tools/RELENG_12/src/sys/net/if.c:4048 #11 0x00c0ca82 in ether_output_frame (ifp=0x5241000, m=)     at /usr/local/share/deploy-tools/RELENG_12/src/sys/net/if_ethersubr.c:487 #12 0x00c0c99c in ether_output (ifp=0x5241000, m=, dst=0x471e174, ro=0x471e160)     at /usr/local/share/deploy-tools/RELENG_12/src/sys/net/if_ethersubr.c:440 #13 0x00c5dc6c in ip_output (m=, opt=0x0, ro=, flags=1, imo=,     inp=0x0) at /usr/local/share/deploy-tools/RELENG_12/src/sys/netinet/ip_output.c:660 #14 0x00c5a436 in ip_forward (m=0x18d7cd00, srcrt=0) at /usr/local/share/deploy-tools/RELENG_12/src/sys/netinet/ip_input.c:1069 #15 0x00c59ce7 in ip_input (m=) at RELENG_12/src/sys/i386/include/counter.h:59 #16 0x00c25f2d in netisr_dispatch_src (proto=1, source=0, m=0x18d7cd00)     at /usr/local/share/deploy-tools/RELENG_12/src/sys/net/netisr.c:1122 #17 0x00c26230 in netisr_dispatch (proto=1, m=0x18d7cd00) at /usr/local/share/deploy-tools/RELENG_12/src/sys/net/netisr.c:1213 #18 0x00c0cbc1 in ether_demux (ifp=0x5230c00, m=)     at /usr/local/share/deploy-tools/RELENG_12/src/sys/net/if_ethersubr.c:879 #19 0x00c0dc17 in ether_nh_input (m=0x18d7cd00) at /usr/local/share/deploy-tools/RELENG_12/src/sys/net/if_ethersubr.c:667 #20 0x00c25f2d in netisr_dispatch_src (proto=5, source=0, m=0x18d7cd00)     at /usr/local/share/deploy-tools/RELENG_12/src/sys/net/netisr.c:1122