1

just installed Ubuntu 20.04. the system keeps freezing and i have to turn it off with the power button and on again. Can someone help me analyze this log file, if there's maybe something wrong that i'm unaware of?

11:42:46 gdm-session-wor: gkr-pam: unable to locate daemon control file
11:42:45 logger: /usr/sbin/vmware-authdlauncher: error while loading shared libraries: libssl.so.1.0.2: cannot open shared object file: No such file or directory
11:42:37 kernel: snd_hda_intel 0000:03:00.6: No response from codec, resetting bus: last cmd=0x0143a000
11:42:35 systemd: Failed to start Load/Save Screen Backlight Brightness of backlight:amdgpu_bl0.
11:42:35 systemd-backlig: amdgpu_bl0: Failed to write system 'brightness' attribute: No such device or address
11:42:35 systemd: Failed to start Load/Save Screen Backlight Brightness of backlight:acpi_video0.
11:42:35 systemd: Failed to start Load/Save Screen Backlight Brightness of backlight:acpi_video0.
11:42:35 systemd-backlig: Failed to get backlight or LED device 'backlight:acpi_video0': No such device
11:42:34 kernel: snd_pci_acp3x 0000:03:00.5: Invalid ACP audio mode : 1
11:42:33 kernel: /usr/lib/systemd/system-generators/systemd-fstab-generator failed with exit status 1.
11:42:33 kernel: Failed to create unit file /run/systemd/generator/swapfile.swap, as it already exists. Duplicate entry in /etc/fstab?
11:42:33 kernel: Failed to create unit file /run/systemd/generator/swapfile.swap, as it already exists. Duplicate entry in /etc/fstab?
11:42:33 kernel: Failed to create unit file /run/systemd/generator/swapfile.swap, as it already exists. Duplicate entry in /etc/fstab?
11:42:33 kernel: integrity: Problem loading X.509 certificate -65

ar@Aruntu:~$ sudo lshw -C memory [sudo] password for ar:

  *-memory                  
       description: System Memory
       physical id: 1
       slot: System board or motherboard
       size: 12GiB
     *-bank:0
          description: Row of chips DDR4 Synchronous Unbuffered (Unregistered) 2400 MHz (0.4 ns)
          product: 8ATF1G64HZ-2G3B1
          vendor: Micron Technology
          physical id: 0
          serial: 14D7D62B
          slot: DIMM 0
          size: 8GiB
          width: 64 bits
          clock: 2400MHz (0.4ns)
     *-bank:1
          description: SODIMM DDR4 Synchronous Unbuffered (Unregistered) 2400 MHz (0.4 ns)
          product: 4ATF51264HZ-2G6E1
          vendor: Micron Technology
          physical id: 1
          serial: 00000000
          slot: DIMM 0
          size: 4GiB
          width: 64 bits
          clock: 2400MHz (0.4ns)
  *-cache:0
       description: L1 cache
       physical id: 3
       slot: L1 - Cache
       size: 192KiB
       capacity: 192KiB
       clock: 1GHz (1.0ns)
       capabilities: pipeline-burst internal write-back unified
       configuration: level=1
  *-cache:1
       description: L2 cache
       physical id: 4
       slot: L2 - Cache
       size: 1MiB
       capacity: 1MiB
       clock: 1GHz (1.0ns)
       capabilities: pipeline-burst internal write-back unified
       configuration: level=2
  *-cache:2
       description: L3 cache
       physical id: 5
       slot: L3 - Cache
       size: 4MiB
       capacity: 4MiB
       clock: 1GHz (1.0ns)
       capabilities: pipeline-burst internal write-back unified
       configuration: level=3
  *-firmware
       description: BIOS
       vendor: LENOVO
       physical id: d
       version: E8CN25WW
       date: 10/13/2020
       size: 128KiB
       capacity: 8MiB
       capabilities: pci upgrade shadowing cdboot bootselect edd int5printscreen int9keyboard int14serial int17printer int10video acpi usb biosbootspecification netboot uefi

ar@Aruntu:~$ sudo dmidecode -s bios-version E8CN25WW ar@Aruntu:~$ free -h

              total        used        free      shared  buff/cache   available
Mem:          9.7Gi       2.0Gi       2.4Gi       122Mi       5.3Gi       7.3Gi
Swap:         2.0Gi        14Mi       2.0Gi

ar@Aruntu:~$ cat /etc/fstab

# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/nvme0n1p2 during installation
UUID=0cf09152-a222-487d-a43e-6d12f148d8bc /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/nvme0n1p1 during installation
UUID=B346-574B  /boot/efi       vfat    umask=0077      0       1
/swapfile                                 none            swap    sw              0       0

ar@Aruntu:~$

heynnema
  • 73,649

1 Answers1

1

Your /etc/fstab is incorrect.

It shows three entries for /swapfile...

/swapfile                                 none            swap    sw              0       0
/swapfile none swap sw 0 0
/swapfile none swap sw 0 0

Edit your /etc/fstab using the terminal application, with the command sudo -H gedit /etc/fstab, and remove the first two /swapfile lines, and leave the third /swapfile line, save the edited file, and then reboot.

Extra note: Don't use badblocks or e2fsck to bad block a SSD/nvme.

Update #1:

BIOS

Lenovo V14-ADA

You have version E8CN25WW, dated 10/13/2020. There's a newer BIOS available, version E8CN27WW, dated 05 Feb 2021, and can be downloaded here.

Note: Confirm that I have the correct web page for your model #.

Note: Have good backups before updating the BIOS.

SWAP

Your 2G /swapfile is too small. We'll increase it to 4G...

Note: Incorrect use of the rm and dd commands can cause data loss. Suggest copy/paste.

In the terminal...

sudo swapoff -a           # turn off swap
sudo rm -i /swapfile      # remove old /swapfile

sudo dd if=/dev/zero of=/swapfile bs=1M count=4096

sudo chmod 600 /swapfile # set proper file protections sudo mkswap /swapfile # init /swapfile sudo swapon /swapfile # turn on swap free -h # confirm 12G RAM and 4G swap

Edit /etc/fstab, using sudo -H gedit /etc/fstab or sudo pico /etc/fstab.

Confirm this /swapfile line in /etc/fstab... and confirm no other “swap” lines... use SPACES in this line... confirm NO TABS...

/swapfile  none  swap  sw  0  0

reboot                    # reboot and verify operation

Update #2:

This computer freezes with Ubuntu and Fedora 34. Switching back to Windows for now.

heynnema
  • 73,649