nVME crashes system
#1
I'm having issues using my nVME drive with my pinebook pro.  Any time I do any sort of major read or write the entire system freezes.  I have attempted the power reduction settings listed in the wiki, however, the state is not saveable and does not fix the issue.  I'm using a Samsung 970 500gb.  Any help would be appreciated; I'm at a loss.
  Reply
#2
What's its current power setting?
  Reply
#3
(01-15-2020, 07:25 AM)tophneal Wrote: What's its current power setting?

The pinebook pro is running off of battery.  the default nvme power setting is 0.  I have attempted to set it to 0, 1, and 2 to see if the result changes, but I almost always end up with a crash.  I did have one successful benchmark this morning set at 2, but I have not been able to duplicate it.
  Reply
#4
Do you recall the operating power consumption from those 3 options? Maybe the draw is too high?
  Reply
#5
(01-15-2020, 07:25 AM)tophneal Wrote: What's its current power setting?

Sorry, but how to check and update the NVMe power setting? I have not heard about it yet.
  Reply
#6
Here you go: https://wiki.pine64.org/index.php/Pinebo...r_limiting

You may need to install nvme-cli first.
  Reply
#7
@mamboman777, The Wiki instructions were updated to show the "-s" option for saving the settings.

There is at least 1 NVMe that does not allow "-s". If your NVMe is like that, a startup script might be in order.
--
Arwen Evenstar
Princess of Rivendale
  Reply
#8
(01-15-2020, 08:22 AM)tophneal Wrote: Here you go: https://wiki.pine64.org/index.php/Pinebo...r_limiting

You may need to install nvme-cli first.

I think it would be helpful to list "first, install nvme-cli" in the wiki.  It took me a while to figure that out.  

0 - 6.2w operational
1 - 4.3w operational
2 - 2.1w operational
3 - .04w non-operational
4 - .005w non-operational

(01-15-2020, 08:35 AM)Arwen Wrote: @mamboman777, The Wiki instructions were updated to show the "-s" option for saving the settings.

There is at least 1 NVMe that does not allow "-s". If you NVMe is like that, a startup script might be in order.

I attempted to put the scripts from the wiki into the startup applications but it did not change the state on startup.  I also put the scripts in /etc/rc.local and that did not change the scripts on reboot.  Is there another way to accomplish this?

Also, part of the problem is even after the state is changed, the system crashes anytime a large read or write is attempted.
  Reply
#9
(01-15-2020, 08:35 AM)Arwen Wrote: @mamboman777, The Wiki instructions were updated to show the "-s" option for saving the settings.

There is at least 1 NVMe that does not allow "-s". If your NVMe is like that, a startup script might be in order.

That number might be 2, now, but I can't recall the other drive that wouldn't accept saving. Tried on my Sabrent Rocket Nano last night, and it wouldn't accept the -s flag, either.

(01-15-2020, 08:36 AM)mamboman777 Wrote:
(01-15-2020, 08:22 AM)tophneal Wrote: Here you go: https://wiki.pine64.org/index.php/Pinebo...r_limiting

You may need to install nvme-cli first.

I think it would be helpful to list "first, install nvme-cli" in the wiki.  It took me a while to figure that out.  

0 - 6.2w operational
1 - 4.3w operational
2 - 2.1w operational
3 - .04w non-operational
4 - .005w non-operational

Good point, just added "The package 'nvme-cli' is required to run these commands." to the section.

