Bug 427177

Summary: Putting PC to sleep disables NVMe drive until reboot.
Product: [I don't know] kde Reporter: homonomonom1984
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED UPSTREAM    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description homonomonom1984 2020-09-30 19:48:07 UTC
SUMMARY
Adding the weather widget to the desktop disables the user's NVMe SSD on the next reboot/after waking from sleep. I have double checked my BIOS settings before hand, and have confirmed that it is the weather app specifically. Another side effect is that it also messes with resource/temperature monitoring, and turns the lock screen completely bright. 

STEPS TO REPRODUCE
1. Add weather widget to desktop
2?. Configure weather widget's settings
3. Reboot PC
4. Put PC to sleep, then wake.

OBSERVED RESULT
NVMe drive disappears from not only Dolphin, but the built in partition manager as well, and is completely disabled, even in BIOS. The lock screen turns white, and resource monitoring widgets are messed with. This can be fixed by simply removing the weather widget, then rebooting your PC. 

SOFTWARE/OS VERSIONS

Linux distribution: Kubuntu 20.04.1
Linux kernel: 5.4.0-48-generic
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.68.0
Qt Version: 5.12.8

ADDITIONAL INFORMATION:

JournalD Log errors found:
(9/30/20 12:16 PM	kernel	nvme nvme0: Device not ready; aborting reset)
(9/30/20 12:16 PM	kernel	nvme nvme0: Device not ready; aborting reset)
(9/30/20 12:16 PM	ksysguardd	Disk device disappeared) x 11
Comment 1 homonomonom1984 2020-09-30 19:50:22 UTC
I also found that to completely fix the issue, you have to put your PC to sleep, then wake it up after rebooting it.
Comment 2 homonomonom1984 2020-09-30 20:00:29 UTC
(In reply to homonomonom1984 from comment #0)
> SUMMARY
> Adding the weather widget to the desktop disables the user's NVMe SSD on the
> next reboot/after waking from sleep. I have double checked my BIOS settings
> before hand, and have confirmed that it is the weather app specifically.
> Another side effect is that it also messes with resource/temperature
> monitoring, and turns the lock screen completely bright. 
> 
> STEPS TO REPRODUCE
> 1. Add weather widget to desktop
> 2?. Configure weather widget's settings
> 3. Reboot PC
> 4. Put PC to sleep, then wake.
> 
> OBSERVED RESULT
> NVMe drive disappears from not only Dolphin, but the built in partition
> manager as well, and is completely disabled, even in BIOS. The lock screen
> turns white, and resource monitoring widgets are messed with. This can be
> fixed by simply removing the weather widget, then rebooting your PC. 
> 
> SOFTWARE/OS VERSIONS
> 
> Linux distribution: Kubuntu 20.04.1
> Linux kernel: 5.4.0-48-generic
> KDE Plasma Version: 5.18.5
> KDE Frameworks Version: 5.68.0
> Qt Version: 5.12.8
> 
> ADDITIONAL INFORMATION:
> 
> JournalD Log errors found:
> (9/30/20 12:16 PM	kernel	nvme nvme0: Device not ready; aborting reset)
> (9/30/20 12:16 PM	kernel	nvme nvme0: Device not ready; aborting reset)
> (9/30/20 12:16 PM	ksysguardd	Disk device disappeared) x 11

After additional testing, it's putting your PC to sleep itself that disables the NVMe drive. Ignore my first comment. 

SUMMARY
Putting your PC to sleep and/or rebooting disables the NVMe drive, as well as messes with the lock screen and monitoring widgets.

STEPS TO REPRODUCE
1. Open Dolphin.
2. Put PC to sleep, then wake.
3. Observe Dolphin again.
4. Reboot PC.
5. Observe Dolphin again.

OBSERVED RESULT
NVMe drive disappears from not only Dolphin, but the built in partition manager as well, and is completely disabled, even in BIOS. The lock screen turns white, and resource monitoring widgets are messed with. This can be fixed by simply removing the weather widget, then rebooting your PC. 

SOFTWARE/OS VERSIONS

Linux distribution: Kubuntu 20.04.1
Linux kernel: 5.4.0-48-generic
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.68.0
Qt Version: 5.12.8

ADDITIONAL INFORMATION:

JournalD Log errors found:
(9/30/20 12:16 PM	kernel	nvme nvme0: Device not ready; aborting reset)
(9/30/20 12:16 PM	kernel	nvme nvme0: Device not ready; aborting reset)
(9/30/20 12:16 PM	ksysguardd	Disk device disappeared) x 11
Comment 3 Christoph Feck 2020-09-30 21:30:00 UTC
Please report this issue to kernel developers. Nothing in KDE decides about visibility of hardware.