From nobody Sun Feb 20 20:53:09 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 5D6C219C75E9 for ; Sun, 20 Feb 2022 20:53:39 +0000 (UTC) (envelope-from mikej@paymentallianceintl.com) Received: from us-smtp-delivery-197.mimecast.com (us-smtp-delivery-197.mimecast.com [170.10.133.197]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.mimecast.com", Issuer "DigiCert TLS RSA SHA256 2020 CA1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4K1yMQ4wYxz3JJ4 for ; Sun, 20 Feb 2022 20:53:38 +0000 (UTC) (envelope-from mikej@paymentallianceintl.com) Received: from MAIL-DR.pai.local (175.158.26.216.gopai.com [216.26.158.175]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id us-mta-512-mV1GWlHdO-C5SYudX6jOeg-1; Sun, 20 Feb 2022 15:53:29 -0500 X-MC-Unique: mV1GWlHdO-C5SYudX6jOeg-1 Received: from MAIL-HUB.pai.local (10.10.0.250) by MAIL-DR.pai.local (10.10.0.251) with Microsoft SMTP Server (TLS) id 15.0.1497.28; Sun, 20 Feb 2022 15:53:09 -0500 Received: from MAIL-HUB.pai.local ([fe80::a02e:93c2:c16a:6af8]) by MAIL-HUB.pai.local ([fe80::a02e:93c2:c16a:6af8%15]) with mapi id 15.00.1497.028; Sun, 20 Feb 2022 15:53:09 -0500 From: Michael Jung To: freebsd-current Subject: New panic in main-n253273-a52d8d4a6c6: Thread-Topic: New panic in main-n253273-a52d8d4a6c6: Thread-Index: AdgmmC6h1TNd/HB0TUWCzt+asldIhg== Date: Sun, 20 Feb 2022 20:53:09 +0000 Message-ID: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.250.0.59] x-c2processedorg: 474f336e-f930-49ec-9717-e3226b5b6e6e 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 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: paymentallianceintl.com Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_b7ca5b5e7a9a4df3951a2cb2f1d63552MAILHUBpailocal_" X-Rspamd-Queue-Id: 4K1yMQ4wYxz3JJ4 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=pass (policy=none) header.from=paymentallianceintl.com; spf=pass (mx1.freebsd.org: domain of mikej@paymentallianceintl.com designates 170.10.133.197 as permitted sender) smtp.mailfrom=mikej@paymentallianceintl.com X-Spamd-Result: default: False [-3.85 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; HAS_XOIP(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:170.10.133.0/24]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[4]; TO_DN_ALL(0.00)[]; NEURAL_HAM_SHORT(-0.95)[-0.951]; DMARC_POLICY_ALLOW(-0.50)[paymentallianceintl.com,none]; MLMMJ_DEST(0.00)[freebsd-current]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:30031, ipnet:170.10.132.0/23, country:US]; RCVD_TLS_LAST(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[170.10.133.197:from] X-ThisMailContainsUnwantedMimeParts: N --_000_b7ca5b5e7a9a4df3951a2cb2f1d63552MAILHUBpailocal_ Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi! The box was quite busy at the time. The only odd thing I am aware of and w= hich I do not think is related is I have not been able to expand one of my zpool's. = ZFS sees my added draid2:2d:10c:0s vdev but I can't seem to force zpool's expansion - m= y bet this is somehow related to the mirrored special device in the pool even though a= utoexpand is set to 'on' for the pool. Not asking anyone to solve this, I plan on putting together a "how to repro= duce" and post to freebsd-fs@ but wanted to note this oddity. --mikej This is a unmodified GENERIC kernel. Unread portion of the kernel message buffer: panic: refcount 0xfffff801cc119284 wraparound cpuid =3D 7 time =3D 1645382575 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe0119a83= c80 vpanic() at vpanic+0x17f/frame 0xfffffe0119a83cd0 panic() at panic+0x43/frame 0xfffffe0119a83d30 fdclose() at fdclose/frame 0xfffffe0119a83dc0 closefp_impl() at closefp_impl+0x77/frame 0xfffffe0119a83e00 amd64_syscall() at amd64_syscall+0x12e/frame 0xfffffe0119a83f30 fast_syscall_common() at fast_syscall_common+0xf8/frame 0xfffffe0119a83f30 --- syscall (6, FreeBSD ELF64, sys_close), rip =3D 0x3309a531b62a, rsp =3D = 0x3309a2802bc8, rbp =3D 0x3309a2803000 --- KDB: enter: panic __curthread () at /usr/src/sys/amd64/include/pcpu_aux.h:55 55 __asm("movq %%gs:%P1,%0" : "=3Dr" (td) : "n" (offsetof(str= uct pcpu, (kgdb) #0 __curthread () at /usr/src/sys/amd64/include/pcpu_aux.h:55 #1 doadump (textdump=3Dtextdump@entry=3D0) at /usr/src/sys/kern/kern_shutdown.c:399 #2 0xffffffff804c86ba in db_dump (dummy=3D, dummy2=3D, dummy3=3D, dummy4=3D) at /usr/src/sys/ddb/db_command.c:575 #3 0xffffffff804c8572 in db_command (last_cmdp=3D, cmd_table=3D, dopager=3Ddopager@entry=3D1) at /usr/src/sys/ddb/db_command.c:482 #4 0xffffffff804c81cd in db_command_loop () at /usr/src/sys/ddb/db_command.c:535 #5 0xffffffff804cb806 in db_trap (type=3D, code=3D) at /usr/src/sys/ddb/db_main.c:270 #6 0xffffffff80c566fb in kdb_trap (type=3Dtype@entry=3D3, code=3Dcode@entr= y=3D0, tf=3Dtf@entry=3D0xfffffe0119a83bb0) at /usr/src/sys/kern/subr_kdb.c:733 #7 0xffffffff810e75ca in trap (frame=3D0xfffffe0119a83bb0) at /usr/src/sys/amd64/amd64/trap.c:609 #8 #9 kdb_enter (why=3D0xffffffff812e5eaf "panic", msg=3D) at /usr/src/sys/kern/subr_kdb.c:506 #10 0xffffffff80c08c50 in vpanic ( fmt=3D0xffffffff8122606d "refcount %p wraparound", ap=3Dap@entry=3D0xfffffe0119a83d10) at /usr/src/sys/kern/kern_shutdown.= c:908 #11 0xffffffff80c089e3 in panic ( fmt=3D0xffffffff81e8cf40 "\332#*\201\377\377\377\377") at /usr/src/sys/kern/kern_shutdown.c:844 #12 0xffffffff80ba9180 in _refcount_update_saturated (count=3D0xfffff801cc1= 19284) at /usr/src/sys/sys/refcount.h:55 #13 refcount_releasen (count=3D0xfffff801cc119284, n=3D1) at /usr/src/sys/sys/refcount.h:154 #14 refcount_release (count=3D0xfffff801cc119284) at /usr/src/sys/sys/refcount.h:174 #15 closef (fp=3D, td=3D0xfffffe00df8d0560) at /usr/src/sys/kern/kern_descrip.c:2776 #16 0xffffffff80bad587 in closefp_impl (fdp=3D0xfffffe012b7c0430, fd=3D4, fp=3D0xfffff801cc119280, td=3D0xfffffe00df8d0560, audit=3Dtrue) at /usr/src/sys/kern/kern_descrip.c:1300 #17 0xffffffff810e838e in syscallenter (td=3D) at /usr/src/sys/amd64/amd64/../../kern/subr_syscall.c:189 #18 amd64_syscall (td=3D0xfffffe00df8d0560, traced=3D0) at /usr/src/sys/amd64/amd64/trap.c:1191 #19 #20 0x00003309a531b62a in ?? () Backtrace stopped: Cannot access memory at address 0x3309a2802bc8 (kgdb) http://mail.mikej.com/core.txt.0 http://mail.mikej.com/info.0 http://mail.mikej.com/kernel.full.0 http://mail.mikej.com/vmcore.0 CONFIDENTIALITY NOTE: This message is intended only for the use of the individual or entity to whom it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this transmission in error, please notify us by telephone at (502) 212-4000 or notify us at: PAI, Dept. 99, 2101 High Wickham Place, Suite 101, Louisville, KY 40245 Disclaimer The information contained in this communication from the sender is confiden= tial. It is intended solely for use by the recipient and others authorized = to receive it. If you are not the recipient, you are hereby notified that a= ny disclosure, copying, distribution or taking action in relation of the co= ntents of this information is strictly prohibited and may be unlawful. This email has been scanned for viruses and malware, and may have been auto= matically archived by Mimecast, a leader in email security and cyber resili= ence. Mimecast integrates email defenses with brand protection, security aw= areness training, web security, compliance and other essential capabilities= . Mimecast helps protect large and small organizations from malicious activ= ity, human error and technology failure; and to lead the movement toward bu= ilding a more resilient world. To find out more, visit our website. --_000_b7ca5b5e7a9a4df3951a2cb2f1d63552MAILHUBpailocal_ Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <= /head>

Hi!

 

The box was quite busy at the time.  The only odd thin= g I am aware of and which I do

not think is related is I have not been able to expand one = of my zpool’s.  ZFS sees my

added draid2:2d:10c:0s vdev but I can’t seem to force= zpool’s expansion – my bet this

is somehow related to the mirrored special device in the po= ol even though autoexpand

is set to ‘on’ for the pool.<= /p>

 

Not asking anyone to solve this, I plan on putting together= a “how to reproduce” and

post to freebsd-fs@ but wanted to note this oddity.

 

--mikej

 

This is a unmodified GENERIC kernel.

 

 

Unread portion of the kernel message buffer:

panic: refcount 0xfffff801cc119284 wraparound

cpuid =3D 7

time =3D 1645382575

KDB: stack backtrace:

db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/f= rame 0xfffffe0119a83c80

vpanic() at vpanic+0x17f/frame 0xfffffe0119a83cd0<= /o:p>

panic() at panic+0x43/frame 0xfffffe0119a83d30

fdclose() at fdclose/frame 0xfffffe0119a83dc0

closefp_impl() at closefp_impl+0x77/frame 0xfffffe0119a= 83e00

amd64_syscall() at amd64_syscall+0x12e/frame 0xfffffe01= 19a83f30

fast_syscall_common() at fast_syscall_common+0xf8/frame= 0xfffffe0119a83f30

--- syscall (6, FreeBSD ELF64, sys_close), rip =3D 0x3309a5= 31b62a, rsp =3D 0x3309a2802bc8, rbp =3D 0x3309a2803000 ---

KDB: enter: panic

 

__curthread () at /usr/src/sys/amd64/include/pcpu_aux.h:55<= o:p>

55         &nb= sp;     __asm("movq %%gs:%P1,%0" : "=3Dr= " (td) : "n" (offsetof(struct pcpu,

(kgdb) #0  __curthread () at /usr/src/sys/amd64/includ= e/pcpu_aux.h:55

#1  doadump (textdump=3Dtextdump@entry=3D0)=

    at /usr/src/sys/kern/kern_shutdown.c:399=

#2  0xffffffff804c86ba in db_dump (dummy=3D<optimiz= ed out>,

    dummy2=3D<unavailable>, dummy= 3=3D<unavailable>, dummy4=3D<unavailable>)

    at /usr/src/sys/ddb/db_command.c:575

#3  0xffffffff804c8572 in db_command (last_cmdp=3D<= optimized out>,

    cmd_table=3D<optimized out>, = dopager=3Ddopager@entry=3D1)

    at /usr/src/sys/ddb/db_command.c:482

#4  0xffffffff804c81cd in db_command_loop ()

    at /usr/src/sys/ddb/db_command.c:535

#5  0xffffffff804cb806 in db_trap (type=3D<optimize= d out>, code=3D<optimized out>)

    at /usr/src/sys/ddb/db_main.c:270

#6  0xffffffff80c566fb in kdb_trap (type=3Dtype@entry= =3D3, code=3Dcode@entry=3D0,

    tf=3Dtf@entry=3D0xfffffe0119a83bb0)= at /usr/src/sys/kern/subr_kdb.c:733

#7  0xffffffff810e75ca in trap (frame=3D0xfffffe0119a8= 3bb0)

    at /usr/src/sys/amd64/amd64/trap.c:609

#8  <signal handler called>

#9  kdb_enter (why=3D0xffffffff812e5eaf "panic&qu= ot;, msg=3D<optimized out>)

    at /usr/src/sys/kern/subr_kdb.c:506=

#10 0xffffffff80c08c50 in vpanic (

    fmt=3D0xffffffff8122606d "refcount = %p wraparound",

    ap=3Dap@entry=3D0xfffffe0119a83d10)= at /usr/src/sys/kern/kern_shutdown.c:908

