You are not logged in.
After upgrade to kernel 5.7.8 and lts-5.4.51 linux is not detecting nvme drive and won't boot with both linux and linux-lts
device is:
01:00.0 Non-Volatile memory controller: Silicon Motion, Inc. Device 2263 (rev 03)
Motherboard is Gigabyte J4005ND2P-CF
This happened again last year with some kernel versions until get fixed in next releases. And again now.
I had to rollback to kernel 5.7.7 to get it work..
Offline
I have the same issue with this NVM controller. I have tried the newest linux-hardened 5.7.9 kernel. It is not booting either. Even the latest linux-lts is not working.
Offline
Is there an upstream bug report? (not the arch bug tracker)
Have you identified the commit that introduce the issue between 5.7.7 and 5.7.8 or 5.4.50 and 5.4.51?
Edit:
Between 5.7.7 and 5.7.8
The following are changes to the NVME subsystem
https://git.kernel.org/pub/scm/linux/ke … 9a637c77ee
https://git.kernel.org/pub/scm/linux/ke … 0a0b8b8536
https://git.kernel.org/pub/scm/linux/ke … 13210f4060
https://git.kernel.org/pub/scm/linux/ke … c16982e6d4
The following are commits to nvme-multipath
https://git.kernel.org/pub/scm/linux/ke … 0ea1c56cc0
https://git.kernel.org/pub/scm/linux/ke … 191a3310a2
https://git.kernel.org/pub/scm/linux/ke … 875f0ec616
See also Bisecting_bugs_with_Git and Patching_packages.
Last edited by loqs (2020-07-16 21:36:07)
Offline
Both the problem and the solution (downgrading to 5.7.7) applied to me as well. Interestingly, the kernel was able to detect one of the two NVMe drives installed in my system (`blkid` displayed the partitions on that drive), but not the drive that my root partition was on. Apparently OP made an upstream bug report, where a comment mentions the offending commit.
Offline
Offline
Oh, for crying out loud. I fitted my first ever nvme drive today (these things are tiny), and it's taken hours to get my system booting again (user error - not hardware). Please don't tell me I have to keep my old SSD boot drive live for longer, before I add it to a SSD RAID.
Ryzen 5900X 12 core/24 thread - RTX 3090 FE 24 Gb, Asus Prime B450 Plus, 32Gb Corsair DDR4, Cooler Master N300 chassis, 5 HD (1 NvME PCI, 4SSD) + 1 x optical.
Linux user #545703
/ is the root of all problems.
Offline
I just got bitten by this as well -- after getting bitten by it last year. Super fun times, to have kernel devs break your hardware *twice*.
Offline
I am just wondering if issue is fixed in 5.7.10
Offline
I am just wondering if issue is fixed in 5.7.10
Last edited by EvilTak (2020-07-22 22:08:37)
Offline
Unfortunately issue is not fixed in 5.7.10
Offline
Please try https://git.kernel.org/pub/scm/linux/ke … a6f841417a on top of 5.7.11 or 5.8-rc7
Offline
To be able to start my system I'm using the "archiso" kernel 5.7.6-arch1-1
# uname -a
Linux archxhost 5.7.6-arch1-1 #1 SMP PREEMPT Thu, 25 Jun 2020 00:14:47 +0000 x86_64 GNU/Linux
Offline
https://gitlab.com/leendomar/boot-nvme-archlinux
My solution, I wish it to be temporary.
Offline
You can obtain an older version of the kernel packages from the ALA, then you can build the current version with patch applied.
Offline
You can obtain an older version of the kernel packages from the ALA, then you can build the current version with patch applied.
Thanks, I didn't find the file.
it was much simpler.
Offline
Please try https://git.kernel.org/pub/scm/linux/ke … a6f841417a on top of 5.7.11 or 5.8-rc7
the patch you indicated, it worked for me
~ $ uname -a
Linux archxhost 5.7.12-arch1-1-custom #1 SMP PREEMPT Sat, 01 Aug 2020 18:36:32 +0000 x86_64 GNU/Linux
Offline
Please try https://git.kernel.org/pub/scm/linux/ke … a6f841417a on top of 5.7.11 or 5.8-rc7
The patch is also working for me on top of 5.7.11.
Offline
The patch has been introduced in 5.8, which was released 6 hours ago. The arch package for linux 5.8 isn't out yet, however.
Offline
It is queued for 5.7.13 if the linux package has not switched to 5.8.
Offline
It is queued for 5.7.13 if the linux package has not switched to 5.8.
Good to know. Thank you.
Offline
loqs wrote:It is queued for 5.7.13 if the linux package has not switched to 5.8.
Good to know. Thank you.
Is the patch introdused in linux-lts as well?
Offline
Is the patch introdused in linux-lts as well?
Unfortunately not . I suggest mailing the linux stable mailing listing stable@vger.kernel.org asking for 5bedd3afee8eb01ccd256f0cd2cc0fa6f841417a to be backported to 5.4.y to fix c64141c68f725068440fbc13eb63dbb283e99168 as it was backported to 5.7 as 02963f5752032ab987fae7b450d5e1e357e7425b to fix e2cb0c5635ecf7d8f2bde9971edbe00a0b8b8536.
Offline
Patch is queued in 5.4 stable so maybe in next release of linux-lts it will be introduced.
Also just upgraded to 5.8.1 and the issue is fixed. My controller works.
Offline
I have the same problem starting with 5.10. Anyone ran into this again?
Offline
@alex_bgoode please post the full dmesg output from a 5.10 boot and a 5.4 boot.
Offline