Page 1 of 2

Samsung ssd 950 pro m.2 hard drive

PostPosted: Feb 6th, '16, 17:08
by moogy
Hello

I have a Asus G752VL with a Samsung ssd 950 pro m.2 hard drive.

I would like to install mageia 5 on it.

It is seen in the bios and by windows 10.

It is not recognised during the installation or after if i do the install on my local hard,

Thank you for any help

Re: Samsung ssd 950 pro m.2 hard drive

PostPosted: Feb 6th, '16, 17:20
by doktor5000
Hi there,

could you please show the output as root of
Code: Select all
lspci -tvnn
lspcidrake -v

Re: Samsung ssd 950 pro m.2 hard drive

PostPosted: Feb 6th, '16, 17:24
by moogy
Code: Select all
[root@localhost moogy]# lspci -tvnn
-[0000:00]-+-00.0  Intel Corporation Sky Lake Host Bridge/DRAM Registers [8086:1910]
           +-01.0-[01]--+-00.0  NVIDIA Corporation GM204M [GeForce GTX 965M] [10de:1619]
           |            \-00.1  NVIDIA Corporation GM204 High Definition Audio Controller [10de:0fbb]
           +-04.0  Intel Corporation Device [8086:1903]
           +-14.0  Intel Corporation Sunrise Point-H USB 3.0 xHCI Controller [8086:a12f]
           +-14.2  Intel Corporation Sunrise Point-H Thermal subsystem [8086:a131]
           +-15.0  Intel Corporation Sunrise Point-H LPSS I2C Controller #0 [8086:a160]
           +-15.1  Intel Corporation Sunrise Point-H LPSS I2C Controller #1 [8086:a161]
           +-16.0  Intel Corporation Sunrise Point-H CSME HECI #1 [8086:a13a]
           +-17.0  Intel Corporation SATA Controller [RAID mode] [8086:2822]
           +-1c.0-[02]----00.0  Intel Corporation Wireless 7265 [8086:095a]
           +-1c.3-[03]----00.0  Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168]
           +-1c.4-[04-3c]--
           +-1f.0  Intel Corporation Sunrise Point-H LPC Controller [8086:a150]
           +-1f.2  Intel Corporation Sunrise Point-H PMC [8086:a121]
           +-1f.3  Intel Corporation Sunrise Point-H HD Audio [8086:a170]
           \-1f.4  Intel Corporation Sunrise Point-H SMBus [8086:a123]


