PDA

View Full Version : [SOLVED] m.2 ssd driver?



vanhelmont
October 31st, 2017, 02:36 AM
Hi,
I'm trying to install 16.04 server on a new system with AMD B350 chipset (Asrock AB350M-HDV) and Intel 6000p M.2 ssd that uses PCIe interface. The SSD is used, and actually boots and ask for a username and password but doesn't say what OS it is, and I haven't tried to play around with it. The installer doesn't find the ssd, and asks what driver to use. Is there such a driver? Should I try 17 or 18? So far no graphical installer I have tried, Ubuntu or other, work. I get a speckled screen.

Any suggestions are appreciated!

Dave

oldfred
October 31st, 2017, 04:18 PM
Do not know about Intel SSD, but many Dell systems with the newer NVMe drives needed both UEFI from Dell and Samsung firmware updates.
Do you have latest updates from Asrock & Intel firmware on SSD?

Intel 600P Series SSD NVMe M.2 Linux Tests
https://www.phoronix.com/scan.php?page=article&item=intel-600p-256gb&num=1

Other Asrock threads:
https://ubuntuforums.org/showthread.php?t=2153123

Intel Asrock, issues probably not similar to AMD
https://ubuntuforums.org/showthread.php?t=2374647
Asrock Z170 ASmedia port issue
https://ubuntuforums.org/showthread.php?t=2345564


M.2 Info
http://arstechnica.com/gadgets/2015/02/understanding-m-2-the-interface-that-will-speed-up-your-next-ssd/
May use one SATA port which then that port will not be seen
https://ubuntuforums.org/showthread.php?t=2344278&p=13580563#post13580563

Some systems have needed a boot parameter.

Dell with NVMe needs AHCI & boot option nvme_load=YES
https://www.dell.com/support/article/us/en/19/sln299303/loading-ubuntu-on-systems-using-pcie-m2-drives?lang=en

vanhelmont
October 31st, 2017, 09:31 PM
Thank you! Lots of good things to look at here.

Slitaz shows a line in /etc/fstab with btrfs which must be this ssd, but starts with '#' which I haven't seen before

#/dev/hdb1 /mnt/data btrfs defaults 0 2


When I try to mount:

sudo mount -t btrfs /dev/hdb1 /mnt/m2
mount: special device /dev/hdb1 does not exist

If it's really btrfs it must be some kind of linux working there, so I'm going to try to get something
running on it and maybe change the password hash in /etc/shadow and see what kind of modules it loads.
I tried arch, thinking it would have the newest kernel & drivers, but got kernel panic.

oldfred
October 31st, 2017, 09:45 PM
Hashtag # means it has been comment out.
But mounts often have a comment line above actual mount line. But your line looks more like a standard mount.
I do not use btrfs but I thought it had sub-mounts of some sort, so do not even look like regular mounts.

Redhat depreciating btrfs
http://www.phoronix.com/scan.php?page=news_item&px=Stratis-Red-Hat-Project
Linux 4.11 File-System Tests: EXT4, F2FS, XFS & Btrfs
http://www.phoronix.com/scan.php?page=article&item=linux-411-fs&num=1

vanhelmont
November 2nd, 2017, 12:18 AM
Thanks again oldfred! I don't know why that line showed up with the slitaz live disk, but anyway:
In the boot menu there are two choices for the cd-rom, one starting "uefi" and the other "sata."
Ubuntu Server 17.10 finds the Intel 6000p m.2 NVMe PCIe ssd on the Asrock AB350M-HDV, B359 chipset board, whether I select the cdrom as sata or uefi.
Ubuntu Server 16.04 doesn't find it either way.
I'm setting up a dual boot system with windows 10, and it finds the ssd with the "uefi" but not with the "sata" selection. It seems that uefi loads some firmware during the boot process that windows needs. https://www.intel.com/content/dam/support/us/en/documents/solid-state-drives/Intel_6_Series_PCIeNVMe_InstallGuide.PDF

FWIW, the mystery filesystems on the ssd turn out to include a ntfs partition, a fat32 partition, a boot partition, and one other.

oldfred
November 2nd, 2017, 02:53 PM
With new system you want UEFI.

Windows only installs in UEFI mode to gpt partitioned drives.
(and only installs in BIOS mode to MBR partitioned drives).

For both Windows & Ubuntu how you boot install media UEFI or BIOS/Legacy/CSM.
Yours seems to say SATA for CSM mode with UEFI? But SATA is just how drive is connected to motherboard.
CSM - UEFI Compatibility Support Module (CSM), which emulates a BIOS mode