r/archlinux • • 2d ago

SUPPORT Keeps freezing

I have ultra core 7 255H

32GB LPDDR5X ram

My booting times are 5 mins on average

Keeps freezing

Apps struggle to run

First time linux user here

Using grub for windows 11 and ArchLinux dualbooting

7 Upvotes

31 comments sorted by

5

u/sbart76 2d ago

You're obviously doing something wrong. What does systemd-analyze tell you?

3

u/Brilliant-Key-7168 2d ago

5 minute boot times on Intel's latest hardware is wild, something is definitely not right with your install.

2

u/IAmNotMadboy 2d ago

It's throwing nvme errors like hell

Oct 14 19:58:46 archlinux kernel: nvme nvme0: I/O tag 787 (2313) QID 2 timeout, completion polled Oct 14 19:58:46 archlinux kernel: nvme nvme0: I/O tag 467 (31d3) QID 4 timeout, completion polled Oct 14 19:59:16 archlinux kernel: nvme nvme0: I/O tag 511 (31ff) QID 4 timeout, completion polled Oct 14 20:00:35 archlinux kernel: nvme nvme0: I/O tag 444 (21bc) QID 3 timeout, completion polled Oct 14 20:01:06 archlinux kernel: nvme nvme0: I/O tag 426 (91aa) QID 3 timeout, completion polled Oct 14 20:01:36 archlinux kernel: nvme nvme0: I/O tag 441 (b1b9) QID 3 timeout, completion polled Oct 14 20:02:06 archlinux kernel: nvme nvme0: I/O tag 384 (0180) QID 3 timeout, completion polled Oct 14 20:02:38 archlinux kernel: nvme nvme0: I/O tag 805 (2325) QID 2 timeout, completion polled Oct 14 20:02:38 archlinux kernel: nvme nvme0: I/O tag 429 (21ad) QID 3 timeout, completion polled Oct 14 20:03:08 archlinux kernel: nvme nvme0: I/O tag 375 (8177) QID 5 timeout, completion polled Oct 14 20:03:40 archlinux kernel: nvme nvme0: I/O tag 773 (8305) QID 2 timeout, completion polled Oct 14 20:10:44 archlinux kernel: nvme nvme0: I/O tag 824 (8338) QID 2 timeout, completion polled Oct 14 20:14:50 archlinux kernel: nvme nvme0: I/O tag 409 (8199) QID 3 timeout, completion polled

4

u/sbart76 2d ago

Well, that definitely needs to be taken care of. It might be responsible for slow booting, but the data integrity is at risk. Smartmontools?

1

u/IAmNotMadboy 1d ago

Checked using that too, the SSD is healthy

1

u/Gozenka 1d ago

Yeah possibly it is a hardware issue. Is this a new PC? Did things work fine before on Windows or elsewhere? Focus on checking the disks, and maybe RAM.

And I guess things worked fine on the archiso USB, during the installation? Any issues there?

Is there anything else on journalctl -b -p 4? It shows all errors and warnings on the system since current boot.

Do you have any rather non-standard configuration for your Arch installation that may be of interest? A different kernel, some kernel parameters, some manual configuration on filesystems or anything else?

2

u/IAmNotMadboy 1d ago edited 1d ago

It's a new laptop, Asus Zenbook 14 Lemme check journalctl -b -p 4

And no configuration for arch

I did use Gparted to shrink, since windows was only giving me 33gb out of 450GB i had empty

And on windows everything worked very good

2

u/nikongod 2d ago

Or, more to the point: "systemd-analize blame"

1

u/IAmNotMadboy 2d ago

https://bpa.st/KNQ6I

This is the wgetpaste of systemd-analyze blame

2

u/IAmNotMadboy 2d ago

Startup finished in 7.202s (firmware) + 4.930s (loader) + 32.247s (kernel) + 2min 3.563s (userspace) = 2min 47.971s

But on the stopwatch it was 6.38minutes due to the freezes on home screen too

3

u/HACKER_PLAYZ_yt 2d ago

How is the PC lagging with those specs, I own a shitbox of a laptop and have great boot times. I would suggest for you to check the graphic card drivers or other drivers. I might be wrong but missing drivers might be the issue

3

u/IAmNotMadboy 2d ago

I'll have a look, thanks

2

u/heavymetalmug666 2d ago

you will want to look into logs - where to find them, how to read them

I never remember how to do this, always have to google it - systemD handles logs one way, other setups will handle them another --- soon somebody else will be able to elucidate on this - but im pretty sure thats the first place you will want to look into.

1

u/Acu17y 2d ago

First time linux user and Arch in the same sentence... mmmm
What a horrible night to have a curse

2

u/IAmNotMadboy 2d ago

It's kinda fun to mess around with

1

u/ang-p 2d ago

2

u/IAmNotMadboy 2d ago

Thankyou, will return with full information.

1

u/ang-p 2d ago

full information.

That is a bit of an ask - but any accurate info from the system that covers the time of delays / inactions - even if you don't know what it means - is better than

on average

story time

1

u/IAmNotMadboy 2d ago

All I figured out is that it's throwing a lot of nvme errors

1

u/ang-p 1d ago

a lot of nvme errors

OK - do you remember the bit...

but any accurate info from the system that covers the time of delays / inactions - even if you don't know what it means - is better than

on average

story time

?

1

u/IAmNotMadboy 1d ago

I have NVMe I/O timeout errors in my journal logs, including multiple timeouts. However, I haven't established whether these directly correlate with the freezes. My nvme smart data showed 0 media errors and 0 critical warnings. What other logs would help identify the cause?

1

u/ang-p 1d ago

Disable Intel VMD in your BIOS

1

u/IAmNotMadboy 1d ago

Won't that cause my windows to be hella mad after disabling that?

1

u/ang-p 1d ago edited 1d ago

<shrug>

Maybe increase timeout then..
Maybe disable power management if timeouts are due to aggressive PM.

https://wiki.archlinux.org/title/Solid_state_drive/NVMe
https://wiki.archlinux.org/title/Power_management

1

u/IAmNotMadboy 1d ago

Alrighty, I'll try and let ya know, thankyou!

1

u/IAmNotMadboy 5h ago

Tried that too, nothing happened, now this issue is getting interesting

1

u/IAmNotMadboy 5h ago

Linux's NVMe driver checks for a missed completion after a timeout and finds the request has completed, and it happens every 30 seconds

1

u/Pinterest_animals 2d ago

My old i5-4320 hp laptop takee less than half of your time to boot check what you did wrong mate

1

u/IAmNotMadboy 2d ago

Idk man, did install accordingly to the tutorial, it's just throwing so many nvme errors