#11 0xffffffff80c089e3 in panic (

    fmt=3D0xffffffff81e8cf40 <cnputs_mtx&= gt; "\332#*\201\377\377\377\377")

    at /usr/src/sys/kern/kern_shutdown.c:844=

#12 0xffffffff80ba9180 in _refcount_update_saturated (count= =3D0xfffff801cc119284)

    at /usr/src/sys/sys/refcount.h:55

#13 refcount_releasen (count=3D0xfffff801cc119284, n=3D1)

    at /usr/src/sys/sys/refcount.h:154<= /o:p>

#14 refcount_release (count=3D0xfffff801cc119284)

    at /usr/src/sys/sys/refcount.h:174<= /o:p>

#15 closef (fp=3D<optimized out>, td=3D0xfffffe00df8d= 0560)

    at /usr/src/sys/kern/kern_descrip.c:2776=

#16 0xffffffff80bad587 in closefp_impl (fdp=3D0xfffffe012b7= c0430, fd=3D4,

    fp=3D0xfffff801cc119280, td=3D0xfff= ffe00df8d0560, audit=3Dtrue)

    at /usr/src/sys/kern/kern_descrip.c:1300=

#17 0xffffffff810e838e in syscallenter (td=3D<optimized = out>)

    at /usr/src/sys/amd64/amd64/../../kern/s= ubr_syscall.c:189

