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
  NVMe SSD and battery life? dieselnutjob 2 210 04-11-2021, 11:07 AM
Last Post: dieselnutjob
  Selling Pinebook Pro 128GB version (w/ NVMe adaptor) due to lack of use VoT 3 693 03-19-2021, 03:11 AM
Last Post: jj282
  [split] U-Boot with NVMe support, keyboard & display working as400 83 29,314 01-27-2021, 12:48 AM
Last Post: as400
  U-Boot with direct NVMe boot support for eMMC/SPI Flash pcm720 115 81,101 01-04-2021, 09:57 AM
Last Post: wdt
  emmc vs NVMe real-world performances Henry 7 2,322 11-15-2020, 02:03 PM
Last Post: rimaille
  NVMe doesn't show up Seferi 19 4,252 10-30-2020, 07:08 AM
Last Post: ReddestDream
  Unable to mount NVME (PineBook Pro) WallStreet 4 1,938 09-13-2020, 11:16 PM
Last Post: Phillip Bell
  NVME problems mamboman777 12 4,218 08-19-2020, 12:01 PM
Last Post: xmixahlx
  NVMe adapter separate order? powerful owl 5 1,584 07-27-2020, 10:02 PM
Last Post: powerful owl
  Procedure for getting replacement NVMe adapter for PBP? joshtemp123org 2 1,253 07-21-2020, 08:31 PM
Last Post: joshtemp123org

Forum Jump:


Users browsing this thread: 1 Guest(s)