Code: Select all
[root@localhost moogy]# lspcidrake -v
r8169 : Realtek Semiconductor Co., Ltd.|RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [NETWORK_ETHERNET] (vendor:10ec device:8168 subv:1043 subd:200f) (rev: 10)
iwlwifi : Intel Corporation|Wireless 7265 [NETWORK_OTHER] (vendor:8086 device:095a subv:8086 subd:5010) (rev: 59)
snd_hda_intel : NVIDIA Corporation|GM204 High Definition Audio Controller [MULTIMEDIA_AUDIO_DEV] (vendor:10de device:0fbb subv:1043 subd:1ced) (rev: a1)
Card:NVIDIA GeForce 420 series and later: NVIDIA Corporation|GM204M [GeForce GTX 965M] [DISPLAY_VGA] (vendor:10de device:1619 subv:1043 subd:1ced) (rev: a1)
i2c_i801 : Intel Corporation|Sunrise Point-H SMBus [SERIAL_SMBUS] (vendor:8086 device:a123 subv:1043 subd:1ced) (rev: 31)
snd_hda_intel : Intel Corporation|Sunrise Point-H HD Audio [MULTIMEDIA_AUDIO_DEV] (vendor:8086 device:a170 subv:1043 subd:1ced) (rev: 31)
unknown : Intel Corporation|Sunrise Point-H PMC [MEMORY_OTHER] (vendor:8086 device:a121 subv:1043 subd:1ced) (rev: 31)
unknown : Intel Corporation|Sunrise Point-H LPC Controller [BRIDGE_ISA] (vendor:8086 device:a150 subv:1043 subd:1ced) (rev: 31)
shpchp : Intel Corporation|Sunrise Point-H PCI Express Root Port #5 [BRIDGE_PCI] (vendor:8086 device:a114) (rev: f1)
shpchp : Intel Corporation|Sunrise Point-H PCI Express Root Port #4 [BRIDGE_PCI] (vendor:8086 device:a113) (rev: f1)
shpchp : Intel Corporation|Sunrise Point-H PCI Express Root Port #3 [BRIDGE_PCI] (vendor:8086 device:a112) (rev: f1)
unknown : Intel Corporation|SATA Controller [RAID mode] [STORAGE_RAID] (vendor:8086 device:2822 subv:1043 subd:1ced) (rev: 31)
unknown : Intel Corporation|Sunrise Point-H CSME HECI #1 [COMMUNICATION_OTHER] (vendor:8086 device:a13a subv:1043 subd:1ced) (rev: 31)
unknown : Intel Corporation|Sunrise Point-H LPSS I2C Controller #1 [SIGNAL_OTHER] (vendor:8086 device:a161 subv:1043 subd:1ced) (rev: 31)
unknown : Intel Corporation|Sunrise Point-H LPSS I2C Controller #0 [SIGNAL_OTHER] (vendor:8086 device:a160 subv:1043 subd:1ced) (rev: 31)
unknown : Intel Corporation|Sunrise Point-H Thermal subsystem [SIGNAL_OTHER] (vendor:8086 device:a131 subv:1043 subd:1ced) (rev: 31)
xhci_pci : Intel Corporation|Sunrise Point-H USB 3.0 xHCI Controller [SERIAL_USB] (vendor:8086 device:a12f subv:1043 subd:201f) (rev: 31)
unknown : Intel Corporation|Device 1903 [SIGNAL_OTHER] (vendor:8086 device:1903 subv:1043 subd:1ced) (rev: 07)
shpchp : Intel Corporation|Sky Lake PCIe Controller (x16) [BRIDGE_PCI] (vendor:8086 device:1901) (rev: 07)
unknown : Intel Corporation|Sky Lake Host Bridge/DRAM Registers [BRIDGE_HOST] (vendor:8086 device:1910 subv:1043 subd:1ced) (rev: 07)
hub : Linux 4.1.15-desktop-2.mga5 xhci-hcd|xHCI Host Controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0003)
hub : Linux 4.1.15-desktop-2.mga5 xhci-hcd|xHCI Host Controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0002)
usbhid : Microsoft|Microsoft® Nano Transceiver v1.0 [Human Interface Device|Boot Interface Subclass|Keyboard] (vendor:045e device:0773)
uvcvideo : Chicony Electronics Co.,Ltd.|USB2.0 HD UVC WebCam [Video|Video Control] (vendor:04f2 device:b414)
usbhid : ASUS Tech Inc.|ASUS HID Device [Human Interface Device|Boot Interface Subclass|Keyboard] (vendor:0b05 device:1819)
btusb : Intel Corp.|Unknown [Wireless|Radio Frequency|Bluetooth] (vendor:8087 device:0a2a)
usbhid : Sunrex/JME|Ghost Key Elimiantion Keyboard [Human Interface Device|Boot Interface Subclass|Keyboard] (vendor:0b05 device:1822)
hid_generic : Microsoft Microsoft® Nano Transceiver v1.0
hid_generic : Microsoft Microsoft® Nano Transceiver v1.0
hid_generic : Microsoft Microsoft® Nano Transceiver v1.0
hid_generic : ASUS Tech Inc. ASUS HID Device
hid_generic : ASUS Tech Inc. ASUS HID Device
hid_generic : Sunrex/JME Ghost Key Elimiantion Keyboard
hid_generic : Sunrex/JME Ghost Key Elimiantion Keyboard

Re: Samsung ssd 950 pro m.2 hard drive

PostPosted: Feb 6th, '16, 17:29
by doktor5000
Please next time use code tags as explained in ftp://ftp5.gwdg.de/pub/linux/mandriva/m ... e_tags.ogv

It might also be possible that this is because this combination isn't really supported by asus, see the later posts in https://rog.asus.com/forum/showthread.p ... ess-3-0-x4

