From owner-freebsd-current@freebsd.org Mon Dec 14 22:03:45 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 2529F4C4473 for ; Mon, 14 Dec 2020 22:03:45 +0000 (UTC) (envelope-from editor@callfortesting.org) Received: from mail-pf1-x436.google.com (mail-pf1-x436.google.com [IPv6:2607:f8b0:4864:20::436]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 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 4CvwQ80kxDz3tMZ for ; Mon, 14 Dec 2020 22:03:43 +0000 (UTC) (envelope-from editor@callfortesting.org) Received: by mail-pf1-x436.google.com with SMTP id 131so13078787pfb.9 for ; Mon, 14 Dec 2020 14:03:43 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=QIHSXAtkL6yUEwH3ll20eHPtKKXsDqx9aOaPqFiQd90=; b=bcSuy9Yhn4KuWfAdtPWy12el1zbab3JaqKLaRqfQy3ksC7R24Pz3rdncXqZ8ZwqOZp NnDjBrAe47Nrq9+4ePd1yaiDISvJsbao5IceVVwN+/gvcgCpiY9YuGtbs79l+pVN0/Fl RyBY7IIZruOcdbtUYiyZn0Q47o5EGZIMPhD19vV02TDKga2pq6YL2FPAimq0XNxF1fIC NYzKjIOjTuugJXpfgnRBLZ8U5sQBGR5VoyJU8DuODr3X9PYqebROtdfJCG6jl5uKHjTg FBzOe3xS0E1cgzPxulhr82s/h7zdhsIgruMrXp6a6SnvN2yI+4SOS3l3PwCwpokZJ+rX 9M3A== X-Gm-Message-State: AOAM531mn/iANcCvBCh8P/u3BFzq8yC4K6Z4z2BjJiXCuMuZsf0aRuk/ v0wRDEj+82cpqQoT+FY5ZUrbvt3xPsQb21am X-Google-Smtp-Source: ABdhPJxNyPjq8JjADaQttec36HI7FVfX9xBUwuycn09o5LFV9Cz1VbuNblb3Acbx8wish3LSrCYS0w== X-Received: by 2002:a63:d650:: with SMTP id d16mr25949004pgj.277.1607983422346; Mon, 14 Dec 2020 14:03:42 -0800 (PST) Received: from macbook-2.local (c-67-170-137-52.hsd1.or.comcast.net. [67.170.137.52]) by smtp.gmail.com with ESMTPSA id z7sm21426192pfq.193.2020.12.14.14.03.41 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 14 Dec 2020 14:03:41 -0800 (PST) Subject: Re: RISC-V root device question -> Panic To: Mitchell Horne Cc: FreeBSD Current References: <4fcf5f35-481b-a321-cb52-7264fc10d1d4@callfortesting.org> From: Michael Dexter Message-ID: Date: Mon, 14 Dec 2020 14:03:39 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:78.0) Gecko/20100101 Thunderbird/78.5.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4CvwQ80kxDz3tMZ X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.30 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[callfortesting-org.20150623.gappssmtp.com:+]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[2607:f8b0:4864:20::436:from]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[67.170.137.52:received]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[callfortesting-org.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[callfortesting.org]; SPAMHAUS_ZRD(0.00)[2607:f8b0:4864:20::436:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::436:from]; R_SPF_NA(0.00)[no SPF record]; 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: Mon, 14 Dec 2020 22:03:45 -0000 Mitchell, On 12/7/20 1:56 PM, Mitchell Horne wrote: > You can also override it using the QEMU commandline, which is simpler > since you won't need to recompile anything. Adding the following > argument should suffice: This works great but riscv 12-STABLE using last week's snapshot revision throws the panic output included below under QEMU and leaves nothing in /var/crash What expectations should I set for RISC-V STABLE and CURRENT? All the best, Michael t[0] == 0xffffffc0006c9d98 t[1] == 0x0000000040c50000 t[2] == 0x0000000040c65000 t[3] == 0x0000000000000001 t[4] == 0x0000000000000000 t[5] == 0x0000000000000001 t[6] == 0x0000000000000001 s[0] == 0xffffffd0b1600248 s[1] == 0x0000000040e49000 s[2] == 0xfffffffffffff000 s[3] == 0x00000000000000ff s[4] == 0x0000000041000000 s[5] == 0x0000000000000001 s[6] == 0xffffffc000aff988 s[7] == 0x00000000410a1000 s[8] == 0x0000000000000280 s[9] == 0x0000000000000000 s[10] == 0x0000000000001000 s[11] == 0xffffffffffffff73 a[0] == 0x0000000000000000 a[1] == 0xffffffd00297d560 a[2] == 0x0000000000000000 a[3] == 0x0000000000000021 a[4] == 0x0000000000000000 a[5] == 0x0000000000000021 a[6] == 0x000000000000003f a[7] == 0xffffffc000aff900 sepc == 0xffffffc0004ce414 sstatus == 0x0000000000000120 panic: Fatal page fault at 0xffffffc0004ce414: 0x00000000000065 cpuid = 1 time = 1607915275 KDB: stack backtrace: #0 0xffffffc00023f2d4 at kdb_backtrace+0x50 Uptime: 2d1h40m41s Automatic reboot in 15 seconds - press a key on the console to abort Rebooting...