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 07-17-2020, 08:54 AM   #1
chomwitt
Member
 
Registered: Jul 2020
Location: Hellas
Distribution: Devuan+XFCE
Posts: 53

Rep: Reputation: Disabled
Kernel wont recognize m.2 nvme ssd installed in pci express slot with adapter.


Greetings.

I have a motherboard with H97 chipset with a 1150 socket.

It doesnt have an m.2 slot, and only in a bios update it mentions vaguely that it adds support for nvme. I installed a evo 970 plus nvme in a pci4x slot using a pci-m2 adapter.

But having searched the internet i found posts that using a nvme as secondary storage only could be trivial for linux, instead booting from it is sth that depends on motherboard/uefi
support.

But unfortunately my system wont detect it.

$ lspci -nn | grep NVMe
$ ls -l /dev/nvme*
$ lsblk
$ sudo nvme list

..all display nothing related .

Also the manufacturer claims that
Quote:
Intel Haswell Refresh or later client chipset based mainboard with an unallocated M.2 PCIe Gen3 x4 lane connector
So given that and since other H97 based mobos came with m.2 slot i wonder if there
is hope in kernel recognizing my nvme or not.

Thanks.

OS: Debian GNU/Linux 10 (buster) x86_64
Motherboard : H97-HD3
Kernel: 4.19.0-9-amd64
CPU: Intel i7-4790
GPU: AMD ATI Radeon RX 570
 
Old 07-17-2020, 09:51 AM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,160

Rep: Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266
Your mobo https://www.gigabyte.com/us/Motherbo...3-rev-10/sp#sp has a PCIEX4 slot which shares lanes with the x1 slots but it may be PCIe Gen 2. The graphics card slot is PCIe x16 Gen 3.0. If you use the the PCIEx4 slot, you may need to shut off the x1 slots and configure the x4 in the BIOS since you can't use both.

As for booting, the BIOS in a system without a dedicated M.2 slot most likely won't scan the PCIe bus for disks. I think you will still need SATA or USB to boot.
 
Old 07-17-2020, 09:59 AM   #3
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 21 MATE, EndeavourOS, antiX, MX Linux
Posts: 4,006
Blog Entries: 33

Rep: Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471
deleted

Last edited by beachboy2; 07-17-2020 at 10:00 AM.
 
Old 07-17-2020, 02:07 PM   #4
chomwitt
Member
 
Registered: Jul 2020
Location: Hellas
Distribution: Devuan+XFCE
Posts: 53

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by smallpond View Post
Your mobo https://www.gigabyte.com/us/Motherbo...3-rev-10/sp#sp has a PCIEX4 slot which shares lanes with the x1 slots but it may be PCIe Gen 2. The graphics card slot is PCIe x16 Gen 3.0. If you use the the PCIEx4 slot, you may need to shut off the x1 slots and configure the x4 in the BIOS since you can't use both.
...
Thanks. There is no bios option to disable PCIX1 slots. But there is an option to control the speed of the PCIX4 (which when set to X4 i think it practicaly disables the PCIX1 slots). But still nothing.
So my NVMe M.2 drive is not discovered on PCIe bus.
I wonder if the M.2 SSD to PCIe adapter card is not so innocent.
 
Old 07-17-2020, 02:56 PM   #5
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,020

Rep: Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630
The pci-e adapter will have to be fully supported in bios to begin with. I mean bootable. Go there first.

Not even too sure what a pci-e storage might be presented to linux.

https://www.dell.com/support/article...drives?lang=en
 
Old 07-18-2020, 01:20 PM   #6
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,160

Rep: Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266
I can't imagine there could be much wrong on the adapter. It just brings the PCIe lanes to the M.2 connector. The mobo may need to detect that a card is in that slot in order to disable the x1 slots and enable the x4. No BIOS support is needed after boot, since the SSD PCIe type will trigger the NVMe driver. Make sure CONFIG_BLK_DEV_NVME is =y. If it is =m, then you need to do modprobe nvme. The lspci output for my Seagate does not say NVMe, it says "Non-Volatile Memory Controller"
 
Old 07-18-2020, 01:56 PM   #7
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 21 MATE, EndeavourOS, antiX, MX Linux
Posts: 4,006
Blog Entries: 33

Rep: Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471
chomwitt,

Which BIOS version do you have?

BIOS version 7a on Gigabyte GA-H97-HD3 (rev. 1.1) adds NVMe SSD support according to this:
https://www.gigabyte.com/us/Press/News/1358
 
Old 07-18-2020, 03:15 PM   #8
chomwitt
Member
 
Registered: Jul 2020
Location: Hellas
Distribution: Devuan+XFCE
Posts: 53

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by beachboy2 View Post
chomwitt,

Which BIOS version do you have?

BIOS version 7a on Gigabyte GA-H97-HD3 (rev. 1.1) adds NVMe SSD support according to this:
https://www.gigabyte.com/us/Press/News/1358
I have version 8. Strangely there is no mention of version 7a in the support/download page.

And nvme support is mentioned in version 6 .

Another troubling issue is that my motherboard wont produce sound a year now. So maybe there is a malfunction related to both issues?

Also when touching the nvme seems hot.
 
Old 07-19-2020, 03:06 AM   #9
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 21 MATE, EndeavourOS, antiX, MX Linux
Posts: 4,006
Blog Entries: 33

Rep: Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471
chomwitt,

The link I gave referred to Gigabyte GA-H97-HD3 (rev. 1.1).

Your link referred to Gigabyte GA-H97-HD3 (rev. 1.0).

It is normal for NVMes to run hot.

EDIT

An NVMe SSD does not appear within the BIOS until Windows creates the system partition with the EFI Boot Sector. The M.2 SSD contains UEFI driver information within the firmware.

https://forums.tomshardware.com/thre...pport.3097090/

I don’t think your suggested arrangement will work in Linux.

The obvious alternative is an SSD such as:
https://www.amazon.co.uk/Crucial-MX5.../dp/B0764WCXCV

Last edited by beachboy2; 07-19-2020 at 03:35 AM.
 
Old 07-20-2020, 09:15 AM   #10
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,160

Rep: Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266
Track down the adapter issue by comparing lspci output with and without the adapter installed. Any differences? If they are the same it does tend to point to a hardware issue.
 
Old 07-20-2020, 06:09 PM   #11
chomwitt
Member
 
Registered: Jul 2020
Location: Hellas
Distribution: Devuan+XFCE
Posts: 53

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by smallpond View Post
Track down the adapter issue by comparing lspci output with and without the adapter installed. Any differences? If they are the same it does tend to point to a hardware issue.
Thanks. I did it and i see no diff. I will try it in a different mobo but needs time.
 
Old 08-08-2020, 07:29 PM   #12
blackiyto
LQ Newbie
 
Registered: Jul 2019
Posts: 4

Rep: Reputation: 0
I can't imagine there could be much wrong on the adapter. It just brings the PCIe lanes to the M.2 connector. The mobo may need to detect that a card is in that slot in order to disable the x1 slots and enable the x4.

Last edited by Timothy Miller; 09-11-2020 at 11:23 AM.
 
  


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: 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
SLI with PCI Express and PCI Express 2 Cards? ESC201 Linux - Hardware 2 07-10-2009 08:41 PM
Graphics Card: PCI Express x16 Detected as PCI Express Link width: 4X deepclutch Linux - Hardware 3 06-09-2007 10:10 AM
PCI-X Raid card wont fit in motherboards PCI Express x16 slot???? abefroman Linux - Hardware 4 12-01-2006 08:24 AM

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

All times are GMT -5. The time now is 03:10 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