Author Topic: very slow boot time 3 min linux mint 18 sarah  (Read 9939 times)

0 Members and 2 Guests are viewing this topic.

Offline ihabhamed

  • Jr. Member
  • **
  • Posts: 6
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
very slow boot time 3 min linux mint 18 sarah
« on: July 28, 2016, 07:21:24 am »
please help

linux mint 18 sarah
cinnamon
hp 350 g1
core i5 ram 6G

lspci
Code: [Select]
00:00.0 Host bridge: Intel Corporation Haswell-ULT DRAM Controller (rev 0b)
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b)
00:03.0 Audio device: Intel Corporation Haswell-ULT HD Audio Controller (rev 0b)
00:14.0 USB controller: Intel Corporation 8 Series USB xHCI HC (rev 04)
00:16.0 Communication controller: Intel Corporation 8 Series HECI #0 (rev 04)
00:1b.0 Audio device: Intel Corporation 8 Series HD Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 1 (rev e4)
00:1c.1 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 2 (rev e4)
00:1c.3 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 4 (rev e4)
00:1c.4 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 5 (rev e4)
00:1d.0 USB controller: Intel Corporation 8 Series USB EHCI #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation 8 Series LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 8 Series SATA Controller 1 [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 8 Series SMBus Controller (rev 04)
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 10)
02:00.0 Network controller: Ralink corp. RT3290 Wireless 802.11n 1T/1R PCIe
02:00.1 Bluetooth: Ralink corp. RT3290 Bluetooth
03:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5227 PCI Express Card Reader (rev 01)
09:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Sun XT [Radeon HD 8670A/8670M/8690M / R5 M330] (rev ff)

dmesg  it's too long to post here i attached it

and that's also output of dmesg | grep rt2

