From nobody Wed Jun 8 01:37:52 2022 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 23A9E851BE2 for ; Wed, 8 Jun 2022 01:38:11 +0000 (UTC) (envelope-from oleglelchuk@gmail.com) Received: from mail-vs1-xe31.google.com (mail-vs1-xe31.google.com [IPv6:2607:f8b0:4864:20::e31]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LHqcL2Mmyz3CgY for ; Wed, 8 Jun 2022 01:38:10 +0000 (UTC) (envelope-from oleglelchuk@gmail.com) Received: by mail-vs1-xe31.google.com with SMTP id x187so18410573vsb.0 for ; Tue, 07 Jun 2022 18:38:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=gKFkERUQkorTxj04p37eQjmINwERg0HhnFGR1GNpZwg=; b=pW8MvhvlS8nzbulaiooFYCbNsi2S71tg468EC6Bh14kYKsenmvy5FFjDqSWCtOpE16 q6HUEGbCnXCFwVAqOXA+nFMA/2srdGVGGdE5OKLFOHkYrfIV6iO7awRoqKWs5/cDZk/S rMQsVKdO26yRHE1gCQ1wjEvf3q74or3TKyuF7kNIdDGSX7qLC9mNMmJTVoUQghzfjpRK aDCdUWUCRBmojVUcSpQdMg0COV2cZVUam2Pb0h+eyRZlrRCOP88idm3iAD9X25Xtuvze WSoCBor9LNwU+RcoPLXHeT0DpI3c4+P23YG1t81RfcJW1YiE7mpnNey/lxxn1UUglPL/ lz9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=gKFkERUQkorTxj04p37eQjmINwERg0HhnFGR1GNpZwg=; b=54Sfh7l0myBYpI9Hn6VCWoqGjBb5TkWgmvTW5rYxwKhD1dp/Ev+J1EUAZT+QpTKiFA gFbVGkf25Uag90oHdnSENaHwRf4HY1KcN9A7zf7EUmIxWRxl7HXl43sTOkBM/gqjOnzW aGlrjrFStSL13q7bvf1fPWFSNxnzQNyvia8tUnlldLhl8V/fQEsUqfDcubZTf+YcO2Y1 QakrKgj6VvCReSVbrY8WVOlPAwe5vu81aApInqG4b84ZfNm6gE/CLFCZvh859NlNe1Nh XscxncH2iX+sySKUq/AEgLMhoja927QMNOiL/PYYti01Ya9b7yFqj47q7V/P9wy/JTb+ TtTQ== X-Gm-Message-State: AOAM530JHP1MDgSOWE9fsYQwcbz1xQAnQecFJsBmhMPwxVCA6vTBue0p bOyK+vJp3/jESnhHQaNZXJjPd1SrbG86Y2+9tndLB7AMhbY= X-Google-Smtp-Source: ABdhPJyS4y69Hk2n/N6j86jRtWICk9Z8vf0Fg+VC0qUF1PFbvZXx1acspr2VCoZO3vCOpjgCc7Jd8pzOkTuVzzGXoDs= X-Received: by 2002:a05:6102:54ac:b0:34b:b502:f5e7 with SMTP id bk44-20020a05610254ac00b0034bb502f5e7mr7090610vsb.58.1654652284214; Tue, 07 Jun 2022 18:38:04 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 From: Oleg Lelchuk Date: Tue, 7 Jun 2022 21:37:52 -0400 Message-ID: Subject: A kernel crash after compiling a fresh kernel To: freebsd-current@freebsd.org Content-Type: multipart/alternative; boundary="000000000000a0a2b805e0e5c132" X-Rspamd-Queue-Id: 4LHqcL2Mmyz3CgY X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=pW8Mvhvl; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of oleglelchuk@gmail.com designates 2607:f8b0:4864:20::e31 as permitted sender) smtp.mailfrom=oleglelchuk@gmail.com X-Spamd-Result: default: False [-4.00 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000]; MID_RHS_MATCH_FROMTLD(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::e31:from]; NEURAL_HAM_SHORT(-1.00)[-1.000]; MLMMJ_DEST(0.00)[freebsd-current]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] X-ThisMailContainsUnwantedMimeParts: N --000000000000a0a2b805e0e5c132 Content-Type: text/plain; charset="UTF-8" The 14-CURRENT running a fresh kernel crashes with these messages: __curthread () at /usr/src/sys/amd64/include/pcpu_aux.h:55 55 __asm("movq %%gs:%P1,%0" : "=r" (td) : "n" (offsetof(struct pcpu, (kgdb) #0 __curthread () at /usr/src/sys/amd64/include/pcpu_aux.h:55 #1 dump_savectx () at /usr/src/sys/kern/kern_shutdown.c:401 #2 0xffffffff80be8ba5 in dumpsys (di=0x0) at /usr/src/sys/x86/include/dump.h:87 #3 doadump (textdump=1) at /usr/src/sys/kern/kern_shutdown.c:430 #4 kern_reboot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:537 #5 0xffffffff80be8fee in vpanic (fmt=, ap=ap@entry=0xfffffe01042395a0) at /usr/src/sys/kern/kern_shutdown.c:975 #6 0xffffffff80be8d53 in panic (fmt=) at /usr/src/sys/kern/kern_shutdown.c:899 #7 0xffffffff810c0877 in trap_fatal (frame=0xfffffe0104239690, eva=0) at /usr/src/sys/amd64/amd64/trap.c:942 #8 0xffffffff810c092b in trap_pfault (frame=0xfffffe0104239690, usermode=false, signo=, ucode=) at /usr/src/sys/amd64/amd64/trap.c:761 #9 #10 tcp_sack_output (tp=tp@entry=0xfffffe0187312140, sack_bytes_rexmt=sack_bytes_rexmt@entry=0xfffffe010423983c) at /usr/src/sys/netinet/tcp_sack.c:970 #11 0xffffffff80dd47a2 in tcp_default_output (tp=0xfffffe0187312140) at /usr/src/sys/netinet/tcp_output.c:310 #12 0xffffffff80dcd240 in tcp_output (tp=tp@entry=0xfffffe0187312140) at /usr/src/sys/netinet/tcp_var.h:407 #13 0xffffffff80dcc81a in tcp_do_segment (m=0xfffff80203467700, th=0xfffff8001f190022, so=0xfffff80015d0fb40, tp=0xfffffe0187312140, drop_hdrlen=64, tlen=, iptos=0 '\000') at /usr/src/sys/netinet/tcp_input.c:2788 #14 0xffffffff80dc8def in tcp_input_with_port (mp=, offp=, proto=, port=port@entry =0) at /usr/src/sys/netinet/tcp_input.c:1397 #15 0xffffffff80dc9c8b in tcp_input (mp=0xfffff8011c764010, offp=0x4, proto=-2128851986) at /usr/src/sys/netinet/tcp_input.c:1492 #16 0xffffffff80db8cd7 in ip_input (m=0x0) at /usr/src/sys/netinet/ip_input.c:840 #17 0xffffffff80d3842f in netisr_dispatch_src (proto=1, source=source@entry=0, m=0xfffff80203467700) at /usr/src/sys/net/netisr.c:1153 #18 0xffffffff80d3878f in netisr_dispatch (proto=477511696, m=0xffffffff811c4bee) at /usr/src/sys/net/netisr.c:1244 #19 0xffffffff80d1a7cc in ether_demux (ifp=ifp@entry=0xfffff80002873800, m=0x4) at /usr/src/sys/net/if_ethersubr.c:925 #20 0xffffffff80d1be53 in ether_input_internal (ifp=0xfffff80002873800, m=0x4) at /usr/src/sys/net/if_ethersubr.c:711 #21 ether_nh_input (m=) at /usr/src/sys/net/if_ethersubr.c:741 #22 0xffffffff80d3842f in netisr_dispatch_src (proto=proto@entry=5, source=source@entry=0, m=m@entry=0xfffff80203467700) at /usr/src/sys/net/netisr.c:1153 #23 0xffffffff80d3878f in netisr_dispatch (proto=477511696, proto@entry=5, m=0xffffffff811c4bee, m@entry=0xfffff80203467700) at /usr/src/sys/net/netisr.c:1244 #24 0xffffffff80d1ac89 in ether_input (ifp=0xfffff80002873800, m=0xfffff80203467700) at /usr/src/sys/net/if_ethersubr.c:832 #25 0xffffffff808f41f7 in re_rxeof (sc=sc@entry=0xfffffe00e1cce000, rx_npktsp=0x0) at /usr/src/sys/dev/re/if_re.c:2386 #26 0xffffffff808f1a16 in re_intr_msi (xsc=0xfffffe00e1cce000) at /usr/src/sys/dev/re/if_re.c:2682 #27 0xffffffff80ba3d49 in intr_event_execute_handlers (ie=0xfffff800020fde00, p=) at /usr/src/sys/kern/kern_intr.c:1205 #28 ithread_execute_handlers (ie=0xfffff800020fde00, p=) at /usr/src/sys/kern/kern_intr.c:1218 #29 ithread_loop (arg=arg@entry=0xfffff800020fbf80) at /usr/src/sys/kern/kern_intr.c:1306 #30 0xffffffff80ba03e0 in fork_exit ( callout=0xffffffff80ba3ad0 , arg=0xfffff800020fbf80, frame=0xfffffe0104239f40) at /usr/src/sys/kern/kern_fork.c:1102 #31 --000000000000a0a2b805e0e5c132 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
The 14-CURRENT runn= ing a fresh kernel crashes with these messages:

__= curthread () at /usr/src/sys/amd64/include/pcpu_aux.h:55
55 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0__asm("movq %%gs:%P1,%0" : = "=3Dr" (td) : "n" (offsetof(struct pcpu,
=C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 (kgdb) #0 =C2=A0__curthread () at /usr/src/sys/= amd64/include/pcpu_aux.h:55
#1 =C2=A0dump_savectx () at /usr/src/sys/ker= n/kern_shutdown.c:401
#2 =C2=A00xffffffff80be8ba5 in dumpsys (di=3D0x0)<= br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 at /usr/src/sys/x86/include/dump.= h:87
#3 =C2=A0doadump (textdump=3D1) at /usr/src/sys/kern/kern_shutdown.= c:430
#4 =C2=A0kern_reboot (howto=3D260) at /usr/src/sys/kern/kern_shutd= own.c:537
#5 =C2=A00xffffffff80be8fee in vpanic (fmt=3D<optimized out= >,
=C2=A0 =C2=A0 =C2=A0 =C2=A0 ap=3Dap@entry=3D0xfffffe01042395a0) at= /usr/src/sys/kern/kern_shutdown.c:975
#6 =C2=A00xffffffff80be8d53 in pa= nic (fmt=3D<unavailable>)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 a= t /usr/src/sys/kern/kern_shutdown.c:899
#7 =C2=A00xffffffff810c0877 in t= rap_fatal (frame=3D0xfffffe0104239690, eva=3D0)
=C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 at /usr/src/sys/amd64/amd64/trap.c:942
#8 =C2=A00xffffffff= 810c092b in trap_pfault (frame=3D0xfffffe0104239690,
=C2=A0 =C2=A0 =C2= =A0 =C2=A0 usermode=3Dfalse, signo=3D<optimized out>, ucode=3D<opt= imized out>)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 at /usr/src/sys/amd= 64/amd64/trap.c:761
#9 =C2=A0<signal handler called>
#10 tcp_sa= ck_output (tp=3Dtp@entry=3D0xfffffe0187312140,
=C2=A0 =C2=A0 =C2=A0 =C2= =A0 sack_bytes_rexmt=3Dsack_bytes_rexmt@entry=3D0xfffffe010423983c)
=C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 at /usr/src/sys/netinet/tcp_sack.c:970#11 0xffffffff80dd47a2 in tcp_default_output (tp=3D0xfffffe0187312140)at /usr/src/sys/netinet/tcp_output.c:310
#12 0xffffffff80dcd240 in tcp_= output (tp=3Dtp@entry=3D0xfffffe0187312140)
at /usr/src/sys/netinet/tcp_= var.h:407
#13 0xffffffff80dcc81a in tcp_do_segment (m=3D0xfffff802034677= 00,
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 th=3D0xfffff= 8001f190022, so=3D0xfffff80015d0fb40, tp=3D0xfffffe0187312140,
=C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 drop_hdrlen=3D64, tlen=3D&= lt;optimized out>, iptos=3D0 '\000')
at /usr/src/sys/netinet/= tcp_input.c:2788
#14 0xffffffff80dc8def in tcp_input_with_port (mp=3D<= ;optimized out>,
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 offp=3D<optimized out>, proto=3D<optimized out>, port=3Dpor= t@entry=3D0)
at /usr/src/sys/netinet/tcp_input.c:1397
#15 0xffffffff8= 0dc9c8b in tcp_input (mp=3D0xfffff8011c764010, offp=3D0x4,
=C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 proto=3D-2128851986) at /usr/src= /sys/netinet/tcp_input.c:1492
#16 0xffffffff80db8cd7 in ip_input (m=3D0x= 0)
at /usr/src/sys/netinet/ip_input.c:840
#17 0xffffffff80d3842f in n= etisr_dispatch_src (proto=3D1,
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 source=3Dsource@entry=3D0, m=3D0xfffff80203467700)
at /us= r/src/sys/net/netisr.c:1153
#18 0xffffffff80d3878f in netisr_dispatch (p= roto=3D477511696,
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 m=3D0xffffffff811c4bee) at /usr/src/sys/net/netisr.c:1244
#19 0xffff= ffff80d1a7cc in ether_demux (ifp=3Difp@entry=3D0xfffff80002873800,
m=3D0x4) at /usr/src/sys/net/if_ethersubr.c:925
#20 0xffffffff80d1be53= in ether_input_internal (ifp=3D0xfffff80002873800, m=3D0x4)
at /usr/src= /sys/net/if_ethersubr.c:711
#21 ether_nh_input (m=3D<optimized out>= ;) at /usr/src/sys/net/if_ethersubr.c:741
#22 0xffffffff80d3842f in neti= sr_dispatch_src (proto=3Dproto@entry=3D5,
=C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 source=3Dsource@entry=3D0, m=3Dm@entry=3D0xffff= f80203467700)
at /usr/src/sys/net/netisr.c:1153
#23 0xffffffff80d3878= f in netisr_dispatch (proto=3D477511696, proto@entry=3D5,
=C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 m=3D0xffffffff811c4bee, m@entry= =3D0xfffff80203467700)
at /usr/src/sys/net/netisr.c:1244
#24 0xffffff= ff80d1ac89 in ether_input (ifp=3D0xfffff80002873800,
=C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 m=3D0xfffff80203467700) at /usr/src/= sys/net/if_ethersubr.c:832
#25 0xffffffff808f41f7 in re_rxeof (sc=3Dsc@e= ntry=3D0xfffffe00e1cce000,
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 rx_npktsp=3D0x0) at /usr/src/sys/dev/re/if_re.c:2386
#26 0xff= ffffff808f1a16 in re_intr_msi (xsc=3D0xfffffe00e1cce000)
at /usr/src/sys= /dev/re/if_re.c:2682
#27 0xffffffff80ba3d49 in intr_event_execute_handle= rs (ie=3D0xfffff800020fde00,
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 p=3D<optimized out>) at /usr/src/sys/kern/kern_intr.c:1= 205
#28 ithread_execute_handlers (ie=3D0xfffff800020fde00, p=3D<optim= ized out>)
at /usr/src/sys/kern/kern_intr.c:1218
#29 ithread_loop = (arg=3Darg@entry=3D0xfffff800020fbf80)
at /usr/src/sys/kern/kern_intr.c:= 1306
#30 0xffffffff80ba03e0 in fork_exit (
=C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 callout=3D0xffffffff80ba3ad0 <ithread_lo= op>, arg=3D0xfffff800020fbf80,
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 frame=3D0xfffffe0104239f40) at /usr/src/sys/kern/kern_for= k.c:1102
#31 <signal handler called>
--000000000000a0a2b805e0e5c132--