Also... Be ignorant... Be happy!Ant P. wrote:The enterprise distros sell their binaries. Canonical sells their users.
Also... Be ignorant... Be happy!Ant P. wrote:The enterprise distros sell their binaries. Canonical sells their users.
Code: Select all
CONFIG_MK8=y
# CONFIG_MPSC is not set
# CONFIG_MCORE2 is not set
# CONFIG_MATOM is not set
# CONFIG_GENERIC_CPU is not setCode: Select all
CONFIG_X86_INTEL_PSTATE=yCode: Select all
#
# PCI controller drivers
#
CONFIG_VMD=y
#
# DesignWare PCI Core Support
#
CONFIG_PCIE_DW=y
CONFIG_PCIE_DW_HOST=y
CONFIG_PCIE_DW_PLAT=y
CONFIG_PCIE_DW_PLAT_HOST=y
CONFIG_PCI_MESON=m
# end of DesignWare PCI Core Support
Code: Select all
CONFIG_X86_INTEL_PSTATECode: Select all
lspci -k Also... Be ignorant... Be happy!Ant P. wrote:The enterprise distros sell their binaries. Canonical sells their users.
Code: Select all
0x000c0000-0x000dffff window]
[ 6.677485] caller _nv000720rm+0x1ad/0x200 [nvidia] mapping multiple BARs
[ 9.364488] r8169 0000:05:00.0 enp5s0: Link is Up - 1Gbps/Full - flow control rx/tx
[ 9.364501] IPv6: ADDRCONF(NETDEV_CHANGE): enp5s0: link becomes ready
[ 41.515915] elogind-daemon[2511]: Removed session 1.
[ 41.533422] elogind-daemon[2511]: New session 2 of user amith.Code: Select all
[ 0.000000] random: crng init done # too early!
[ 0.000910] ------------[ cut here ]------------ # exception
[ 0.000987] WARNING: CPU: 0 PID: 0 at arch/x86/kernel/cpu/rdrand.c:61 x86_init_rdrand.cold+0x0/0x21
[ 0.001096] Modules linked in:
[ 0.001169] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.15.59-gentoo #12
[ 0.001254] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./A320M-HDV, BIOS P5.90 07/03/2019
[ 0.001360] RIP: 0010:x86_init_rdrand.cold+0x0/0x21
[ 0.001440] Code: 48 c7 c7 6d 7e 03 9e 5d e9 06 76 00 00 48 c7 c7 b8 7c 03 9e e8 fa 75 00 00 48 c7 c7 18 7d 03 9e e8 ee 75 00 00 e9 77 ae d3 fe <0f> 0b 48 c7 c7 b0 7e 03 9e e9 db 75 00 00 48 c7 c7 7a 7e 03 9e c6
[ 0.001587] RSP: 0000:ffffffff9e403e88 EFLAGS: 00010246
[ 0.001667] RAX: ffffffffffffffff RBX: 0000000000000000 RCX: ffffffffffffffff
[ 0.001752] RDX: 000000000000000a RSI: 0000000000000000 RDI: 0000000000000000
[ 0.004116] RBP: ffffffff9e6da2e0 R08: ffffffff9e51eec8 R09: 00000000ffffdfff
[ 0.004697] R10: ffffffff9e43eee0 R11: ffffffff9e43eee0 R12: ffffffff9e6da2e0
[ 0.004782] R13: 0000000000000247 R14: ffffffff9e414118 R15: 0000000000000000
[ 0.004867] FS: 0000000000000000(0000) GS:ffff8fb2d6c00000(0000) knlGS:0000000000000000
[ 0.004969] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 0.005050] CR2: ffff8fb2df1ff000 CR3: 0000000018c0c000 CR4: 0000000000350eb0
[ 0.005135] Call Trace:
[ 0.005207] <TASK>
[ 0.005276] identify_cpu+0x2ec/0x5b0
[ 0.005354] identify_boot_cpu+0xc/0x8f
[ 0.005432] check_bugs+0x21/0xd9f
[ 0.005507] ? __get_locked_pte+0xaa/0x120
[ 0.005585] start_kernel+0x622/0x65a
[ 0.005661] secondary_startup_64_no_verify+0xc2/0xcb
[ 0.005742] </TASK>
[ 0.005812] ---[ end trace 7b7ed6a708978f8c ]---
[ 0.005889] RDRAND gives funky smelling output, might consider not using it by booting with "nordrand"
Code: Select all
CONFIG_RANDOM_TRUST_CPU=y
CONFIG_RANDOM_TRUST_BOOTLOADER=y
CONFIG_HW_RANDOM=y
# CONFIG_HW_RANDOM_TIMERIOMEM is not set
# CONFIG_HW_RANDOM_INTEL is not set
# CONFIG_HW_RANDOM_AMD is not set
# CONFIG_HW_RANDOM_BA431 is not set
CONFIG_HW_RANDOM_VIA=y
# CONFIG_HW_RANDOM_VIRTIO is not set
# CONFIG_HW_RANDOM_XIPHERA is not set
# CONFIG_APPLICOM is not set
I think it's just a delay with logging into the gui session (as in I didn't login immediately after the system booted). In the recent boot, that's absent:What takes so long here ?
Code: Select all
[ 9.065368] r8169 0000:05:00.0 enp5s0: Link is Up - 1Gbps/Full - flow control rx/tx
[ 9.065380] IPv6: ADDRCONF(NETDEV_CHANGE): enp5s0: link becomes ready
[ 14.080448] random: crng init done
[ 14.080452] random: 62 urandom warning(s) missed due to ratelimiting
Also... Be ignorant... Be happy!Ant P. wrote:The enterprise distros sell their binaries. Canonical sells their users.

