From owner-freebsd-ppc@freebsd.org Thu Oct 10 17:29:00 2019 Return-Path: Delivered-To: freebsd-ppc@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 841F514476D; Thu, 10 Oct 2019 17:29:00 +0000 (UTC) (envelope-from pkubaj@anongoth.pl) Received: from mail.anongoth.pl (mail.anongoth.pl [46.248.190.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "anongoth.pl", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46pyk35c84z4M9m; Thu, 10 Oct 2019 17:28:59 +0000 (UTC) (envelope-from pkubaj@anongoth.pl) Received: from anongoth.pl (unknown [192.168.1.15]) (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 did not present a certificate) (Authenticated sender: pkubaj@anongoth.pl) by mail.anongoth.pl (Postfix) with ESMTPSA id 3DD1340057; Thu, 10 Oct 2019 19:28:47 +0200 (CEST) Date: Thu, 10 Oct 2019 19:28:45 +0200 From: Piotr Kubaj To: freebsd-current@freebsd.org, freebsd-fs@freebsd.org, freebsd-ppc@freebsd.org Subject: assertion error in ZFS Message-ID: <20191010172845.GA8968@KGPE-D16> Mail-Followup-To: freebsd-current@freebsd.org, freebsd-fs@freebsd.org, freebsd-ppc@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="SLDf9lqlvOQaIe6s" Content-Disposition: inline User-Agent: Mutt/1.12.2 (2019-09-21) X-Rspamd-Queue-Id: 46pyk35c84z4M9m X-Spamd-Bar: ------- X-Spamd-Result: default: False [-7.54 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip4:46.248.190.61]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE(-3.14)[ip: (-9.91), ipnet: 46.248.160.0/19(-4.70), asn: 47544(-1.18), country: PL(0.07)]; DMARC_POLICY_ALLOW(-0.50)[anongoth.pl,reject]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MID_RHS_NOT_FQDN(0.50)[]; ASN(0.00)[asn:47544, ipnet:46.248.160.0/19, country:PL]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Oct 2019 17:29:00 -0000 --SLDf9lqlvOQaIe6s Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Hi, I use ZFS compiled-in to the kernel in order to boot without loader. After upgrade to LLVM9, it fails to mount with: panic: solaris assert: (int32_t)n >= 0 (0xffffffffffffffff >= 0x0), file: /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zrlock.c, line: 115 cpuid = 16 time = 26 KDB: stack backtrace: 0xe0000000beff3c90: at kdb_backtrace+0x60 0xe0000000beff3da0: at vpanic+0x1d8 0xe0000000beff3e50: at panic+0x40 0xe0000000beff3e80: at assfail3+0x3c 0xe0000000beff3ef0: at zrl_remove+0x9c 0xe0000000beff3f20: at dbuf_read+0x73c 0xe0000000beff4080: at dnode_hold_impl+0x318 0xe0000000beff41d0: at dnode_hold+0x2c 0xe0000000beff4200: at dmu_buf_hold_noread+0x4c 0xe0000000beff4260: at dmu_buf_hold+0x3c 0xe0000000beff42b0: at zap_lockdir+0x60 0xe0000000beff4360: at zap_lookup_norm+0x78 0xe0000000beff4420: at zap_lookup+0x30 0xe0000000beff44a0: at dsl_dir_hold_obj+0x314 0xe0000000beff45b0: at dmu_objset_find_dp+0x2b8 0xe0000000beff4690: at dmu_objset_find_dp+0x7c4 0xe0000000beff46d0: at taskq_dispatch+0x12c 0xe0000000beff4700: at taskqueue_run+0x210 0xe0000000beff47d0: at taskqueue_thread_loop+0x108 0xe0000000beff4820: at fork_exit+0xc4 0xe0000000beff48c0: at fork_trampoline+0x18 0xe0000000beff48f0: at -0x4 KDB: enter: panic This is with CURRENT on powerpc64. --SLDf9lqlvOQaIe6s Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEycyIeNkkgohzsoorelmbhSCDnJ0FAl2fak0ACgkQelmbhSCD nJ0PfA//dk04GCvQZ38E4Cxp0GObUNNq9L+28hNSRPcCRE1sMNR3PI8xglXj5ivC uQ0cDThlFLxMGd0kv/tAMIdGSXt+yHHz1RyP08v2zhHLHEfrwi0uMJ+8ShSaCwYK TzGdoOIGFAL5ah8cyayHCYCGjRwkAFVApNGA6tmWMV1QpuX7lPejStUnnOG6PW1O LaWcR4/MyZ2iIXugwtkX0C9pG8i2Fa9ufciuuPWZb48NJ08WajE5mrkykByabA3m Xw7nyuMRv2bGxG6DqbUR7RO2xNa+iXnvrQJ5Q8PUrOyTJwU80zyWLnk+scpw+B4U smde7Flur4SzRW/PwWGSlj7LV58ks2ZYjcRloIJl7eTMwvK7hmz/BCCNLqb21PKE D57PGMGw7K/dERnDSoMN5F8EVYFq5VtB2ay6NBndBCICMRSwd4Vcv+1qNPZam6+M 6Oeaeujyz9zF3WEu4NBG5JJpfDcSZ4LN2qQKdksjv07qcsTIJg+WA2ZiuNV20J+T W0skHqK5/SyeUOQCJhb05Z1hjYkYCjcXbDhIKtgBD7gCatjt6igVt/O5TChqtE19 Pj6CgamQL2fDgr1luIHs6yNufwbNY4+QLyp+aNwY9OWu1c59TbGkGAB2fyKAaqt8 3wn5Fv6TdK2GXPSWXDLjVAU+gsGv3fGxeZY8tFDtnxdyLiOQtj8= =ReF8 -----END PGP SIGNATURE----- --SLDf9lqlvOQaIe6s--