Code: [Select]
dmesg | grep rt2
[   17.931026] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 3290, rev 0015 detected
[   17.934493] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 3290 detected
[   18.098812] rt2800pci 0000:02:00.0 wlo1: renamed from wlan0
[  106.461848] ieee80211 phy0: rt2x00lib_request_firmware: Info - Loading firmware file 'rt3290.bin'
[  106.699685] ieee80211 phy0: rt2x00lib_request_firmware: Info - Firmware detected - version: 0.37
[  108.312180] ieee80211 phy0: rt2800_wait_wpdma_ready: Error - WPDMA TX/RX busy [0x00000068]
[  109.912209] ieee80211 phy0: rt2800_wait_wpdma_ready: Error - WPDMA TX/RX busy [0x00000068]
[  109.912215] ieee80211 phy0: rt2800pci_set_device_state: Error - Device failed to enter state 4 (-5)
[  112.288403] ieee80211 phy0: rt2800_wait_wpdma_ready: Error - WPDMA TX/RX busy [0x00000068]
[  113.888480] ieee80211 phy0: rt2800_wait_wpdma_ready: Error - WPDMA TX/RX busy [0x00000068]
[  113.888487] ieee80211 phy0: rt2800pci_set_device_state: Error - Device failed to enter state 4 (-5)
[  115.504562] ieee80211 phy0: rt2800_wait_wpdma_ready: Error - WPDMA TX/RX busy [0x00000068]
[  117.104642] ieee80211 phy0: rt2800_wait_wpdma_ready: Error - WPDMA TX/RX busy [0x00000068]
[  117.104648] ieee80211 phy0: rt2800pci_set_device_state: Error - Device failed to enter state 4 (-5)
[  128.657206] ieee80211 phy0: rt2800_wait_wpdma_ready: Error - WPDMA TX/RX busy [0x00000068]
[  130.257283] ieee80211 phy0: rt2800_wait_wpdma_ready: Error - WPDMA TX/RX busy [0x00000068]
[  130.257290] ieee80211 phy0: rt2800pci_set_device_state: Error - Device failed to enter state 4 (-5)
[  131.873362] ieee80211 phy0: rt2800_wait_wpdma_ready: Error - WPDMA TX/RX busy [0x00000068]
[  133.485377] ieee80211 phy0: rt2800_wait_wpdma_ready: Error - WPDMA TX/RX busy [0x00000068]
[  133.485383] ieee80211 phy0: rt2800pci_set_device_state: Error - Device failed to enter state 4 (-5)
[  145.654038] ieee80211 phy0: rt2800_wait_wpdma_ready: Error - WPDMA TX/RX busy [0x00000068]
[  147.254115] ieee80211 phy0: rt2800_wait_wpdma_ready: Error - WPDMA TX/RX busy [0x00000068]
[  147.254122] ieee80211 phy0: rt2800pci_set_device_state: Error - Device failed to enter state 4 (-5)
[  148.870194] ieee80211 phy0: rt2800_wait_wpdma_ready: Error - WPDMA TX/RX busy [0x00000068]
[  150.470274] ieee80211 phy0: rt2800_wait_wpdma_ready: Error - WPDMA TX/RX busy [0x00000068]
[  150.470281] ieee80211 phy0: rt2800pci_set_device_state: Error - Device failed to enter state 4 (-5)
[  162.658820] ieee80211 phy0: rt2800_wait_wpdma_ready: Error - WPDMA TX/RX busy [0x00000068]
[  164.258950] ieee80211 phy0: rt2800_wait_wpdma_ready: Error - WPDMA TX/RX busy [0x00000068]
[  164.258957] ieee80211 phy0: rt2800pci_set_device_state: Error - Device failed to enter state 4 (-5)
[  165.875029] ieee80211 phy0: rt2800_wait_wpdma_ready: Error - WPDMA TX/RX busy [0x00000068]
[  167.479108] ieee80211 phy0: rt2800_wait_wpdma_ready: Error - WPDMA TX/RX busy [0x00000068]
[  167.479114] ieee80211 phy0: rt2800pci_set_device_state: Error - Device failed to enter state 4 (-5)
[  179.659705] ieee80211 phy0: rt2800_wait_wpdma_ready: Error - WPDMA TX/RX busy [0x00000068]
[  181.259781] ieee80211 phy0: rt2800_wait_wpdma_ready: Error - WPDMA TX/RX busy [0x00000068]
[  181.259788] ieee80211 phy0: rt2800pci_set_device_state: Error - Device failed to enter state 4 (-5)
[  182.875776] ieee80211 phy0: rt2800_wait_wpdma_ready: Error - WPDMA TX/RX busy [0x00000068]
[  184.479924] ieee80211 phy0: rt2800_wait_wpdma_ready: Error - WPDMA TX/RX busy [0x00000068]
[  184.479927] ieee80211 phy0: rt2800pci_set_device_state: Error - Device failed to enter state 4 (-5)
[  196.664535] ieee80211 phy0: rt2800_wait_wpdma_ready: Error - WPDMA TX/RX busy [0x00000068]
[  198.264612] ieee80211 phy0: rt2800_wait_wpdma_ready: Error - WPDMA TX/RX busy [0x00000068]
[  198.264619] ieee80211 phy0: rt2800pci_set_device_state: Error - Device failed to enter state 4 (-5)
[  199.880691] ieee80211 phy0: rt2800_wait_wpdma_ready: Error - WPDMA TX/RX busy [0x00000068]
[  201.480772] ieee80211 phy0: rt2800_wait_wpdma_ready: Error - WPDMA TX/RX busy [0x00000068]
[  201.480778] ieee80211 phy0: rt2800pci_set_device_state: Error - Device failed to enter state 4 (-5)
[  335.240431] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[  335.752845] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[  336.201216] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[  336.669603] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[  337.117951] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[  337.618359] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[  338.118765] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[  397.936724] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[  398.388799] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[  398.900880] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[  399.348952] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[  399.796998] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[  400.245101] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[  400.693180] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[  401.193275] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[  401.693356] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[  482.859857] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[ 1184.427442] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 1 failed to flush
[ 1304.435582] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 1 failed to flush
[ 1664.500917] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 1 failed to flush
[ 2520.922405] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 0 failed to flush
[ 2521.082447] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 1 failed to flush
[ 2521.242481] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[ 2521.694546] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[ 2523.319083] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[ 2523.831241] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[ 2524.343362] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[ 2524.791540] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[ 2525.239678] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[ 2525.687816] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[ 2526.199946] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[ 2527.024229] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[ 2566.994514] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[ 2567.442676] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[ 2567.890814] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[ 2568.338941] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[ 2568.851057] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[ 2569.699321] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[ 2570.147528] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[ 2981.136757] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 1 failed to flush
[ 2981.636907] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[ 3101.173519] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 1 failed to flush
[ 3700.351483] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 1 failed to flush
[ 3700.511526] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[ 3819.378694] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 1 failed to flush
[ 3821.495295] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 1 failed to flush
[ 3939.751570] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[ 4179.499107] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 1 failed to flush
[ 4180.347364] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 1 failed to flush
[ 4181.467735] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 1 failed to flush
[ 4299.530534] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 1 failed to flush
[ 4300.378799] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 1 failed to flush
[ 4301.499081] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 1 failed to flush
[ 5259.724869] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 1 failed to flush
[ 5260.172957] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[ 5260.684915] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 1 failed to flush
[ 5261.805003] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 1 failed to flush
[ 5379.723154] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[ 5380.171182] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[ 5380.683143] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[ 5381.131099] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[ 5381.643060] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[ 5382.154963] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[ 5382.926946] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[ 5383.426915] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[ 5739.764827] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[ 5740.212954] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[ 5740.677155] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[ 5741.141225] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[ 5741.589364] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[ 5742.101559] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[ 5742.565696] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[ 5743.077846] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[ 5743.577995] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[ 5744.094131] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[ 5979.819564] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 1 failed to flush
[ 5979.979541] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[ 5980.427638] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[ 5980.875589] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[ 5981.387673] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[ 5981.899642] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[ 5982.415659] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[ 5982.867742] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 1 failed to flush
[ 5983.027750] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[ 5983.527774] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[ 5984.027799] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[ 6099.769872] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[ 6100.217926] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[ 6100.669945] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[ 6101.118040] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[ 6101.566090] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[ 6102.014144] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[ 6102.462198] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[ 6102.910205] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[ 6103.358316] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[ 6103.806361] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[ 6104.254418] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[ 6104.754483] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 1 failed to flush
[ 6104.914500] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[ 6105.414559] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[ 6220.187261] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[ 6221.035453] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[ 6221.547508] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[ 6222.323673] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[ 6222.827703] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[ 6339.873077] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[ 6340.385112] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[ 6340.901218] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[ 6341.349363] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[ 6341.797452] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[ 6342.245539] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[ 6342.757610] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[ 6343.257696] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[ 6343.757848] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[ 6699.882431] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[ 6700.330493] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[ 6700.842526] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[ 6701.690577] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[ 6702.850666] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[ 6820.169516] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[ 6820.957605] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[ 6822.077718] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[ 6940.247256] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[ 6941.095364] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[ 6942.203622] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[ 7060.279502] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[ 7061.463748] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[ 7062.559932] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[ 7181.611982] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush


