Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Boot console freezes at fb0: switching to inteldrmfb from si
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
minkanjin
n00b
n00b


Joined: 29 Jan 2017
Posts: 24

PostPosted: Wed Sep 16, 2020 7:22 pm    Post subject: Boot console freezes at fb0: switching to inteldrmfb from si Reply with quote

My output freezes during boot when it reaches
[ 3.136848] fb0: switching to inteldrmfb from simple
I had this problem before but it was an AMD specific problem, this time it is on a Intel machine.

Here is the dmesg
https://pastebin.com/HPh1aVaR
You'll notice other problems in my dmesg, I'll create separate threads for those.
Back to top
View user's profile Send private message
minkanjin
n00b
n00b


Joined: 29 Jan 2017
Posts: 24

PostPosted: Thu Sep 24, 2020 3:59 pm    Post subject: Reply with quote

How do I go about figuring out the what the problem is?
Back to top
View user's profile Send private message
halcon
Apprentice
Apprentice


Joined: 15 Dec 2019
Posts: 289

PostPosted: Thu Sep 24, 2020 8:36 pm    Post subject: Reply with quote

Hi minkanjin,

Try to boot with kernel parameter nomodeset?
Back to top
View user's profile Send private message
minkanjin
n00b
n00b


Joined: 29 Jan 2017
Posts: 24

PostPosted: Sun Sep 27, 2020 11:41 am    Post subject: Reply with quote

Great! That got me to the terminal, but gdm doesn't start. I'm guessing this is a consequence of nomodeset. What do I do next?

Worth mentioning: my chromebook booted fine with the current kernel before. I also tried to boot an older kernel but it also has the problem. So I'm inclined to think the problem is outside the kernel.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 46352
Location: 56N 3W

PostPosted: Sun Sep 27, 2020 12:44 pm    Post subject: Reply with quote

minkanjin,

