Date: Tue, 7 Jun 2022 21:37:52 -0400 From: Oleg Lelchuk <oleglelchuk@gmail.com> To: freebsd-current@freebsd.org Subject: A kernel crash after compiling a fresh kernel Message-ID: <CA%2BGqWgsTOu5qY-5yKdp_zJ2ThYxf1ucr%2BAqxOg_21AMhD%2BDbLg@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
--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=<optimized out>, ap=ap@entry=0xfffffe01042395a0) at /usr/src/sys/kern/kern_shutdown.c:975 #6 0xffffffff80be8d53 in panic (fmt=<unavailable>) 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=<optimized out>, ucode=<optimized out>) at /usr/src/sys/amd64/amd64/trap.c:761 #9 <signal handler called> #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=<optimized out>, iptos=0 '\000') at /usr/src/sys/netinet/tcp_input.c:2788 #14 0xffffffff80dc8def in tcp_input_with_port (mp=<optimized out>, offp=<optimized out>, proto=<optimized out>, 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=<optimized out>) 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=<optimized out>) at /usr/src/sys/kern/kern_intr.c:1205 #28 ithread_execute_handlers (ie=0xfffff800020fde00, p=<optimized out>) 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 <ithread_loop>, arg=0xfffff800020fbf80, frame=0xfffffe0104239f40) at /usr/src/sys/kern/kern_fork.c:1102 #31 <signal handler called> --000000000000a0a2b805e0e5c132 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div>The 14-CURRENT runn= ing a fresh kernel crashes with these messages:</div><div><br></div><div>__= curthread () at /usr/src/sys/amd64/include/pcpu_aux.h:55<br>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,<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 (kgdb) #0 =C2=A0__curthread () at /usr/src/sys/= amd64/include/pcpu_aux.h:55<br>#1 =C2=A0dump_savectx () at /usr/src/sys/ker= n/kern_shutdown.c:401<br>#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<br>#3 =C2=A0doadump (textdump=3D1) at /usr/src/sys/kern/kern_shutdown.= c:430<br>#4 =C2=A0kern_reboot (howto=3D260) at /usr/src/sys/kern/kern_shutd= own.c:537<br>#5 =C2=A00xffffffff80be8fee in vpanic (fmt=3D<optimized out= >,<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 ap=3Dap@entry=3D0xfffffe01042395a0) at= /usr/src/sys/kern/kern_shutdown.c:975<br>#6 =C2=A00xffffffff80be8d53 in pa= nic (fmt=3D<unavailable>)<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 a= t /usr/src/sys/kern/kern_shutdown.c:899<br>#7 =C2=A00xffffffff810c0877 in t= rap_fatal (frame=3D0xfffffe0104239690, eva=3D0)<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/amd64/amd64/trap.c:942<br>#8 =C2=A00xffffffff= 810c092b in trap_pfault (frame=3D0xfffffe0104239690,<br>=C2=A0 =C2=A0 =C2= =A0 =C2=A0 usermode=3Dfalse, signo=3D<optimized out>, ucode=3D<opt= imized out>)<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/amd= 64/amd64/trap.c:761<br>#9 =C2=A0<signal handler called><br>#10 tcp_sa= ck_output (tp=3Dtp@entry=3D0xfffffe0187312140,<br>=C2=A0 =C2=A0 =C2=A0 =C2= =A0 sack_bytes_rexmt=3Dsack_bytes_rexmt@entry=3D0xfffffe010423983c)<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/netinet/tcp_sack.c:970<b= r>#11 0xffffffff80dd47a2 in tcp_default_output (tp=3D0xfffffe0187312140)<br= >at /usr/src/sys/netinet/tcp_output.c:310<br>#12 0xffffffff80dcd240 in tcp_= output (tp=3Dtp@entry=3D0xfffffe0187312140)<br>at /usr/src/sys/netinet/tcp_= var.h:407<br>#13 0xffffffff80dcc81a in tcp_do_segment (m=3D0xfffff802034677= 00,<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 th=3D0xfffff= 8001f190022, so=3D0xfffff80015d0fb40, tp=3D0xfffffe0187312140,<br>=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')<br>at /usr/src/sys/netinet/= tcp_input.c:2788<br>#14 0xffffffff80dc8def in tcp_input_with_port (mp=3D<= ;optimized out>,<br>=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)<br>at /usr/src/sys/netinet/tcp_input.c:1397<br>#15 0xffffffff8= 0dc9c8b in tcp_input (mp=3D0xfffff8011c764010, offp=3D0x4,<br>=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<br>#16 0xffffffff80db8cd7 in ip_input (m=3D0x= 0)<br>at /usr/src/sys/netinet/ip_input.c:840<br>#17 0xffffffff80d3842f in n= etisr_dispatch_src (proto=3D1,<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 source=3Dsource@entry=3D0, m=3D0xfffff80203467700)<br>at /us= r/src/sys/net/netisr.c:1153<br>#18 0xffffffff80d3878f in netisr_dispatch (p= roto=3D477511696,<br>=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<br>#19 0xffff= ffff80d1a7cc in ether_demux (ifp=3Difp@entry=3D0xfffff80002873800,</div><di= v>m=3D0x4) at /usr/src/sys/net/if_ethersubr.c:925<br>#20 0xffffffff80d1be53= in ether_input_internal (ifp=3D0xfffff80002873800, m=3D0x4)<br>at /usr/src= /sys/net/if_ethersubr.c:711<br>#21 ether_nh_input (m=3D<optimized out>= ;) at /usr/src/sys/net/if_ethersubr.c:741<br>#22 0xffffffff80d3842f in neti= sr_dispatch_src (proto=3Dproto@entry=3D5,<br>=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)<br>at /usr/src/sys/net/netisr.c:1153<br>#23 0xffffffff80d3878= f in netisr_dispatch (proto=3D477511696, proto@entry=3D5,<br>=C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 m=3D0xffffffff811c4bee, m@entry= =3D0xfffff80203467700)<br>at /usr/src/sys/net/netisr.c:1244<br>#24 0xffffff= ff80d1ac89 in ether_input (ifp=3D0xfffff80002873800,<br>=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<br>#25 0xffffffff808f41f7 in re_rxeof (sc=3Dsc@e= ntry=3D0xfffffe00e1cce000,<br>=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<br>#26 0xff= ffffff808f1a16 in re_intr_msi (xsc=3D0xfffffe00e1cce000)<br>at /usr/src/sys= /dev/re/if_re.c:2682<br>#27 0xffffffff80ba3d49 in intr_event_execute_handle= rs (ie=3D0xfffff800020fde00,<br>=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<br>#28 ithread_execute_handlers (ie=3D0xfffff800020fde00, p=3D<optim= ized out>)<br>at /usr/src/sys/kern/kern_intr.c:1218<br>#29 ithread_loop = (arg=3Darg@entry=3D0xfffff800020fbf80)<br>at /usr/src/sys/kern/kern_intr.c:= 1306<br>#30 0xffffffff80ba03e0 in fork_exit (<br>=C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 callout=3D0xffffffff80ba3ad0 <ithread_lo= op>, arg=3D0xfffff800020fbf80,<br>=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<br>#31 <signal handler called></div></div></div></div> --000000000000a0a2b805e0e5c132--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BGqWgsTOu5qY-5yKdp_zJ2ThYxf1ucr%2BAqxOg_21AMhD%2BDbLg>