Have you checked for any firmware updates to the drive, from Samsung? Also, does it feel like it's running hot at all? It might also be useful to know what firmware version it's currently using. (I'm seeing several issues in the Arch forums with this drive, though they do vary.)
  Reply
#10
(01-15-2020, 08:45 AM)tophneal Wrote:
(01-15-2020, 08:35 AM)Arwen Wrote: @mamboman777, The Wiki instructions were updated to show the "-s" option for saving the settings.

There is at least 1 NVMe that does not allow "-s". If your NVMe is like that, a startup script might be in order.

That number might be 2, now, but I can't recall the other drive that wouldn't accept saving. Tried on my Sabrent Rocket Nano last night, and it wouldn't accept the -s flag, either.

(01-15-2020, 08:36 AM)mamboman777 Wrote:
(01-15-2020, 08:22 AM)tophneal Wrote: Here you go: https://wiki.pine64.org/index.php/Pinebo...r_limiting

You may need to install nvme-cli first.

I think it would be helpful to list "first, install nvme-cli" in the wiki.  It took me a while to figure that out.  

0 - 6.2w operational
1 - 4.3w operational
2 - 2.1w operational
3 - .04w non-operational
4 - .005w non-operational

Good point, just added "The package 'nvme-cli' is required to run these commands." to the section.

Have you checked for any firmware updates to the drive, from Samsung? Also, does it feel like it's running hot at all? It might also be useful to know what firmware version it's currently using. (I'm seeing several issues in the Arch forums with this drive, though they do vary.)

I have not checked for firmware updates.  From what I have read, the firmware update is an iso that you boot into.  Is that safe to run on a pinebook pro using the microSD?  It does not feel hot.  The battery life dropped, but not what I would consider drastic.  It went from approx. 8hours estimated to approx. 6 hours estimated.

(01-15-2020, 10:14 AM)mamboman777 Wrote:
(01-15-2020, 08:45 AM)tophneal Wrote:
(01-15-2020, 08:35 AM)Arwen Wrote: @mamboman777, The Wiki instructions were updated to show the "-s" option for saving the settings.

There is at least 1 NVMe that does not allow "-s". If your NVMe is like that, a startup script might be in order.

That number might be 2, now, but I can't recall the other drive that wouldn't accept saving. Tried on my Sabrent Rocket Nano last night, and it wouldn't accept the -s flag, either.

(01-15-2020, 08:36 AM)mamboman777 Wrote:
(01-15-2020, 08:22 AM)tophneal Wrote: Here you go: https://wiki.pine64.org/index.php/Pinebo...r_limiting

You may need to install nvme-cli first.

I think it would be helpful to list "first, install nvme-cli" in the wiki.  It took me a while to figure that out.  

0 - 6.2w operational
1 - 4.3w operational
2 - 2.1w operational
3 - .04w non-operational
4 - .005w non-operational

Good point, just added "The package 'nvme-cli' is required to run these commands." to the section.

Have you checked for any firmware updates to the drive, from Samsung? Also, does it feel like it's running hot at all? It might also be useful to know what firmware version it's currently using. (I'm seeing several issues in the Arch forums with this drive, though they do vary.)

I have not checked for firmware updates.  From what I have read, the firmware update is an iso that you boot into.  Is that safe to run on a pinebook pro using the microSD?  It does not feel hot.  The battery life dropped, but not what I would consider drastic.  It went from approx. 8hours estimated to approx. 6 hours estimated.

what is the process for figuring out the firmware that the nvme is running?
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [split] U-Boot with NVMe support, keyboard & display working as400 39 3,403 08-02-2020, 02:05 AM
Last Post: as400
  NVMe adapter separate order? powerful owl 5 214 07-27-2020, 10:02 PM
Last Post: powerful owl
  U-Boot with direct NVMe boot support for eMMC/SPI Flash pcm720 109 28,323 07-22-2020, 12:49 PM
Last Post: mamboman777
  Procedure for getting replacement NVMe adapter for PBP? joshtemp123org 2 250 07-21-2020, 08:31 PM
Last Post: joshtemp123org
  NVME powersaving script mamboman777 10 614 07-16-2020, 01:14 PM
Last Post: mamboman777
  NVME problems mamboman777 7 326 07-15-2020, 02:20 PM
Last Post: mamboman777
  Suspend with NVME not working - Default Debian appdev46 5 639 07-14-2020, 01:53 PM
Last Post: Jeremiah Cornelius
  pinebook doesnt see the nvme andrewiassur 3 220 06-30-2020, 06:51 PM
Last Post: andrewiassur
  Prepare to buy Pinebook Pro with nvme adapter sujunmin 1 252 06-23-2020, 07:00 AM
Last Post: Samurai_Crow
  Unable to mount NVME (PineBook Pro) WallStreet 3 212 06-21-2020, 09:51 AM
Last Post: xmixahlx

Forum Jump:


Users browsing this thread: 1 Guest(s)