From nobody Fri Jun 28 10:09:44 2024 X-Original-To: freebsd-arm@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 4W9WQj5vX5z5FC5h for ; Fri, 28 Jun 2024 10:10:21 +0000 (UTC) (envelope-from bounce.xdnyn71tpjm8ml7=qxbm6o1belgy=hng57odvnwssm7@em790814.fubar.geek.nz) Received: from e3i74.smtp2go.com (e3i74.smtp2go.com [158.120.84.74]) (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) by mx1.freebsd.org (Postfix) with ESMTPS id 4W9WQf66T5z4ms0 for ; Fri, 28 Jun 2024 10:10:17 +0000 (UTC) (envelope-from bounce.xdnyn71tpjm8ml7=qxbm6o1belgy=hng57odvnwssm7@em790814.fubar.geek.nz) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=smtpservice.net header.s=a1-4 header.b=0dVBFeIj; dkim=pass header.d=fubar.geek.nz header.s=s790814 header.b=HxkoVDiX; dmarc=pass (policy=none) header.from=fubar.geek.nz; spf=pass (mx1.freebsd.org: domain of "bounce.xdnyn71tpjm8ml7=qxbm6o1belgy=hng57odvnwssm7@em790814.fubar.geek.nz" designates 158.120.84.74 as permitted sender) smtp.mailfrom="bounce.xdnyn71tpjm8ml7=qxbm6o1belgy=hng57odvnwssm7@em790814.fubar.geek.nz" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smtpservice.net; i=@smtpservice.net; q=dns/txt; s=a1-4; t=1719569410; h=feedback-id : x-smtpcorp-track : date : message-id : to : subject : from : reply-to : sender : list-unsubscribe : list-unsubscribe-post; bh=uhnXI27wFcy3cIdnX/JZIYJrR5MHrngzDZ2wGelPbCo=; b=0dVBFeIjsDrqlHz6nXMJG0B8QlIqW35qewZEIkHXQ5xp4Kh3+XXJIg5Mi0Dj6Pf11h3Kq A0f/vzAI8SOn/rAGRdAQIuC7hJwLa9/qLSSO2FL2S3ukaJeEYyJ+7DLLHk+7BTjpdjFtXBW WeJoESSB3he1UYCjOcWy24RwfCz6FJe2mbe2sPDOugUVHJJm3MHffTLesABKEm9uiFLQGko ZM8GwR/ybHbf/Bwe4TOX2dN8BD2NOg7+UHimBQEvbdio6kw8tnX80ZSbUOFjb6HbkpetTcn J9fWyl3+0zWEZu5WIaIQyDSGRQo/GuFeA40YW4s5UPFdqjUqD+BQ0NCsJOww== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fubar.geek.nz; i=@fubar.geek.nz; q=dns/txt; s=s790814; t=1719569410; h=from : subject : to : message-id : date; bh=uhnXI27wFcy3cIdnX/JZIYJrR5MHrngzDZ2wGelPbCo=; b=HxkoVDiXyaTO6fM5PWu4GIEiCq6jKXXu3sfq6Qh+zGAnYC/uzOqEp88lLlOmFh1PYl2+l mbR0Zh2GmsNhaFnPoPsf2n7xLioVmdcxu9xRDM5ntQ3HCrnHW05cWqGtETE7M3v4i8Ykh32 s9kmUzfjb7RStCsCrlFDxOTLyF0MAqLzgY8xSUFI4peFD3RivRUnXSnrVbsRys9weIoPWZ5 mALvj1fcW8SJs5fkGH0FMFkRTv9FZUBHhp3xJtj2iZ5kGc266nwIS4BldYp78j0Mlel12wX gFkoI+htK4SBFgjbsRwsnygE4huyCM8JkLH/ybWj9zj6qepH5NpOIblNYbsA== Received: from [10.99.243.232] (helo=morbo.fubar.geek.nz) by smtpcorp.com with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.97.1-S2G) (envelope-from ) id 1sN8YH-FnQW0hPqcE8-mWfa; Fri, 28 Jun 2024 10:09:57 +0000 Received: from smtpclient.apple (92.40.184.0.threembb.co.uk [92.40.184.0]) by morbo.fubar.geek.nz (Postfix) with ESMTPSA id 45F3D42403; Fri, 28 Jun 2024 10:09:55 +0000 (UTC) Content-Type: text/plain; charset=utf-8 List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.100.2.1.4\)) Subject: Re: FreeBSD OS installation stuck after selecting Boot installer From: Andrew Turner In-Reply-To: Date: Fri, 28 Jun 2024 11:09:44 +0100 Cc: Warner Losh , Mark Millard , "freebsd-arm@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: <1DEED962-C5D8-4B6D-8BC9-870A9BFE1176@fubar.geek.nz> References: <9BE6FB50-27DC-453E-B915-131D45C901CD.ref@yahoo.com> <9BE6FB50-27DC-453E-B915-131D45C901CD@yahoo.com> To: "Anantharam, Arjun" X-Mailer: Apple Mail (2.3774.100.2.1.4) X-Report-Abuse: Please forward a copy of this message, including all headers, to Feedback-ID: 790814m:790814amQcrys:790814s4L-EoCuCE X-smtpcorp-track: qqgrFMcKrv7m.XiXBt0icNHdk.rOUjZQsyftE X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.19 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.992]; DMARC_POLICY_ALLOW(-0.50)[fubar.geek.nz,none]; MV_CASE(0.50)[]; FORGED_SENDER(0.30)[andrew@fubar.geek.nz,bounce.xdnyn71tpjm8ml7=qxbm6o1belgy=hng57odvnwssm7@em790814.fubar.geek.nz]; R_DKIM_ALLOW(-0.20)[smtpservice.net:s=a1-4,fubar.geek.nz:s=s790814]; R_SPF_ALLOW(-0.20)[+ip4:158.120.80.0/21]; MIME_GOOD(-0.10)[text/plain]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ASN(0.00)[asn:23352, ipnet:158.120.84.0/22, country:US]; TO_DN_SOME(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; FROM_HAS_DN(0.00)[]; FREEMAIL_CC(0.00)[bsdimp.com,yahoo.com,freebsd.org]; ARC_NA(0.00)[]; FROM_NEQ_ENVFROM(0.00)[andrew@fubar.geek.nz,bounce.xdnyn71tpjm8ml7=qxbm6o1belgy=hng57odvnwssm7@em790814.fubar.geek.nz]; RCVD_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org]; DKIM_TRACE(0.00)[smtpservice.net:+,fubar.geek.nz:+] X-Rspamd-Queue-Id: 4W9WQf66T5z4ms0 > On 27 Jun 2024, at 01:33, Anantharam, Arjun = wrote: >=20 >=20 > Hi, >=20 > Here is the log with "set efi.rt.disabled=3D1" and = FreeBSD-14.1-RELEASE-arm64-aarch64-memstick.img. > Any reason why the mount "Mounting from ufs:/dev/ufs/FreeBSD_Install = failed with error 19" error occurs even with disk0p2: FreeBSD UFS = showing up with lsdev and the eventaul kernel panic? > Do you think this is an issue specific to ARM or FreeBSD ? The lsdev is a list of devices UEFI provides to loader.efi. It is = different to the list the kernel finds and has drivers for. >=20 > Please feel free to let me know if thee are other options to try.. What device type is the installer on? e.g. NVMe, USB. I see what look = like two NVMe devices on the pci bus, however the nvme driver only = attaches to one. The "ACPI: IORT: Unused ITS block, ID 1=E2=80=9D line also indicates = that FreeBSD doesn=E2=80=99t like some of the ACPI tables. It looks like = the ACPI IORT is missing an ITS entry that=E2=80=99s needed to map these = interrupts. Can you provide a copy of the ACPI tables from Linux? It = would also help understand why the uart isn=E2=80=99t attaching. Andrew >=20 >=20 > ______ ____ _____ _____ > | ____| | _ \ / ____| __ \ > | |___ _ __ ___ ___ | |_) | (___ | | | | > | ___| '__/ _ \/ _ \| _ < \___ \| | | | > | | | | | __/ __/| |_) |____) | |__| | > | | | | | | || | | | > |_| |_| \___|\___||____/|_____/|_____/ ``` = ` > s` = `.....---.......--.``` -/ > /---------- Welcome to FreeBSD -----------\ +o .--` /y:` = +. > | | yo`:. :o = `+- > | 1. Boot Installer [Enter] | y/ -/` = -o/ > | 2. Boot Single user | .- = ::/sy+:. > | 3. Escape to loader prompt | / = `-- / > | 4. Reboot | `: = :` > | 5. Cons: Serial | `: = :` > | | / = / > | Options: | .- = -. > | 6. Kernel: default/kernel (1 of 1) | -- = -. > | 7. Boot Options | `:` = `:` > | | .-- = `--. > | | .---.....----. > \-----------------------------------------/ >=20 >=20 > Exiting menu! >=20 >=20 > Type '?' for a list of commands, 'help' for more detailed help. >=20 > OK set hw.uart.console=3D"mm:0x2058400000,rs:2" > OK set efi.rt.disabled=3D1 >=20 > OK lsdev > disk devices: > disk0: 4194304 X 512 blocks > disk0p1: EFI > disk0p2: FreeBSD UFS > http: (unknown) > net devices: > net0: > net1: > net2: > net3: >=20 > OK show > COLUMNS=3D80 > LINES=3D50 > acpi.oem=3DINTEL > acpi.revision=3D2 > acpi.rsdp=3D0x00000047716f0018 > acpi.rsdt=3D0x0000000000000000 > acpi.xsdt=3D0x00000047716ffe98 > acpi.xsdt_length=3D36 > acpi_dsdt_load=3DNO > acpi_dsdt_name=3D/boot/acpi_dsdt.aml > acpi_dsdt_type=3Dacpi_dsdt > acpi_video_load=3DNO > audit_event_load=3DNO > audit_event_name=3D/etc/security/audit_event > audit_event_type=3Detc_security_audit_event > autoboot_delay=3DNO > bitmap_load=3DNO > bitmap_name=3Dsplash.bmp > bitmap_type=3Dsplash_image_data > boot_serial=3DYES > bootenv_autolist=3DYES > bootfile=3Dkernel > console=3Defi > cpu_microcode_load=3DNO > cpu_microcode_name=3D/boot/firmware/ucode.bin > cpu_microcode_type=3Dcpu_microcode > currdev=3Ddisk0p2: > efi-version=3D2.70 > efi.rt.disabled=3D1 > efi_com_port=3D0 > efi_com_speed=3D115200 > efi_max_resolution=3D1x1 > entropy_cache_load=3DYES > entropy_cache_name=3D/boot/entropy > entropy_cache_type=3Dboot_entropy_cache > entropy_efi_seed=3DYES > hint.acpi.0.disabled=3D0 > hint.smbios.0.mem=3D0x4776890000 > hostuuid_load=3DYES > hostuuid_name=3D/etc/hostid > hostuuid_type=3Dhostuuid > hw.uart.console=3Dmm:0x2058400000,rs:2 > interpret=3DOK > kernel=3Dkernel > kernel_options=3D > kernels_autodetect=3DNO > loaddev=3Ddisk0p2: > loader.efi=3D1 > loader_conf_dirs=3D/boot/loader.conf.d > loader_menu_multi_user_prompt=3DInstaller > local_loader_conf_files=3D/boot/loader.conf.local > module_blacklist=3Ddrm drm2 radeonkms i915kms amdgpu > module_path=3D/boot/modules;/boot/dtb;/boot/dtb/overlays > module_verbose=3D2 > nextboot_conf=3D/boot/nextboot.conf > prompt=3D${interpret} > ram_blacklist_load=3DNO > ram_blacklist_name=3D/boot/blacklist.txt > ram_blacklist_type=3Dram_blacklist > screensave_load=3DNO > screensave_name=3Dgreen_saver > script.lang=3Dlua > smbios.bios.reldate=3DApr 4 2024 > smbios.bios.revision=3D1.2 > smbios.bios.vendor=3DIntel > smbios.bios.version=3DIntel(R) IPU Embedded UEFI FW 1.2.0 for AArch64 > smbios.chassis.maker=3DIntel > smbios.chassis.serial=3DN/A > smbios.chassis.tag=3DN/A > smbios.chassis.type=3DOther > smbios.chassis.version=3DN/A > smbios.memory.enabled=3D14680064 > smbios.socket.enabled=3D16 > smbios.socket.populated=3D16 > smbios.system.family=3DIntel(R) IPU E2100 > smbios.system.maker=3DIntel > smbios.system.product=3DIntel(R) IPU Adapter E2100-CCQDA2 > smbios.system.serial=3D000000 > smbios.system.sku=3D000000000000 > smbios.system.uuid=3D30313245-3030-3030-6e0c-56812e49f70f > smbios.system.version=3DN/A > smbios.version=3D3.3 > splash_bmp_load=3DNO > splash_pcx_load=3DNO > splash_txt_load=3DNO > twiddle_divisor=3D16 > verbose_loading=3DNO > vesa_load=3DNO > vfs.mountroot.timeout=3D10 > OK boot > Loading kernel... > /boot/kernel/kernel text=3D0x2a8 text=3D0x9db150 text=3D0x260994 = data=3D0x150cb8 data=3D0x > 0+0x2bc000 0x8+0x1516b0+0x8+0x17a5c2/ > Loading configured modules... > can't find '/etc/hostid' > can't find '/boot/entropy' > No valid device tree blob found! > WARNING! Trying to fire up the kernel, but no device tree blob found! > ---<>--- > Copyright (c) 1992-2023 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.1-RELEASE releng/14.1-n267679-10e31f0946d8 GENERIC arm64 > FreeBSD clang version 18.1.5 (https://github.com/llvm/llvm-project.git = llvmorg-18.1.5-0-g617a15a9eac9) > VT: init without driver. > module scmi already present! > real memory =3D 15586795520 (14864 MB) > avail memory =3D 15167205376 (14464 MB) > Starting CPU 1 (10000) > Starting CPU 2 (20000) > Starting CPU 3 (30000) > Starting CPU 4 (40000) > Starting CPU 5 (50000) > Starting CPU 6 (60000) > Starting CPU 7 (70000) > Starting CPU 8 (80000) > Starting CPU 9 (90000) > Starting CPU 10 (a0000) > Starting CPU 11 (b0000) > Starting CPU 12 (c0000) > Starting CPU 13 (d0000) > Starting CPU 14 (e0000) > Starting CPU 15 (f0000) > FreeBSD/SMP: Multiprocessor System Detected: 16 CPUs > arc4random: WARNING: initial seeding bypassed the cryptographic random = device because it was not yet seeded and the knob = 'bypass_before_seeding' was enabled. > random: entropy device external interface > ACPI: IORT: Unused ITS block, ID 1 > kbd0 at kbdmux0 > acpi0: > acpi0: Power Button (fixed) > acpi0: Sleep Button (fixed) > acpi0: Could not update all GPEs: AE_NOT_CONFIGURED > psci0: on acpi0 > gic0: iomem = 0x205a000000-0x205a00ffff,0x205a080000-0x205a27ffff on acpi0 > its0: mem = 0x205a040000-0x205a05ffff on gic0 > generic_timer0: irq 23,24,25 on acpi0 > Timecounter "ARM MPCore Timecounter" frequency 112500000 Hz quality = 1000 > Event timer "ARM MPCore Eventtimer" frequency 112500000 Hz quality = 1000 > pmu0: on acpi0 > acpi_ged0: irq 16 on acpi0 > acpi_ged0: Raw IRQ 257 > acpi_button0: on acpi0 > pcib0: on acpi0 > pci0: on pcib0 > pci0: at device 1.0 (no driver attached) > nvme0: mem = 0x2220000000-0x2221ffffff,0x2226c80000-0x2226c9ffff at device 1.1 on = pci0 > nvme0: unable to allocate MSI-X > pci0: at device 1.2 (no driver attached) > pci0: at device 1.3 (no = driver attached) > pci0: at device 1.4 (no driver attached) > pci0: at device 1.6 (no driver attached) > pci0: at device 1.7 (no driver attached) > cpu0: on acpi0 > armv8crypto0: > Timecounters tick every 1.000 msec > usb_needs_explore_all: no devclass > CPU 0: ARM Neoverse-N1 r4p0 affinity: 0 0 0 > Cache Type =3D <64 byte D-cacheline,64 byte = I-cacheline,PIPT ICache,64 byte ERG,64 byte CWG,IDC,DIC> > Instruction Set Attributes 0 =3D = > Instruction Set Attributes 1 =3D > Instruction Set Attributes 2 =3D <> > Processor Features 0 =3D = > Processor Features 1 =3D > Memory Model Features 0 =3D = > Memory Model Features 1 =3D = > Memory Model Features 2 =3D > Debug Features 0 =3D > Debug Features 1 =3D <> > Auxiliary Features 0 =3D <> > Auxiliary Features 1 =3D <> > AArch32 Instruction Set Attributes 5 =3D = > AArch32 Media and VFP Features 0 =3D > AArch32 Media and VFP Features 1 =3D > CPU 1: ARM Neoverse-N1 r4p0 affinity: 1 0 0 > CPU 2: ARM Neoverse-N1 r4p0 affinity: 2 0 0 > CPU 3: ARM Neoverse-N1 r4p0 affinity: 3 0 0 > CPU 4: ARM Neoverse-N1 r4p0 affinity: 4 0 0 > CPU 5: ARM Neoverse-N1 r4p0 affinity: 5 0 0 > CPU 6: ARM Neoverse-N1 r4p0 affinity: 6 0 0 > CPU 7: ARM Neoverse-N1 r4p0 affinity: 7 0 0 > CPU 8: ARM Neoverse-N1 r4p0 affinity: 8 0 0 > CPU 9: ARM Neoverse-N1 r4p0 affinity: 9 0 0 > CPU 10: ARM Neoverse-N1 r4p0 affinity: 10 0 0 > CPU 11: ARM Neoverse-N1 r4p0 affinity: 11 0 0 > CPU 12: ARM Neoverse-N1 r4p0 affinity: 12 0 0 > CPU 13: ARM Neoverse-N1 r4p0 affinity: 13 0 0 > CPU 14: ARM Neoverse-N1 r4p0 affinity: 14 0 0 > CPU 15: ARM Neoverse-N1 r4p0 affinity: 15 0 0 > Release APs...done > Trying to mount root from ufs:/dev/ufs/FreeBSD_Install [ro,noatime]... > mountroot: waiting for device /dev/ufs/FreeBSD_Install... > TCP_ratelimit: Is now initialized > Mounting from ufs:/dev/ufs/FreeBSD_Install failed with error 19. >=20 > Loader variables: > vfs.root.mountfrom=3Dufs:/dev/ufs/FreeBSD_Install > vfs.root.mountfrom.options=3Dro,noatime >=20 > Manual root filesystem specification: > : [options] > Mount using filesystem > and with the specified (optional) option list. >=20 > eg. ufs:/dev/da0s1a > zfs:zroot/ROOT/default > cd9660:/dev/cd0 ro > (which is equivalent to: mount -t cd9660 -o ro /dev/cd0 /) >=20 > ? List valid disk boot devices > . Yield 1 second (for background tasks) > Abort manual input >=20 > mountroot> > mountroot> random: unblocking device. >=20 > panic: mountroot: unable to (re-)mount root. > cpuid =3D 14 > time =3D 99 > KDB: stack backtrace: > #0 0xffff000000525d3c at kdb_backtrace+0x58 > #1 0xffff0000004d0d40 at vpanic+0x198 > #2 0xffff0000004d0ba4 at panic+0x44 > #3 0xffff0000005cf82c at vfs_mountroot+0x1df4 > #4 0xffff000000442814 at start_init+0x28 > #5 0xffff00000047cdf0 at fork_exit+0x88 > #6 0xffff0000008b61f4 at fork_trampoline+0x14 > Uptime: 1m39s > Automatic reboot in 15 seconds - press a key on the console to abort