Code:
[    0.055103] random: crng done (trusting CPU's manufacturer)

Why would you trust the company that bought you Spectre, Meltdown, Speculative Store Bypass and other CPU bugs?
That's an aside.

I can't extract your CPU model from dmesg but It will be an Intel System on a Chip (SoC).
If your kernel is missing GPIO support fop your particular SoC, lots of things won't work properly, if at all.
Just an educated guess as dmesg looks OK.

Put your kernel .config onto a pastebin site and post the output of
Code:
lspci -nnk

wgetpaste is your friend.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
minkanjin
n00b
n00b


Joined: 29 Jan 2017
Posts: 24

PostPosted: Wed Sep 30, 2020 4:45 am    Post subject: Reply with quote

Kernel .config:
https://pastebin.com/3CBpSaaK

lspci -nnk:
Code:
00:00.0 Host bridge [0600]: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Host Bridge/DRAM Registers [8086:190c] (rev 08)
   Subsystem: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Host Bridge/DRAM Registers [8086:2015]
   Kernel driver in use: skl_uncore
lspci: Unable to load libkmod resources: error -12
00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics 515 [8086:191e] (rev 07)
   DeviceName: VGA compatible controller
   Subsystem: Intel Corporation HD Graphics 515 [8086:2015]
00:04.0 Signal processing controller [1180]: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem [8086:1903] (rev 08)
   Subsystem: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem [8086:2015]
   Kernel driver in use: proc_thermal
00:05.0 Multimedia controller [0480]: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Imaging Unit [8086:1919] (rev 01)
   Subsystem: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Imaging Unit [8086:2015]
00:08.0 System peripheral [0880]: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model [8086:1911]
   Subsystem: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model [8086:2015]
00:14.0 USB controller [0c03]: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller [8086:9d2f] (rev 21)
   Subsystem: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller [8086:9d2f]
   Kernel driver in use: xhci_hcd
00:14.2 Signal processing controller [1180]: Intel Corporation Sunrise Point-LP Thermal subsystem [8086:9d31] (rev 21)
   Subsystem: Intel Corporation Sunrise Point-LP Thermal subsystem [8086:9d31]
   Kernel driver in use: intel_pch_thermal
00:15.0 Signal processing controller [1180]: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #0 [8086:9d60] (rev 21)
   Subsystem: Intel Corporation 100 Series PCH/Sunrise Point PCH I2C0 [Skylake/Kaby Lake LPSS I2C] [8086:9d60]
   Kernel driver in use: intel-lpss
00:15.1 Signal processing controller [1180]: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #1 [8086:9d61] (rev 21)
   Subsystem: Intel Corporation Sunrise Point-LP Serial IO I2C Controller [8086:9d61]
   Kernel driver in use: intel-lpss
00:19.0 Signal processing controller [1180]: Intel Corporation Sunrise Point-LP Serial IO UART Controller #2 [8086:9d66] (rev 21)
   Subsystem: Intel Corporation Sunrise Point-LP Serial IO UART Controller [8086:9d66]
   Kernel driver in use: intel-lpss
00:19.2 Signal processing controller [1180]: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #4 [8086:9d64] (rev 21)
   Subsystem: Intel Corporation Sunrise Point-LP Serial IO I2C Controller [8086:9d64]
   Kernel driver in use: intel-lpss
00:1c.0 PCI bridge [0604]: Intel Corporation Sunrise Point-LP PCI Express Root Port #1 [8086:9d10] (rev f1)
   Kernel driver in use: pcieport
00:1e.0 Signal processing controller [1180]: Intel Corporation Sunrise Point-LP Serial IO UART Controller #0 [8086:9d27] (rev 21)
   Subsystem: Intel Corporation Sunrise Point-LP Serial IO UART Controller [8086:9d27]
   Kernel driver in use: intel-lpss
00:1e.4 SD Host controller [0805]: Intel Corporation Device [8086:9d2b] (rev 21)
   Subsystem: Intel Corporation Device [8086:9d2b]
   Kernel driver in use: sdhci-pci
00:1e.6 SD Host controller [0805]: Intel Corporation Sunrise Point-LP Secure Digital IO Controller [8086:9d2d] (rev 21)
   Subsystem: Intel Corporation Sunrise Point-LP Secure Digital IO Controller [8086:9d2d]
   Kernel driver in use: sdhci-pci
00:1f.0 ISA bridge [0601]: Intel Corporation Device [8086:9d46] (rev 21)
   Subsystem: Intel Corporation Device [8086:9d46]
00:1f.2 Memory controller [0580]: Intel Corporation Sunrise Point-LP PMC [8086:9d21] (rev 21)
   Subsystem: Intel Corporation Sunrise Point-LP PMC [8086:9d21]
00:1f.3 Multimedia audio controller [0401]: Intel Corporation Sunrise Point-LP HD Audio [8086:9d70] (rev 21)
   DeviceName: Multimedia audio controller
   Kernel driver in use: snd_soc_skl
00:1f.4 SMBus [0c05]: Intel Corporation Sunrise Point-LP SMBus [8086:9d23] (rev 21)
   Subsystem: Intel Corporation Sunrise Point-LP SMBus [8086:9d23]
   Kernel driver in use: i801_smbus
00:1f.5 Non-VGA unclassified device [0000]: Intel Corporation Device [8086:9d24] (rev 21)
01:00.0 Network controller [0280]: Intel Corporation Wireless 7265 [8086:095a] (rev 59)
   Subsystem: Intel Corporation Dual Band Wireless-AC 7265 [8086:5010]
   Kernel driver in use: iwlwifi


Swapped quote tags to code tags for easy reading -- NeddySeagoon
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 46352
Location: 56N 3W

PostPosted: Wed Sep 30, 2020 10:57 am    Post subject: Reply with quote

minkanjin,

Your kernel looks mostly harmless.

Its clear that you did not run lspic from the kernel that you posted as
Code:
00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics 515 [8086:191e] (rev 07)
   DeviceName: VGA compatible controller
   Subsystem: Intel Corporation HD Graphics 515 [8086:2015]
...
00:05.0 Multimedia controller [0480]: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Imaging Unit [8086:1919] (rev 01)
   Subsystem: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Imaging Unit [8086:2015]

both have no drivers loaded but they are built as modules in four kernel.

Code:
CONFIG_MODULE_FORCE_LOAD=y
CONFIG_MODULE_FORCE_UNLOAD=y
will break things if they are ever used.

A couple of things to try.

If you have made your kernel several times, redo it starting from
Code:
make clean

This deals with clocks stepping backwards, kernel magic changes and so on, so all the bits of the kernel match.
Redo the initrd if you have one too as it will contain kernel modules and the kernel and modules must match.

For a bit more science, boot with nomodeset, so you get a console.
Set up sshd, so it starts on boot and test it.

Now reboot without nomodeset. The console will freeze but I suspect that the boot will continue.
ssh from another system and post dmesg. That will probably tell what broke.
If ssh gives no route to ... then the bood failed. That's useful information too.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
x90e
n00b
n00b


Joined: 30 Sep 2020
Posts: 39

PostPosted: Wed Sep 30, 2020 8:02 pm    Post subject: Reply with quote

You might also set

Code:
rc_logger="YES"


in /etc/rc.conf which will log the boot process output to /var/log/rc.log (or you can change the location). Just in case you're not catching something.
Back to top
View user's profile Send private message
minkanjin
n00b
n00b


Joined: 29 Jan 2017
Posts: 24

PostPosted: Thu Oct 01, 2020 4:12 pm    Post subject: Reply with quote

I've recompiled the kernel and no change.
The lspci is from the same kernel, but with the nomodeset option set.

Interesting thing: ssh used to work, that's how I set nomodeset and how I got dmesg the first time. But now my wifi isn't even connecting, my wifi AP doesn't even detect my laptop. This seems to be the case even with older kernels. But when nomodeset is on, the wifi is fine.

I'm using systemd, so rc_logger won't work for me.
Back to top
View user's profile Send private message
Etal
Veteran
Veteran


Joined: 15 Jul 2005
Posts: 1796

PostPosted: Thu Oct 01, 2020 4:21 pm    Post subject: Reply with quote

With systemd, you can get logs with "journalctl -b"
Back to top
View user's profile Send private message
minkanjin
n00b
n00b


Joined: 29 Jan 2017
Posts: 24

PostPosted: Sun Oct 04, 2020 5:03 pm    Post subject: Reply with quote

Here is my journalctl output, it contains one reboot, one boot without nomodeset, and one boot with nomodeset

https://pastebin.com/ugJqVUeD
Back to top
View user's profile Send private message
minkanjin
n00b
n00b


Joined: 29 Jan 2017
Posts: 24

PostPosted: Tue Oct 06, 2020 4:51 pm    Post subject: Reply with quote

Is there a way that I can check if the boot process continues after the console freezes?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 46352
Location: 56N 3W

PostPosted: Tue Oct 06, 2020 4:57 pm    Post subject: Reply with quote

minkanjin,

Set up ssh and check that it works.
Boot and attempt to connect via ssh.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
minkanjin
n00b
n00b


Joined: 29 Jan 2017
Posts: 24

PostPosted: Tue Oct 06, 2020 6:09 pm    Post subject: Reply with quote

I did. It didn't work. The wifi connection doesn't start up, on my wifi AP I'm not detecting the laptop.
Back to top
View user's profile Send private message
minkanjin
n00b
n00b


Joined: 29 Jan 2017
Posts: 24

PostPosted: Mon Oct 12, 2020 5:54 pm    Post subject: Reply with quote

You said if ssh doesn't work, that tells us something. What does it tell us if ssh/wifi doesn't work?
Back to top
View user's profile Send private message
halcon
Apprentice
Apprentice


Joined: 15 Dec 2019
Posts: 289

PostPosted: Mon Oct 12, 2020 8:14 pm    Post subject: Reply with quote

minkanjin wrote:
You said if ssh doesn't work, that tells us something. What does it tell us if ssh/wifi doesn't work?

You say, ssh does not work? But there are records in your log:
Code:
Oct 04 18:58:47 c302c sshd[342]: Accepted publickey for minkanjin from 192.168.8.109...
Oct 04 18:58:48 c302c sshd[342]: pam_unix(sshd:session): session opened for user minkanjin(uid=1000) by (uid=0)
Oct 04 18:58:51 c302c su[358]: Successful su for root by minkanjin

I see also this:
Code:
Oct 04 18:58:51 c302c su[358]: pam_unix(su:auth): user [root] has blank password; authenticated without it

8O WHY?
Back to top
View user's profile Send private message
minkanjin
n00b
n00b


Joined: 29 Jan 2017
Posts: 24

PostPosted: Tue Oct 13, 2020 8:13 am    Post subject: Reply with quote

Ok it seems that it does start ssh, but the wifi doesn't connect so I can't use ssh. Any idea how to get my wifi working?
Back to top
View user's profile Send private message
minkanjin
n00b
n00b


Joined: 29 Jan 2017
Posts: 24

PostPosted: Fri Oct 16, 2020 5:17 am    Post subject: Reply with quote

Why would my wifi stop working when nomodeset is off, but work when nomodeset is on?
Back to top
View user's profile Send private message
minkanjin
n00b
n00b


Joined: 29 Jan 2017
Posts: 24

PostPosted: Tue Oct 27, 2020 6:29 am    Post subject: Reply with quote

So I got my hands on a USB ethernet adapter. It has the same problem, when I boot with nomodeset it works fine, when I boot without nomodeset it doesn't work. Why would this be? Why would nomodeset affect my network?
Is there a way that I can run a recording program after the screen freezes? So some sort of systemd boot script that can run things like dmesg and dump the data to the disk, so I can retrieve it when I boot with nomodeset.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum