From owner-freebsd-current@freebsd.org Sat Sep 5 20:23:37 2020 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 3EDB73D561C for ; Sat, 5 Sep 2020 20:23:37 +0000 (UTC) (envelope-from rm@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (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 (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BkQwn0wHwz3b2L; Sat, 5 Sep 2020 20:23:37 +0000 (UTC) (envelope-from rm@FreeBSD.org) Received: from [127.0.0.1] (unknown [127.0.1.132]) by freefall.freebsd.org (Postfix) with ESMTP id 9567AC459; Sat, 5 Sep 2020 20:23:36 +0000 (UTC) (envelope-from rm@FreeBSD.org) Subject: Re: openzfs related kernel install fails (r365296) To: Mark Johnston Cc: FreeBSD Current References: <20200904183438.GD10977@raichu> <8139c15f-41b2-cf8f-d401-46783b47abfe@FreeBSD.org> <20200904185530.GE10977@raichu> From: Ruslan Makhmatkhanov Message-ID: Date: Sat, 5 Sep 2020 23:23:35 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: <20200904185530.GE10977@raichu> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1599337417; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=UfVNY729o5FFjdxc1VLQ1Y0GsVhHdNWCYyVjefrxwjE=; b=o2c1lyBXWN1Xjufev2itBFk9rFfL0WZa13Zc/AW99aXUFFVsluirMPEEg0PvJfXwZlZK+a 75r1EN3tfGD9RshIpgrN8wOV0vPPZqeT/RrDzyJHz2PJQSblaHMHHtueqfmIZ7nW2xaPa4 ElOCc/Izc/O/D281NwXdRDun9CZRxpXkHfMDi5DpZKGh/QxBFU3K1z/unQsTBZSkXO4hCQ aLNWgq9jvZ9b5T1YisTwdjBPEL0taTI2tGkg1wGaSI5+Ma7t/jGKLGilumjVuhlQmZNzrI vsgdxF2VfSZQoDZg6U3XCXGVIvchE9xFder1CBMGgHWt8eEXzEwXmPR0id6Dvg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1599337417; a=rsa-sha256; cv=none; b=Avuv13Ueu7yA/XuuD4d+T/utzBfdtbyfBTojsdGYKomn6blmyIlYOhNaZWM2AvmPGCPH9D cjBFD96L/5FOfJaEW9I+NsLAA9xaCHNBXfWDFJjHXO1Erx3srV2+PZzwoMlzpbnqMyg+Vs DJ9AhtiIodgk3x9Ke6jYYtaoeAYKBHXoQzezuwu4OBUqA9HqxZbg10S2K6QwoQ/8xtqIky 5Q+f8mohLyAfZ1gGoNfWvcdSaGS3JsQu05k5qQ7KvjtWECPIzbdGx1vYWD5ttYVFEKozx2 +xWusUQaceNkZH4espYc0wipCPjZZ9mYWd9xv31a5oPlOoEF71OyB0aKQZUGxg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.33 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: Sat, 05 Sep 2020 20:23:37 -0000 Mark Johnston wrote on 9/4/20 9:55 PM: [...] >>> >>> The zfs.ko Makefile unconditionally enables creation of a debug file. >>> Could you verify that the problem is gone with this patch? >> >> >> This patch indeed fixes the install. Thank you! > > Committed in r365336, thanks. > Sadly it later fails at boot. Booting older kernel (r359781) fixes the issue. I read all the zfs related threads on freebsd-current for August and September, but still not found the solution. Failing kernel and world are at r365296. Sep 5 22:51:54 cf kernel: Sep 5 22:51:54 cf kernel: Loader variables: Sep 5 22:51:54 cf kernel: vfs.root.mountfrom=zfs:z/ROOT/default Sep 5 22:51:54 cf kernel: Sep 5 22:51:54 cf kernel: Manual root filesystem specification: Sep 5 22:51:54 cf kernel: : [options] Sep 5 22:51:54 cf kernel: Mount using filesystem Sep 5 22:51:54 cf kernel: and with the specified (optional) option list. Sep 5 22:51:54 cf kernel: Sep 5 22:51:54 cf kernel: eg. ufs:/dev/da0s1a Sep 5 22:51:54 cf kernel: zfs:zroot/ROOT/default Sep 5 22:51:54 cf kernel: cd9660:/dev/cd0 ro Sep 5 22:51:54 cf kernel: (which is equivalent to: mount -t cd9660 -o ro /dev/cd0 /) Sep 5 22:51:54 cf kernel: Sep 5 22:51:54 cf kernel: ? List valid disk boot devices Sep 5 22:51:54 cf kernel: . Yield 1 second (for background tasks) Sep 5 22:51:54 cf kernel: Abort manual input Sep 5 22:51:54 cf kernel: Sep 5 22:51:54 cf kernel: mountroot> panic: mountroot: unable to (re-)mount root. Sep 5 22:51:54 cf kernel: cpuid = 2 Sep 5 22:51:54 cf kernel: time = 16 Sep 5 22:51:54 cf kernel: KDB: stack backtrace: Sep 5 22:51:54 cf kernel: #0 0xffffffff80bb1475 at kdb_backtrace+0x65 Sep 5 22:51:54 cf kernel: #1 0xffffffff80b6a6e2 at vpanic+0x182 Sep 5 22:51:54 cf kernel: #2 0xffffffff80b6a553 at panic+0x43 Sep 5 22:51:54 cf kernel: #3 0xffffffff80c2991f at vfs_mountroot+0x198f Sep 5 22:51:54 cf kernel: #4 0xffffffff80b0970f at start_init+0x1f Sep 5 22:51:54 cf kernel: #5 0xffffffff80b2f7e2 at fork_exit+0x72 Sep 5 22:51:54 cf kernel: #6 0xffffffff80f09c1e at fork_trampoline+0xe Sep 5 22:51:54 cf kernel: Uptime: 16s Sep 5 22:51:54 cf kernel: ---<>--- -- -- Regards, Ruslan T.O.S. Of Reality