From owner-freebsd-current@freebsd.org Tue Jan 12 15:58:31 2021 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 77E174DD10C for ; Tue, 12 Jan 2021 15:58:31 +0000 (UTC) (envelope-from oleg@theweb.org.ua) Received: from sigill.theweb.org.ua (noc.quadranet.com [66.63.164.214]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "sigill.theweb.org.ua", Issuer "sigill.theweb.org.ua" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DFZxK6FL1z3jBJ for ; Tue, 12 Jan 2021 15:58:29 +0000 (UTC) (envelope-from oleg@theweb.org.ua) Received: from sigill.theweb.org.ua (localhost [127.0.0.1]) by sigill.theweb.org.ua (8.16.1/8.16.1) with ESMTPS id 10CFwJaO003699 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Tue, 12 Jan 2021 17:58:19 +0200 (EET) (envelope-from oleg@theweb.org.ua) Received: (from oleg@localhost) by sigill.theweb.org.ua (8.16.1/8.16.1/Submit) id 10CFwJEn003698 for freebsd-current@freebsd.org; Tue, 12 Jan 2021 17:58:19 +0200 (EET) (envelope-from oleg@theweb.org.ua) X-Authentication-Warning: sigill.theweb.org.ua: oleg set sender to oleg@theweb.org.ua using -f From: "Oleg V. Nauman" To: freebsd-current@freebsd.org Subject: Current amd64 main-c255825-g2a4b22514635-dirty panic triggered by ure(4) detach Date: Tue, 12 Jan 2021 17:58:19 +0200 Message-ID: <3792754.BRNeRiNLvY@sigill.theweb.org.ua> Organization: Private persom MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Rspamd-Queue-Id: 4DFZxK6FL1z3jBJ X-Spamd-Bar: / X-Spamd-Result: default: False [-0.30 / 15.00]; HAS_XAW(0.00)[]; HFILTER_HELO_NORES_A_OR_MX(0.30)[sigill.theweb.org.ua]; TO_DN_NONE(0.00)[]; HAS_ORG_HEADER(0.00)[]; HFILTER_HELO_IP_A(1.00)[sigill.theweb.org.ua]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; CTE_CASE(0.50)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[66.63.164.214:from]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:8100, ipnet:66.63.164.0/23, country:US]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FREEFALL_USER(0.00)[oleg]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[66.63.164.214:from:127.0.2.255]; DMARC_NA(0.00)[theweb.org.ua]; R_SPF_NA(0.00)[no SPF record]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-current] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 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: Tue, 12 Jan 2021 15:58:31 -0000 __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 doadump (textdump=) at /usr/src/sys/kern/kern_shutdown.c:399 #2 0xffffffff804a3b3e in kern_reboot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:486 #3 0xffffffff804a3f2b in vpanic (fmt=, ap=0xfffffe00eb7d3130) at /usr/src/sys/kern/kern_shutdown.c:919 #4 0xffffffff804a3d83 in panic (fmt=) at /usr/src/sys/kern/kern_shutdown.c:843 #5 0xffffffff807009cc in trap_fatal (frame=frame@entry=0xfffffe00eb7d3330, eva=1088) at /usr/src/sys/amd64/amd64/trap.c:915 #6 0xffffffff80700d68 in trap_pfault (frame=frame@entry=0xfffffe00eb7d3330, usermode=false, signo=, signo@entry=0x0, ucode=, ucode@entry=0x0) at /usr/src/sys/amd64/include/cpufunc.h:433 #7 0xffffffff807001c9 in trap (frame=0xfffffe00eb7d3330) at /usr/src/sys/amd64/amd64/trap.c:398 #8 #9 __mtx_lock_sleep (c=0xfffff8023a13beb8, v=) at /usr/src/sys/kern/kern_mutex.c:590 #10 0xffffffff80400304 in usbd_do_request_flags (udev=, udev@entry=0xfffff802f632e000, mtx=0xfffff8023a13bea0, req=req@entry=0xfffffe00eb7d3558, data=data@entry=0xfffffe00eb7d3564, flags=flags@entry=0, actlen=actlen@entry=0x0, timeout=) at /usr/src/sys/dev/usb/usb_request.c:714 #11 0xffffffff804003e0 in usbd_do_request_proc (udev=0xfffff802f632e000, pproc=pproc@entry=0xfffff8023a13bc40, req=req@entry=0xfffffe00eb7d3558, data=data@entry=0xfffffe00eb7d3564, flags=flags@entry=0, actlen=actlen@entry=0x0, timeout=1000) at /usr/src/sys/dev/usb/usb_request.c:759 #12 0xffffffff81648499 in ure_ctl (sc=0xfffff8023a13bc00, rw=1 '\001', val=45056, index=256, buf=0xfffffe00eb7d3564, len=4) at /usr/src/sys/dev/usb/net/if_ure.c:303 #13 ure_read_mem (sc=0xfffff8023a13bc00, addr=45056, index=256, buf=0xfffffe00eb7d3564, len=4) at /usr/src/sys/dev/usb/net/if_ure.c:311 #14 ure_read_2 (sc=0xfffff8023a13bc00, reg=45056, index=256) at /usr/src/sys/dev/usb/net/if_ure.c:349 #15 ure_ocp_reg_read (sc=0xfffff8023a13bc00, addr=8192) at /usr/src/sys/dev/usb/net/if_ure.c:424 #16 ure_miibus_readreg (dev=, phy=, reg=) at /usr/src/sys/dev/usb/net/if_ure.c:457 #17 0xffffffff81660535 in MIIBUS_READREG (dev=0xfffff8027ee1c900, phy=0, reg=0) at ./miibus_if.h:27 #18 rgephy_status (sc=0xfffff801bdce6880) at /usr/src/sys/dev/mii/rgephy.c:325 #19 0xffffffff81660427 in rgephy_service (sc=0xfffff801bdce6880, mii=, cmd=) at /usr/src/sys/dev/mii/rgephy.c:265 #20 0xffffffff8165c8d6 in mii_pollstat (mii=mii@entry=0xfffff801bc043700) at /usr/src/sys/dev/mii/mii.c:627 #21 0xffffffff8164b165 in ure_ifmedia_sts (ifp=, ifmr=0xfffffe00eb7d3910) at /usr/src/sys/dev/usb/net/if_ure.c:1272 #22 0xffffffff8059fbca in ifmedia_ioctl (ifp=0xfffff8023a13beb8, ifr=0xfffffe00eb7d3910, ifm=0xfffff801bc043700, cmd=) at /usr/src/sys/net/if_media.c:294 #23 0xffffffff80597875 in ifhwioctl (cmd=cmd@entry=3224398136, ifp=ifp@entry=0xfffff80268a30000, data=data@entry=0xfffffe00eb7d3910 "ue0", td=td@entry=0xfffffe00eb4aea00) at /usr/src/sys/net/if.c:2840 #24 0xffffffff805992e6 in ifioctl (so=0xfffff8031252b3b0, cmd=3224398136, data=0xfffffe00eb7d3910 "ue0", td=0xfffffe00eb4aea00) at /usr/src/sys/net/if.c:3049 #25 0xffffffff80505caa in fo_ioctl (fp=0xfffff80030644e10, com=3224398136, data=0xfffffe00eb7d3910, active_cred=0xfffff8023a13bea0, td=0xfffffe00eb4aea00) at /usr/src/sys/sys/file.h:354 #26 kern_ioctl (td=0xfffffe00eb4aea00, fd=, com=com@entry=3224398136, data=data@entry=0xfffffe00eb7d3910 "ue0") at /usr/src/sys/kern/sys_generic.c:803 #27 0xffffffff805059f6 in sys_ioctl (td=, uap=0xfffffe00eb4aede8) at /usr/src/sys/kern/sys_generic.c:711 #28 0xffffffff807012a0 in syscallenter (td=0xfffffe00eb4aea00) at /usr/src/sys/amd64/amd64/../../kern/subr_syscall.c:189 #29 amd64_syscall (td=0xfffffe00eb4aea00, traced=0) at /usr/src/sys/amd64/amd64/trap.c:1156 #30 #31 0x00000008026d8b6a in ?? () Backtrace stopped: Cannot access memory at address 0x7fffdf7f8ed8 (kgdb)