Lock after waking up from suspend with "rtc_cmos" message

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read how to get help
Post Reply
astrojuanlu
Level 1
Level 1
Posts: 3
Joined: Thu Sep 07, 2017 10:51 am

Lock after waking up from suspend with "rtc_cmos" message

Post by astrojuanlu »

(Full details below)

When I wake up my laptop from suspend, I only get a black screen with the message:

Code: Select all

[11929.991673] rtc_cmos 00:03: Alarms can be set up to one month in the future
Ctrl-Alt-F{1-12}, Ctrl-Alt-Del or Ctrl-Alt-Backspace do not respond, nor any other key combination. My only option is a hard poweoff with the power button. Googling "Alarms can be set up to one month in the future" gives 0 results, and reading a bit on rtc_cmos suggests it is some kind of wake-on-LAN functionality that I am not interested in. Would you please help me debug this issue further?

Code: Select all

$ inxi -Fxz
System:    Host: centauri Kernel: 4.10.0-33-generic x86_64 (64 bit gcc: 5.4.0)
           Desktop: Cinnamon 3.4.6 (Gtk 3.18.9-1ubuntu3.3)
           Distro: Linux Mint 18.2 Sonya
Machine:   System: SLIMBOOK (portable) product: EXCALIBUR v: 0.1
           Mobo: Intel model: U953 v: RVP7
           Bios: American Megatrends v: 5.11 date: 01/10/2017
CPU:       Dual core Intel Core i5-6200U (-HT-MCP-) cache: 3072 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 9600
           clock speeds: max: 2800 MHz 1: 2700 MHz 2: 2588 MHz 3: 1731 MHz
           4: 1271 MHz
Graphics:  Card-1: Intel Sky Lake Integrated Graphics bus-ID: 00:02.0
           Card-2: NVIDIA GM108M [GeForce 940MX] bus-ID: 01:00.0
           Display Server: X.Org 1.18.4 driver: nvidia
           Resolution: 1920x1080@60.00hz
           GLX Renderer: GeForce 940MX/PCIe/SSE2
           GLX Version: 4.5.0 NVIDIA 375.66 Direct Rendering: Yes
Audio:     Card Intel Sunrise Point-LP HD Audio
           driver: snd_hda_intel bus-ID: 00:1f.3
           Sound: Advanced Linux Sound Architecture v: k4.10.0-33-generic
Network:   Card: Intel Device 24fd driver: iwlwifi bus-ID: 02:00.0
           IF: wlp2s0 state: up speed: N/A duplex: N/A mac: <filter>
Drives:    HDD Total Size: 756.2GB (5.8% used)
           ID-1: /dev/sda model: TOSHIBA_MQ01ABF0 size: 500.1GB temp: 36C
           ID-2: /dev/sdb model: TOSHIBA_THNSNK25 size: 256.1GB temp: 47C
Partition: ID-1: / size: 227G used: 9.0G (5%) fs: ext4 dev: /dev/sdb2
           ID-2: /home size: 459G used: 25G (6%) fs: ext4 dev: /dev/sda1
           ID-3: swap-1 size: 8.51GB used: 0.00GB (0%) fs: swap dev: /dev/sdb3
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 59.0C mobo: N/A gpu: 0.0:53C
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 213 Uptime: 17 min Memory: 1833.4/7895.1MB
           Init: systemd runlevel: 5 Gcc sys: 5.4.0
           Client: Shell (bash 4.3.481) inxi: 2.2.35 
$ lsb_release -a
No LSB modules are available.
Distributor ID:	LinuxMint
Description:	Linux Mint 18.2 Sonya
Release:	18.2
Codename:	sonya
$ uname -a
Linux centauri 4.10.0-33-generic #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
$ dmesg | grep rtc
[    2.178064] rtc_cmos 00:03: RTC can wake from S4
[    2.178317] rtc rtc0: invalid alarm value: 2017-9-7 14:46:65
[    2.178364] rtc_cmos 00:03: rtc core: registered rtc_cmos as rtc0
[    2.178445] rtc_cmos 00:03: alarms up to one month, y3k, 242 bytes nvram, hpet irqs
[    2.202835] rtc_cmos 00:03: setting system clock to 2017-09-07 14:46:49 UTC (1504795609)
$ date
Thu Sep  7 17:00:45 CEST 2017
$ uptime
 17:01:07 up 14 min,  1 user,  load average: 0,49, 0,56, 0,42
