Hi Georgi

I noticed that kernel logs you posted are between 62nd - 64th second
> after kernel loading. Why is the boot process so slow?
>

Due to a disabled SATA device in BIOS, the kernel tries to do an ERST and
SRST and does this until 60s after boot.
That's OK, it's been the same on Buster, too.


> If you think that video driver can be an issue then you can try to
> configure the system not to use framebuffer (if the system
>  doesn't use GUI).
>

Could you tell me how? Or a reference to it?

In the meantime I re-configured grub to boot with the following parameters:

debug rootwait earlyprintk=vga,keep earlycon pause_on_oops=5 panic=60
no_console_suspend


The last two boots now show a crash in the console - even with
firmware-amd-graphics and firmware-linux-nonfree installed.

[ 69.546005 ] asm_call_irq_on_stack+0x12/0x20
[ 69.546005 ] </IRQ>
[ 69.546006 ] common_interrupt+0xb0/0x130
[ 69.546006 ] asm_common_interrupt+0x1e/0x40
[ 69.546006 ] RIP: 0010:cpuidle_enter_state+0xc4/0x350
[ 69.546007 ] Code: a2 ff 65 8b 3d 6d 39 f7 7b e8 78 2e a2 ff 49 89 c5 66
66 66
  66 90 31 ff e8 09 39 a2 ff 45 84 ff 0f 85 fa 00 00 00 fb 66 66 90 <66> 66
90 45
  85 f6 0f 88 06 01 00 00 49 63 c6 4c 2b 2c 24 48 8d 14
[ 69.546008 ] RSP: 0018:ffff9dec062cfea8 EFLAGS: 00000246
[ 69.546008 ] RAX: ffff89266fa2bc00 RBX: 0000000000000004 RCX:
000000000000001f

[ 69.546009 ] RDX: 0000000000000000 RSI: 0000000024eefefa RDI:
0000000000000000

[ 69.546009 ] RBP: ffffbdebff218e00 R08: 0000001022521b20 R09:
0000000000000018

[ 69.546010 ] R10: 00000000000004fa R11: 000000000000006cd R12:
ffffffff851ae680

[ 69.546010 ] R13: 0000001022521b20 R14: 00000000000000004 R15:
0000000000000000

[ 69.546010 ] ? cpuidle_enter_state+0xb7/0x350
[ 69.546011 ] cpuidle_enter+0x29/0x40
[ 69.546011 ] do_idle+0x1ef/0x2b0
[ 69.546011 ] cpu_startup_entry+0x19/0x20
[ 69.546012 ] secondary_startup_64_no_verify+0xb0/0xbb
[ 69.546012 ] ---[ end trace 96fbf4be0200356d ]---

And on another crash almost the same but slightly different:

[ 69.331313 ] ? mwait_idle_with_hints.constprop.0+0x4b/0x90
[ 69.331313 ] ? mwait_idle_with_hints.constprop.0+0x4b/0x90
[ 69.331313 ] </NMI>
[ 69.331314 ] intel_idle+0x1f/0x30
[ 69.331314 ] cpuidle_enter_state+0x89/0x350
[ 69.331314 ] cpuidle_enter+0x29/0x40
[ 69.331315 ] do_idle+0x1ef/0x2b0
[ 69.331315 ] cpu_startup_entry+0x19/0x20
[ 69.331315 ] start_kernel+0x587/0x5a8
[ 69.331315 ] secondary_startup_64_no_verify+0xb0/0xbb
[ 69.511534 ] DMAR: [DMA Read] Request device [00:1e.0] PASID ffffffff
fault ad
r 3000 [fault reason 06] PTE Read access is not set
[ 69.511541 ] Kernel Offset: 0x28a00000 from 0xffffffff81000000 (relocation
ran
ge: 0xffffffff80000000-0xffffffffbfffffff)

I have recorded the boot crash: https://youtu.be/TIfX-isjM3E (see between
second 47 and 48).

Reply via email to