From nobody Mon Oct 10 03:27:11 2022 X-Original-To: riscv@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 4Mm49m6wRNz4fHRt for ; Mon, 10 Oct 2022 03:27:56 +0000 (UTC) (envelope-from dclarke@blastwave.org) Received: from mail.oetec.com (mail.oetec.com [108.160.241.186]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.oetec.com", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Mm49m1lG1z3DFh for ; Mon, 10 Oct 2022 03:27:56 +0000 (UTC) (envelope-from dclarke@blastwave.org) X-Spam-Status: No X-oetec-MailScanner-From: dclarke@blastwave.org X-oetec-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-7.031, required 6, autolearn=not spam, ALL_TRUSTED -1.00, BAYES_00 -1.90, DKIM_SIGNED 0.10, DKIM_VALID -0.10, DKIM_VALID_AU -0.10, DKIM_VALID_EF -0.10, NICE_REPLY_A -3.93, URIBL_BLOCKED 0.00, URIBL_DBL_BLOCKED_OPENDNS 0.00, URIBL_ZEN_BLOCKED_OPENDNS 0.00) X-oetec-MailScanner: Found to be clean X-oetec-MailScanner-ID: 29A3RCdS024956 X-oetec-MailScanner-Information: Please contact oetec for more information Received: from [172.16.35.2] (cpeac202e7325b3-cmac202e7325b0.cpe.net.cable.rogers.com [99.253.170.241]) (authenticated bits=0) by mail.oetec.com (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPSA id 29A3RCdS024956 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Sun, 9 Oct 2022 23:27:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=blastwave.org; s=default; t=1665372433; bh=peZQWuAwSPGoHH018KdXg+QSW4u6u/r15N0R1rZroeI=; h=Date:Subject:To:References:From:In-Reply-To:From; b=BvpF968r6SJt6R/r6JMbHeimSU1N0+Q4qMYfpWqFRRQrTtK4DB5ThjD/FHiHqpsZE COpRW/tcejStBSR3WRe21DLdlpEN72pikRl1VlW9Ib1umXg5KQeoRBFbXS0lIUTz4F l/cBmLBV5l8f99MFvr9+ScVVYWAhfow9fjZLkWmzF16P8gBxBnvcUlt694UpDh8Jdy yxO4sXg4BAjHfdLimf0MwjbEV7abxQGQHymuSg4tMTFZY6IucCjKyIkvLAe5+hQGBj 0gMv4kZOhKOX3HV233yh+3QLYz35O1EeKLT+uDG43s5BXJK4uKwul7c5K+RNiJm38I G15ADsBozufvQ== Message-ID: Date: Mon, 10 Oct 2022 03:27:11 +0000 List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.13.0 Subject: Re: panic: pmap_l2_to_l3: PA out of range, PA: 0x0 Content-Language: en-US To: riscv@freebsd.org References: <13b80b07-1515-9aca-6490-a1b484c6aee4@freebsd.org> <55233680-630a-d800-3a06-9c13e9a7ba7d@blastwave.org> From: Dennis Clarke In-Reply-To: <55233680-630a-d800-3a06-9c13e9a7ba7d@blastwave.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4Mm49m1lG1z3DFh X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=blastwave.org header.s=default header.b=BvpF968r; dmarc=pass (policy=quarantine) header.from=blastwave.org; spf=pass (mx1.freebsd.org: domain of dclarke@blastwave.org designates 108.160.241.186 as permitted sender) smtp.mailfrom=dclarke@blastwave.org X-Spamd-Result: default: False [-4.70 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[blastwave.org,quarantine]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; R_DKIM_ALLOW(-0.20)[blastwave.org:s=default]; R_SPF_ALLOW(-0.20)[+a]; RCVD_IN_DNSWL_MED(-0.20)[108.160.241.186:from]; MIME_GOOD(-0.10)[text/plain]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:812, ipnet:108.160.240.0/20, country:CA]; MLMMJ_DEST(0.00)[riscv@freebsd.org]; DKIM_TRACE(0.00)[blastwave.org:+]; MIME_TRACE(0.00)[0:+]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_NONE(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[riscv@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N On 10/7/22 22:28, Dennis Clarke wrote: > On 10/7/22 18:08, Mitchell Horne wrote: >> >> >> On 10/7/22 02:59, Dennis Clarke wrote: . . . >>> >>> >> >> Unlucky that you hit this, but the good news is the panic is known and >> recently fixed. I committed a series of changes yesterday which >> address the problem, ending with 1f9cc5ffc505. > > Well darn.  Sometimes timing in life is everything. > Thank you for letting me know. I will do a zpool scrub and then > start over. Tomorrow maybe. > Just added salt in the wounds I used the FreeBSD snapshot for 07 Oct 2022 and sure enough install blows up : OpenSBI v1.1 ____ _____ ____ _____ / __ \ / ____| _ \_ _| | | | |_ __ ___ _ __ | (___ | |_) || | | | | | '_ \ / _ \ '_ \ \___ \| _ < | | | |__| | |_) | __/ | | |____) | |_) || |_ \____/| .__/ \___|_| |_|_____/|____/_____| | | |_| Platform Name : riscv-virtio,qemu Platform Features : medeleg Platform HART Count : 4 Platform IPI Device : aclint-mswi Platform Timer Device : aclint-mtimer @ 10000000Hz Platform Console Device : uart8250 Platform HSM Device : --- Platform Reboot Device : sifive_test Platform Shutdown Device : sifive_test Firmware Base : 0x80000000 Firmware Size : 320 KB Runtime SBI Version : 1.0 Domain0 Name : root Domain0 Boot HART : 2 Domain0 HARTs : 0*,1*,2*,3* Domain0 Region00 : 0x0000000002000000-0x000000000200ffff (I) Domain0 Region01 : 0x0000000080000000-0x000000008007ffff () Domain0 Region02 : 0x0000000000000000-0xffffffffffffffff (R,W,X) Domain0 Next Address : 0x0000000080200000 Domain0 Next Arg1 : 0x0000000082200000 Domain0 Next Mode : S-mode Domain0 SysReset : yes Boot HART ID : 2 Boot HART Domain : root Boot HART Priv Version : v1.12 Boot HART Base ISA : rv64imafdch Boot HART ISA Extensions : time Boot HART PMP Count : 16 Boot HART PMP Granularity : 4 Boot HART PMP Address Bits: 54 Boot HART MHPM Count : 16 Boot HART MIDELEG : 0x0000000000001666 Boot HART MEDELEG : 0x0000000000f0b509 U-Boot 2022.04 (Sep 06 2022 - 07:24:53 +0000) CPU: rv64imafdch_zicsr_zifencei_zba_zbb_zbc_zbs Model: riscv-virtio,qemu DRAM: 16 GiB Core: 24 devices, 10 uclasses, devicetree: board Flash: 32 MiB Loading Environment from nowhere... OK In: uart@10000000 Out: uart@10000000 Err: uart@10000000 Net: eth0: virtio-net#7 Hit any key to stop autoboot: 0 Consoles: EFI console ______ ____ _____ _____ | ____| | _ \ / ____| __ \ | |___ _ __ ___ ___ | |_) | (___ | | | | | ___| '__/ _ \/ _ \| _ < \___ \| | | | | | | | | __/ __/| |_) |____) | |__| | | | | | | | || | | | |_| |_| \___|\___||____/|_____/|_____/ ``` ` s` `.....---.......--.``` -/ +---------- Welcome to FreeBSD -----------+ +o .--` /y:` +. | | yo`:. :o `+- | 1. Boot Single user [Enter] | y/ -/` -o/ | 2. Boot Installer | .- ::/sy+:. | 3. Escape to loader prompt | / `-- / | 4. Reboot | `: :` | 5. Cons: Video | `: :` | | / / | Options: | .- -. | 6. Kernel: default/kernel (1 of 1) | -- -. | 7. Boot Options | `:` `:` | | .-- `--. | | .---.....----. +-----------------------------------------+ Loading kernel... /boot/kernel/kernel text=0x5b3a88 text=0x175c2c data=0xf4208 data=0x1f74+0x2738dc 0x8+0x1f46fb8+0x8+0xf3f1e- Loading configured modules... can't find '/etc/hostid' can't find '/boot/entropy' Using DTB provided by EFI at 0x87efb000. Kernel entry at 0xf680002e... Kernel args: (null) ---<>--- GDB: no debug ports present KDB: debugger backends: ddb KDB: current backend: ddb Physical memory chunk(s): 0x80000000 - 0x47fffffff, 16384 MB (4194304 pages) Excluded memory regions: 0x80000000 - 0x801fffff, 2 MB ( 512 pages) NoAlloc NoDump 0xf6800000 - 0xf9423fff, 44 MB ( 11300 pages) NoAlloc Found 4 CPUs in the device tree Copyright (c) 1992-2022 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 14.0-CURRENT #0 main-n258483-b05b1ecbef0: Fri Oct 7 05:52:47 UTC 2022 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/riscv.riscv64/sys/GENERIC riscv FreeBSD clang version 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c) WARNING: WITNESS option enabled, expect reduced performance. VT: init without driver. Preloaded elf kernel "/boot/kernel/kernel" at 0xffffffc002bff000. Preloaded TSLOG data "TSLOG" at 0xffffffc002c08288. SBI: OpenSBI v1.1 SBI Specification Version: 1.0 CPU(0): Unknown Implementer Unknown Processor real memory = 17179869184 (16384 MB) Physical memory chunk(s): 0x0000000080200000 - 0x00000000f67fffff, 1986002944 bytes (484864 pages) 0x00000000f9424000 - 0x000000046674ffff, 14716944384 bytes (3593004 pages) avail memory = 16649957376 (15878 MB) No static device mappings. Starting CPU 2 (hart 0) Starting CPU 3 (hart 1) Starting CPU 1 (hart 3) FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs panic: ISA string truncated cpuid = 0 time = 1 KDB: stack backtrace: db_trace_self() at db_trace_self db_trace_self_wrapper() at db_trace_self_wrapper+0x38 kdb_backtrace() at kdb_backtrace+0x2c vpanic() at vpanic+0x126 panic() at panic+0x2a fill_elf_hwcap() at fill_elf_hwcap+0x220 mi_startup() at mi_startup+0x1d2 va() at va+0x7e KDB: enter: panic [ thread pid 0 tid 0 ] Stopped at kdb_enter+0x4a: sd zero,0(s1) db> So darn it again ... I better wait a week. -- Dennis Clarke RISC-V/SPARC/PPC/ARM/CISC UNIX and Linux spoken GreyBeard and suspenders optional