$ lspci
00:00.0 Host bridge: Intel Corporation Sky Lake Host Bridge/DRAM Registers (rev 08)
00:02.0 VGA compatible controller: Intel Corporation Sky Lake Integrated Graphics (rev 07)
00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 20)
00:14.2 Signal processing controller: Intel Corporation Sunrise Point-LP Thermal subsystem (rev 20)
00:16.0 Communication controller: Intel Corporation Sunrise Point-LP CSME HECI (rev 20)
00:17.0 SATA controller: Intel Corporation Sunrise Point-LP SATA Controller [AHCI mode] (rev 20)
00:1c.0 PCI bridge: Intel Corporation Device 9d10 (rev f0)
00:1c.4 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port (rev f0)
00:1f.0 ISA bridge: Intel Corporation Sunrise Point-LP LPC Controller (rev 20)
00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev 20)
00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 20)
00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 20)
01:00.0 3D controller: NVIDIA Corporation GM108M [GeForce 940MX] (rev a2)
02:00.0 Network controller: Intel Corporation Device 24fd (rev 78)
$ ls /etc/pm/sleep.d/
00_check_touchpad_status  10_grub-common  novatel_3g_suspend
astrojuanlu
Level 1
Level 1
Posts: 3
Joined: Thu Sep 07, 2017 10:51 am

Re: Black screen after waking up/resume from suspend

Post by astrojuanlu »

After some update (not sure which one), I no longer see the "rtc_cmos" message but I simply have a black screen, and cannot do anything but force power off.
Antek
Level 1
Level 1
Posts: 2
Joined: Wed Nov 01, 2017 9:49 am

Re: Lock after waking up from suspend with "rtc_cmos" message

Post by Antek »

I also have the same problem. After waking up from hibernation message is also present, however, loading is successful.

Code: Select all

$ inxi -Fxz
System:    Host: X542UQ Kernel: 4.10.0-38-generic x86_64 (64 bit gcc: 5.4.0)
           Desktop: MATE 1.18.0 (Gtk 3.18.9-1ubuntu3.3)
           Distro: Linux Mint 18.2 Sonya
Machine:   System: ASUSTeK (portable) product: X542UQ v: 1.0
           Mobo: ASUSTeK model: X542UQ v: 1.0
           Bios: American Megatrends v: X542UQ.202 date: 05/18/2017
CPU:       Dual core Intel Core i3-7100U (-HT-MCP-) cache: 3072 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 9600
           clock speeds: max: 2400 MHz 1: 514 MHz 2: 525 MHz 3: 506 MHz
           4: 562 MHz
Graphics:  Card-1: Intel Device 5916 bus-ID: 00:02.0
           Card-2: NVIDIA GM108M [GeForce 940MX] bus-ID: 01:00.0
           Display Server: X.Org 1.18.4 driver: nvidia
           Resolution: 1360x768@59.80hz
           GLX Renderer: GeForce 940MX/PCIe/SSE2
           GLX Version: 4.5.0 NVIDIA 384.90 Direct Rendering: Yes
Audio:     Card Intel Device 9d71 driver: snd_hda_intel bus-ID: 00:1f.3
           Sound: Advanced Linux Sound Architecture v: k4.10.0-38-generic
Network:   Card-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
           driver: r8169 v: 2.3LK-NAPI port: d000 bus-ID: 02:00.0
           IF: enp2s0 state: down mac: <filter>
           Card-2: Qualcomm Atheros Device 0042
           driver: ath10k_pci bus-ID: 03:00.0
           IF: wlp3s0 state: up speed: N/A duplex: N/A mac: <filter>
Drives:    HDD Total Size: 1000.2GB (11.2% used)
           ID-1: /dev/sda model: TOSHIBA_MQ01ABD1 size: 1000.2GB
Partition: ID-1: / size: 913G used: 101G (12%) fs: ext4 dev: /dev/dm-1
           ID-2: /boot size: 472M used: 123M (28%) fs: ext2 dev: /dev/sda1
           ID-3: swap-1 size: 4.17GB used: 0.00GB (0%) fs: swap dev: /dev/dm-2
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 35.0C mobo: N/A gpu: 0.0:38C
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 216 Uptime: 6 min Memory: 1412.5/3833.2MB
           Init: systemd runlevel: 5 Gcc sys: 5.4.0
           Client: Shell (bash 4.3.481) inxi: 2.2.3
           
