Skip to main content

Laptop PC trouble after upgrade to Debian 9 (stretch), and solution

The last new year holidays was more than a month ago. it was a good chance to make a major version upgrade on my PC.
I upgraded my laptop PC from Debian 8 (Jessie) to Debian 9 (stretch).
During the upgrade, I did encountered several times, but no serious trouble.
I started to enjoy the lightdm login console showing up with the Debian 9 new theme.

But when I booted it without AC power supply, the boot sequence ended in strange way. The lightdm did not show up. Instead, a black screen remains with many error messages.

I searched for a hint in the log files in /var/log directory, and found that the root file system was mounted in read-only mode.
With this hit, I search for any hints around the world and found a similar problem in the bug database in http://bugs.debian.org/ It seemed to imply that laptop-mode-tools package was involved.

In order to test whether the laptop-mode-tools is involved in my case, I installed tlp package which conflicted with laptop-mode-tools.
With tlp instead of laptop-mode-tools, the strange boot problem resolved.

If you are in similar trouble booting Debian 9, I would like to suggest tlp package instead of laptop-mode-tools.

Comments

Popular posts from this blog

Configuring Network Manager for PPPoE connection

When I'm home, I use fiber-optic line with a dedicated old small router (YAMAHA RT107e) for access to the Internet. But I recently became anxious about the router. If it fails, how can I survive until I get another one? So, I tried to connect my Debian desktop PC to the fiber-optic line without the router. The PC have to talk to the other side of the line with PPPoE but I did not know how. In my PC, the Network Manager manages network configuration. So, I had to configure the Network Manager to utilize the pppoe like : nmcli connection add ifname eth0 connection.type pppoe username USERNAME password PASSWORD

Some adjustment to run some daemon services within LXC container

 I built and am running a mail server, using dovecot for IMAP4 server and Power DNS (pdns) for DNS authoritative server, and memcached for back-end service for some mail filter. I also use LXC for staging environment to test my mail server, but running those services is not straight forward. My understanding is that it is because some security features of systemd using Linux kernel namespace function conflict with the use of namespace in LXC container. So, if you want to run memcached, dovecot, and pdns via systemd within LXC container, you have to disable some security features of systemd by configuration. My additional configuration to systemd is as follows: root@myhost:/# cat /etc/systemd/system/memcached.service.d/99-ns.conf [Service] ProtectSystem = no ProtectHome = no PrivateDevices = no PrivateTmp = no cat /etc/systemd/system/dovecot.service.d/99-ns.conf [Service] ProtectSystem = no PrivateDevices = no PrivateTmp = no root@myhost:/# grep -v '#' /etc/systemd/system/pdns.s...

The final update to Debian 11 has come

Recently, the 11th point release of Debian 11 has been announced, and it will be the last one. For I am still maintaining one Debian 11 machine, I am starting to prepare its upgrade to Debian 12. Because it is a dual boot machine, I must not forget about the change of grub OS probing. Before I ugrade, I have to add  GRUB_DISABLE_OS_PROBER=false to / etc/default/grub,  or I lose grub menu for Windows OS.  Another thing that impacts me is the change of gnome-text-editor. In Debian 11, gnome-text-editor is a kind of alias of gedit controlled under the Debian alternative system with update-alternatives command. On the other hand, a new package gnome-text-editor appears in Debian 12, and it is a different thing from gedit. For I am an uim user, I was confused when I tried to use launch a Japanese input method via uim on gnome-text-editor in Debian 12, for it wouldn't work as in Debian 11. Yes, these two things are important reminder to me.