You are not logged in.

#1 2022-07-21 00:45:51

cocaesprit
Member
Registered: 2022-07-21
Posts: 2

NVMe shows in lspci but not in lsblk/fdisk/etc.

Hi! This issue is quite similar to this one, unfortunately the guy didn't get quite the help...

So my girlfriend's laptop doesn't want to boot from its drive anymore. So I mounted an archiso and tried to debug.
The internal drive doesn't show in lsblk, fdisk, parted, etc... doesn't even create a file under /dev, but, the controller is detected since lspci shows it.

Output of lsblk:

loop0    7:0    0 689.8M  1 loop /run/archiso/airootfs
sda      8:0    1  14.6G  0 disk 
├─sda1   8:1    1   782M  0 part /run/archiso/bootmnt
└─sda2   8:2    1    13M  0 part 

As you can clearly see only the pendrive containing the archiso is displayed.

Output of fdisk -l:

Disk /dev/sda: 14.61 GiB, 15682240512 bytes, 30629376 sectors
Disk model: Cruzer Blade    
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x2a588529

Device     Boot   Start     End Sectors  Size Id Type
/dev/sda1  *         64 1601535 1601472  782M  0 Empty
/dev/sda2       1601536 1628159   26624   13M ef EFI (FAT-12/16/32)


Disk /dev/loop0: 689.79 MiB, 723292160 bytes, 1412680 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Again, nothing about the internal drive...

But, check this from lspci:

02:00.0 Non-Volatile memory controller: Toshiba Corporation BG3 NVMe SSD Controller (rev 01) (prog-if 02 [NVM Express])
        Subsystem: Toshiba Corporation Toshiba KBG30ZMS128G 128GB NVMe SSD
        Flags: fast devsel, IRQ 16, NUMA node 0
        Memory at 71100000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: [40] Express Endpoint, MSI 00
        Capabilities: [80] Power Management version 3
        Capabilities: [90] MSI: Enable- Count=1/32 Maskable+ 64bit+
        Capabilities: [b0] MSI-X: Enable- Count=32 Masked-
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [150] Virtual Channel
        Capabilities: [260] Latency Tolerance Reporting
        Capabilities: [300] Secondary PCI Express
        Capabilities: [400] L1 PM Substates
        Kernel modules: nvme

And this from dmesg:

[   35.385311] nvme nvme0: Device not ready; aborting reset, CSTS=0x3
[   35.385370] nvme nvme0: Removing after probe failure status: -19

She cares about the content...
Could somebody help me? At least to debug it better.
Thanks a lot smile

Offline

#2 2022-07-21 04:22:47

orlfman
Member
Registered: 2007-11-20
Posts: 141

Re: NVMe shows in lspci but not in lsblk/fdisk/etc.

first thought that comes to my mind is something is dying. are you able to try a different nvme in the slot?

Offline

#3 2022-07-21 06:50:03

seth
Member
Registered: 2012-09-03
Posts: 58,424

Re: NVMe shows in lspci but not in lsblk/fdisk/etc.

Not quite the other thread (different CSTS and the nvme module is assigned to the device)
https://wiki.archlinux.org/title/Solid_ … nd_support

Ceterum censeo: 3rd link below.

Offline

#4 2022-07-21 09:04:11

cocaesprit
Member
Registered: 2022-07-21
Posts: 2

Re: NVMe shows in lspci but not in lsblk/fdisk/etc.

Booted with the kernel parameter iommu=soft as described in the wiki without any luck!

Also, in the link provided, the wiki seems to address the issue of "suspend failures". I cannot boot so...

Last edited by cocaesprit (2022-07-21 09:16:55)

Offline

Board footer

Powered by FluxBB