output of lspci -vv |grep -i -A 9 wireless
Code: [Select]
02:00.0 Network controller: Ralink corp. RT3290 Wireless 802.11n 1T/1R PCIe
   DeviceName: Ralink RT3290LE 802.11bgn 1x1 Wi-Fi Adapter
   Subsystem: Hewlett-Packard Company Ralink RT3290LE 802.11bgn 1x1 Wi-Fi and Bluetooth 4.0 Combo Adapter
   Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
   Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
   Latency: 0, Cache Line Size: 64 bytes
   Interrupt: pin A routed to IRQ 17
   Region 0: Memory at c2510000 (32-bit, non-prefetchable) [size=64K]
   Capabilities: <access denied>
   Kernel driver in use: rt2800pci

dmesg output
http://s000.tinyupload.com/index.php?file_id=34887545916142571251

thanks in advance
« Last Edit: July 28, 2016, 12:16:48 pm by Mark Greaves (PCNetSpec) »

Online Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 17275
  • Karma: 436
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: very slow boot time 3 min linux mint 18 sarah
« Reply #1 on: July 28, 2016, 12:07:21 pm »
Okay, first can you please not attach documents in this forum unless it is specifically requested by admin .. there is limited server space, so if you want to provide access to documentation please host it online at somewhere online such as
http://www.tinyupload.com/
and then post a link to it/them in your posting.

I've removed the attached dmesg output, uploaded it for you to tinyupload, and included the link in your post for you this time.



Mint 18 is now using systemd, systemd has a number of useful tools for seeing what's happening during bootup, can you run:
Code: [Select]
systemd-analyze critical-chain > ~/Desktop/critical-chain.txt
and
Code: [Select]
systemd-analyze blame > ~/Desktop/blame.txt
you'll then find 2 text files on yourdesktop called "critical-chain.txt" and "blame.txt" .. can you host those online (see link above) then post links to them.

CAn you also post the output from:
Code: [Select]
sudo blkid
and the contents of
Code: [Select]
xed /etc/fstab



systemd also has ways of graphically representing the boot process such as "systemd-analyze plot > ~/Desktop/plot.svg", or you can enable bootchart2 .. but these are probably not necessary at the moment .. but in case you are interested they are covered here:
https://wiki.archlinux.org/index.php/improve_boot_performance
« Last Edit: July 28, 2016, 12:18:37 pm by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline ihabhamed

  • Jr. Member
  • **
  • Posts: 6
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: very slow boot time 3 min linux mint 18 sarah
« Reply #2 on: July 29, 2016, 12:44:35 am »
Hello,
thank you

