Very slow system boot with Ubuntu MATE 20.04

Hi All,

Previously when I was using Ubuntu MATE 18.04 and 19.10, the same PC used to take less than 90 seconds from powering on to the desktop, however, with 20.04 the same process takes close to 15 minutes.

Does the following help?

systemd-analyze
Startup finished in 34.841s (kernel) + 6min 13.103s (userspace) = 6min 47.945s 
graphical.target reached after 6min 8.351s in userspace

systemd-analyze blame
2min 57.450s dev-sda1.device                                    
1min 30.204s systemd-journal-flush.service                      
1min 30.040s blueman-mechanism.service                          
1min 22.427s dev-loop8.device                                   
1min 18.507s dev-loop11.device                                  
1min 14.409s accounts-daemon.service                            
 1min 6.880s avahi-daemon.service                               
 1min 5.525s NetworkManager.service                             
 1min 4.983s networkd-dispatcher.service                        
 1min 3.108s dev-loop3.device                                   
     59.351s apport-autoreport.service                          
     55.686s udisks2.service                                    
     54.782s dev-loop5.device                                   
     54.771s dev-loop0.device                                   
     54.620s dev-loop6.device                                   
     53.847s dev-loop1.device                                   
     53.646s dev-loop2.device                                   
     53.641s dev-loop7.device                                   
     53.640s dev-loop9.device                                   
     52.780s polkit.service                                     
     52.230s dev-loop4.device                                   
     51.771s dev-loop10.device                                  
     51.121s nmbd.service

Thanks!

[Edit: 20.04 has been freshly installed.]

Hello,
Could you switch on your pc and return to us immediately after login in:

dmesg
sudo systemd-analyze critical-chain
1 Like

sudo systemd-analyze critical-chain

The time when unit became active or started is printed after the "@" character.
The time the unit took to start is printed after the "+" character.

graphical.target @5min 22.627s
└─multi-user.target @5min 22.627s
  └─smbd.service @5min 18.539s +4.086s
    └─network-online.target @3min 48.192s
      └─NetworkManager-wait-online.service @3min 31.264s +16.927s
        └─NetworkManager.service @3min 4.171s +27.090s
          └─dbus.service @3min 4.162s
            └─basic.target @3min 4.007s
              └─sockets.target @3min 4.007s
                └─snapd.socket @3min 4.005s +1ms
                  └─sysinit.target @3min 2.419s
                    └─systemd-timesyncd.service @2min 52.990s +9.428s
                      └─systemd-tmpfiles-setup.service @1min 36.030s +1min 7.22>
                        └─systemd-journal-flush.service @2min 26.350s +49.455s
                          └─systemd-remount-fs.service @5.053s +204ms
                            └─systemd-journald.socket @4.902s
                              └─-.mount @4.890s
                                └─system.slice @4.890s
                                  └─-.slice @4.890s

Maybe also list the output of the hwinfo --short command and also include what kind of hard drive you are using (brand/model no.)?

1 Like

Show us it just after startup/login in:

dmesg

Because this command is useful to find the cause of slow boot.

1 Like

https://paste.ubuntu.com/p/3PV9cdNj9K/

hwinfo --short

    cpu:                                                            
                           Intel(R) Core(TM) i3-2370M CPU @ 2.40GHz, 1400 MHz
                           Intel(R) Core(TM) i3-2370M CPU @ 2.40GHz, 1246 MHz
                           Intel(R) Core(TM) i3-2370M CPU @ 2.40GHz, 1509 MHz
                           Intel(R) Core(TM) i3-2370M CPU @ 2.40GHz, 1380 MHz
    keyboard:
                           Logitech Unifying Receiver
      /dev/input/event3    AT Translated Set 2 keyboard
    mouse:
                           Logitech Unifying Receiver
      /dev/input/mice      ETPS/2 Elantech Touchpad
    monitor:
                           N156BGE-L11 LCD Monitor
    graphics card:
                           Samsung Electronics integrated HD 3000 graphics controller on NP300E5C series laptop
    sound:
                           Samsung Electronics NP300E5C series laptop
    storage:
                           Samsung Electronics NP300E5C series laptop
    network:
      enp2s0               Samsung Electronics RTL8168 on a NP300E5C series laptop
      wlp1s0               Qualcomm Atheros AR9485 Wireless Network Adapter
    network interface:
      lo                   Loopback network interface
      enp2s0               Ethernet network interface
      wlp1s0               Ethernet network interface
    disk:
      /dev/sda             ST500LM012 HN-M5
    partition:
      /dev/sda1            Partition
    cdrom:
      /dev/sr0             TSSTcorp CDDVDW SN-208BB
    usb controller:
                           Samsung Electronics NP300E5C series laptop
                           Samsung Electronics NP300E5C series laptop
    bios:
                           BIOS
    bridge:
                           Samsung Electronics NP300E5C series laptop
                           Samsung Electronics NP300E5C series laptop
                           Samsung Electronics NP300E5C series laptop
                           Samsung Electronics NP300E5C series laptop
    hub:
                           Intel Integrated Rate Matching Hub
                           Linux Foundation 2.0 root hub
                           Intel Integrated Rate Matching Hub
                           Linux Foundation 2.0 root hub
    memory:
                           Main Memory
    bluetooth:
                           Qualcomm Atheros AR3012 Bluetooth 4.0
    unknown:
                           FPU
                           DMA controller
                           PIC
                           Keyboard controller
                           Samsung Electronics NP300E5C series laptop
                           Samsung Electronics NP300E5C series laptop
      /dev/input/event11   Z-Star Microelectronics WebCam SC-03FFL11739P

Your dmesg output is here:

Part1

