Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Issues with shutdown and fans/ventilators since installing of new program

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
BamHI
Posts: 6
Joined: 2018-10-11 14:03

Issues with shutdown and fans/ventilators since installing of new program

#1 Post by BamHI »

Dear Debian User Forum Community,

I have an HP EliteBook 840 G5 (region: Europe/Austria, language: German) and I installed Debain on it in 2018. Since then everything is fine.
Now today I decided to install emacs-27.2 by installing it from a .tar.gz and used the /.configure, make, sudo make install routine. That was a mistake. Since I installed that, following things are broken:

When the device tries to shutdown it writes:

Started Hostname Service.
Starting WPA supplicant...
Started WPA supplicant.
Created Slice User Slice of lightda.
Starting user manager for UID 115...
Started Session c1 of user lights.
Started user manager for UID 115.
Mounting FUSE Control File Systems...
Mounted FUSE Control System.
Started 110 Sensor Proxy Services.
reboot: Power down
ShutDownErrors.jpg
ShutDownErrors.jpg (32.46 KiB) Viewed 2539 times
Besides the very last line it never wrote that.

Since shutdown is so different, the device does not turn on or off the fans/ventilators automatically by itself and in some start ups it freezes, in some start ups it works.

I would like to know what did I break, how can I check what is actually broken and how to fix this?

The file system of my hard drive is ext4.
As a Desktop Manager I use Cinnamon.

I already ran "sudo make uninstall". The command worked, the problems are still there.
I really hope that one of you can help me.

Best regards,
BamHI

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Issues with shutdown and fans/ventilators since installing of new program

#2 Post by stevepusser »

Restore from your last known good backup?

I have doubts that just compiling and installing emacs from source actually caused all these issues, but did you know that 27.1 is already in buster-backports? https://packages.debian.org/buster-backports/emacs
MX Linux packager and developer

trinidad
Posts: 290
Joined: 2016-08-04 14:58
Been thanked: 14 times

Re: Issues with shutdown and fans/ventilators since installing of new program

#3 Post by trinidad »

Cinnamon desktop does not fully support emacs in Stretch if that's what you're running. Just a guess.

TC
You can't believe your eyes if your imagination is out of focus.

paxmark1
Posts: 54
Joined: 2008-10-23 05:19
Has thanked: 1 time

Re: Issues with shutdown and fans/ventilators since installing of new program

#4 Post by paxmark1 »

It never hurts to look at systemd logs. (sudo) journalctl -b -1 You can always use grep to limit search add something like | grep ailed (which would show failed and Failed)

This article has been updated over the years.
https://www.digitalocean.com/community/ ... stemd-logs

BamHI
Posts: 6
Joined: 2018-10-11 14:03

Re: Issues with shutdown and fans/ventilators since installing of new program

#5 Post by BamHI »

Thank you all for your supportive answers! Till now I still was not able to solve the problem.

First I want to address stevepussers response. Thank you for directing me to a package solution of the current emacs version! Though even if I try to install emacs-nox, it still installs version 24 and not 27.
Also yes, I may have run "apt update" and "apt upgrade" before trying to install emacs. Maybe the updates changed something vital before that.

Thanks to trinidad by pointing the incompatibilities out! That may explain things.

Thank you, paxmark1, to pointing me to the systemd logs. I guess they are revealing (?):

Code: Select all