#18 amd64_syscall (td=3D0xfffffe00df8d0560, traced=3D0)

    at /usr/src/sys/amd64/amd64/trap.c:1191<= o:p>

#19 <signal handler called>

#20 0x00003309a531b62a in ?? ()

Backtrace stopped: Cannot access memory at address 0x3309a2= 802bc8

(kgdb)

 

 

 

 

http://mail.mi= kej.com/core.txt.0

 

http://mail.mikej.= com/info.0

 

http://mail= .mikej.com/kernel.full.0

 

http://mail.mike= j.com/vmcore.0

 

 

CONFIDENTIALITY NOTE: This message is intended only for the use
of the individual or entity to whom it is addressed and may
contain information that is privileged, confidential, and
exempt from disclosure under applicable law. If the reader
of this message is not the intended recipient, you are hereby
notified that any dissemination, distribution or copying
of this communication is strictly prohibited. If you have
received this transmission in error, please notify us by
telephone at (502) 212-4000 or notify us at: PAI, Dept. 99,
2101 High Wickham Place, Suite 101, Louisville, KY 40245





<= b>Disclaimer

The information contained in this communication from the sender i= s confidential. It is intended solely for use by the recipient and others a= uthorized to receive it. If you are not the recipient, you are hereby notif= ied that any disclosure, copying, distribution or taking action in relation= of the contents of this information is strictly prohibited and may be unla= wful.

This email has been scanned for viruses and malware, and may h= ave been automatically archived by Mimecast, a leader in email security and= cyber resilience. Mimecast integrates email defenses with brand protection= , security awareness training, web security, compliance and other essential= capabilities. Mimecast helps protect large and small organizations from ma= licious activity, human error and technology failure; and to lead the movem= ent toward building a more resilient world. To find out more, visit our web= site.

--_000_b7ca5b5e7a9a4df3951a2cb2f1d63552MAILHUBpailocal_--