NVMe SSD not working

Hi,

we are trying to enable this NVMe SSD module on Xavier NX devkit,

lspci -vvv shows,
$ lspci -vvv
0004:00:00.0 PCI bridge: NVIDIA Corporation Device 1ad1 (rev a1) (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 33
Bus: primary=00, secondary=01, subordinate=ff, sec-latency=0
I/O behind bridge: 00001000-00001fff
Memory behind bridge: 40000000-400fffff
Prefetchable memory behind bridge: 00000000fff00000-00000000000fffff
Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- <SERR- Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities:
Kernel driver in use: pcieport

0004:01:00.0 Network controller: Realtek Semiconductor Co., Ltd. Device c822
Subsystem: AzureWave Device 3751
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 554
Region 0: I/O ports at 1000 [size=256]
Region 2: Memory at 1740000000 (64-bit, non-prefetchable) [size=64K]
Capabilities:
Kernel driver in use: rtl88x2ce
Kernel modules: rtl8822ce

How to enable this module, we have followed instructions from https://developer.nvidia.com/embedded/learn/get-started-jetson-xavier-nx-devkit#prepare and flashed SDcard image

Could you post the full dmesg?

@WayneWWW
Attached dmesg logs,
dmesg.txt (62.3 KB)

Hi,
Facing similar issue.

@mdegans I can see you have used the same ssd with Xavier NX board. Can you give any information here to make it work?

Thanks
Ashik P.

Hi,

Are you using the M.2 key M slot on the back of NX devkit?

@WayneWWW Yes, the SSD is connected to M.2key M slot

@WayneWWW
anything to be modified in Jetson Xavier NX Developer Kit SD Card Image ? please suggest

Hi… I have that exact same SSD. I had no issues… here are the steps I did to install it successfully.

install new GIG460 SSD
dk@XavierNX:~$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
mtdblock0 31:0 0 32M 0 disk
mmcblk0 179:0 0 29.7G 0 disk
├─mmcblk0p1 179:1 0 29.4G 0 part /
├─mmcblk0p2 179:2 0 64M 0 part
├─mmcblk0p3 179:3 0 64M 0 part
├─mmcblk0p4 179:4 0 448K 0 part
├─mmcblk0p5 179:5 0 448K 0 part
├─mmcblk0p6 179:6 0 63M 0 part
├─mmcblk0p7 179:7 0 512K 0 part
├─mmcblk0p8 179:8 0 256K 0 part
├─mmcblk0p9 179:9 0 256K 0 part
├─mmcblk0p10 179:10 0 100M 0 part
└─mmcblk0p11 179:11 0 18K 0 part
zram0 252:0 0 1.9G 0 disk [SWAP]
zram1 252:1 0 1.9G 0 disk [SWAP]
nvme0n1 259:0 0 465.8G 0 disk

dk@XavierNX:~$ sudo mkfs.ext4 /dev/nvme0n1
[sudo] password for dk:
mke2fs 1.44.1 (24-Mar-2018)
Discarding device blocks: done
Creating filesystem with 122096646 4k blocks and 30531584 inodes
Filesystem UUID: 92128a7e-2ab3-4496-b63d-9a02e4963204
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968,
102400000

Allocating group tables: done
Writing inode tables: done
Creating journal (262144 blocks): done
Writing superblocks and filesystem accounting information: done

dk@XavierNX:~ pwd /home/dk dk@XavierNX:~ sudo mkdir /home/dk/GIG460
dk@XavierNX:~$ sudo mount /dev/nvme0n1 /home/dk/GIG460

dk@XavierNX:~$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mmcblk0p1 29G 13G 15G 46% /
none 3.5G 0 3.5G 0% /dev
tmpfs 3.8G 4.0K 3.8G 1% /dev/shm
tmpfs 3.8G 29M 3.8G 1% /run
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup
tmpfs 777M 112K 777M 1% /run/user/1000
/dev/nvme0n1 458G 73M 435G 1% /home/dk/GIG460

dk@XavierNX:~$ sudo chmod 755 GIG460

dk@XavierNX:~ sudo nano /etc/fstab dk@XavierNX:~ cat /etc/fstab

/etc/fstab: static file system information.

These are the filesystems that are always mounted on boot, you can

override any of these by copying the appropriate line from this file into

/etc/fstab and tweaking it as you see fit. See fstab(5).

/dev/root / ext4 defaults 0 1
/dev/nvme0n1 /home/dk/GIG460 ext4 defaults 0 1

Issue was with the SSD. Thanks for your help.
Ashik P.