Read-only file system on a battery

Bug #1971009 reported by Pawel W
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I have a 2021 Dell XPS 15 (9510) i7-11800H, 16 GB, 512 GB SSD, RTX 3050Ti, Windows 11 Pro.

I’ve updated the following components:

- replaced the RAM to 2x32 GB
- added a brand new Samsung 980 Pro to the second NVMe slot

On the secondary NVMe drive, I’ve installed Ubuntu 20.04 LTS.

Usually, I use Dell WD19TBS USB-C 180W to supply the power, Internet, external USB keyboard and mouse, and two monitors. When doing so, everything seems to be working perfectly for a long time whether working with Ubuntu or Windows.

However, when the laptop is running on battery, I’m observing Ubuntu freezes that happen anywhere between seconds to minutes after a reboot. The keyboard stops responding, the icons go missing, and I’m getting dropped to the terminal with the following messages appearing:

__ext4_find_entry:1611 inode #12272199: comm gmain: reading directory lblock 0

__ext4_find_entry:1611 inode #12272199: comm gmain: reading directory lblock 0

And after a few seconds, the following start to appear:

system-journald: Failed to write entry (22 items, 750 bytes), ignoring: Read-only file system

system-journald: Failed to write entry (22 items, 750 bytes), ignoring: Read-only file system

It seems that disconnecting the docking station usually triggers the freeze immediately. When starting from a battery, it usually takes a few minutes before everything freezes.

The only way to recover is to do a power long-press. If I do this sequence a few times - boot, wait for hang, power long-press, boot again, usually at some point the Samsung 980 Pro is no longer visible in the BIOS. I need to boot into Windows, wait a bit, reboot again, and the drive appears and it’s possible to boot to Ubuntu

What I’ve tried:

update Ubuntu to 21.10
update to the latest kernel: 5.13.0-41-generic
update all drivers, including BIOS, from Windows using Dell SupportAssistant
update Samsung 980 Pro firmware through Samsung Magican
enabling Full Power Mode in Samsung Magician
check SMART report for Samsung, it’s all clear
change GRUB params, currently they look like this: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash pcie_aspm=off nvme_load=YES nvme_core.default_ps_max_latency_us=250 scsi_mod.use_blk_mq=0"
tried also default_ps_max_latency values 0, 5500
fsck from a live boot pendrive
It looks like the drive decides to go to a sleep at some point and does not wake up.

Windows works well both with docking station and battery, the Samsung NVMe is recognized by Samsung Magician.

Any hint what else can I check?

Thank you!
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu71.1
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC2: pawel 3332 F.... pulseaudio
 /dev/snd/controlC1: pawel 3332 F.... pulseaudio
 /dev/snd/pcmC1D0p: pawel 3332 F...m pulseaudio
 /dev/snd/controlC0: pawel 3332 F.... pulseaudio
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
DistroRelease: Ubuntu 21.10
InstallationDate: Installed on 2022-04-05 (24 days ago)
InstallationMedia: Ubuntu 20.04.4 LTS "Focal Fossa" - Release amd64 (20220223)
MachineType: Dell Inc. XPS 15 9510
NonfreeKernelModules: nvidia_modeset nvidia
Package: linux (not installed)
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.13.0-41-generic root=UUID=eafa5ba6-fb89-4ef4-91be-71778e4b1577 ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 5.13.0-41.46~20.04.1-generic 5.13.19
RelatedPackageVersions:
 linux-restricted-modules-5.13.0-41-generic N/A
 linux-backports-modules-5.13.0-41-generic N/A
 linux-firmware 1.201.5
Tags: impish
Uname: Linux 5.13.0-41-generic x86_64
UpgradeStatus: Upgraded to impish on 2022-04-29 (0 days ago)
UserGroups: adm cdrom dip docker input lpadmin lxd plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 03/17/2022
dmi.bios.release: 1.9
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 1.9.0
dmi.board.name: 01V4T3
dmi.board.vendor: Dell Inc.
dmi.board.version: A01
dmi.chassis.type: 10
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvr1.9.0:bd03/17/2022:br1.9:svnDellInc.:pnXPS159510:pvr:rvnDellInc.:rn01V4T3:rvrA01:cvnDellInc.:ct10:cvr:sku0A61:
dmi.product.family: XPS
dmi.product.name: XPS 15 9510
dmi.product.sku: 0A61
dmi.sys.vendor: Dell Inc.

Revision history for this message
Pawel W (shamdog) wrote :
Revision history for this message
Pawel W (shamdog) wrote :
Revision history for this message
Pawel W (shamdog) wrote :
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1971009

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Pawel W (shamdog) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected impish
description: updated
Revision history for this message
Pawel W (shamdog) wrote : CRDA.txt

apport information

Revision history for this message
Pawel W (shamdog) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Pawel W (shamdog) wrote : IwConfig.txt

apport information

Revision history for this message
Pawel W (shamdog) wrote : Lspci.txt

apport information

Revision history for this message
Pawel W (shamdog) wrote : Lspci-vt.txt

apport information

Revision history for this message
Pawel W (shamdog) wrote : Lsusb.txt

apport information

Revision history for this message
Pawel W (shamdog) wrote : Lsusb-t.txt

apport information

Revision history for this message
Pawel W (shamdog) wrote : Lsusb-v.txt

apport information

Revision history for this message
Pawel W (shamdog) wrote : PaInfo.txt

apport information

Revision history for this message
Pawel W (shamdog) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Pawel W (shamdog) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Pawel W (shamdog) wrote : ProcEnviron.txt

apport information

Revision history for this message
Pawel W (shamdog) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Pawel W (shamdog) wrote : ProcModules.txt

apport information

Revision history for this message
Pawel W (shamdog) wrote : PulseList.txt

apport information

Revision history for this message
Pawel W (shamdog) wrote : RfKill.txt

apport information

Revision history for this message
Pawel W (shamdog) wrote : UdevDb.txt

apport information

Revision history for this message
Pawel W (shamdog) wrote : WifiSyslog.txt

apport information

Revision history for this message
Pawel W (shamdog) wrote : acpidump.txt

apport information

Pawel W (shamdog)
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

Is the issue present on 22.04?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.