LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 02-01-2024, 03:13 AM   #1
saddamus
LQ Newbie
 
Registered: Feb 2024
Posts: 1

Rep: Reputation: 0
nvme nvme0: controller is down


I have bought a new laptop - Chuwi freebook 2023. It' intel n100 based machine.
It's shipped with Windows and they declare Windows only support, but it's not an option for me to work on Windows. The only, but serious problem i have with this machine is that it's freezing at random times - it can work fine for an hour or two, then freezes and needs to be force rebooted. As disk becomes read only, i had to enable remote logging to find the reason, which is:
Quote:
Feb 1 09:33:04 fedora kernel 04 kern warning kernel: nvme nvme0: controller is down; will reset: CSTS=0xffffffff, PCI_STATUS=0x10
Feb 1 09:33:04 fedora kernel 04 kern warning kernel: nvme nvme0: Does your device have a faulty power saving mode enabled?
Feb 1 09:33:04 fedora kernel 04 kern warning kernel: nvme nvme0: Try "nvme_core.default_ps_max_latency_us=0 pcie_aspm=off" and report a bug
Feb 1 09:33:04 fedora kernel 06 kern info kernel: nvme 0000:01:00.0: enabling device (0000 -> 0002)
Feb 1 09:33:04 fedora kernel 06 kern info kernel: nvme nvme0: 4/0/0 default/read/poll queues
Feb 1 09:33:04 fedora kernel 03 kern err kernel: nvme0n1: I/O Cmd(0x1) @ LBA 262687384, 8 blocks, I/O Error (sct 0x0 / sc 0x6)
Feb 1 09:33:04 fedora kernel 03 kern err kernel: I/O error, dev nvme0n1, sector 262687384 op 0x1WRITE) flags 0x103000 phys_seg 1 prio class 2
Feb 1 09:33:04 fedora kernel 03 kern err kernel: Buffer I/O error on dev nvme0n1p5, logical block 9299, lost async page write
Feb 1 09:33:04 fedora kernel 03 kern err kernel: nvme0n1: I/O Cmd(0x1) @ LBA 677849992, 8 blocks, I/O Error (sct 0x0 / sc 0x6)
Feb 1 09:33:04 fedora kernel 03 kern err kernel: I/O error, dev nvme0n1, sector 677849992 op 0x1WRITE) flags 0x103000 phys_seg 1 prio class 2
There is no relation whether disk is under load or idle - i can run heavy red-write operation without issue. Smartctl doesnt inform about any problem. What can i do to get closer the reason ?
This didnt help:
Quote:
root@adam-lap:/home/adam# cat /sys/module/nvme_core/parameters/default_ps_max_latency_us
0

Last edited by saddamus; 02-01-2024 at 03:15 AM.
 
Old 02-01-2024, 03:34 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,455

Rep: Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353
Hello, saddamus & welcome to LQ.

The power saving could be a thing. There's a 'powersave' governor in the kernel, acpi can be set up to dictate how your precious battery power gets distributed.

One faultfinding trick might be:
Code:
dmesg |tail -f >>some_file
Then when the crash comes, you'll hopefully have something to go on. I'd also look at getting a standard kernel from the Linus source, as Fedora patch theirs.
 
1 members found this post helpful.
Old 02-01-2024, 12:47 PM   #3
Arnulf
Member
 
Registered: Jan 2022
Location: Hanover, Germany
Distribution: Slackware
Posts: 274

Rep: Reputation: 89
The "Chuwi freebook 2023" is quite new. Use a recent kernel, 6.6.15 LTS at minimum or current stable 6.7.3.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: NVMe Base for Raspberry Pi 5 with M-Key NVMe SSD Support LXer Syndicated Linux News 0 12-03-2023 09:30 PM
[SOLVED] Slackware 15 - NVME clone to external NVME - Boot problem from external NVME Klaus150 Slackware 35 10-16-2022 04:29 PM
LXer: Data in a Flash, Part II: Using NVMe Drives and Creating an NVMe over Fabrics Network LXer Syndicated Linux News 0 05-20-2019 11:41 PM
Migrate Linux/win10 dual boot from MBR nvme drive to a new GPT nvme drive bluemoo Linux - Software 7 09-25-2018 06:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 02:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration