Re: Trying to boot a supermicro H8DMT board

From: Eugene Grosbein <eugen_at_grosbein.net>
Date: Fri, 14 Jan 2022 16:21:30 UTC
14.01.2022 22:13, Willem Jan Withagen wrote:

> On 14-1-2022 15:29, Eugene Grosbein wrote:
>>
>>> set kern.vty=sc
>>> set hw.vga.acpi_ignore_no_vga=1
>>> set console="vidconsole comconsole"
>>> set comconsole_port="0x3f8"
>>> set comconsole_speed=115200
>>> set multi_boot="YES"
>>
>>> But it gets there just as far...
>>> And even waiting for a few minutes to perhaps get to gettty() prompt does not work.
>>>
>>> It does give me the opportunity to easily share the Boot output:
>>> ---<<BOOT>>--- list of commands, 'help' for more detailed help.
>>> APIC: Using the MADT enumerator.
>>> Copyright (c) 1992-2021 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 13.0-RELEASE #0 releng/13.0-n244733-ea31abc261f: Fri Apr  9 04:24:09 UTC 2021
>>> root@releng1.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64
>>> FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe)
>>>
>>> How to debug this any further...
>> Next line should describe the CPU, format similar to:
>>
>> CPU: Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz (2712.10-MHz K8-class CPU)
>>
>> Could you try 12.3-RELEASE or even 11.4-RELEASE? Just to compare.
> With 11.4 verbose boot over the serial port:
> Booting...
> Table 'FACP' at 0xdffc0200
> Table 'APIC' at 0xdffc0390
> APIC: Found table at 0xdffc0390
> APIC: Using the MADT enumerator.
> MADT: Found CPU APIC ID 0 ACPI ID 1: enabled
> SMP: Added CPU 0 (AP)
> MADT: Found CPU APIC ID 1 ACPI ID 2: enabled
> SMP: Added CPU 1 (AP)
> MADT: Found CPU APIC ID 2 ACPI ID 3: enabled
> SMP: Added CPU 2 (AP)
> MADT: Found CPU APIC ID 3 ACPI ID 4: enabled
> SMP: Added CPU 3 (AP)
> MADT: Found CPU APIC ID 4 ACPI ID 5: enabled
> SMP: Added CPU 4 (AP)
> MADT: Found CPU APIC ID 5 ACPI ID 6: enabled
> SMP: Added CPU 5 (AP)
> MADT: Found CPU APIC ID 6 ACPI ID 7: enabled
> SMP: Added CPU 6 (AP)
> MADT: Found CPU APIC ID 7 ACPI ID 8: enabled
> SMP: Added CPU 7 (AP)
> MADT: Found CPU APIC ID 136 ACPI ID 9: disabled
> MADT: Found CPU APIC ID 137 ACPI ID 10: disabled
> MADT: Found CPU APIC ID 138 ACPI ID 11: disabled
> MADT: Found CPU APIC ID 139 ACPI ID 12: disabled
> Copyright (c) 1992-2020 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 11.4-RELEASE #0 r362094: Fri Jun 12 18:27:15 UTC 2020
>     root@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64
> FreeBSD clang version 10.0.0 (git@github.com:llvm/llvm-project.git llvmorg-10.0.0-0-gd32170dbd5b)
> Table 'FACP' at 0xdffc0200
> Table 'APIC' at 0xdffc0390
> Table 'MCFG' at 0xdffc0460
> Table 'OEMB' at 0xdffce040
> Table 'SRAT' at 0xdffc50f0
> SRAT: Found table at 0xdffc50f0
> SRAT: Found CPU APIC ID 0 domain 0: enabled
> SRAT: Found CPU APIC ID 1 domain 0: enabled
> SRAT: Found CPU APIC ID 2 domain 0: enabled
> SRAT: Found CPU APIC ID 3 domain 0: enabled
> SRAT: Found memory domain 0 addr 0x0 len 0xa0000: enabled
> SRAT: Found memory domain 0 addr 0x100000 len 0xdff00000: enabled
> SRAT: Found memory domain 0 addr 0x100000000 len 0x120000000: enabled
> SRAT: Found CPU APIC ID 4 domain 1: enabled
> SRAT: Found CPU APIC ID 5 domain 1: enabled
> SRAT: Found CPU APIC ID 6 domain 1: enabled
> SRAT: Found CPU APIC ID 7 domain 1: enabled
> SRAT: Found memory domain 1 addr 0x220000000 len 0x200000000: enabled
> Table 'FACP' at 0xdffc0200
> Table 'APIC' at 0xdffc0390
> Table 'MCFG' at 0xdffc0460
> Table 'OEMB' at 0xdffce040
> Table 'SRAT' at 0xdffc50f0
> ACPI: No SLIT table found

It that all? It hangs, too?
Try entering KDB (you may need to rebuild the kernel to include KDB)
to obtain list of threads and states.