You are not logged in.

#1 2020-04-09 06:37:05

nathan4
Member
Registered: 2020-04-09
Posts: 9

Boot process freezes unexpectedly

Recently, my computer has shown a black screen after a boot is attempted. I was able to solve this by adding "nomodeset" to the end of the linux kernel line. However, whenever I try to boot now, GRUB freezes after the line "/dev/sdxx: clean xxx/xxx files, xxx/xxx blocks"

I have also tried adding 'random.trust_cpu=on' to the kernel line as described in this post [https://bbs.archlinux.org/viewtopic.php?id=250542], but to no avail.

Offline

#2 2020-04-09 06:54:53

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,861

Re: Boot process freezes unexpectedly

nomodeset will fail on the graphical.target, can you boot the multi-user.target?
https://wiki.archlinux.org/index.php/Sy … _boot_into

Can you boot it w/o nomodeset?

Online

#3 2020-04-09 07:19:22

nathan4
Member
Registered: 2020-04-09
Posts: 9

Re: Boot process freezes unexpectedly

This seems to have worked, but when I get past that point my display manager (LXDM) doesn't load, even though I have it enabled through systemctl.

Offline

#4 2020-04-09 07:20:59

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,861

Re: Boot process freezes unexpectedly

That's pretty much the point of booting the multi-user.target.

This seems to have worked

w/o or only w/ the nomodeset parameter?

Online

#5 2020-04-09 07:30:52

nathan4
Member
Registered: 2020-04-09
Posts: 9

Re: Boot process freezes unexpectedly

Only if I use nomodeset.

Offline

#6 2020-04-09 07:57:24

nathan4
Member
Registered: 2020-04-09
Posts: 9

Re: Boot process freezes unexpectedly

This is sort of the problem: if I use multi-user.target, I can't boot to a desktop. If I don't, I'm back to where I was before.

Offline

#7 2020-04-09 11:36:50

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,861

Re: Boot process freezes unexpectedly

The purpose of the multi-user.target boot is to provide you with a shell to start an investigation.

Boot w/o nomodeset, reboot using ctrl+alt+del (should work for at least the multi-user.target) this time using "nomodeset".
Then upload the "sudo journalctl -b -1 | | curl -F 'f:1=<-' ix.io" of the previous (failed) boot and post the link so we can check what's wrong.

Online

#8 2020-04-09 15:41:50

nathan4
Member
Registered: 2020-04-09
Posts: 9

Re: Boot process freezes unexpectedly

Offline

#9 2020-04-09 16:29:15

loqs
Member
Registered: 2014-03-06
Posts: 19,078

Re: Boot process freezes unexpectedly

The link is to a journal from a boot with nomodeset.

Apr 09 08:32:02 janus kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=87cb5146-c096-4072-aa32-9afe35801f73 rw loglevel=3 quiet nomodeset

Chance the value passed to the -b option of journalctl to find a boot without nomodeset but with the issue then post that journal to the pastbin e.g.

sudo journalctl -b -2 #check if this boot has nomodeset if it does
sudo journalctl -b -3 #check again until you find one without
sudo journalctl -b -7 #one without
sudo journalctl -b -7 | | curl -F 'f:1=<-' ix.io

Last edited by loqs (2020-04-09 16:47:27)

Offline

#10 2020-04-09 16:56:05

nathan4
Member
Registered: 2020-04-09
Posts: 9

Re: Boot process freezes unexpectedly

Offline

#11 2020-04-09 17:04:49

loqs
Member
Registered: 2014-03-06
Posts: 19,078

Re: Boot process freezes unexpectedly

Apr 09 08:30:05 janus kernel: amdgpu 0000:01:00.0: vgaarb: deactivate vga console
Apr 09 08:30:05 janus kernel: [drm] initializing kernel modesetting (POLARIS10 0x1002:0x67DF 0x1462:0x3413 0xC7).
Apr 09 08:30:05 janus kernel: [drm] register mmio base: 0xDFE00000
Apr 09 08:30:05 janus kernel: [drm] register mmio size: 262144
Apr 09 08:30:05 janus kernel: [drm] add ip block number 0 <vi_common>
Apr 09 08:30:05 janus kernel: [drm] add ip block number 1 <gmc_v8_0>
Apr 09 08:30:05 janus kernel: [drm] add ip block number 2 <tonga_ih>
Apr 09 08:30:05 janus kernel: [drm] add ip block number 3 <gfx_v8_0>
Apr 09 08:30:05 janus kernel: [drm] add ip block number 4 <sdma_v3_0>
Apr 09 08:30:05 janus kernel: [drm] add ip block number 5 <powerplay>
Apr 09 08:30:05 janus kernel: [drm] add ip block number 6 <dm>
Apr 09 08:30:05 janus kernel: [drm] add ip block number 7 <uvd_v6_0>
Apr 09 08:30:05 janus kernel: [drm] add ip block number 8 <vce_v3_0>
Apr 09 08:30:05 janus kernel: amdgpu 0000:01:00.0: No more image in the PCI ROM
Apr 09 08:30:05 janus kernel: ATOM BIOS: 113-V34111-F1
Apr 09 08:30:05 janus kernel: [drm] UVD is enabled in VM mode
Apr 09 08:30:05 janus kernel: [drm] UVD ENC is enabled in VM mode
Apr 09 08:30:05 janus kernel: [drm] VCE enabled in VM mode
Apr 09 08:30:05 janus kernel: [drm] vm size is 64 GB, 2 levels, block size is 10-bit, fragment size is 9-bit
Apr 09 08:30:05 janus kernel: amdgpu 0000:01:00.0: VRAM: 4096M 0x000000F400000000 - 0x000000F4FFFFFFFF (4096M used)
Apr 09 08:30:05 janus kernel: amdgpu 0000:01:00.0: GART: 256M 0x000000FF00000000 - 0x000000FF0FFFFFFF
Apr 09 08:30:05 janus kernel: [drm] Detected VRAM RAM=4096M, BAR=256M
Apr 09 08:30:05 janus kernel: [drm] RAM width 256bits GDDR5
Apr 09 08:30:05 janus kernel: [TTM] Zone  kernel: Available graphics memory: 4052322 KiB
Apr 09 08:30:05 janus kernel: [TTM] Zone   dma32: Available graphics memory: 2097152 KiB
Apr 09 08:30:05 janus kernel: [TTM] Initializing pool allocator
Apr 09 08:30:05 janus kernel: [TTM] Initializing DMA pool allocator
Apr 09 08:30:05 janus kernel: [drm] amdgpu: 4096M of VRAM memory ready
Apr 09 08:30:05 janus kernel: [drm] amdgpu: 4096M of GTT memory ready.
Apr 09 08:30:05 janus kernel: [drm] GART: num cpu pages 65536, num gpu pages 65536
Apr 09 08:30:05 janus kernel: [drm] PCIE GART of 256M enabled (table at 0x000000F4008CA000).
Apr 09 08:30:05 janus kernel: [drm] Chained IB support enabled!
Apr 09 08:30:05 janus kernel: BUG: kernel NULL pointer dereference, address: 0000000000000026

Please booting with the parameter amdgpu.dc=0

Offline

#12 2020-04-09 18:47:09

nathan4
Member
Registered: 2020-04-09
Posts: 9

Re: Boot process freezes unexpectedly

I tried that, and it initially started, but then it got stuck trying to load my display manager. The second time I tried it, it just got stuck on the /dev/sdxx loading screen again.

http://ix.io/2hmK
http://ix.io/2hmL

Offline

#13 2020-04-09 19:33:30

loqs
Member
Registered: 2014-03-06
Posts: 19,078

Re: Boot process freezes unexpectedly

Can you test the GPU under another OS to rule out a hardware issue?

Offline

#14 2020-04-09 19:35:14

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,861

Re: Boot process freezes unexpectedly

Also try to add "amdgpu.dpm=0 amdgpu.aspm=0 amdgpu.runpm=0 amdgpu.bapm=0"

Online

#15 2020-04-09 20:07:28

nathan4
Member
Registered: 2020-04-09
Posts: 9

Re: Boot process freezes unexpectedly

>Also try to add "amdgpu.dpm=0 amdgpu.aspm=0 amdgpu.runpm=0 amdgpu.bapm=0"

I tried, and it still didn't work. The GPU also works fine on Windows.

Offline

#16 2020-04-09 20:08:54

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,861

Re: Boot process freezes unexpectedly

Does the lts kernel work?

Online

#17 2020-04-09 22:34:49

nathan4
Member
Registered: 2020-04-09
Posts: 9

Re: Boot process freezes unexpectedly

It doesn't, regardless of whether modesetting is enabled.

Offline

#18 2020-04-10 06:13:22

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,861

Re: Boot process freezes unexpectedly

Wait, the main kernel does boot w/ nomodeset, but the LTS kernel doesn't???
(Again, as soon as you pass nomodeset, you will NOT be able to boot the graphical.target, only the multi-user.target)

Online

Board footer

Powered by FluxBB