That's odd. At that time its just Grub and the hardware and the hardware should be settled. As the kernel is not loaded, that's in the clear.I noticed that the chance of the hang issue happening is much higher if I press enter right after the grub boot menu comes. On the other hand, if I wait for a few seconds or let the menu timeout, it boots without a hang much more often.
Code: Select all
CONFIG_PCCARD=y
CONFIG_PCMCIA=y
CONFIG_CARDBUS=yCode: Select all
CONFIG_USB_OHCI_HCD=y
CONFIG_USB_OHCI_HCD_PCI=y
CONFIG_USB_UHCI_HCD=y
CONFIG_USB_EHCI_HCD=y
CONFIG_USB_EHCI_ROOT_HUB_TT=y
CONFIG_USB_EHCI_TT_NEWSCHED=y
CONFIG_USB_EHCI_PCI=y
CONFIG_USB_EHCI_FSL=mCode: Select all
CONFIG_DRM_SIMPLEDRM=yCode: Select all
# CONFIG_FB_VESA is not set
# CONFIG_FB_EFI is not setIncidentally, with more cold reboots, it seems like the hang happens in the bootloader itself. I'd scroll down the menu selection and it'd hang. It beeps halfway (as in it barely starts to beep but goes silent immeditely). Tested this with both grub and lilo.NeddySeagoon wrote:Amity88,
That's odd. At that time its just Grub and the hardware and the hardware should be settled. As the kernel is not loaded, that's in the clear.I noticed that the chance of the hang issue happening is much higher if I press enter right after the grub boot menu comes. On the other hand, if I wait for a few seconds or let the menu timeout, it boots without a hang much more often.
Yup, cause when it hangs, it's very early in the boot process before the kernel even decompresses. It's a proper hang without it responding to ctrl-alt-del (this seems to cause a restart WHEN I screwed up with the display drivers, during test)Are you sure the system is freezing as you don't have any text console drivers configured?
Also... Be ignorant... Be happy!Ant P. wrote:The enterprise distros sell their binaries. Canonical sells their users.

Also... Be ignorant... Be happy!Ant P. wrote:The enterprise distros sell their binaries. Canonical sells their users.
It is not a must and in mostly every case there is no problem if CPU microcode will be loaded later. But of course: best is to load as soon as possible; this is only possible with built-in (look at the timestamp in "dmesg" => 0.000Amity88 wrote:Currently the microcode is loaded from initramfs. Are you suggesting that I put in in the kernel itself? Will try that.
These are drivers for PCI ... and ... NO, this should not cause any conflicts, but these drivers have to determine that they are useless (=not needed) and I had some thoughts on timing problems (a second arguement: If something does not exist it can make no troublesAmity88 wrote:Why'd you narrow down on the DW and VMD config options? do they cause conflicts usually?

Also... Be ignorant... Be happy!Ant P. wrote:The enterprise distros sell their binaries. Canonical sells their users.

Code: Select all
[ 1.258907] microcode: CPU0: patch_level=0x0870100aAmity88 wrote:No worries! you and everyone in this thread have been extremely helpful. Thank you
Code: Select all
[ 0.000000] smpboot: 32 Processors exceeds NR_CPUS limit of 15
[ 0.000000] smpboot: Allowing 15 CPUs, 3 hotplug CPUsCode: Select all
CONFIG_NR_CPUS=15Code: Select all
[ 0.131586] smpboot: CPU0: AMD Ryzen 5 3600 6-Core Processor (family: 0x17, model: 0x71, stepping: 0x0)Code: Select all
CONFIG_EXTRA_FIRMWARE="amd-ucode/microcode_amd_fam17h.bin amd-ucode/microcode_amd.bin amd-ucode/microcode_amd_fam15h.bin amd-ucode/microcode_amd_fam16h.bin amd/amd_sev_fam17h_model0xh.sbin amd/amd_sev_fam17h_model3xh.sbin amd-ucode/microcode_amd_fam19h.bin amd/amd_sev_fam19h_model0xh.sbin"At the considerable risk of muddying the waters, have you updated/considered updating your motherboard's BIOS? My desktop uses a Ryzen 5 3900, and the ASUS motherboard has had perhaps 10 updates since its launch in about 2019; looking at the various comments (albeit on gamer forums) it was more like late Beta codeAmity88 wrote:... Looks like it's due to some weird interaction / handoff between the bios (legacy) on this motherboard (ASrock A320M-HDV) and the bootloader. (lilo, grub) ...
Also... Be ignorant... Be happy!Ant P. wrote:The enterprise distros sell their binaries. Canonical sells their users.