Re: FreeBSD OS installation stuck after selecting Boot installer

Mark Millard <[email protected]>
Newsgroups gmane.os.freebsd.devel.arm
Message-ID <[email protected]>
On Jun 25, 2024, at 17:44, Anantharam, Arjun <[email protected]> wrote:

> I was able to make some more progress with the boot loader cmd:
> 
> set hw.uart.console="mm:0x2058400000,rs:2" 
> However, with the .iso image i ran into this issue:
> 
> <image.png>

That .png showed that you are tryin got boot 13_2_RELEASE_AARCH64_CD,
which has its 13.2 EoL on: June 30, 2024

You may want to try 13.3 or some other Release that has significantly
more time before its EoL (no support). (But you already tried a main
[15] build below.)

> And with the .img (memstick image) file, kernel panics were seen:

This is not a boot of the same release, in fact it is a
boot of main [15] from early June, instead of a release.

> OK boot
> Loading kernel...
> /boot/kernel/kernel text=0x318 text=0x97e6d8 text=0x2b4130 data=0x166e60 data=0x
> 0+0x370000 0x8+0x1652e8+0x8+0x196120
> 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!
> ---<<BOOT>>---
> GDB: no debug ports present
> KDB: debugger backends: ddb
> KDB: current backend: ddb
>                    Type     Physical      Virtual   #Pages Attr
>      ConventionalMemory 0040e0000000 000000000000 002a0000 WC WT WB 
>                Reserved 004400000000 000000000000 00000700 WC WT WB 
>     RuntimeServicesData 004400700000 004400700000 00000100 WC WT WB RUNTIME
>                Reserved 004400800000 000000000000 00000c00 WC WT WB 
>      ConventionalMemory 004401400000 000000000000 00000c00 WC WT WB 
>        BootServicesData 004402000000 000000000000 00000400 WC WT WB 
>      ConventionalMemory 004402400000 000000000000 00011c00 WC WT WB 
>                Reserved 004414000000 000000000000 00080000 WC WT WB 
>      ConventionalMemory 004494000000 000000000000 0001a870 WC WT WB 
>              LoaderCode 0044ae870000 000000000000 00004000 WC WT WB 
>              LoaderData 0044b2870000 000000000000 00004000 WC WT WB 
>              LoaderCode 0044b6870000 000000000000 000000d0 WC WT WB 
>     RuntimeServicesData 0044b6940000 0044b6940000 00000020 WC WT WB RUNTIME
>      ConventionalMemory 0044b6960000 000000000000 0000000f WC WT WB 
>              LoaderCode 0044b696f000 000000000000 00000026 WC WT WB 
>                Reserved 0044b6995000 000000000000 00000046 WC WT WB 
>        BootServicesCode 0044b69db000 000000000000 00000185 WC WT WB 
>     RuntimeServicesCode 0044b6b60000 0044b6b60000 00000080 WC WT WB RUNTIME
>      ConventionalMemory 0044b6be0000 000000000000 00000001 WC WT WB 
>              LoaderData 0044b6be1000 000000000000 00000001 WC WT WB 
>        BootServicesCode 0044b6be2000 000000000000 0000003e WC WT WB 
>     RuntimeServicesData 0044b6c20000 0044b6c20000 00000050 WC WT WB RUNTIME
>     RuntimeServicesCode 0044b6c70000 0044b6c70000 00000050 WC WT WB RUNTIME
>        BootServicesCode 0044b6cc0000 000000000000 00000030 WC WT WB 
>     RuntimeServicesData 0044b6cf0000 0044b6cf0000 00000050 WC WT WB RUNTIME
>     RuntimeServicesCode 0044b6d40000 0044b6d40000 00000050 WC WT WB RUNTIME
>     RuntimeServicesData 0044b6d90000 0044b6d90000 00000050 WC WT WB RUNTIME
>     RuntimeServicesCode 0044b6de0000 0044b6de0000 00000050 WC WT WB RUNTIME
>       ACPIReclaimMemory 0044b6e30000 000000000000 00000010 WC WT WB 
>     RuntimeServicesData 0044b6e40000 0044b6e40000 00000050 WC WT WB RUNTIME
>     RuntimeServicesCode 0044b6e90000 0044b6e90000 00000050 WC WT WB RUNTIME
>     RuntimeServicesData 0044b6ee0000 0044b6ee0000 00000050 WC WT WB RUNTIME
>     RuntimeServicesCode 0044b6f30000 0044b6f30000 00000050 WC WT WB RUNTIME
>        BootServicesCode 0044b6f80000 000000000000 0000000c WC WT WB 
>      ConventionalMemory 0044b6f8c000 000000000000 00004110 WC WT WB 
>        BootServicesData 0044bb09c000 000000000000 00000d24 WC WT WB 
>        BootServicesCode 0044bbdc0000 000000000000 00000190 WC WT WB 
>     RuntimeServicesCode 0044bbf50000 0044bbf50000 00000040 WC WT WB RUNTIME
>      ConventionalMemory 0044bbf90000 000000000000 00000010 WC WT WB 
>     RuntimeServicesData 0044bbfa0000 0044bbfa0000 00000050 WC WT WB RUNTIME
>      ConventionalMemory 0044bbff0000 000000000000 0000000f WC WT WB 
>        BootServicesData 0044bbfff000 000000000000 00000021 WC WT WB 
>      ConventionalMemory 0044bc020000 000000000000 00003877 WC WT WB 
>        BootServicesData 0044bf897000 000000000000 00000021 WC WT WB 
>        BootServicesCode 0044bf8b8000 000000000000 0000003f WC WT WB 
>        BootServicesData 0044bf8f7000 000000000000 000006f1 WC WT WB 
>        BootServicesCode 0044bffe8000 000000000000 00000010 WC WT WB 
>        BootServicesData 0044bfff8000 000000000000 00000008 WC WT WB 
>      ConventionalMemory 004680000000 000000000000 00100000 WC WT WB 
>                Reserved 004400700000 004400700000 00000010 WB RUNTIME
> Physical memory chunk(s):
>   0x40e0000000 - 0x437fffffff, 10752 MB (2752512 pages)
>   0x4400700000 - 0x44007fffff,     1 MB (    256 pages)
>   0x4401400000 - 0x4413ffffff,   300 MB (  76800 pages)
>   0x4494000000 - 0x44b6994fff,   553 MB ( 141717 pages)
>   0x44b69db000 - 0x44bfffffff,   150 MB (  38437 pages)
>   0x4680000000 - 0x477fffffff,  4096 MB (1048576 pages)
> Excluded memory regions:
>   0x4400700000 - 0x44007fffff,     1 MB (    256 pages) NoAlloc 
>   0x44aea00000 - 0x44b0096fff,    22 MB (   5783 pages) NoAlloc 
>   0x44b6940000 - 0x44b695ffff,     0 MB (     32 pages) NoAlloc 
>   0x44b6b60000 - 0x44b6bdffff,     0 MB (    128 pages) NoAlloc 
>   0x44b6c20000 - 0x44b6cbffff,     0 MB (    160 pages) NoAlloc 
>   0x44b6cf0000 - 0x44b6f7ffff,     2 MB (    656 pages) NoAlloc 
>   0x44bbf50000 - 0x44bbf8ffff,     0 MB (     64 pages) NoAlloc 
>   0x44bbfa0000 - 0x44bbfeffff,     0 MB (     80 pages) NoAlloc 
> Found 16 CPUs in the ACPI tables
> Copyright (c) 1992-2024 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 15.0-CURRENT #0 main-n270625-9c5d7e4a0c02: Thu Jun  6 09:35:04 UTC 2024