$ lsb_release -a
LSB Version:	core-9.20160110ubuntu0.2-amd64:core-9.20160110ubuntu0.2-noarch:security-9.20160110ubuntu0.2-amd64:security-9.20160110ubuntu0.2-noarch
Distributor ID:	LinuxMint
Description:	Linux Mint 18.2 Sonya
Release:	18.2
Codename:	sonya

$ uname -a
Linux X542UQ 4.10.0-38-generic #42~16.04.1-Ubuntu SMP Tue Oct 10 16:32:20 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

$ dmesg | grep rtc
[    1.010171] rtc_cmos 00:01: RTC can wake from S4
[    1.010552] rtc_cmos 00:01: rtc core: registered rtc_cmos as rtc0
[    1.010638] rtc_cmos 00:01: alarms up to one month, y3k, 242 bytes nvram, hpet irqs
[    1.033092] rtc_cmos 00:01: setting system clock to 2017-11-01 13:45:08 UTC (1509543908)

$ lspci
00:00.0 Host bridge: Intel Corporation Device 5904 (rev 02)
00:02.0 VGA compatible controller: Intel Corporation Device 5916 (rev 02)
00:04.0 Signal processing controller: Intel Corporation Skylake Processor Thermal Subsystem (rev 02)
00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21)
00:14.2 Signal processing controller: Intel Corporation Sunrise Point-LP Thermal subsystem (rev 21)
00:15.0 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller (rev 21)
00:15.1 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller (rev 21)
00:16.0 Communication controller: Intel Corporation Sunrise Point-LP CSME HECI (rev 21)
00:17.0 SATA controller: Intel Corporation Sunrise Point-LP SATA Controller [AHCI mode] (rev 21)
00:1c.0 PCI bridge: Intel Corporation Device 9d10 (rev f1)
00:1c.4 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port (rev f1)
00:1c.5 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port (rev f1)
00:1e.0 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO UART Controller (rev 21)
00:1e.2 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO SPI Controller (rev 21)
00:1f.0 ISA bridge: Intel Corporation Device 9d4e (rev 21)
00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev 21)
00:1f.3 Audio device: Intel Corporation Device 9d71 (rev 21)
00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21)
01:00.0 3D controller: NVIDIA Corporation GM108M [GeForce 940MX] (rev a2)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
03:00.0 Network controller: Qualcomm Atheros Device 0042 (rev 30)

$ ls /etc/pm/sleep.d/
10_grub-common  novatel_3g_suspend 
User avatar
Joe2Shoe
Level 5
Level 5
Posts: 559
Joined: Wed Oct 18, 2017 8:12 pm
Location: Ozone

Re: Lock after waking up from suspend with "rtc_cmos" message

Post by Joe2Shoe »

RTC is the Real Time Clock or the CMOS battery, whick store the hardware settings via the BIOS chip. The RTC/CMOS battery only lasts about 3-5 years. Some are rechargeable, most are not. Most laptops/desktops use a CR2032 3volt "nickel" battery, often wrapped in plastic coating with a red + and a black - wired connector, some snap into a battery socket.
I replace the RTC battery every 3 years on all my PCs. I usually take apart the RTC batteries that are plastic coated with 2 wires/connector and replace the battery with a Duracell or Energizer battery, then tape and shrink-wrap the battery. Ordering online, you don't know what brand or how old the new battery is or how long it will last, and it costs about 4-5 times more online.
Dead RTC/CMOS batteries will cause all sorts of chaos and havoc.

This may be an issue on your computer. If not, I would replace it if the pc is over 3-4 years old.
"Tolerance is the refuge of men without conviction."
"Common sense is not so common" - Voltaire
Antek
Level 1
Level 1
Posts: 2
Joined: Wed Nov 01, 2017 9:49 am

Re: Lock after waking up from suspend with "rtc_cmos" message

Post by Antek »

Thank you for advice, however, my laptop is completely new, it was a fresh OS. Bug appeared both on Mint Mate 18.2 and Ubuntu Mate 17.04.
chrs
Level 1
Level 1
Posts: 1
Joined: Sun Jan 21, 2018 3:57 pm

Re: Lock after waking up from suspend with "rtc_cmos" message

Post by chrs »

I am getting the same issue. It seems to be related to the Nvidia driver - if I disable this the problem goes away.

There are reports on the Nvidia site of this too: https://devtalk.nvidia.com/default/topi ... gt-940mx-/

Chris
Post Reply

Return to “Installation & Boot”