SSD installation on CentOS 6.8 [Solved] [Fixed]

Issues related to hardware problems
liloulinx
Posts: 21
Joined: 2016/12/05 10:23:43

SSD installation on CentOS 6.8 [Solved] [Fixed]

Post by liloulinx » 2016/12/05 15:10:43

Hello,
I would like to do a kickstart installation of a CentOS 6.8 on a DELL machine with a TOSHIBA 256GB SSD (see bellow its references).
Detection of drives and formatting SSD take lot of time (more then 3h). At the last, my machine does not reboot.
I have read a doc https://ocz.com/download/drivers/nvme/L ... .pdf%20doc, where they explain how to install RedHat/Centos on their SSD (OCZ). Basically they said that their driver (ocznvme package) must be added in the list of packages of the kickstart file to be installed, otherwise the machine cannot reboot at the end of installation.
My SSD is not an OCZ but a TOSHIBA.
SO, do you know what must I do to resolve my problem or to found an OCZ RPM equivalent to my Toshiba one, in order to add it to my package lists of the kickstart file?
Welcome to other suggestions to resolve this issue.

Ref of the SSD:
Model: THNSN5256GPU7
NVMe TOSHIBA
256GB
PCI Express
03JUN2016
S/N 663S10NQT5YV (or 663S10NQTSYV with S, not 5).
Cordially.
Last edited by liloulinx on 2017/01/13 15:57:06, edited 1 time in total.

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: SSD installation on CentOS 6.8

Post by TrevorH » 2016/12/05 15:19:09

Did you try with CentOS 7?

Toshiba bought what remained of OCZ so the solution may be the same but it also may not be.

If you boot to a command prompt, can you see the disk and test its throughput with e..g hdparm -tT
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

liloulinx
Posts: 21
Joined: 2016/12/05 10:23:43

Re: SSD installation on CentOS 6.8

Post by liloulinx » 2016/12/06 13:37:23

Hello.
Did you try with CentOS 7? ===> Yes I have installed it without problem and fastly.
if you boot to a command prompt, can you see the disk and test its throughput with e..g hdparm -tT ===> I have installed the hdparm command under centos 7. its running gave me this result:

Code: Select all

[admin@localhost ~]$ sudo hdparm -tT /dev/nvme0n1
/dev/nvme0n1:
 Timing cached reads:   31924 MB in  2.00 seconds = 15987.16 MB/sec
 Timing buffered disk reads: 4184 MB in  3.00 seconds = 1394.21 MB/sec

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: SSD installation on CentOS 6.8

Post by TrevorH » 2016/12/06 15:31:29

It would be more interesting to see the results from CentOS 6 since that's the problem.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

liloulinx
Posts: 21
Joined: 2016/12/05 10:23:43

Re: SSD installation on CentOS 6.8

Post by liloulinx » 2016/12/06 16:35:29

With Centos 6.8 I can't boot from commande prompt. Bellow example of generated errors:

Code: Select all

dmar: INTR-REMAP: Request device [02:00.0] fault index index 28
INTR-REMAP:[Fault reason 38] Bloqued an interrupt request due to source-id verification failure
dmar: DRHD: handling fault status reg 2

dmar: INTR-REMAP: Request device [02:00.0] fault index 2A
INTR-REMAP:[Fault reason 38] Bloqued an interrupt request due to source-id verification failure

dmar: INTR-REMAP: Request device [02:00.0] fault index index 29
INTR-REMAP:[Fault reason 38] Bloqued an interrupt request due to source-id verification failure
dmar: DRHD: handling fault status reg 2
I used a live CD of Centos 6.8, and I have this result (speed is divided by 64 000 !!!!):

Code: Select all

[admin@localhost ~]$ sudo hdparm -tT /dev/nvme0n1
/dev/nvme0n1:
 Timing cached reads:   31924 MB in  2.00 seconds = 256.13 KB/sec
 Timing buffered disk reads: 4184 MB in  3.00 seconds = 256.35 KB/sec

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: SSD installation on CentOS 6.8

Post by TrevorH » 2016/12/06 18:01:29

Try adding intremap=no_x2apic_optout to your kernel command line.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

liloulinx
Posts: 21
Joined: 2016/12/05 10:23:43

Re: SSD installation on CentOS 6.8

Post by liloulinx » 2016/12/20 23:49:45

Hello.
I have downloaded the drivd disk "ocznvme-boot-centos_rhel_oracle6.x-v1.2.839.x86_64.dd" and copied it in a USB key, different of this containning the kickstart files.
I have added to the line "kernel" of the kickstart file " dd ocznvme.cf=3 blacklist=nvme"

Code: Select all

kernel vmlinuz dd ocznvme.cf=3 blacklist=nvme
After the boot, the kickstart ask me to introduce the path to the dd file. I indicate it the path but it generate this error:

Code: Select all

« No new drivers were found on this driver disk. This may indicate that this disk has already been loaded, or that the drivers it contains don’t match your hardware… »
Do you think that the dd file is not the good one or there is another problem ?

gertfrobe64
Posts: 3
Joined: 2017/01/04 17:05:05

Re: SSD installation on CentOS 6.8

Post by gertfrobe64 » 2017/01/04 17:07:30

To get around this same issue in our environment, I had to add 'nointremap' to the kernel line at boot time, and then to the grub.conf file.

gertfrobe64
Posts: 3
Joined: 2017/01/04 17:05:05

Re: SSD installation on CentOS 6.8

Post by gertfrobe64 » 2017/01/04 17:08:49

I forgot to add that I did not need to use any driver from toshiba/ocz. The NVMe module from the OS distribution worked fine.

EDIT: replaced "kernel" with "driver"
Last edited by gertfrobe64 on 2017/01/04 20:23:32, edited 1 time in total.

gertfrobe64
Posts: 3
Joined: 2017/01/04 17:05:05

Re: SSD installation on CentOS 6.8

Post by gertfrobe64 » 2017/01/04 17:28:46

I also just noticed that shutting off the virtualization items in BIOS should allow for a regular boot of installation media to see the NVMe drive natively and without need of 'nointremap' at the kernel boot line. This has been tested on Dell Precision 7510 laptop with the same Toshiba NVMe model you listed.

EDIT: only need to deselect "VT for Direct I/O"

Post Reply