#Changing TTYs leads to a kernel panic on those TTYs only

42 messages · Page 1 of 1 (latest)

delicate geode
#

Hello. A month or so ago, i noticed that suddenly, Ctrl+Alt+F1 isn't my main tty, and that now the tty2 is the main one. I almost don't have any problems with it.

The main thing i have noticed is, whenever I change the tty with CTRL+ALT+F1 or any F key at all, i get the blinking underscore which should indicate a kernel panic. However, I can just go back to the default tty (tty2) and continue like this never happened.

Also, things like emacsclient -c test.txt don't work and produce an output like ERROR: Display :0 can't be opened.

stiff parcel
stiff parcel
delicate geode
#

Okay. Here is the output:

[Unit]
Description=Simple Desktop Display Manager
Documentation=man:sddm(1) man:sddm.conf(5)
Conflicts=getty@tty1.service
After=systemd-user-sessions.service getty@tty1.service plymouth-quit.service systemd-logind.service
PartOf=graphical.target
StartLimitIntervalSec=30
StartLimitBurst=2

[Service]
ExecStart=/usr/bin/sddm
Restart=always

[Install]
Alias=display-manager.service

I am using dwm.

#

I also have Plasma installed

stiff parcel
#

Also, please gzip the log before uploading as Discord's download bandwidth is suboptimal.

delicate geode
#

I can trigger it now and then upload the log

#

Be right back

#

I can't get journal to output for last 2 minutes

#

I ran it as journalctl -S -2m, also tried journalctl -S 2m and it doesn't work, even though man systemd.time says that it understands minutes, minute, min, m for minute parsing

stiff parcel
delicate geode
#

I see one error related to sddm: Jul 14 00:33:38 arch sddm[469]: Authentication error: SDDM::Auth::ERROR_INTERNAL "Process crashed"

#

Its from July 14

#

But i will check journal now to see if same error happens everytime

stiff parcel
delicate geode
#

I just triggered the tty switching again and looked into the journal ran by sudo

#
Jul 29 17:15:19 arch wireplumber[726]: GetManagedObjects() failed: org.freedesktop.DBus.Error.NameHasNoOwner
Jul 29 17:15:24 arch sudo[66729]: pam_unix(sudo:session): session closed for user root
Jul 29 17:15:25 arch dbus-daemon[433]: [system] Activating via systemd: service name='org.freedesktop.home1' unit='dbus-org.freedesktop.home1>
Jul 29 17:15:25 arch dbus-daemon[433]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.home1.service': Unit dbus-org.fr>
Jul 29 17:15:25 arch sudo[66836]:   nikola : TTY=pts/2 ; PWD=/home/nikola ; USER=root ; COMMAND=/usr/bin/journalctl -S -1h
Jul 29 17:15:25 arch sudo[66836]: pam_unix(sudo:session): session opened for user root(uid=0) by nikola(uid=1000)
#

I think these are the relevant messages

stiff parcel
delicate geode
#

It did use TTY1 before all these things started happening

#

Since the weird things started happening, my main TTY is TTY2

#

Though SDDM works perfectly on it

#

However, i see nothing except /dev/sdb2 clean ... something and a blinking underscore when i try to change to any other tty

delicate geode
#

I changed the tty at 17:15 and those messages were the only ones in the journal that started at that time

#

Also there were no messages after those

stiff parcel
delicate geode
#

I mean none of the ttys except the tty2 can be used now

#

Also, so far i have only had another weird problem with emacsclient that says that it can't find a display

#

And before all this that worked okay

stiff parcel
delicate geode
#

Waiting for data... (^X or interrupt to abort)

#

OIh

#

Running it with sudo produces results. Should have known

stiff parcel
stiff parcel
# delicate geode

Try to see if it is a driver issue, especially if you are using a proprietary Nvidia driver.

Hope others can help. I'm offline.

delicate geode
#

I am using a proprietary Nvidia driver

delicate geode
# stiff parcel ```bash lspci -nnk | grep '\[03' -A4 ```
03:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP104 [GeForce GTX 1080] [10de:1b80] (rev a1)
    Subsystem: Micro-Star International Co., Ltd. [MSI] GP104 [GeForce GTX 1080] [1462:3363]
    Kernel driver in use: nvidia
    Kernel modules: nouveau, nvidia_drm, nvidia
03:00.1 Audio device [0403]: NVIDIA Corporation GP104 High Definition Audio Controller [10de:10f0] (rev a1)
stiff parcel