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
  System hard-freezes and reboots shortly after startup trgt 1 48 01-15-2020, 03:33 PM
Last Post: trgt
  U-Boot with direct NVMe boot support for eMMC/SPI Flash pcm720 55 4,906 01-14-2020, 07:36 AM
Last Post: Arwen
  Brand new system locked up after ~1hr peetee 5 229 01-13-2020, 12:35 PM
Last Post: peetee
  Can I boot system from nvme SSD? plumlis 6 500 01-12-2020, 04:47 PM
Last Post: bcnaz
  SSD NVME and Network connection guilain.houze 0 78 01-01-2020, 06:01 AM
Last Post: guilain.houze
  The Pinebook Pro Preorder System! fire219 377 30,462 12-31-2019, 12:15 PM
Last Post: Jeremiah Cornelius
  [sold] Selling PBP 128GB + NVME adapter cristobalhdez 1 416 12-13-2019, 11:31 AM
Last Post: cristobalhdez
  thunderbird crashes on startup on default Debian Mate platform ndp 11 604 11-12-2019, 08:13 AM
Last Post: Feakster
  Pinebook Pro/NVMe prep ? bcnaz 2 341 11-11-2019, 02:47 PM
Last Post: bcnaz

Forum Jump:


Users browsing this thread: 1 Guest(s)