critical-chain.txt
http://s000.tinyupload.com/index.php?file_id=88329886458004567462

blame.txt
http://s000.tinyupload.com/index.php?file_id=87599931054490968949

sudo blkid output
Code: [Select]
/dev/sda1: UUID="6ba0fc81-df17-41b4-b3a8-f6119b22b898" TYPE="ext4" PARTUUID="f5c07cff-308b-49d2-bebf-126b67867220"
/dev/sda2: UUID="60a65f1f-38a9-485e-baa6-4e01e36a2675" TYPE="ext4" PARTUUID="2dd90590-0683-4f2b-9dca-7daf6d0b4f63"
/dev/sda4: UUID="E220-823C" TYPE="vfat" PARTUUID="7f9646d6-71de-4e44-ae12-cfe40da81f71"
/dev/sda5: LABEL="swap" UUID="6e841fc8-6e03-478d-bf79-d5ae9823f7e8" TYPE="swap" PARTLABEL="swap" PARTUUID="27f2084d-d88a-4c4a-a514-c75e56613177"


xed /etc/fstab output

Code: [Select]
# /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/sda1 during installation
UUID=6ba0fc81-df17-41b4-b3a8-f6119b22b898 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda4 during installation
UUID=E220-823C  /boot/efi       vfat    umask=0077      0       1
# /home was on /dev/sda2 during installation
UUID=60a65f1f-38a9-485e-baa6-4e01e36a2675 /home           ext4    defaults        0       2
# swap was on /dev/sda3 during installation
UUID=2245b98f-e623-4190-aced-cde914193e48 none            swap    sw              0       0

Online Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 17275
  • Karma: 436
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: very slow boot time 3 min linux mint 18 sarah
« Reply #3 on: July 29, 2016, 04:46:20 am »
Okay, first let's uninstall btrfs-tools, you're not using btrfs so there's no point keeping it .. open a terminal and run:
Code: [Select]
sudo apt-get remove btrfs-tools
Now onto a bigger issue, it looks like the UUID of your swap partition is wrong in fstab .. back in the terminal run:
Code: [Select]
sudo xed /etc/fstab
and change the bottom 2 lines from:-
Code: [Select]
# swap was on /dev/sda3 during installation
UUID=2245b98f-e623-4190-aced-cde914193e48 none            swap    sw              0       0
to:-
Code: [Select]
# swap on /dev/sda5
UUID=6e841fc8-6e03-478d-bf79-d5ae9823f7e8 none            swap    sw              0       0
SAVE the file and exit xed

Back in the terminal run:
Code: [Select]
sudo swapon -a

Now REBOOT  <-- IMPORTANT

Once rebooted, run:
Code: [Select]
free -m
and post the output back here so we can check swap is actually working.

Also let us know if the boot speed improved or not.

