Non-functional system after disconnecting USB-C monitor
Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Non-functional system after disconnecting USB-C monitor
Hi,
I'm having trouble with my system after unplugging my USB-C monitor. I think it started after upgrading to Fedora 39 from 38. The graphical session is KDE wayland.
I'm not really sure how to describe, what's going on. Basically, many things are going wrong, for example:
- most of KDE taskbar features doesn't work, firefox does not start
- tty logins are slow: it takes ~10 seconds for shell prompt to show up after correct credentials
- sudo does not work at all: it hangs, and you can't ctrl-C or ctrl-Z it
- `systemctl reboot` fails with "call to reboot failed: ... restart/sleep already in progress"
- you can click shutdown in KDE, but it does not succeed. After some stop jobs it fails to unmount /home, and finally waits on "Powering off"
- after force shutdown via holding the power button, the system seems to work ok
Does it makes sense? Any idea what could be going on?
I can obviously provide logs, but just wasn't sure where to look, etc.
Sounds like the kinds of problems that could occur if it were interrupted while doing updates.
Open "Updates" and check if you are up to date.
If you are talking about Fedora package updates, I don't think those are related.
I have uninstalled/disabled Fedora auto-updater (don't even seem to have a GUI software app),
I refresh dnf cache and install upgrades manually via dnf cli.
As a side note, this is not a once-time thing -- it happened a few times already.
Looks like it's consistent, that is it happens every time I disconnect said USB-C monitor.
After checking journalctl, looks like there is a panic in some kernel module?
Additionally tried strace'ing some of the programs that hang in this weird state:
`ping localhost` hangs, but `ping `127.0.0.1` succeeds. The strace -f -T of `ping localhost` ends with
Does the same thing happen in an X11 session instead of Wayland? Does the same thing happen in an IceWM session instead of Plasma?
SDDM could be playing a part too. I've stopped using it in Fedora. I use either XDM, LightDM, KDM or TDM in Fedora 39 & prior for running Plasma.
Does your normal connectivity require wireless? If not, switch to another method, such as static IP, and/or use something other than NetworkMangler. My Fedoras all use systemd-network, same as all my other installed systemd distros.
It appears that problems with r8152 being non-functional after reconnection are known. Success after using ethtool to disable scatter-gather is reported toward the end of that.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.