[    0.162988] system 00:05: [mem 0xfed18000-0xfed18fff] has been reserved
[    0.162989] system 00:05: [mem 0xfed19000-0xfed19fff] has been reserved
[    0.162991] system 00:05: [mem 0xf8000000-0xfbffffff] has been reserved
[    0.162992] system 00:05: [mem 0xfed20000-0xfed3ffff] has been reserved
[    0.162993] system 00:05: [mem 0xfed90000-0xfed93fff] has been reserved
[    0.162995] system 00:05: [mem 0xfed45000-0xfed8ffff] has been reserved
[    0.162996] system 00:05: [mem 0xff000000-0xffffffff] could not be reserved
[    0.162998] system 00:05: [mem 0xfee00000-0xfeefffff] could not be reserved
[    0.163002] system 00:05: Plug and Play ACPI device, IDs PNP0c02 (active)
[    0.163646] pnp: PnP ACPI: found 6 devices
[    0.165075] thermal_sys: Registered thermal governor 'fair_share'
[    0.165076] thermal_sys: Registered thermal governor 'bang_bang'
[    0.165077] thermal_sys: Registered thermal governor 'step_wise'
[    0.165078] thermal_sys: Registered thermal governor 'user_space'
[    0.165078] thermal_sys: Registered thermal governor 'power_allocator'
[    0.169576] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns
[    0.169613] pci 0000:01:00.0: can't claim BAR 6 [mem 0xffff0000-0xffffffff pref]: no compatible bridge window
[    0.169624] pci 0000:01:00.0: BAR 6: assigned [mem 0xf0680000-0xf068ffff pref]
[    0.169626] pci 0000:00:1c.0: PCI bridge to [bus 01]
[    0.169632] pci 0000:00:1c.0:   bridge window [mem 0xf0600000-0xf06fffff]
[    0.169640] pci 0000:00:1c.3: PCI bridge to [bus 02]
[    0.169644] pci 0000:00:1c.3:   bridge window [io  0x2000-0x2fff]
[    0.169648] pci 0000:00:1c.3:   bridge window [mem 0xf0500000-0xf05fffff]
[    0.169652] pci 0000:00:1c.3:   bridge window [mem 0xf0400000-0xf04fffff 64bit pref]
[    0.169659] pci_bus 0000:00: resource 4 [io  0x0000-0x0cf7 window]
[    0.169661] pci_bus 0000:00: resource 5 [io  0x0d00-0xffff window]
[    0.169662] pci_bus 0000:00: resource 6 [mem 0x000a0000-0x000bffff window]
[    0.169663] pci_bus 0000:00: resource 7 [mem 0xdfa00000-0xfeafffff window]
[    0.169665] pci_bus 0000:01: resource 1 [mem 0xf0600000-0xf06fffff]
[    0.169666] pci_bus 0000:02: resource 0 [io  0x2000-0x2fff]
[    0.169667] pci_bus 0000:02: resource 1 [mem 0xf0500000-0xf05fffff]
[    0.169668] pci_bus 0000:02: resource 2 [mem 0xf0400000-0xf04fffff 64bit pref]
[    0.169782] NET: Registered protocol family 2
[    0.169961] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
[    0.169993] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.170089] TCP bind hash table entries: 32768 (order: 7, 524288 bytes, linear)
[    0.170145] TCP: Hash tables configured (established 32768 bind 32768)
[    0.170187] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.170205] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.170252] NET: Registered protocol family 1
[    0.170260] NET: Registered protocol family 44
[    0.170271] pci 0000:00:02.0: Video device with shadowed ROM at [mem 0x000c0000-0x000dffff]
[    0.170734] PCI: CLS 64 bytes, default 64
[    0.170786] Trying to unpack rootfs image as initramfs...
[    0.402708] Freeing initrd memory: 79840K
[    0.402772] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[    0.402774] software IO TLB: mapped [mem 0xcf3ef000-0xd33ef000] (64MB)
[    0.402990] check: Scanning for low memory corruption every 60 seconds
[    0.405217] Initialise system trusted keyrings
[    0.405228] Key type blacklist registered
[    0.405269] workingset: timestamp_bits=36 max_order=20 bucket_order=0
[    0.406728] zbud: loaded
[    0.407119] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.407285] fuse: init (API version 7.31)
[    0.407303] *** VALIDATE fuse ***
[    0.407305] *** VALIDATE fuse ***
[    0.407404] Platform Keyring initialized
[    0.413178] Key type asymmetric registered
[    0.413180] Asymmetric key parser 'x509' registered
[    0.413201] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
[    0.413261] io scheduler mq-deadline registered
[    0.413851] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
[    0.413910] vesafb: mode is 1366x768x32, linelength=5504, pages=0
[    0.413911] vesafb: scrolling: redraw
[    0.413912] vesafb: Truecolor: size=8:8:8:8, shift=24:16:8:0
[    0.413931] vesafb: framebuffer at 0xe0000000, mapped to 0x(____ptrval____), using 4160k, total 4160k
[    0.413976] fbcon: Deferring console take-over
[    0.413977] fb0: VESA VGA frame buffer device
[    0.413991] intel_idle: MWAIT substates: 0x21120
[    0.413992] intel_idle: v0.4.1 model 0x2A
[    0.414199] intel_idle: lapic_timer_reliable_states 0xffffffff
[    0.414637] ACPI: AC Adapter [ADP1] (on-line)
[    0.414702] input: Lid Switch as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0D:00/input/input0
[    0.414721] ACPI: Lid Switch [LID0]
[    0.414752] input: Power Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input1
[    0.414788] ACPI: Power Button [PWRB]
[    0.414823] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input2
[    0.414848] ACPI: Power Button [PWRF]
[    0.416999] thermal LNXTHERM:00: registered as thermal_zone0
[    0.417001] ACPI: Thermal Zone [TZ00] (70 C)
[    0.417404] thermal LNXTHERM:01: registered as thermal_zone1
[    0.417405] ACPI: Thermal Zone [TZ01] (30 C)
[    0.417553] Serial: 8250/16550 driver, 32 ports, IRQ sharing enabled
[    0.421383] Linux agpgart interface v0.103
[    0.424203] loop: module loaded
[    0.424499] libphy: Fixed MDIO Bus: probed
[    0.424501] tun: Universal TUN/TAP device driver, 1.6
[    0.424533] battery: ACPI: Battery Slot [BAT1] (battery present)
[    0.424550] PPP generic driver version 2.4.2
[    0.424617] VFIO - User Level meta-driver version: 0.3
[    0.424704] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.424708] ehci-pci: EHCI PCI platform driver
[    0.424863] ehci-pci 0000:00:1a.0: EHCI Host Controller
[    0.424869] ehci-pci 0000:00:1a.0: new USB bus registered, assigned bus number 1
[    0.424883] ehci-pci 0000:00:1a.0: debug port 2
[    0.428787] ehci-pci 0000:00:1a.0: cache line size of 64 is not supported
[    0.428801] ehci-pci 0000:00:1a.0: irq 16, io mem 0xf070a000
[    0.442625] ehci-pci 0000:00:1a.0: USB 2.0 started, EHCI 1.00
[    0.442750] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.04
[    0.442752] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.442753] usb usb1: Product: EHCI Host Controller
[    0.442754] usb usb1: Manufacturer: Linux 5.4.0-42-generic ehci_hcd
[    0.442755] usb usb1: SerialNumber: 0000:00:1a.0
[    0.442979] hub 1-0:1.0: USB hub found
[    0.442988] hub 1-0:1.0: 3 ports detected
[    0.443307] ehci-pci 0000:00:1d.0: EHCI Host Controller
[    0.443312] ehci-pci 0000:00:1d.0: new USB bus registered, assigned bus number 2
[    0.443326] ehci-pci 0000:00:1d.0: debug port 2
[    0.447246] ehci-pci 0000:00:1d.0: cache line size of 64 is not supported
[    0.447261] ehci-pci 0000:00:1d.0: irq 23, io mem 0xf0709000
[    0.462636] ehci-pci 0000:00:1d.0: USB 2.0 started, EHCI 1.00
[    0.462745] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.04
[    0.462746] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.462748] usb usb2: Product: EHCI Host Controller
[    0.462749] usb usb2: Manufacturer: Linux 5.4.0-42-generic ehci_hcd
[    0.462750] usb usb2: SerialNumber: 0000:00:1d.0
[    0.462979] hub 2-0:1.0: USB hub found
[    0.462989] hub 2-0:1.0: 3 ports detected
[    0.463143] ehci-platform: EHCI generic platform driver
[    0.463163] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.463167] ohci-pci: OHCI PCI platform driver
[    0.463178] ohci-platform: OHCI generic platform driver
[    0.463186] uhci_hcd: USB Universal Host Controller Interface driver
[    0.463245] i8042: PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:EPAD] at 0x60,0x64 irq 1,12
[    0.467310] serio: i8042 KBD port at 0x60,0x64 irq 1
[    0.467315] serio: i8042 AUX port at 0x60,0x64 irq 12
[    0.467567] mousedev: PS/2 mouse device common for all mice
[    0.468247] rtc_cmos 00:01: registered as rtc0
[    0.468264] rtc_cmos 00:01: alarms up to one month, y3k, 242 bytes nvram, hpet irqs
[    0.468270] i2c /dev entries driver
[    0.468316] device-mapper: uevent: version 1.0.3
[    0.468446] device-mapper: ioctl: 4.41.0-ioctl (2019-09-16) initialised: [email protected]
[    0.468465] platform eisa.0: Probing EISA bus 0
[    0.468466] platform eisa.0: EISA: Cannot allocate resource for mainboard
[    0.468468] platform eisa.0: Cannot allocate resource for EISA slot 1
[    0.468469] platform eisa.0: Cannot allocate resource for EISA slot 2
[    0.468470] platform eisa.0: Cannot allocate resource for EISA slot 3
[    0.468471] platform eisa.0: Cannot allocate resource for EISA slot 4
[    0.468472] platform eisa.0: Cannot allocate resource for EISA slot 5
[    0.468473] platform eisa.0: Cannot allocate resource for EISA slot 6
[    0.468474] platform eisa.0: Cannot allocate resource for EISA slot 7
[    0.468475] platform eisa.0: Cannot allocate resource for EISA slot 8
[    0.468476] platform eisa.0: EISA: Detected 0 cards
[    0.468482] intel_pstate: Intel P-state driver initializing
[    0.468629] ledtrig-cpu: registered to indicate activity on CPUs
[    0.468694] drop_monitor: Initializing network drop monitor service
[    0.468876] NET: Registered protocol family 10
[    0.479028] Segment Routing with IPv6
[    0.479060] NET: Registered protocol family 17
[    0.479116] Key type dns_resolver registered
[    0.479479] RAS: Correctable Errors collector initialized.
[    0.479520] microcode: sig=0x206a7, pf=0x10, revision=0x2f
[    0.479636] microcode: Microcode Update Driver: v2.2.
[    0.479642] IPI shorthand broadcast: enabled
[    0.479652] sched_clock: Marking stable (479384487, 224941)->(483451748, -3842320)
[    0.479747] registered taskstats version 1
[    0.479756] Loading compiled-in X.509 certificates
[    0.482351] Loaded X.509 cert 'Build time autogenerated kernel key: 9e1aeb581c5145b0cc48f50fdf6e09edec23120f'
[    0.482390] zswap: loaded using pool lzo/zbud
[    0.482471] Key type ._fscrypt registered
[    0.482472] Key type .fscrypt registered
[    0.492163] Key type big_key registered
[    0.496782] Key type encrypted registered
[    0.496787] AppArmor: AppArmor sha1 policy hashing enabled
[    0.496795] ima: No TPM chip found, activating TPM-bypass!
[    0.496804] ima: Allocated hash algorithm: sha1
[    0.496812] ima: No architecture policies found
[    0.496822] evm: Initialising EVM extended attributes:
[    0.496822] evm: security.selinux
[    0.496823] evm: security.SMACK64
[    0.496824] evm: security.SMACK64EXEC
[    0.496824] evm: security.SMACK64TRANSMUTE
[    0.496825] evm: security.SMACK64MMAP
[    0.496825] evm: security.apparmor
[    0.496826] evm: security.ima
[    0.496826] evm: security.capability
[    0.496827] evm: HMAC attrs: 0x1
[    0.497211] PM:   Magic number: 12:314:42
[    0.497222] bdi 7:7: hash matches
[    0.497329] rtc_cmos 00:01: setting system clock to 2020-07-31T19:00:49 UTC (1596222049)
[    0.498715] Freeing unused decrypted memory: 2040K
[    0.499222] Freeing unused kernel image memory: 2712K
[    0.502204] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input3
[    0.526671] Write protecting the kernel read-only data: 22528k
[    0.527243] Freeing unused kernel image memory: 2008K
[    0.527484] Freeing unused kernel image memory: 1192K
[    0.539461] x86/mm: Checked W+X mappings: passed, no W+X pages found.
[    0.539463] x86/mm: Checking user space page tables
[    0.551232] x86/mm: Checked W+X mappings: passed, no W+X pages found.
[    0.551235] Run /init as init process
[    0.683129] ACPI Warning: SystemIO range 0x0000000000000428-0x000000000000042F conflicts with OpRegion 0x0000000000000400-0x000000000000047F (\PMIO) (20190816/utaddress-204)
[    0.683140] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[    0.683146] ACPI Warning: SystemIO range 0x0000000000000540-0x000000000000054F conflicts with OpRegion 0x0000000000000500-0x0000000000000563 (\GPIO) (20190816/utaddress-204)
[    0.683151] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[    0.683153] ACPI Warning: SystemIO range 0x0000000000000530-0x000000000000053F conflicts with OpRegion 0x0000000000000500-0x0000000000000563 (\GPIO) (20190816/utaddress-204)
[    0.683158] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[    0.683160] ACPI Warning: SystemIO range 0x0000000000000500-0x000000000000052F conflicts with OpRegion 0x0000000000000500-0x0000000000000563 (\GPIO) (20190816/utaddress-204)
[    0.683164] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[    0.683165] lpc_ich: Resource conflict(s) found affecting gpio_ich
[    0.687730] ahci 0000:00:1f.2: version 3.0
[    0.687915] r8169 0000:02:00.0: can't disable ASPM; OS doesn't have ASPM control
[    0.689872] i801_smbus 0000:00:1f.3: SMBus using PCI interrupt
[    0.693662] libphy: r8169: probed
[    0.693965] r8169 0000:02:00.0 eth0: RTL8168evl/8111evl, 24:f5:aa:c4:cc:2f, XID 2c9, IRQ 27
[    0.693968] r8169 0000:02:00.0 eth0: jumbo features [frames: 9200 bytes, tx checksumming: ko]
[    0.702549] ahci 0000:00:1f.2: AHCI 0001.0300 32 slots 6 ports 3 Gbps 0x5 impl SATA mode
[    0.702553] ahci 0000:00:1f.2: flags: 64bit ncq pm led clo pio slum part ems apst 
[    0.702629] cryptd: max_cpu_qlen set to 1000
[    0.715478] scsi host0: ahci
[    0.716395] scsi host1: ahci
[    0.716541] scsi host2: ahci
[    0.719517] scsi host3: ahci
[    0.726587] scsi host4: ahci
[    0.727271] scsi host5: ahci
[    0.727356] ata1: SATA max UDMA/133 abar [email protected] port 0xf0708100 irq 26
[    0.727358] ata2: DUMMY
[    0.727361] ata3: SATA max UDMA/133 abar [email protected] port 0xf0708200 irq 26
[    0.727362] ata4: DUMMY
[    0.727363] ata5: DUMMY
[    0.727364] ata6: DUMMY
[    0.742088] r8169 0000:02:00.0 enp2s0: renamed from eth0
[    0.753086] checking generic (e0000000 410000) vs hw (e0000000 10000000)
[    0.753088] fb0: switching to inteldrmfb from VESA VGA
[    0.753153] i915 0000:00:02.0: vgaarb: deactivate vga console
[    0.762546] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    0.762548] [drm] Driver supports precise vblank timestamp query.
[    0.767387] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=io+mem
[    0.794541] usb 1-1: new high-speed USB device number 2 using ehci-pci
[    0.798634] usb 2-1: new high-speed USB device number 2 using ehci-pci
[    0.861526] [drm] Initialized i915 1.6.0 20190822 for 0000:00:02.0 on minor 0
[    0.862677] ACPI: Video Device [GFX0] (multi-head: yes  rom: no  post: no)
[    0.863062] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input6
[    0.898795] fbcon: i915drmfb (fb0) is primary device
[    0.898796] fbcon: Deferring console take-over
[    0.898799] i915 0000:00:02.0: fb0: i915drmfb frame buffer device
[    0.951443] usb 1-1: New USB device found, idVendor=8087, idProduct=0024, bcdDevice= 0.00
[    0.951445] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    0.951738] hub 1-1:1.0: USB hub found
[    0.951819] hub 1-1:1.0: 6 ports detected
[    0.954914] usb 2-1: New USB device found, idVendor=8087, idProduct=0024, bcdDevice= 0.00
[    0.954916] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    0.955063] hub 2-1:1.0: USB hub found
[    0.955163] hub 2-1:1.0: 6 ports detected
[    1.042635] ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[    1.046700] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[    1.053169] ata1.00: ATA-8: ST500LM012 HN-M500MBB, 2AR10002, max UDMA/133
[    1.053172] ata1.00: 976773168 sectors, multi 16: LBA48 NCQ (depth 32), AA
[    1.055124] ata3.00: ATAPI: TSSTcorp CDDVDW SN-208BB, SC00, max UDMA/100
[    1.057204] ata3.00: configured for UDMA/100
[    1.059591] ata1.00: configured for UDMA/133
[    1.060004] scsi 0:0:0:0: Direct-Access     ATA      ST500LM012 HN-M5 0002 PQ: 0 ANSI: 5
[    1.060263] sd 0:0:0:0: Attached scsi generic sg0 type 0
[    1.060345] sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/466 GiB)
[    1.060348] sd 0:0:0:0: [sda] 4096-byte physical blocks
[    1.060383] sd 0:0:0:0: [sda] Write Protect is off
[    1.060386] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    1.060422] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    1.062083] scsi 2:0:0:0: CD-ROM            TSSTcorp CDDVDW SN-208BB  SC00 PQ: 0 ANSI: 5
[    1.115971]  sda: sda1
[    1.116462] sd 0:0:0:0: [sda] Attached SCSI disk
[    1.148158] sr 2:0:0:0: [sr0] scsi3-mmc drive: 16x/24x writer dvd-ram cd/rw xa/form2 cdda tray
[    1.148165] cdrom: Uniform CD-ROM driver Revision: 3.20
[    1.171034] sr 2:0:0:0: Attached scsi CD-ROM sr0
[    1.171143] sr 2:0:0:0: Attached scsi generic sg1 type 5
[    1.238562] usb 1-1.2: new full-speed USB device number 3 using ehci-pci
[    1.242612] usb 2-1.4: new full-speed USB device number 3 using ehci-pci
[    1.328340] random: fast init done
[    1.350018] usb 1-1.2: New USB device found, idVendor=046d, idProduct=c534, bcdDevice=29.01
[    1.350025] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    1.350029] usb 1-1.2: Product: USB Receiver
[    1.350032] usb 1-1.2: Manufacturer: Logitech
[    1.350337] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[    1.350347] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[    1.350367] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[    1.357623] usb 2-1.4: New USB device found, idVendor=0cf3, idProduct=3004, bcdDevice= 0.02
[    1.357626] usb 2-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    1.357628] usb 2-1.4: Product: Bluetooth USB Host Controller
[    1.357630] usb 2-1.4: Manufacturer: Atheros Communications
[    1.357632] usb 2-1.4: SerialNumber: Alaska Day 2006
[    1.357662] hidraw: raw HID events driver (C) Jiri Kosina
[    1.364340] usbcore: registered new interface driver usbhid
[    1.364342] usbhid: USB HID core driver
[    1.367445] input: Logitech USB Receiver as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2/1-1.2:1.0/0003:046D:C534.0001/input/input7
[    1.406566] tsc: Refined TSC clocksource calibration: 2394.559 MHz
[    1.406586] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x2284235ba97, max_idle_ns: 440795203400 ns
[    1.406696] clocksource: Switched to clocksource tsc
[    1.426943] hid-generic 0003:046D:C534.0001: input,hidraw0: USB HID v1.11 Keyboard [Logitech USB Receiver] on usb-0000:00:1a.0-1.2/input0
[    1.427288] input: Logitech USB Receiver Mouse as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2/1-1.2:1.1/0003:046D:C534.0002/input/input8
[    1.427492] input: Logitech USB Receiver Consumer Control as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2/1-1.2:1.1/0003:046D:C534.0002/input/input9
[    1.434622] usb 1-1.4: new high-speed USB device number 4 using ehci-pci
[    1.486766] input: Logitech USB Receiver System Control as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2/1-1.2:1.1/0003:046D:C534.0002/input/input10
[    1.486918] hid-generic 0003:046D:C534.0002: input,hiddev0,hidraw1: USB HID v1.11 Mouse [Logitech USB Receiver] on usb-0000:00:1a.0-1.2/input1
[    1.555140] logitech-djreceiver 0003:046D:C534.0001: hidraw0: USB HID v1.11 Keyboard [Logitech USB Receiver] on usb-0000:00:1a.0-1.2/input0
[    1.569851] usb 1-1.4: New USB device found, idVendor=0ac8, idProduct=c349, bcdDevice= 0.15
[    1.569858] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    1.569862] usb 1-1.4: Product: WebCam SC-03FFL11739P
[    1.569865] usb 1-1.4: Manufacturer: Vimicro Corp.
[    1.574484] psmouse serio1: elantech: assuming hardware version 3 (with firmware version 0x350f00)
[    1.590298] psmouse serio1: elantech: Synaptics capabilities query result 0x08, 0x17, 0x0c.
[    1.605593] psmouse serio1: elantech: Elan sample query result 01, 22, 85
[    1.687330] input: ETPS/2 Elantech Touchpad as /devices/platform/i8042/serio1/input/input5
[    1.719172] logitech-djreceiver 0003:046D:C534.0002: hiddev0,hidraw1: USB HID v1.11 Mouse [Logitech USB Receiver] on usb-0000:00:1a.0-1.2/input1
[    1.779990] logitech-djreceiver 0003:046D:C534.0002: device of type eQUAD nano Lite (0x0a) connected on slot 1
[    1.780639] input: Logitech Wireless Keyboard PID:4023 Keyboard as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2/1-1.2:1.1/0003:046D:C534.0002/0003:046D:4023.0003/input/input13
[    1.780791] input: Logitech Wireless Keyboard PID:4023 Consumer Control as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2/1-1.2:1.1/0003:046D:C534.0002/0003:046D:4023.0003/input/input14
[    1.780890] input: Logitech Wireless Keyboard PID:4023 System Control as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2/1-1.2:1.1/0003:046D:C534.0002/0003:046D:4023.0003/input/input15
[    1.780994] hid-generic 0003:046D:4023.0003: input,hidraw2: USB HID v1.11 Keyboard [Logitech Wireless Keyboard PID:4023] on usb-0000:00:1a.0-1.2/input1:1
[    1.781990] logitech-djreceiver 0003:046D:C534.0002: device of type eQUAD nano Lite (0x0a) connected on slot 2
[    1.782377] input: Logitech Wireless Mouse PID:4054 Mouse as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2/1-1.2:1.1/0003:046D:C534.0002/0003:046D:4054.0004/input/input20
[    1.782551] hid-generic 0003:046D:4054.0004: input,hidraw3: USB HID v1.11 Mouse [Logitech Wireless Mouse PID:4054] on usb-0000:00:1a.0-1.2/input1:2
[    1.912384] input: Logitech Wireless Keyboard PID:4023 as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2/1-1.2:1.1/0003:046D:C534.0002/0003:046D:4023.0003/input/input24
[    1.912550] logitech-hidpp-device 0003:046D:4023.0003: input,hidraw2: USB HID v1.11 Keyboard [Logitech Wireless Keyboard PID:4023] on usb-0000:00:1a.0-1.2/input1:1
[    1.952249] input: Logitech Wireless Mouse as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2/1-1.2:1.1/0003:046D:C534.0002/0003:046D:4054.0004/input/input25
[    1.952503] logitech-hidpp-device 0003:046D:4054.0004: input,hidraw3: USB HID v1.11 Mouse [Logitech Wireless Mouse] on usb-0000:00:1a.0-1.2/input1:2
[    2.543532] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
[    4.861875] random: crng init done
[    4.861882] random: 7 urandom warning(s) missed due to ratelimiting
[    5.212071] systemd[1]: Inserted module 'autofs4'
[    5.490078] systemd[1]: systemd 245.4-4ubuntu3.2 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-hierarchy=hybrid)
[    5.506743] systemd[1]: Detected architecture x86-64.
[    5.562758] systemd[1]: Set hostname to <saptarshi-300E4C-300E5C-300E7C>.
[    8.379518] systemd[1]: /lib/systemd/system/dbus.socket:5: ListenStream= references a path below legacy directory /var/run/, updating /var/run/dbus/system_bus_socket → /run/dbus/system_bus_socket; please update the unit file accordingly.
[    9.077683] systemd[1]: Created slice system-modprobe.slice.
[    9.077958] systemd[1]: Created slice User and Session Slice.
[    9.078040] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    9.078308] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[    9.078353] systemd[1]: Reached target User and Group Name Lookups.
[    9.078368] systemd[1]: Reached target Remote File Systems.
[    9.078385] systemd[1]: Reached target Slices.
[    9.078583] systemd[1]: Listening on Syslog Socket.
[    9.078694] systemd[1]: Listening on fsck to fsckd communication Socket.
[    9.078763] systemd[1]: Listening on initctl Compatibility Named Pipe.
[    9.078985] systemd[1]: Listening on Journal Audit Socket.
[    9.079085] systemd[1]: Listening on Journal Socket (/dev/log).
[    9.079211] systemd[1]: Listening on Journal Socket.
[    9.079329] systemd[1]: Listening on udev Control Socket.
[    9.079423] systemd[1]: Listening on udev Kernel Socket.
[    9.080463] systemd[1]: Mounting Huge Pages File System...
[    9.081665] systemd[1]: Mounting POSIX Message Queue File System...
[    9.083385] systemd[1]: Mounting Kernel Debug File System...
[    9.084837] systemd[1]: Mounting Kernel Trace File System...
[    9.086561] systemd[1]: Starting Journal Service...
[    9.087820] systemd[1]: Starting Set the console keyboard layout...
[    9.089119] systemd[1]: Starting Create list of static device nodes for the current kernel...
[    9.089208] systemd[1]: Condition check resulted in Load Kernel Module drm being skipped.
[    9.149179] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped.
[    9.149241] systemd[1]: Condition check resulted in File System Check on Root Device being skipped.
[    9.273263] systemd[1]: Starting Load Kernel Modules...
[    9.274714] systemd[1]: Starting Remount Root and Kernel File Systems...
[    9.275871] systemd[1]: Starting udev Coldplug all Devices...
[    9.277185] systemd[1]: Starting Uncomplicated firewall...
[    9.279267] systemd[1]: Mounted Huge Pages File System.
[    9.279450] systemd[1]: Mounted POSIX Message Queue File System.
[    9.279597] systemd[1]: Mounted Kernel Debug File System.
[    9.279742] systemd[1]: Mounted Kernel Trace File System.
[    9.280271] systemd[1]: Finished Create list of static device nodes for the current kernel.
[    9.372301] systemd[1]: Started Journal Service.
[    9.510335] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
[   10.193551] systemd-journald[366]: Received client request to flush runtime journal.
[   10.274566] Adding 2097148k swap on /swapfile.  Priority:-2 extents:6 across:2260988k FS
[   10.846926] lp: driver loaded but no devices found
[   11.038286] ppdev: user-space parallel port driver
[   11.127297] bpfilter: Loaded bpfilter_umh pid 395
[   11.127629] Started bpfilter
[   16.866163] audit: type=1400 audit(1596222065.861:2): apparmor="STATUS" operation="profile_load" profile="unconfined" name="nvidia_modprobe" pid=493 comm="apparmor_parser"
[   16.866168] audit: type=1400 audit(1596222065.861:3): apparmor="STATUS" operation="profile_load" profile="unconfined" name="nvidia_modprobe//kmod" pid=493 comm="apparmor_parser"
[   16.907621] audit: type=1400 audit(1596222065.905:4): apparmor="STATUS" operation="profile_load" profile="unconfined" name="lsb_release" pid=494 comm="apparmor_parser"
[   16.921447] audit: type=1400 audit(1596222065.917:5): apparmor="STATUS" operation="profile_load" profile="unconfined" name="ippusbxd" pid=496 comm="apparmor_parser"
[   17.215634] audit: type=1400 audit(1596222066.213:6): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/sbin/ntpd" pid=499 comm="apparmor_parser"
[   17.310609] audit: type=1400 audit(1596222066.309:7): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/snapd/snap-confine" pid=498 comm="apparmor_parser"
[   17.310616] audit: type=1400 audit(1596222066.309:8): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/snapd/snap-confine//mount-namespace-capture-helper" pid=498 comm="apparmor_parser"
[   17.314776] audit: type=1400 audit(1596222066.313:9): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/cups/backend/cups-pdf" pid=495 comm="apparmor_parser"
1 Like

