Re: Trying to boot a supermicro H8DMT board

From: Willem Jan Withagen <wjw_at_digiware.nl>
Date: Mon, 17 Jan 2022 11:43:24 UTC
On 17-1-2022 03:45, Eugene Grosbein wrote:
> 17.01.2022 8:01, Willem Jan Withagen wrote:
>
>> Got this a bit further by adding this to the config:
>> options ACPI_DEBUG
>> options VERBOSE_SYSINIT=1
>>
>> But now it tells me:
>> 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
>> done.
>> subsystem 1000000
>>     vm_mem_init(0)...
>>
>> So I guess that the ACPI stuff is done, and we're going to look at init-ing the subsystems.
>> But how do I translate the number to a name?
> Look at sys/sys/kernel.h:
>
> SI_SUB_VM               = 0x1000000,    /* virtual memory system init */
Did not find that, so thanx for the hint.
>> I guess it is the virtual memory init, since there is only on place that calls vm_mem_init.
>> And that is from the sysinit chain.
>>
>> But I would expect things to be really bad if the system hangs in the VM initialisation?
> How much RAM does the system have?
> You can try reducing memory addressed by the kernel with another loader knob:
>
> hw.physmem=4G
But this was an even better hint... I set it too 1G to even avond the 
4Gb limit.
Board should have 16Gb of mem....

It now get all the way to mounting the USB stick...

This what could be the problem now?

subsystem ffffff
    parse_acpi_tables(0)... SRAT: Ignoring memory at addr 0x100000000
SRAT: Ignoring memory at addr 0x220000000
SRAT: No memory found for CPU 4
done.
subsystem 1000000
    vm_mem_init(0)... vm_mem_init:131
done.

I have both tried 1Gb and 4Gb.
Could be that one of the DIMMs is defect, not seated correctly, or in 
the wrong slot??

This would suggest that 4Gb is missing:
real memory  = 12884901888 (12288 MB)
Physical memory chunk(s):
0x0000000000010000 - 0x0000000000099fff, 565248 bytes (138 pages)
0x0000000000100000 - 0x00000000001fffff, 1048576 bytes (256 pages)
0x0000000001200000 - 0x00000000da659fff, 3645218816 bytes (889946 pages)
avail memory = 3618148352 (3450 MB)
done.