And according to http://www.nvmexpress.org/resources/lin ... formation/ you might need a kernel > 3.3 so question is whether you already have installed updates including the 4.1.x kernels?
That might also be an explanation why the installer doesn't see the SSD, as it's attached via NVMe and not via AHCI like nearly all others and the installer might not have support for that.

On a related note, you could have a look at http://en.community.dell.com/techcenter ... e-on-rhel7 for some context information.

Re: Samsung ssd 950 pro m.2 hard drive

PostPosted: Feb 6th, '16, 18:38
by jiml8
That device should be recognized as a SATA device without issue.

At least, it should be so recognized if it has not undergone any mode changes using the samsung tools in Windows. You have not done anything to it, right?

I do note that your lspci output says your SATA controller is in RAID mode; try changing it to AHCI mode.

I have done fresh installs of Mageia 4 (not 5) on the samsung 950 with no issue. I do not know why you would have an issue, unless my previous comments point you toward it.

Re: Samsung ssd 950 pro m.2 hard drive

PostPosted: Feb 6th, '16, 18:58
by doktor5000
@jim: Take note that this is the M.2 version, this is not the same as a normal 950 pro, see my post above. Also seems the notebook SATA controller is hardlocked to RAID mode from what I read in asus forums.

Re: Samsung ssd 950 pro m.2 hard drive

PostPosted: Feb 6th, '16, 20:51
by moogy
I will try to change it

Re: Samsung ssd 950 pro m.2 hard drive

PostPosted: Feb 10th, '16, 21:34
by billr
I also have a brand new laptop (Lenovo P50) with the NVMe SSD. I would like to install Mageia, but the standard M5 installer does not recognize the drive, as reported above. Is there a way around this? Can I create an installer with an updated kernel or an installer based off Cauldron?

Re: Samsung ssd 950 pro m.2 hard drive

PostPosted: Feb 11th, '16, 06:28
by gohlip
I don't have nvme ssd's but I've seen it reported that to boot and install on it, there need to be i915.preliminary_hw_support=1 (as well as 'nvme') as kernel parameter.
Also linux kernel 4.4 and above seems to have taken care of it.

Since I don't have this nvme, I'm unable to verify this.

Re: Samsung ssd 950 pro m.2 hard drive

PostPosted: Feb 11th, '16, 11:59
by doktor5000
@moogy @billr: Could you please try this? To add kernel options for the installer, in bootloader menu press F6 and select Default to add kernel options and add
Code: Select all
i915.preliminary_hw_support=1 nvme

Can also be done with one of the live media.

Re: Samsung ssd 950 pro m.2 hard drive

PostPosted: Feb 11th, '16, 13:22
by ozky
You could try upgrade from backports testing kernel 4.4,it's longterm support too and have better skylake support according to thomas backlund.
https://bugs.mageia.org/show_bug.cgi?id=17174#c13

Re: Samsung ssd 950 pro m.2 hard drive

PostPosted: Feb 11th, '16, 17:59
by billr
@doktor5000: I'll give that a try this morning. @ozky: that seems like a good idea once I have a working installation, but unless I build my own installer (or doktor's suggestion works), I can't do the upgrade (all I have is the nvme drive).

Re: Samsung ssd 950 pro m.2 hard drive

PostPosted: Feb 11th, '16, 20:31
by billr
I had to use 'e', rather than F10, but did add those options. I proceeded trough the installer startup, then it came to a screen titled "HARD DRIVE DETECTION" where it said "Found 'usb_storage' interfaces. Do you have another one?". If I select Yes, then it brings up a long list of drivers (of which nvme is not included). If I select Hardware List, then I see my drive listed as:
Code: Select all
nvme    : Samsung Electronics Co Ltd|Device a802 [NOT_DEFINED] (subbv:144d subd:a801)

I checked dmesgs for nvme entries and there was this one (besides the kernel parameters entry):
Code: Select all
  nvme0n1: p1 p2 p3 p4 p5 p6 p7 p8

Any other ideas? If I had to take a wild guess, I would guess the installer script does not recognize nvme0n1 as a valid disk type and since the ata entries are empty, it thinks there are no disks attached. (The USB storage is probably the USB CD drive that has the installer DVD in it.)

Re: Samsung ssd 950 pro m.2 hard drive

PostPosted: Feb 11th, '16, 22:09
by doktor5000
billr wrote:I had to use 'e', rather than F10, but did add those options.

