You are not logged in.

#1 2024-05-23 18:03:54

2art
Member
From: Finland
Registered: 2024-05-23
Posts: 1
Website

Very long boot times

Hello, today I ran into an issue after installing the `linux-zen` kernel. When I booted into it, I found myself stuck at "Reached target Graphical Interface", and the system would be stuck on that line for about 30 seconds before continuing to boot normally.

I figured the problem was with the kernel, so I just un-installed it and rebooted. After booting back to the normal kernel, I was now stuck in "Started Accounts Service", which was just 3 lines below the previously problematic "Graphical Interface" line. Same thing, need to wait 30 seconds or so before it continues booting.

I'm really clueless as to what caused this. Any ideas?

journalctl -b:

https://pastebin.com/Ryf2bThP

systemd-analyze

Startup finished in 993ms (kernel) + 1.166s (initrd) + 7.113s (userspace) = 9.273s
graphical.target reached after 7.072s in userspace.

systemd-analyze critical-chain

The time when unit became active or started is printed after the "@" character.
The time the unit took to start is printed after the "+" character.

graphical.target @7.072s
└─multi-user.target @7.052s
  └─systemd-user-sessions.service @7.042s +9ms
    └─nss-user-lookup.target @7.073s

Not really sure what other logs or info I should include here.. Thanks for any help.

Offline

#2 2024-05-23 18:21:40

loqs
Member
Registered: 2014-03-06
Posts: 18,859

Re: Very long boot times

Note sure if it is related to this issue but the system is encountering a kernel bug at the start of the boot process:

May 23 20:11:53 ddmeos240422 kernel: BUG: Bad page state in process swapper  pfn:2a5557
May 23 20:11:53 ddmeos240422 kernel: page: refcount:0 mapcount:0 mapping:(____ptrval____) index:0x0 pfn:0x2a5557
May 23 20:11:53 ddmeos240422 kernel: invalid mapping:2000000000000000
May 23 20:11:53 ddmeos240422 kernel: flags: 0x2ffff8000000000(node=0|zone=2|lastcpupid=0x1ffff)
May 23 20:11:53 ddmeos240422 kernel: page_type: 0xffffffff()
May 23 20:11:53 ddmeos240422 kernel: raw: 02ffff8000000000 ffffcc2a4a9555c8 ffffcc2a4a9555c8 2000000000000000
May 23 20:11:53 ddmeos240422 kernel: raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000
May 23 20:11:53 ddmeos240422 kernel: page dumped because: non-NULL mapping
May 23 20:11:53 ddmeos240422 kernel: Modules linked in:
May 23 20:11:53 ddmeos240422 kernel: CPU: 0 PID: 0 Comm: swapper Not tainted 6.9.1-arch1-2 #1 06928436e5a6b4805e171d14d8efa397d7db9ad0
May 23 20:11:53 ddmeos240422 kernel: Hardware name: Gigabyte Technology Co., Ltd. Z97X-Gaming 3/Z97X-Gaming 3, BIOS F3 04/25/2014
May 23 20:11:53 ddmeos240422 kernel: Call Trace:
May 23 20:11:53 ddmeos240422 kernel:  <TASK>
May 23 20:11:53 ddmeos240422 kernel:  dump_stack_lvl+0x5d/0x80
May 23 20:11:53 ddmeos240422 kernel:  bad_page.cold+0x62/0xa0
May 23 20:11:53 ddmeos240422 kernel:  __free_pages_ok+0x33e/0x3b0
May 23 20:11:53 ddmeos240422 kernel:  memblock_free_all+0x1aa/0x220
May 23 20:11:53 ddmeos240422 kernel:  mem_init+0x1e/0x1e0
May 23 20:11:53 ddmeos240422 kernel:  mm_core_init+0xfd/0x350
May 23 20:11:53 ddmeos240422 kernel:  start_kernel+0x6e9/0x960
May 23 20:11:53 ddmeos240422 kernel:  x86_64_start_reservations+0x24/0x30
May 23 20:11:53 ddmeos240422 kernel:  x86_64_start_kernel+0x95/0xa0
May 23 20:11:53 ddmeos240422 kernel:  common_startup_64+0x13e/0x141
May 23 20:11:53 ddmeos240422 kernel:  </TASK>

USB storage issue?

May 23 20:12:55 ddmeos240422 systemd-udevd[359]: 0000:01:00.0: Worker [363] processing SEQNUM=3147 is taking a long time
May 23 20:13:01 ddmeos240422 kernel: usb 4-3: reset SuperSpeed USB device number 2 using xhci_hcd
May 23 20:13:02 ddmeos240422 kernel:  sdc: sdc1 sdc2
May 23 20:13:02 ddmeos240422 kernel: sd 6:0:0:0: [sdc] Attached SCSI disk
May 23 20:13:02 ddmeos240422 systemd[1]: lightdm.service: Main process exited, code=exited, status=1/FAILURE
May 23 20:13:02 ddmeos240422 systemd[1]: lightdm.service: Failed with result 'exit-code'.
May 23 20:13:02 ddmeos240422 systemd[1]: lightdm.service: Scheduled restart job, restart counter is at 1.
May 23 20:13:02 ddmeos240422 systemd[1]: Starting Light Display Manager...
May 23 20:13:02 ddmeos240422 systemd[1]: Started Light Display Manager.

Offline

#3 2024-05-23 20:56:10

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,307

Re: Very long boot times

May 23 20:11:58 ddmeos240422 kernel: [drm] Initialized radeon 2.50.0 20080528 for 0000:01:00.0 on minor 0
May 23 20:11:58 ddmeos240422 kernel: radeon 0000:01:00.0: [drm] fb0: radeondrmfb frame buffer device
May 23 20:12:55 ddmeos240422 systemd-udevd[359]: 0000:01:00.0: Worker [363] processing SEQNUM=3147 is taking a long time

Did you add any udev rules concerning your GPU?
Do you get the same problems w/ using amdgpu?
https://wiki.archlinux.org/title/AMDGPU … K)_support (being a complete geography buff, I happen to know that curacao and trinidad are southern islands. It's totally not something I'd have to google every time …)

Offline

Board footer

Powered by FluxBB