.
« Last Edit: July 29, 2016, 04:53:26 am by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline ihabhamed

  • Jr. Member
  • **
  • Posts: 6
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: very slow boot time 3 min linux mint 18 sarah
« Reply #4 on: July 31, 2016, 07:34:38 am »
hi
thank you mark but for unfortunately i had to try some solutions before your answer.
 that solutions caused lot of issues so i had to reinstall the system :(
but i had other issue but i think i should open new thread for it

thanks again
« Last Edit: July 31, 2016, 07:40:59 am by ihabhamed »

Offline ellison

  • Jr. Member
  • **
  • Posts: 6
  • Karma: 2
  • I've just joined!
    • View Profile
    • Awards
Re: very slow boot time 3 min linux mint 18 sarah
« Reply #5 on: October 09, 2017, 09:32:37 pm »
Hello Mark...
I had slow boot and shutdown on mint serena cinnammon 18 ,after deleting a windows7 partition (i dual booted with mint) and resizing my linux home and root partitions.I messed something up and swap partition was showing as unallocated so i recreated the swap partition.I followed the advice you gave to the original poster and have fixed my boot time from 0ver 3mins to 48 secs.My swap UUID was different as shown.I followed you instructions to the letter and every things fine so just want to thank you.Heres my before and after results
...
systemd-analyze
Startup finished in 10.574s (kernel) + 3min 2.337s (userspace) = 3min 12.911s
...
systemd-analyze
Startup finished in 10.756s (kernel) + 37.837s (userspace) = 48.594s



...........................................................................................

dev/sda1: LABEL="System Reserved" UUID="529E54639E544221" TYPE="ntfs" PARTUUID="0002d204-01"
/dev/sda3: UUID="1cc6bf17-4d9f-4f69-81bf-9f60e013a16f" TYPE="ext4" PTTYPE="dos" PARTUUID="0002d204-03"
/dev/sda5: UUID="02badf30-58b8-46f2-95bb-f587e9fe1722" TYPE="ext4" PARTUUID="0002d204-05"
/dev/sda6: UUID="415570cc-a779-4862-8f65-5226a8dcf63b" TYPE="swap" PARTUUID="0002d204-06"

................................................................................................
 was on /dev/sda3 during installation
UUID=1cc6bf17-4d9f-4f69-81bf-9f60e013a16f /               ext4    errors=remount-ro 0       1
# /home was on /dev/sda6 during installation
UUID=02badf30-58b8-46f2-95bb-f587e9fe1722 /home           ext4    defaults        0       2
# swap was on /dev/sda5 during installation
UUID=86f0a8fe-8425-4b25-95fc-9997295773f9 none            swap    sw              0       0
.................................................................................................
 total        used        free      shared  buff/cache   available
Mem:           4035         581        2845          14         608        3067
Swap:         19070           0       19070
...
Thank you again
ellison
« Last Edit: October 09, 2017, 10:54:41 pm by ellison »

Online Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 17275
  • Karma: 436
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: very slow boot time 3 min linux mint 18 sarah
« Reply #6 on: October 12, 2017, 12:35:29 pm »
You're most welcome ellison, glad it helped, and welcome to the forum :)

PS. Sorry it took me so long to respond, I normally get a notification when a post is awaiting approval but foor some reason yours slipped through the cracks .. anyway, any new posts you make shouldn't require approval.
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline ellison

  • Jr. Member
  • **
  • Posts: 6
  • Karma: 2
  • I've just joined!
    • View Profile
    • Awards
Re: very slow boot time 3 min linux mint 18 sarah
« Reply #7 on: October 12, 2017, 07:38:02 pm »
You're most welcome ellison, glad it helped, and welcome to the forum :)

PS. Sorry it took me so long to respond, I normally get a notification when a post is awaiting approval but foor some reason yours slipped through the cracks .. anyway, any new posts you make shouldn't require approval.


Thanks for the welcome..
I wonder whether you could advise ,on whether to alter my current partition configuration?.I currently have a 344gig /root partition ,which Im told may cause slowdowns further on down the line ,and have been advised that 30 gigs may be better to use with the extra space added to my home partition.If this is advisable ,whats the best way to resize with gparted.?I have tried and basically made a mess but had the sense to image my pc before trying so ive just restored the image back.I could easily shrink the /root partition but could not work out how to extend home to use the unallocated space as it was to the left of the partition.To be honest my system is very snappy with no slowdowns as it is so I wonder whether I should just leave it as is anyway?.Ive uploaded a pic of gparted and my partitions.Im using linux mint serena 18.1 on dell core2duo dektop with 4 gig of ram.

http://s000.tinyupload.com/index.php?file_id=41706845921435647296

Thanks for any advice
ellison

Online Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 17275
  • Karma: 436
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: very slow boot time 3 min linux mint 18 sarah
« Reply #8 on: October 12, 2017, 11:34:17 pm »
Well first of all I obviously don't know who told you a large root partition would slow your system over time, but whilst technically he's 'not wrong' he's also not fully 'right', Linux file systems tend to leave lots of room between files (which is why they don't need defragging) so the drive read/write heads would have further to travel for seeks on a larger partition, but in the real world seek times of modern HDD's are that quick you'd likely never notice as a human.

In fact having space for the filesystem to leave room between files is more likely to keep your system quick (specially if you started to fill up a smaller root partition).

I can explain what to do if you want, but seriously my mate I'd just leave as is ;)

Trust me, Linux file systems don't noticeably slow over time like Windows ones do unless you run low on space.

Ever wondered why most distros default to a single / partition (without even a separate /home) ? .. heck they're even ditching separate swap partitions now and moving to a swap FILE ;)
« Last Edit: October 12, 2017, 11:41:43 pm by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline ellison

  • Jr. Member
  • **
  • Posts: 6
  • Karma: 2
  • I've just joined!
    • View Profile
    • Awards
Re: very slow boot time 3 min linux mint 18 sarah
« Reply #9 on: October 15, 2017, 11:20:02 am »
Hello Mark....
Thanks for the advice.I will leave it as is.I have everything just the way I want it with no problems.
Thanks
again
ellison

Online Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 17275
  • Karma: 436
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: very slow boot time 3 min linux mint 18 sarah
« Reply #10 on: October 15, 2017, 01:42:17 pm »
You're most welcome ellison :)
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal