Welcome, Guest. Please login or register.
Did you miss your activation email?
2020/10/25, 23:55:55


Author [EN] [PL] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] Topic: upgrade disk sleep  (Read 815 times)

0 Members and 1 Guest are viewing this topic.

Online finotti

  • User
  • Posts: 151
upgrade disk sleep
« on: 2020/09/19, 11:08:38 »
I'm having some trouble when dist-upgrading in my Dell laptop.  During the upgrade, in the setting up and unpacking phase, the process just freezes, for sometimes 5 or even 10 minutes.  This is even when running on a TTY, with X not running at all.  (All packages have already been downloaded with a -d option, so no network problem.)

Examining with htop, no process is using virtually any CPU or memory, but the dpkg process shows as in "disk sleep".  It stays like that for minutes with the update frozen.  Eventually, it starts again, but as you can imagine, it takes a long time!  The freeze can happen many times during the same upgrade.
This only happens on this particular system.  My other siduction system has no problems.

Any ideas on how to fix it or what I can do to find out the problem?

More info about the system:

Code: [Select]
# inxi -v3
System:    Host: l5580 Kernel: 5.8.10-towo.1-siduction-amd64 x86_64 bits: 64 compiler: N/A
           Desktop: KDE Plasma 5.17.5 Distro: siduction 18.2.0 Patience - kde - (201803072323)
           base: Debian GNU/Linux bullseye/sid
Machine:   Type: Laptop System: Dell product: Latitude 5580 v: N/A serial: C306PN2
           Mobo: Dell model: 0DN786 v: A00 serial: /C306PN2/CNCMK0074D014B/ UEFI: Dell v: 1.16.0
           date: 07/03/2019
Battery:   ID-1: BAT0 charge: 65.1 Wh condition: 65.1/68.0 Wh (96%) model: SMP DELL GD1JP65 status: Full
CPU:       Info: Quad Core model: Intel Core i7-7820HQ bits: 64 type: MT MCP arch: Kaby Lake rev: 9
           L2 cache: 8192 KiB
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 46398
           Speed: 3736 MHz min/max: 800/3900 MHz Core speeds (MHz): 1: 2873 2: 3585 3: 2710 4: 2738
           5: 3733 6: 2555 7: 2627 8: 2979
Graphics:  Device-1: Intel HD Graphics 630 vendor: Dell driver: i915 v: kernel bus ID: 00:02.0
           Device-2: NVIDIA GM107 [GeForce 940MX] vendor: Dell driver: N/A bus ID: 01:00.0
           Device-3: Realtek Integrated Webcam_HD type: USB driver: uvcvideo bus ID: 1-11:3
           Display: x11 server: X.Org 1.20.9 driver: modesetting unloaded: fbdev,vesa
           resolution: 1920x1080~60Hz
           OpenGL: renderer: Mesa Intel HD Graphics 630 (KBL GT2) v: 4.6 Mesa 20.1.8 direct render: Yes
Network:   Device-1: Intel Ethernet I219-LM vendor: Dell driver: e1000e v: 3.2.6-k port: f040
           bus ID: 00:1f.6
           IF: enp0s31f6 state: down mac: d4:81:d7:bc:94:0c
           Device-2: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter vendor: Dell
           driver: ath10k_pci v: kernel port: e000 bus ID: 02:00.0
           IF: wlp2s0 state: up mac: 5c:ea:1d:7c:fe:63
           Device-3: Qualcomm Atheros type: USB driver: btusb bus ID: 1-6:2
Drives:    Local Storage: total: 357.98 GiB used: 172.74 GiB (48.3%)
Info:      Processes: 304 Uptime: 19m Memory: 15.52 GiB used: 3.37 GiB (21.7%) Init: systemd runlevel: 5
           Compilers: gcc: 10.2.0 Packages: 5300 Shell: Bash v: 5.0.18 inxi: 3.1.06