part2:

[   17.314781] audit: type=1400 audit(1596222066.313:10): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/sbin/cupsd" pid=495 comm="apparmor_parser"
[   17.314785] audit: type=1400 audit(1596222066.313:11): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/sbin/cupsd//third_party" pid=495 comm="apparmor_parser"
[   24.242691] RAPL PMU: API unit is 2^-32 Joules, 3 fixed counters, 163840 ms ovfl timer
[   24.242693] RAPL PMU: hw unit of domain pp0-core 2^-16 Joules
[   24.242693] RAPL PMU: hw unit of domain package 2^-16 Joules
[   24.242694] RAPL PMU: hw unit of domain pp1-gpu 2^-16 Joules
[   24.729271] samsung_laptop: detected SABI interface: [email protected]
[   25.615460] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[   25.618884] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[   26.669101] ath: phy0: Set BT/WLAN RX diversity capability
[   26.676591] ath: phy0: ASPM enabled: 0x42
[   26.676593] ath: EEPROM regdomain: 0x65
[   26.676593] ath: EEPROM indicates we should expect a direct regpair map
[   26.676595] ath: Country alpha2 being used: 00
[   26.676596] ath: Regpair used: 0x65
[   26.677452] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   26.677947] ieee80211 phy0: Atheros AR9485 Rev:1 mem=0xffffaffe40900000, irq=16
[   26.889680] ath9k 0000:01:00.0 wlp1s0: renamed from wlan0
[   27.391873] intel_rapl_common: Found RAPL domain package
[   27.391875] intel_rapl_common: Found RAPL domain core
[   27.391876] intel_rapl_common: Found RAPL domain uncore
[   27.391881] intel_rapl_common: RAPL package-0 domain package locked by BIOS
[   28.297459] snd_hda_intel 0000:00:1b.0: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[   28.637341] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC269VC: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
[   28.637345] snd_hda_codec_realtek hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[   28.637346] snd_hda_codec_realtek hdaudioC0D0:    hp_outs=1 (0x15/0x0/0x0/0x0/0x0)
[   28.637347] snd_hda_codec_realtek hdaudioC0D0:    mono: mono_out=0x0
[   28.637348] snd_hda_codec_realtek hdaudioC0D0:    inputs:
[   28.637350] snd_hda_codec_realtek hdaudioC0D0:      Internal Mic=0x19
[   28.637351] snd_hda_codec_realtek hdaudioC0D0:      Mic=0x18
[   28.803099] input: HDA Intel PCH Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input26
[   28.803192] input: HDA Intel PCH Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input27
[   28.803280] input: HDA Intel PCH HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1b.0/sound/card0/input28
[   34.982571] Bluetooth: Core ver 2.22
[   34.982596] NET: Registered protocol family 31
[   34.982597] Bluetooth: HCI device and connection manager initialized
[   34.982602] Bluetooth: HCI socket layer initialized
[   34.982604] Bluetooth: L2CAP socket layer initialized
[   34.982607] Bluetooth: SCO socket layer initialized
[   35.207956] usbcore: registered new interface driver btusb
[   35.298589] usbcore: registered new interface driver ath3k
[   35.408904] mc: Linux media interface: v0.10
[   35.492270] videodev: Linux video capture interface: v2.00
[   36.008209] uvcvideo: Found UVC 1.00 device WebCam SC-03FFL11739P (0ac8:c349)
[   36.013943] uvcvideo 1-1.4:1.0: Entity type for entity Processing 2 was not initialized!
[   36.013947] uvcvideo 1-1.4:1.0: Entity type for entity Camera 1 was not initialized!
[   36.013950] uvcvideo 1-1.4:1.0: Entity type for entity Extension 4 was not initialized!
[   36.014065] input: WebCam SC-03FFL11739P: WebCam S as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.4/1-1.4:1.0/input/input29
[   36.014156] usbcore: registered new interface driver uvcvideo
[   36.014157] USB Video Class driver (1.1.1)
[   56.401017] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   56.401021] Bluetooth: BNEP filters: protocol multicast
[   56.401031] Bluetooth: BNEP socket layer initialized
[   57.423936] NET: Registered protocol family 38
[   66.838834] kauditd_printk_skb: 37 callbacks suppressed
[   66.838838] audit: type=1400 audit(1596222115.837:49): apparmor="DENIED" operation="capable" profile="/usr/sbin/cups-browsed" pid=1156 comm="cups-browsed" capability=23  capname="sys_nice"
[   67.104444] RTL8211E Gigabit Ethernet r8169-200:00: attached PHY driver [RTL8211E Gigabit Ethernet] (mii_bus:phy_addr=r8169-200:00, irq=IGNORE)
[   67.299856] r8169 0000:02:00.0 enp2s0: Link is Down
[   70.008778] wlp1s0: authenticate with a4:2b:8c:f3:bf:42
[   70.023397] wlp1s0: send auth to a4:2b:8c:f3:bf:42 (try 1/3)
[   70.025761] wlp1s0: authenticated
[   70.026541] wlp1s0: associate with a4:2b:8c:f3:bf:42 (try 1/3)
[   70.030805] wlp1s0: RX AssocResp from a4:2b:8c:f3:bf:42 (capab=0x431 status=0 aid=2)
[   70.030962] wlp1s0: associated
[   71.740321] IPv6: ADDRCONF(NETDEV_CHANGE): wlp1s0: link becomes ready
[   71.890884] audit: type=1400 audit(1596222120.889:50): apparmor="DENIED" operation="open" profile="snap.canonical-livepatch.canonical-livepatchd" name="/snap/core/9665/usr/share/locale/en_GB/LC_MESSAGES/snappy.mo" pid=1196 comm="snap-exec" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
[   99.436964] [UFW BLOCK] IN=wlp1s0 OUT= MAC=e8:03:9a:c3:b0:fd:a4:2b:8c:f3:bf:42:08:00 SRC=0.0.0.0 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0xC0 TTL=1 ID=0 DF PROTO=2 
[  106.142200] [UFW BLOCK] IN=wlp1s0 OUT= MAC=e8:03:9a:c3:b0:fd:c2:3a:7d:27:d7:33:08:00 SRC=192.168.1.4 DST=224.0.0.251 LEN=32 TOS=0x00 PREC=0x00 TTL=1 ID=40040 PROTO=2 
[  107.782273] Bluetooth: RFCOMM TTY layer initialized
[  107.782283] Bluetooth: RFCOMM socket layer initialized
[  107.782289] Bluetooth: RFCOMM ver 1.11
[  171.094382] audit: type=1400 audit(1596222219.440:51): apparmor="DENIED" operation="open" profile="snap.canonical-livepatch.canonical-livepatch" name="/snap/core/9665/usr/share/locale/en_GB/LC_MESSAGES/snappy.mo" pid=2528 comm="snap-exec" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[  172.488004] audit: type=1400 audit(1596222220.836:52): apparmor="DENIED" operation="open" profile="snap.canonical-livepatch.canonical-livepatch" name="/snap/core/9665/usr/share/locale/en_GB/LC_MESSAGES/snappy.mo" pid=2580 comm="snap-exec" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[  172.599608] audit: type=1400 audit(1596222220.948:53): apparmor="DENIED" operation="open" profile="snap.canonical-livepatch.canonical-livepatch" name="/snap/core/9665/usr/share/locale/en_GB/LC_MESSAGES/snappy.mo" pid=2638 comm="snap-exec" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[  172.719758] audit: type=1400 audit(1596222221.068:54): apparmor="DENIED" operation="open" profile="snap.canonical-livepatch.canonical-livepatch" name="/snap/core/9665/usr/share/locale/en_GB/LC_MESSAGES/snappy.mo" pid=2694 comm="snap-exec" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[  224.877129] [UFW BLOCK] IN=wlp1s0 OUT= MAC=e8:03:9a:c3:b0:fd:a4:2b:8c:f3:bf:42:08:00 SRC=0.0.0.0 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0xC0 TTL=1 ID=0 DF PROTO=2 
[  227.143748] [UFW BLOCK] IN=wlp1s0 OUT= MAC=e8:03:9a:c3:b0:fd:c2:3a:7d:27:d7:33:08:00 SRC=192.168.1.4 DST=224.0.0.251 LEN=32 TOS=0x00 PREC=0x00 TTL=1 ID=40045 PROTO=2 
[  309.860055] logitech-hidpp-device 0003:046D:4054.0004: HID++ 4.5 device connected.
[  350.317305] [UFW BLOCK] IN=wlp1s0 OUT= MAC=e8:03:9a:c3:b0:fd:a4:2b:8c:f3:bf:42:08:00 SRC=0.0.0.0 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0xC0 TTL=1 ID=0 DF PROTO=2 
[  351.118396] mce: CPU0: Core temperature above threshold, cpu clock throttled (total events = 1)
[  351.118397] mce: CPU1: Core temperature above threshold, cpu clock throttled (total events = 1)
[  351.118400] mce: CPU2: Package temperature above threshold, cpu clock throttled (total events = 1)
[  351.118401] mce: CPU3: Package temperature above threshold, cpu clock throttled (total events = 1)
[  351.118402] mce: CPU1: Package temperature above threshold, cpu clock throttled (total events = 1)
[  351.118405] mce: CPU0: Package temperature above threshold, cpu clock throttled (total events = 1)
[  351.119409] mce: CPU1: Core temperature/speed normal
[  351.119410] mce: CPU0: Core temperature/speed normal
[  351.119412] mce: CPU2: Package temperature/speed normal
[  351.119413] mce: CPU3: Package temperature/speed normal
[  351.119414] mce: CPU0: Package temperature/speed normal
[  351.119415] mce: CPU1: Package temperature/speed normal
[  354.639565] [UFW BLOCK] IN=wlp1s0 OUT= MAC=e8:03:9a:c3:b0:fd:c2:3a:7d:27:d7:33:08:00 SRC=192.168.1.4 DST=224.0.0.251 LEN=32 TOS=0x00 PREC=0x00 TTL=1 ID=40062 PROTO=2 
[  475.757689] [UFW BLOCK] IN=wlp1s0 OUT= MAC=e8:03:9a:c3:b0:fd:a4:2b:8c:f3:bf:42:08:00 SRC=0.0.0.0 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0xC0 TTL=1 ID=0 DF PROTO=2 
[  478.148541] [UFW BLOCK] IN=wlp1s0 OUT= MAC=e8:03:9a:c3:b0:fd:c2:3a:7d:27:d7:33:08:00 SRC=192.168.1.4 DST=224.0.0.251 LEN=32 TOS=0x00 PREC=0x00 TTL=1 ID=40063 PROTO=2 
[  601.197895] [UFW BLOCK] IN=wlp1s0 OUT= MAC=e8:03:9a:c3:b0:fd:a4:2b:8c:f3:bf:42:08:00 SRC=0.0.0.0 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0xC0 TTL=1 ID=0 DF PROTO=2 
[  608.637906] [UFW BLOCK] IN=wlp1s0 OUT= MAC=e8:03:9a:c3:b0:fd:c2:3a:7d:27:d7:33:08:00 SRC=192.168.1.4 DST=224.0.0.251 LEN=32 TOS=0x00 PREC=0x00 TTL=1 ID=40064 PROTO=2

