From owner-freebsd-questions@freebsd.org Thu May 7 23:59:31 2020 Return-Path: Delivered-To: freebsd-questions@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 BA4962E9594 for ; Thu, 7 May 2020 23:59:31 +0000 (UTC) (envelope-from jrm@ftfl.ca) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 49J9Rl3hS9z3RHf for ; Thu, 7 May 2020 23:59:31 +0000 (UTC) (envelope-from jrm@ftfl.ca) Received: by mailman.nyi.freebsd.org (Postfix) id 7C2212E9593; Thu, 7 May 2020 23:59:31 +0000 (UTC) Delivered-To: questions@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 7ACCD2E9592 for ; Thu, 7 May 2020 23:59:31 +0000 (UTC) (envelope-from jrm@ftfl.ca) Received: from mail-lf1-f54.google.com (mail-lf1-f54.google.com [209.85.167.54]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49J9Rk3s3Wz3RHc for ; Thu, 7 May 2020 23:59:30 +0000 (UTC) (envelope-from jrm@ftfl.ca) Received: by mail-lf1-f54.google.com with SMTP id j14so5994675lfg.9 for ; Thu, 07 May 2020 16:59:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=d3PFBeJ+GBW14sq0kKwUBp2elBNutFH8oS+/EjJmPeI=; b=YC1xLL7DQs7rFNvNfTNViFPoKG5So26s2f/WJ5ewJL3pLZH8lemr/zzkOk9Kwmkp2l BAhUo8eQQyOiHXwF2I06RpHVmM0YkIdFEtfNT9GOwGH66nrfU6ogpunVsaTNSEosAb3a LUcfq3/qaEyU9bsS0cd1+y1nseDPuymfEGOXLT+oI4N3pEaB1wK8u2xY7q0mvWGsz64W IEGzBDCWY2SuDFO1RLxPhrJxDwSmAYasyPpymagWa7HRjWY8e4kmMNUrKhh06xV8W9PW BX33jN+ceAgAkIiT+WDyKzJziXkOve15uE1r2EyWcTucd4++q6AJ4xCmRE82v44RI0vj ES9g== X-Gm-Message-State: AOAM530Jh4tDqvlRQNLLthBvhjPlzjacAk/akcxiewJbCDDkT4+F+7UZ ndkJnStffoY/cJ58WVX3nsENnMg/PR5avgeg X-Google-Smtp-Source: ABdhPJxvx6tWpiBE5/tReGF6D0tRadipQ59EzzJqKlZAli92OwA2iHDPugmODitz5/XBwhP2fMQ0zw== X-Received: by 2002:ac2:5290:: with SMTP id q16mr20853lfm.108.1588895968412; Thu, 07 May 2020 16:59:28 -0700 (PDT) Received: from mail-lj1-f181.google.com (mail-lj1-f181.google.com. [209.85.208.181]) by smtp.gmail.com with ESMTPSA id s8sm4807120lfd.61.2020.05.07.16.59.27 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 07 May 2020 16:59:28 -0700 (PDT) Received: by mail-lj1-f181.google.com with SMTP id w20so8300210ljj.0 for ; Thu, 07 May 2020 16:59:27 -0700 (PDT) X-Received: by 2002:a2e:8752:: with SMTP id q18mr9787764ljj.72.1588895967204; Thu, 07 May 2020 16:59:27 -0700 (PDT) MIME-Version: 1.0 From: Joseph Mingrone Date: Thu, 7 May 2020 20:59:16 -0300 X-Gmail-Original-Message-ID: Message-ID: Subject: ZFS system can no longer boot - zfs_alloc()/zfs_free() mismatch To: questions@freebsd.org Cc: kevans@freebsd.org, tsoome@freebsd.org, Steve Wills , Allan Jude Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 49J9Rk3s3Wz3RHc X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of jrm@ftfl.ca designates 209.85.167.54 as permitted sender) smtp.mailfrom=jrm@ftfl.ca X-Spamd-Result: default: False [-2.26 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17:c]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; DMARC_NA(0.00)[freebsd.org]; RCPT_COUNT_FIVE(0.00)[5]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[54.167.85.209.list.dnswl.org : 127.0.5.0]; IP_SCORE(-0.26)[ip: (-0.45), ipnet: 209.85.128.0/17(-0.39), asn: 15169(-0.43), country: US(-0.05)]; FORGED_SENDER(0.30)[jrm@freebsd.org,jrm@ftfl.ca]; RWL_MAILSPIKE_POSSIBLE(0.00)[54.167.85.209.rep.mailspike.net : 127.0.0.17]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[jrm@freebsd.org,jrm@ftfl.ca]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 May 2020 23:59:31 -0000 Hello everyone, As it says in the subject line, my system stopped booting for some unknown reason. It might have been after upgrading from 12.1-p2 to -p4, but I'm unsure. It sounds similar to this issue: https://twitter.com/alelab_/status/1222437570501644291 Allan and I tried debugging for a few hours today, but without success. We tried replacing the boot code and the loaders, but the result was the same. We also tried booting from a usb thumb drive, then `set currdev=zfs:zroot/ROOT/default:` and `boot`, but the same error is shown. Steve and Kyle, did you ever solve this problem? Thanks, Joe