Yep, sorry forgot about that - if you boot in UEFI mode then grub-efi is basically the same as grub2 and behaves slightly differently - see https://wiki.mageia.org/en/Installing_o ... boot_media

For the rest, your assumption might be pretty close to what happens, I'd say.
To get some actual details what the installer sees, let it get to the point where hardware detection has happened, and then plug in an USB drive, open a console via Ctrl+Alt+F2 and enter
Code: Select all
bug
which will write /root/drakx/report.bug.xz to the USB drive. See also https://wiki.mageia.org/en/Triage_guide ... lated_bugs for some more detailed instructions.

Then best create a bugreport, shortly describe the issue discussed here and attach the file. See also https://wiki.mageia.org/en/How_to_report_a_bug_properly
For completeness's sake and also to allow others to follow up on that bug report, please also post the link to it here in the thread, thanks.

Re: Samsung ssd 950 pro m.2 hard drive

PostPosted: Feb 12th, '16, 05:42
by billr
I'll do that in the morning and post a bug report and followup here, as well.

Re: Samsung ssd 950 pro m.2 hard drive

PostPosted: Feb 12th, '16, 20:08
by moogy
Thanks for all the info

I will try out again this weekend

A lot of info to take in.

Thanks

I will post results

Re: Samsung ssd 950 pro m.2 hard drive

PostPosted: Feb 12th, '16, 20:44
by billr

Re: Samsung ssd 950 pro m.2 hard drive

PostPosted: Feb 12th, '16, 21:25
by doktor5000
Already put our kernel maintainer on CC.
On a related note, you didn't mention which installation media you used. Also, can you try when using one of the live media if the disk is recognised in live mode? You probably need to add the same boot options as mentioned previously.

Re: Samsung ssd 950 pro m.2 hard drive

PostPosted: Feb 12th, '16, 23:16
by billr
Thanks. Just added a note to the bug to indicate installation media is Classic DVD x86_64. I'll download and try a Live media when I get a chance.

FYI, I was able to get Fedora 23 to install when using the same kernel options as above. My normal preference is Mageia, though, having been a Mandrake/Mandriva/Mageia user since the Mandrake 8.0 days. :-)

Re: Samsung ssd 950 pro m.2 hard drive

PostPosted: Feb 15th, '16, 15:29
by moogy
Yes I also installed from the Classic DVD x86_64

Just to add more detail

Re: Samsung ssd 950 pro m.2 hard drive

PostPosted: Feb 15th, '16, 17:57
by billr
Looks like some commits were made to the installer script yesterday to fix the problem. (Detect nvme partitions and detect nvme as a block device.)

Re: Samsung ssd 950 pro m.2 hard drive

PostPosted: Feb 15th, '16, 20:00
by doktor5000
Yep, by our kernel maintainer :)
I'll keep you informed, still waiting on information how to get those commits into an installer that and that one built into an iso that will also allow to install mga5.

Re: Samsung ssd 950 pro m.2 hard drive

PostPosted: Feb 16th, '16, 15:11
by moogy
Thank you :)

Re: Samsung ssd 950 pro m.2 hard drive

PostPosted: Jun 15th, '16, 09:23
by RagingRaven
Hi,

Sorry for replying for a topic that's a bit old, but I was wondering if there has been any progress on this?
I just downloaded Mageia-5-x86_64-DVD.iso and tried installing on a Samsung 950 pro M.2 (NVME), but it's not recognised.
It's a new system with an Asus Z170I pro gaming motherboard, so it needs to be a 'fresh' install, I can't upgrade from an existing installation.

Do I still need to add the i915.preliminary_hw_support=1 nvme?
Or do I perhaps need to use a Mageia 4 iso and upgrade to 5?

Re: Samsung ssd 950 pro m.2 hard drive

PostPosted: Jun 15th, '16, 16:36
by billr
Check the bug report referenced in comment #17 above. At least one person was able to apply the installer patches to a USB drive and boot from the USB to install Mageia 5. With kernel 4.1 (default for initial install) you will need those kernel options. Once you update to the 4.4 kernel you don't need the i915 option, but may still need the nvme one (not 100% sure).