For me, very difficult to see a single cause of slow. It seems there are several small stuck, 8 seconds here, 10 seconds there...

[   17.314785] audit: type=1400 audit(1596222066.313:11): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/sbin/cupsd//third_party" pid=495 comm="apparmor_parser"
[   24.242691] RAPL PMU: API unit is 2^-32 Joules, 3 fixed counters, 163840 ms ovfl timer
...
[   28.803280] input: HDA Intel PCH HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1b.0/sound/card0/input28
[   34.982571] Bluetooth: Core ver 2.22
...
[   36.014157] USB Video Class driver (1.1.1)
[   56.401017] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
...
[   57.423936] NET: Registered protocol family 38
[   66.838834] kauditd_printk_skb: 37 callbacks suppressed

Can you show us the output of usb list devices:

 lsusb

Then, unplug all your usb devices (including mice receiver) and reboot to see if boot duration is different.

1 Like

lsusb

Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 0ac8:c349 Z-Star Microelectronics Corp. 
Bus 001 Device 003: ID 046d:c534 Logitech, Inc. Unifying Receiver
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

I did but it's still the same. :frowning:

I can't help more. Wait for a specialist of dmesg.

1 Like

Hi @Philippe thank you for your help with this so far, and I duly appreciate the same.

I just looked into this a little. I don't have this problem but I found an old article about this:
https://unix.stackexchange.com/questions/162594/systemd-slow-boot-systemd-tmpfiles-setup

