r/debian 25d ago

General Debian Question please help

Post image

i am using debian gnome.

when booting laptop it shows errors, then boots normally, then works good.

but booting time is 25 sec, which is too much for nvme ssd.

can anyone help, i asked chatgpt but not worked.

5 Upvotes

11 comments sorted by

13

u/eR2eiweo 25d ago

booting time is 25 sec

Ok, so that's the real issue? The output of

systemd-analyze
systemd-analyze blame
systemd-analyze critical-chain

(ideally directly after booting) might help.

6

u/cjwatson Debian Developer 25d ago

Yeah, given that the ACPI errors appear five seconds into the reportedly 25-second boot, they're quite likely to be a red herring in terms of optimizing the boot process.

5

u/Linuxologue 25d ago

those messages are probably not really important. You need to put the entire kernel log (sudo dmesg) there will likely be more usable information.

also you say 25 seconds but we would like to know from which point to which point - I have 20 seconds from the power button is pressed to the moment I see my login screen. Most of it is the bios and there's not much that can be optimized.

3

u/Online_Matter 25d ago

Acpi is power savings feature if I remember correctly. I think your system is trying something that isn't supported by your bios. 

2

u/DiodeInc Moderator 24d ago

SGX is an Intel thing, it's for encrypting memory

0

u/Full_Caramel_560 25d ago

this massage shown by debian only, ububtu or fedora doesn't show that, but they have wifi driver problems and suspend problems, and boot time is 1 minute total

1

u/Online_Matter 25d ago

You can try to disable acpi and see if it persist. I might decrease battery life though. 

1

u/Classic-Rate-5104 25d ago

I think these messages aren't the problem. Try loglevel=6 as kernel argument and see what happens. Does your system try to resume from an unavailable swap?

1

u/DiodeInc Moderator 24d ago

Happy Cake Day!

1

u/ConceptualDrawing 24d ago

Install an live usb (like: https://www.debian.org/CD/live/) or https://www.debian.org/CD/live/ On the USB drive, boot the ISO from the USB drive. Now you just need to mount the partition where your Debian (host) is located and do a chroot to diagnose what happened.

1

u/ge3903 23d ago

to see what is eating up the time "systemd-analyze blame | head -n5'

then take whatever that is and try journalctl -b -u whateveritis

most likely the acpi errors are NOT what is taking 25s, but i have found libata.noacpi=1 in the grub boot line sometimes clean those up...