That shows a main [15] build from early June, not 13.2 .

You may want to try 13.3 and/or 14.1 and/or 14.0 and/or
a stable/13 and/or a stable/14 .

The results may continue to vary and, may be, one or more
might work?

>     [email protected]:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC arm64
> FreeBSD clang version 18.1.6 (https://github.com/llvm/llvm-project.git llvmorg-18.1.6-0-g1118c2e05e67)
> WARNING: WITNESS option enabled, expect reduced performance.
> VT: init without driver.
> Preloaded elf kernel "/boot/kernel/kernel" at 0xffff000001455000.
> Preloaded TSLOG data "TSLOG" at 0xffff00000145e8f0.
> module scmi already present!
> real memory  = 16622788608 (15852 MB)
> Physical memory chunk(s):
> 0x000040e0000000 - 0x00004367411fff, 10859126784 bytes (2651154 pages)
> 0x00004401400000 - 0x00004413ffffff, 314572800 bytes (76800 pages)
> 0x00004494000000 - 0x000044ae9fffff, 446693376 bytes (109056 pages)
> 0x000044b0097000 - 0x000044b693ffff, 109744128 bytes (26793 pages)
> 0x000044b6960000 - 0x000044b6994fff, 217088 bytes (53 pages)
> 0x000044b69db000 - 0x000044b6b5ffff, 1593344 bytes (389 pages)
> 0x000044b6be0000 - 0x000044b6c1ffff, 262144 bytes (64 pages)
> 0x000044b6cc0000 - 0x000044b6ceffff, 196608 bytes (48 pages)
> 0x000044b6f80000 - 0x000044bbf4ffff, 83689472 bytes (20432 pages)
> 0x000044bbf90000 - 0x000044bbf9ffff, 65536 bytes (16 pages)
> 0x000044bbff0000 - 0x000044bfffffff, 67174400 bytes (16400 pages)
> 0x00004680000000 - 0x0000477fffffff, 4294967296 bytes (1048576 pages)
> avail memory = 16174551040 (15425 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
> Enabling DIC & IDC ICache sync
> Enabling LSE atomics in the kernel
> random: no preloaded entropy cache
> random: no platform bootloader entropy
> arc4random: WARNING: initial seeding bypassed the cryptographic random device because it was not yet seeded and the knob 'bypass_before_seeding' was enabled.
> VIMAGE (virtualized network stack) enabled
> hostuuid: using 00000000-0000-0000-0000-000000000000
> ULE: setup cpu 0
> ULE: setup cpu 1
> ULE: setup cpu 2
> ULE: setup cpu 3
> ULE: setup cpu 4
> ULE: setup cpu 5
> ULE: setup cpu 6
> ULE: setup cpu 7
> ULE: setup cpu 8
> ULE: setup cpu 9
> ULE: setup cpu 10
> ULE: setup cpu 11
> ULE: setup cpu 12
> ULE: setup cpu 13
> ULE: setup cpu 14
> ULE: setup cpu 15
> random: entropy device external interface
> feeder_register: snd_unit=-1 snd_maxautovchans=16 latency=2 feeder_rate_min=1 feeder_rate_max=2016000 feeder_rate_round=25
> firmware: 'tegra210_xusb_fw' version 0: 132608 bytes loaded at 0xffff000000b0d170
> MAP 4400700000 mode 2 pages 256
> MAP 44b6940000 mode 2 pages 32
> MAP 44b6b60000 mode 2 pages 128
> MAP 44b6c20000 mode 2 pages 80
> MAP 44b6c70000 mode 2 pages 80
> MAP 44b6cf0000 mode 2 pages 80
> MAP 44b6d40000 mode 2 pages 80
> MAP 44b6d90000 mode 2 pages 80
> MAP 44b6de0000 mode 2 pages 80
> MAP 44b6e40000 mode 2 pages 80
> MAP 44b6e90000 mode 2 pages 80
> MAP 44b6ee0000 mode 2 pages 80
> MAP 44b6f30000 mode 2 pages 80
> MAP 44bbf50000 mode 2 pages 64
> MAP 44bbfa0000 mode 2 pages 80
> MAP 4400700000 mode 2 pages 16
> panic: efi_1t1_l3: Already mapped: va 0x4400700000 *pt 0x4400700f0b

I'll note the earlier:

                   Type     Physical      Virtual   #Pages Attr
 . .
    RuntimeServicesData 004400700000 004400700000 00000100 WC WT WB RUNTIME
 . .
Physical memory chunk(s):
 . .
  0x00004401400000 - 0x00004413ffffff, 314572800 bytes (76800 pages)
 . .
Excluded memory regions:
  0x4400700000 - 0x44007fffff,     1 MB (    256 pages) NoAlloc 
 . .

> cpuid = 0
> time = 1
> KDB: stack backtrace:
> db_trace_self() at db_trace_self
> db_trace_self_wrapper() at db_trace_self_wrapper+0x38
> vpanic() at vpanic+0x1ac
> panic() at panic+0x48
> efi_create_1t1_map() at efi_create_1t1_map+0x400
> efirt_modevents() at efirt_modevents+0x110
> module_register_init() at module_register_init+0xb4
> mi_startup() at mi_startup+0x1e0
> virtdone() at virtdone+0x68
> KDB: enter: panic
> [ thread pid 0 tid 100000 ]
> 
> Thanks,
> Arjun


*HISTORY DELETED*

===
Mark Millard
marklmi at yahoo.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.