uname@debian:~$ sudo journalctl -b | grep ailed
Jul 28 11:32:01 debian kernel: ACPI Error: Method parse/execution failed [\_SB._OSC] (Node ffff9397e6defe38), AE_AML_BUFFER_LIMIT (20160831/psparse-543)
Jul 28 11:32:01 debian kernel: i915 0000:00:02.0: firmware: failed to load i915/kbl_dmc_ver1_01.bin (-2)
Jul 28 11:32:01 debian kernel: i915 0000:00:02.0: Direct firmware load for i915/kbl_dmc_ver1_01.bin failed with error -2
Jul 28 11:32:01 debian kernel: i915 0000:00:02.0: Failed to load DMC firmware [https://01.org/linuxgraphics/intel-linux-graphics-firmwares], disabling runtime power management.
Jul 28 11:32:01 debian avahi-daemon[402]: chroot.c: open() failed: No such file or directory
Jul 28 11:32:01 debian avahi-daemon[389]: Failed to open /etc/resolv.conf: Invalid argument
Jul 28 11:32:02 debian systemd-udevd[321]: Process '/sbin/crda' failed with exit code 255.
Jul 28 11:32:02 debian kernel: iwlwifi 0000:01:00.0: firmware: failed to load iwlwifi-8265-26.ucode (-2)
Jul 28 11:32:02 debian kernel: iwlwifi 0000:01:00.0: Direct firmware load for iwlwifi-8265-26.ucode failed with error -2
Jul 28 11:32:02 debian kernel: iwlwifi 0000:01:00.0: firmware: failed to load iwlwifi-8265-25.ucode (-2)
Jul 28 11:32:02 debian kernel: iwlwifi 0000:01:00.0: Direct firmware load for iwlwifi-8265-25.ucode failed with error -2
Jul 28 11:32:02 debian kernel: iwlwifi 0000:01:00.0: firmware: failed to load iwlwifi-8265-24.ucode (-2)
Jul 28 11:32:02 debian kernel: iwlwifi 0000:01:00.0: Direct firmware load for iwlwifi-8265-24.ucode failed with error -2
Jul 28 11:32:02 debian kernel: iwlwifi 0000:01:00.0: firmware: failed to load iwlwifi-8265-23.ucode (-2)
Jul 28 11:32:02 debian kernel: iwlwifi 0000:01:00.0: Direct firmware load for iwlwifi-8265-23.ucode failed with error -2
Jul 28 11:32:02 debian kernel: thermal thermal_zone14: failed to read out thermal zone (-5)
Jul 28 11:32:03 debian kernel: uvcvideo: Failed to initialize entity for entity 6
Jul 28 11:32:03 debian kernel: uvcvideo: Failed to register entites (-22).
Jul 28 11:32:03 debian kernel: ucsi_acpi: probe of USBC000:00 failed with error -110
Jul 28 11:32:02 debian systemd[1]: Failed to start VirtualBox Linux kernel module.
Jul 28 11:32:02 debian systemd[1]: vboxdrv.service: Unit entered failed state.
Jul 28 11:32:02 debian systemd[1]: vboxdrv.service: Failed with result 'exit-code'.
Jul 28 11:32:03 debian colord[648]: failed to get session [pid 409]: Kein passendes Gerät bzw. keine passende Adresse gefunden
Jul 28 11:32:03 debian colord[648]: failed to get session [pid 409]: Kein passendes Gerät bzw. keine passende Adresse gefunden
Jul 28 11:32:03 debian bluetoothd[658]: Failed to obtain handles for "Service Changed" characteristic
Jul 28 11:32:03 debian bluetoothd[658]: Sap driver initialization failed.
Jul 28 11:32:03 debian bluetoothd[658]: Failed to set mode: Blocked through rfkill (0x12)
Jul 28 11:32:17 debian blueman-mechani[1156]: gtk_icon_theme_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed
Jul 28 14:36:05 debian dhclient[790]: receive_packet failed on wlp1s0: Network is down
Jul 28 14:40:30 debian gnome-terminal-[6324]: gdk_window_get_window_type: assertion 'GDK_IS_WINDOW (window)' failed
Now, can that help to know what I did break and how to fix it?

jakoline1
Posts: 54
Joined: 2021-07-06 00:49
Been thanked: 1 time

Re: Issues with shutdown and fans/ventilators since installing of new program

#6 Post by jakoline1 »

I doubt that installing Emacs from source can cause an issue like yours, there are some known issues that users may encounter [1] but these are all Emacs-related, nothing system-related. Indeed you must have upgraded something even if unintentionally.

Anyway some applications has an uninstall script included in the tarball, Emacs should do that too.
I've sent an email to Richard Stallman.
To: rms@gnu.org

Someone on Debian forums encountered a system issue after compiling Emacs 27.2 from source, he suspects that his issue MAYBE related to Emacs, or maybe it's not, it doesn't really matter, what matters is that his report brought to my attention that Emacs tarball doesn't include an uninstall script.

I think the person responsible for this part of Emacs is Paul Eggert, could you forward this message to him? Let him know we need an uninstall script for user convenience.
I will write here when/if he respond

[1] https://fossies.org/linux/emacs/etc/PROBLEMS

jakoline1
Posts: 54
Joined: 2021-07-06 00:49
Been thanked: 1 time

Re: Issues with shutdown and fans/ventilators since installing of new program

#7 Post by jakoline1 »

A bug was opened and a discussion was made. Take a look.
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=49878

DISCLAIMER: I know the bug report wasn't properly written, that's because when I sent my message to bug-gnu-emacs (at) gnu.org I thought there was another person at the other end, I didn't know it was set to automatically submit a bug report taken from my message's body and title.

Post Reply