« Last Edit: 2020/09/19, 11:29:40 by finotti »

Offline dibl

  • siduction community member
  • Global Moderator
  • User
  • *****
  • Posts: 2.040
    • Land of the Buckeye
Re: upgrade disk sleep
« Reply #1 on: 2020/09/19, 18:43:16 »
Hi finotti,

Google turns up various sleep mode issues with the Dell 5500 series:

Unfortunately the only fixes seem to be in the Windows OS display settings — nothing for Linux.

Probably an SSD would not have that problem ...
Asus ROG STRIX X299-E, Core i7-7740X, Nvidia GTX-1060, dual monitors, SSD 860 EVO, 2@WD1003FZEX in BTRFS

Online finotti

  • User
  • Posts: 151
Re: upgrade disk sleep
« Reply #2 on: 2020/09/20, 14:24:55 »
Thanks, dibl, for the reply!  I don't think that that is really the issue, as it s not a problem when the laptop goes to sleep.  When the DU freezes, I can still use the computer with no problems.  It seems that this "disk sleep" indicated in htop is about the process, not really that the disk is "sleeping" as whole. 

And the drive is an SSD (m.2) in this laptop
Code: [Select]
# inxi -d
Drives:    Local Storage: total: 465.76 GiB used: 70.92 GiB (15.2%)
           ID-1: /dev/sda vendor: SanDisk model: SDSSDH3 500G size: 465.76 GiB
           Optical-1: /dev/sr0 vendor: MATSHITA model: DVD-RAM UJ8G2 dev-links: cdrom,cdrw,dvd,dvdrw
           Features: speed: 24 multisession: yes audio: yes dvd: yes rw: cd-r,cd-rw,dvd-r,dvd-ram

I appreciate your help, though!
If anyone else has any suggestions, please let me know!

Offline axt

  • User
  • Posts: 439
Re: upgrade disk sleep
« Reply #3 on: 2020/09/20, 14:50:22 »
dibl, if you read the long thread to the end (or just the preliminary end), you will find that one cause is certain Windows drivers (Intel UHD). Also with SSD these models have the issue (but of course you should use SSD only).

Maybe finotti needs to install Dell-modified Ubuntu (you can also create a Dell image from an Ubuntu original with an appropriate Dell community utility). ;D

Or just find out what Dell installs or configures differently.

finotti, you should flash the current UEFI ( .cab version for fwupd or 1.17.1 .exe version; Update the Dell UEFI in a Linux environment). This is a basis.
« Last Edit: 2020/09/20, 15:02:05 by axt »

Offline axt

  • User
  • Posts: 439
Re: upgrade disk sleep
« Reply #4 on: 2020/09/22, 20:56:23 »
finotti, what's the current status?

Did you flashed the UEFI? Your version is outdated.

Did you flash the latest firmware of the SSD? SanDisk only knows Windows after the takeover by WD (DashboardSetup.exe). In the past there were at least .iso files.

Which Nvidia driver is installed? The proprietary nvidia or the free nouveau?

Have you tested different custom settings in UEFI? GeForce disabled (i.e. Intel IGP only), "security" options disabled, e.g. computrace, secure boot...

Online finotti

  • User
  • Posts: 151
Re: upgrade disk sleep
« Reply #5 on: 2020/09/24, 19:55:35 »
First, thank you very much axt for the info!
I haven't been able to to work in that computer yet.  My son uses it for school (and games) and I haven't had the chance of trying it out.  But, again, I really appreciate your suggestions and will give it a try as soon as I can.  I will then post my finding here.

Online finotti

  • User
  • Posts: 151
Re: upgrade disk sleep
« Reply #6 on: 2020/09/27, 10:19:09 »
OK, I did a complete update (firmware/BIOS and drivers) by booting in Windows.  Then I did one DU in Linux, and there was no freeze this time.  It might be too early to celebrate, as the problem is sporadic, but definitely a very good sign!
Thanks axt for the suggestion!