To cut to the chase, it often means there's a huge number of files in /tmp or /var or possibly even /run. The extra files not only make checking the disk take a long time, they make indexing /tmp to find all files older than 10 days old take a long time, since there's a lot of files in the directories.

Check out those three directories and see how many files are in each, please. Also make sure your file manager shows hidden files, too.

1 Like

Thank you @gordon, but what is the solution here. Thanks!

Please determine how many files are contained in /var, /run, and /tmp, respectively. You may need to delete (a lot) of temporary files in these directories manually if any of them show large file counts (I'd say more than 2000 files is unusually large). But BE WARNED: Do not delete the entirety of any of these directories! If you find any directory with large numbers of files in it, use trial and error to find which subdirectory / subdirectories contain the majority of the files. From there I'll research those directories and see if it's safe to delete any of their contents.

Before you take my advice, I'd suggest a backup of these directories. Your backup software may also be able to tell you which directories contain the most files too.

1 Like

Might not be the most popular opinion but I would also point the finger at the CPU/HDD combination. The CPU is from 2012 (here is a benchmark result) and you also have a Seagate spinning rust hard drive. An SSD upgrade will help a little bit and give you a better experience, but I would not have high expectations.

I personally keep my laptops around as long as possible and I think it's good you're doing the same. Please don't misunderstand my thoughts, I'm not a hater.

I'd also regularly (after an update) either use the folloing commands sudo apt autoclean && sudo apt autoremove or scan your system with bleachbit to keep your system files lean.

So to tie all my jibberish together: Unfortunately there is no one answer to this issue. A SSD upgrade will help.

2 Likes

Thank you @gordon, @peanut42 and Team.

I wish to highlight drastic differences in cold and warm boot times, and here's what the different systemd-analyze results show:

Cold boot

systemd-analyze
    Startup finished in 5.825s (kernel) + 10min 8.722s (userspace) = 10min 14.547s 
    graphical.target reached after 9min 45.867s in userspace

Warm boot

systemd-analyze
    Startup finished in 5.680s (kernel) + 1min 31.872s (userspace) = 1min 37.553s 
    graphical.target reached after 1min 31.236s in userspace

Cold boot

systemd-analyze blame
6min 14.614s dev-sda1.device                                    
 4min 7.485s apport-autoreport.service                          
2min 51.589s dev-loop8.device                                   
2min 50.265s dev-loop11.device                                  
2min 49.896s dev-loop5.device                                   
2min 49.746s dev-loop10.device                                  
2min 49.287s dev-loop0.device                                   
2min 48.541s dev-loop1.device                                   
2min 48.472s dev-loop6.device                                   
2min 46.970s dev-loop9.device                                   
2min 45.788s dev-loop7.device                                   
2min 45.750s dev-loop4.device                                   
2min 41.174s dev-loop3.device                                   
2min 39.605s dev-loop2.device                                   
 2min 3.066s apparmor.service                                   
1min 30.245s smbd.service                                       
1min 30.131s nmbd.service                                       
1min 30.092s networkd-dispatcher.service                        
1min 30.061s systemd-journal-flush.service                      
 1min 2.239s NetworkManager.service                             
     54.876s accounts-daemon.service                            
     54.076s lightdm.service                                    
     54.047s plymouth-quit-wait.service                         
lines 1-23...skipping...
6min 14.614s dev-sda1.device                                    
 4min 7.485s apport-autoreport.service                          
2min 51.589s dev-loop8.device                                   
2min 50.265s dev-loop11.device                                  
2min 49.896s dev-loop5.device                                   
2min 49.746s dev-loop10.device                                  
2min 49.287s dev-loop0.device                                   
2min 48.541s dev-loop1.device                                   
2min 48.472s dev-loop6.device                                   
2min 46.970s dev-loop9.device                                   
2min 45.788s dev-loop7.device                                   
2min 45.750s dev-loop4.device                                   
2min 41.174s dev-loop3.device                                   
2min 39.605s dev-loop2.device                                   
 2min 3.066s apparmor.service                                   
1min 30.245s smbd.service                                       
1min 30.131s nmbd.service                                       
1min 30.092s networkd-dispatcher.service                        
1min 30.061s systemd-journal-flush.service                      
 1min 2.239s NetworkManager.service                             
     54.876s accounts-daemon.service                            
     54.076s lightdm.service                                    
     54.047s plymouth-quit-wait.service                         
     53.741s snapd.seeded.service                               
     51.529s NetworkManager-wait-online.service                 
     44.784s colord.service                                     
     43.248s bluetooth.service                                  
     38.805s systemd-tmpfiles-setup.service                     
     32.763s networking.service                                 
     32.479s snapd.apparmor.service                             
     30.193s polkit.service                                     
     24.607s setvtrgb.service                                   
     22.654s snapd.service                                      
     22.129s avahi-daemon.service                               
     21.866s tlp.service                                        
lines 1-35

Warm boot

systemd-analyze blame
45.168s dev-sda1.device                                    
41.636s snapd.service                                      
32.701s networkd-dispatcher.service                        
26.637s apport-autoreport.service                          
24.373s udisks2.service                                    
23.090s accounts-daemon.service                            
19.204s dev-loop10.device                                  
18.314s NetworkManager.service                             
18.145s polkit.service                                     
17.476s nmbd.service                                       
17.469s NetworkManager-wait-online.service                 
16.564s dev-loop6.device                                   
16.531s dev-loop11.device                                  
16.252s avahi-daemon.service                               
14.707s systemd-logind.service                             
14.707s thermald.service                                   
14.706s wpa_supplicant.service                             
13.693s smartmontools.service                              
13.066s dev-loop9.device                                   
12.667s systemd-journal-flush.service                      
12.448s dev-loop4.device                                   
11.649s dev-loop8.device                                   
11.368s alsa-restore.service                               
lines 1-23...skipping...
45.168s dev-sda1.device                                    
41.636s snapd.service                                      
32.701s networkd-dispatcher.service                        
26.637s apport-autoreport.service                          
24.373s udisks2.service                                    
23.090s accounts-daemon.service                            
19.204s dev-loop10.device                                  
18.314s NetworkManager.service                             
18.145s polkit.service                                     
17.476s nmbd.service                                       
17.469s NetworkManager-wait-online.service                 
16.564s dev-loop6.device                                   
16.531s dev-loop11.device                                  
16.252s avahi-daemon.service                               
14.707s systemd-logind.service                             
14.707s thermald.service                                   
14.706s wpa_supplicant.service                             
13.693s smartmontools.service                              
13.066s dev-loop9.device                                   
12.667s systemd-journal-flush.service                      
12.448s dev-loop4.device                                   
11.649s dev-loop8.device                                   
11.368s alsa-restore.service                               
11.203s dev-loop5.device                                   
10.981s dev-loop3.device                                   
10.832s ModemManager.service                               
10.779s dev-loop0.device                                   
10.709s dev-loop7.device                                   
10.688s gpu-manager.service                                
10.381s dev-loop2.device                                   
10.371s dev-loop1.device                                   
 9.307s smbd.service                                       
 8.825s systemd-udevd.service                              
 8.348s systemd-resolved.service                           
 8.135s apport.service                                     
lines 1-35

Cold boot

systemd-analyze critical-chain
The time when unit became active or started is printed after the "@" character.
The time the unit took to start is printed after the "+" character.

graphical.target @9min 45.867s
└─multi-user.target @9min 45.866s
  └─snapd.service @9min 46.065s +22.654s
    └─basic.target @2min 49.242s
      └─sockets.target @2min 49.242s
        └─snapd.socket @2min 49.239s +2ms
          └─sysinit.target @2min 49.145s
            └─[email protected]:intel_backlight.service @2min 52.447s>
              └─system-systemd\x2dbacklight.slice @2min 52.445s
                └─system.slice @5.135s
                  └─-.slice @5.135s
lines 1-14/14 (END)...skipping...
The time when unit became active or started is printed after the "@" character.
The time the unit took to start is printed after the "+" character.

graphical.target @9min 45.867s
└─multi-user.target @9min 45.866s
  └─snapd.service @9min 46.065s +22.654s
    └─basic.target @2min 49.242s
      └─sockets.target @2min 49.242s
        └─snapd.socket @2min 49.239s +2ms
          └─sysinit.target @2min 49.145s
            └─[email protected]:intel_backlight.service @2min 52.447s +5.034s
              └─system-systemd\x2dbacklight.slice @2min 52.445s
                └─system.slice @5.135s
                  └─-.slice @5.135s
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
lines 1-14/14 (END)

Warm boot

systemd-analyze critical-chain
The time when unit became active or started is printed after the "@" character.
The time the unit took to start is printed after the "+" character.

graphical.target @1min 31.236s
└─multi-user.target @1min 31.236s
  └─smbd.service @1min 21.927s +9.307s
    └─nmbd.service @1min 4.445s +17.476s
      └─network-online.target @1min 4.254s
        └─NetworkManager-wait-online.service @46.784s +17.469s
          └─NetworkManager.service @28.464s +18.314s
            └─dbus.service @28.456s
              └─basic.target @28.224s
                └─sockets.target @28.224s
                  └─snapd.socket @28.221s +1ms
                    └─sysinit.target @26.515s
                      └─[email protected]:intel_backlight.service @24.552s +1.962s
                        └─system-systemd\x2dbacklight.slice @24.550s
                          └─system.slice @7.753s
                            └─-.slice @7.753s

It is beyond me as to how can there be so much of variance between the cold and warm boot times, and any insights on the same would be greatly appreciated. Thank you.

1 Like

The command dmesg is very useful to determine the root cause of slow boot. You should work on it.
Can you show us the list of snap apps installed:

snap list

And show us the output of this clean/repair/update:

sudo apt update && sudo dpkg --configure -a && sudo apt install -fy && sudo apt autoclean && sudo apt autoremove --purge -y && sudo apt full-upgrade -y

The commands systemd-analyse ... are useful to check a real slow boot, not to determine the root cause.

1 Like
Name                 Version           Rev   Tracking         Publisher      Notes
canonical-livepatch  9.5.5             95    latest/stable    canonicalâś“     -
core                 16-2.45.2         9665  latest/stable    canonicalâś“     core
core18               20200724          1885  latest/stable    canonicalâś“     base
gtk-common-themes    0.1-36-gc75f853   1506  latest/stable    canonicalâś“     -
gtk2-common-themes   0.1               13    latest/stable    canonicalâś“     -
p7zip-desktop        16.02.2           220   latest/stable    ernytech       -
snapd                2.45.2            8542  latest/stable    canonicalâś“     snapd
software-boutique    0+git.f633ffb     54    latest/stable/…  flexiondotorg  classic
ubuntu-mate-welcome  20.04.0-8942ba3b  539   latest/stable/…  flexiondotorg  classic
Hit:1 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:2 http://in.archive.ubuntu.com/ubuntu focal InRelease                                                                                            
Get:3 http://in.archive.ubuntu.com/ubuntu focal-updates InRelease [111 kB]                                                                           
Ign:4 http://dl.google.com/linux/musicmanager/deb stable InRelease                                                                                   
Hit:5 http://ppa.launchpad.net/lah7/ubuntu-mate-colours/ubuntu focal InRelease                                                                       
Hit:6 http://archive.canonical.com/ubuntu focal InRelease                                                                          
Get:7 http://security.ubuntu.com/ubuntu focal-security InRelease [107 kB]                                                                            
Hit:8 http://dl.google.com/linux/musicmanager/deb stable Release                                                                                     
Get:9 http://in.archive.ubuntu.com/ubuntu focal-backports InRelease [98.3 kB]                      
Hit:10 http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu focal InRelease             
Ign:11 http://ppa.launchpad.net/sergiomejia666/respin/ubuntu focal InRelease
Hit:12 http://ppa.launchpad.net/teejee2008/timeshift/ubuntu focal InRelease
Err:13 http://ppa.launchpad.net/sergiomejia666/respin/ubuntu focal Release        
  404  Not Found [IP: 91.189.95.83 80]
Ign:15 https://dl.bintray.com/marshallofsound/deb trusty InRelease                                                                                   
Get:16 https://dl.bintray.com/marshallofsound/deb trusty Release [1,840 B]
Get:17 https://dl.bintray.com/marshallofsound/deb trusty Release.gpg [821 B]
Ign:17 https://dl.bintray.com/marshallofsound/deb trusty Release.gpg
Reading package lists... Done
E: The repository 'http://ppa.launchpad.net/sergiomejia666/respin/ubuntu focal Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: https://dl.bintray.com/marshallofsound/deb trusty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 379CE192D401AB61
E: The repository 'https://dl.bintray.com/marshallofsound/deb trusty Release' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

I apologise for this @Philippe, please give me some time so that I can revert to you on the following.

Thank you very much.