Start a Conversation

Solved!

Go to Solution

5174

October 5th, 2020 03:00

Dell Inspiron 3593: Crash on wake-up and boot errors

I'm having an issue with booting up and waking up on a new laptop. I'd like to know if there are possible solutions or if I should return the device?

I've used Ubuntu for a few years now but only have a basic grasp of the more technical aspects of the system.

The laptop came with Windows 10 and I installed Ubuntu 20.04 without testing to see if the problem was on Windows too.

The problem I'm experiencing is as follows:
On startup, the system often hangs on the manufacturer logo. A restart allows me to proceed.
The system always loads into GNU grub menu. Selecting "ubuntu 20.04" allows me to proceed.
(These last two are more of an inconvinience but I suspect might point to a deeper issue)

My primary issue is this: the system often crashes after waking in an odd way. First, the system hangs on the login screen for a few minutes (Not what I would expect from a new SSD).
Next, once I've logged in, apps don't function as expected. For example, in Firefox, I can open new tabs but can't access websites.
After interacting with each app (in a limited way) for a period it will crash.
In this "mode" the system doesn't power-off from the user interface so I'm forced to do a hard reset.

After the crash and on startup, the system loads grub command line. Input "exit" allows me to proceed.

This crash after waking problem doesn't occur if I wake after a brief sleep (a few seconds).

Sometimes error messages display after the crash but not always. A few examples are:

Read-error on swap-device (253:1:1015920) (the number varies)
Buffer I/O error on dev dm-0, logical block 0, lost sync page write
EXT4-fs error (dm-0): I/O error while writing superblock
psmouse serio1: elantech: failed to query capabilities.

I've updated software, flashed BIOS and hardrive firmware. I used to recieve walls of system errors related to systemd-journald but, since the BIOS updates, I receive fewer error messages however the core issue is unresolved.

I've seen similar issues attributed to a GPU drivers however I'm using on board graphics.

My current suspicion is that there is an error with the hardrive.

Specs:
Dell Inspiron 3593
Ubuntu 20.04
10th Generation Intel® Core™ i5-1035G1 Processor
8GB DDR4 2666MHz
256GB M.2 PCIe NVMe Solid State Drive
Intel® UHD Graphics with shared graphics memory

I'd like to be able to use the sleep-wake function and boot up without additional input (i.e. in grub and grub menu).

Appreciate any help!

2 Posts

October 24th, 2020 06:00

Not sure if you're still experiencing this bug, but just in case you or someone else stumbles over this, here is my solution.

I just bought the same laptop and had a similar issue. When trying to wake up from suspend, the system freezes with lots of filesystem errors.

After a few very annoying hours of googling and trying to trace the problem I found a solution in this thread.

Apparently some SSDs in Dell laptops don't behave correctly in combination with ASPM, resulting in the system not being able to properly wake up the SSD after suspend. Hence the system is no longer able to read and write from the disk and freezes.

First I tried to set "nvme_core.default_ps_max_latency_us=200" in my kernel parameters, but that didn't work for me. I also tried 0, 6000, and 1000000 as values, but also no luck.

The last reply in the thread suggests to add "pcie_aspm=off" in order to explicitly disable ASPM , and that did the trick!

 

Related links:

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1678184?comments=all 

https://wiki.archlinux.org/index.php/Solid_state_drive/NVMe#Power_Saving_APST 

October 26th, 2020 03:00

I hadn't found a solution and this completely fixed the issue! Thank you so much!!

4 Posts

June 29th, 2021 00:00

I am facing the same problem currently. It has been happening since a week or so. I have dual booted Ubuntu 20.04 and Windows 10 Home. When I boot Ubuntu, it sometimes doesn't boot up and gets stuck on a black screen after the Dell Ubuntu logo screen with a underscore white colored cursor flashing. I have to force shutdown the device. Other times, it boots up but after a couple of minutes everything freezes. After a minute, the OS crashes and goes to screen as shown in the screenshot. I tried reinstalling the root partition of Ubuntu. Also my windows was not booting a few days back. Used to get a BSOD screen with stopcode whea uncorrectable error. But during this time, Ubuntu was working fine, so I knew this was not a hardware issue. I rolled back the quality update and it booted, then ran chkdsk, sfc scannow and it solved some corrupted files I guess or partitions. After this, everything was working fine for a couple of days. But now I am again facing the Ubuntu error mentioned above. Windows is working fine. Can you please help me? Will this work? Wouldn't your solution result in the PCIE express running continously, which will in turn affect the battery life and even the PCIE express terminals?Error screen after crashError screen after crash

Device Details:

Dell G7 7588

i7-8750H + GTX 1060 MaxQ (6GB)

RAM 16GB DDR4 2666Mhz

HP EVO950 512GB SSD + 1 TB WDCSPZX-75Z10T2 W10 HDD

2 Posts

June 30th, 2021 09:00

> Can you please help me? Will this work? Wouldn't your solution result in the PCIE express running continously, which will in turn affect the battery life and even the PCIE express terminals?

Well, try and see if it works for you. I don't really know what happens when PCIe ASPM is disabled, if power management is completely disabled or if it falls back to just switching the device off after some time. I guess the latter happens, at least during suspend. Personally, I don't really notice any significant battery drain. On the other hand, I haven't really used the laptop without this fix, so I don't know how the battery lifetime was without it.

Nevertheless, since the disk is in use most of the time anyway, I assume there won't be much difference.

No Events found!

Top