[Bug 1737934] Re: Samsung SM961 NVMe SSD randomly unmounts/loses connection/unavailable

2019-10-12 Thread Sebastian via ubuntu-bugs
Same problem with T470s and SAMSUNG MZVLW1T0HMLH-000L7

sqid : 0
cmdid: 0x18
status_field : 0x4004(INVALID_FIELD: A reserved coded value or an unsupported 
value in a defined field)
parm_err_loc : 0x2c
lba  : 0
nsid : 0
vs   : 0
cs   : 0
.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1737934

Title:
  Samsung SM961 NVMe SSD randomly unmounts/loses connection/unavailable

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1737934/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1737934] Re: Samsung SM961 NVMe SSD randomly unmounts/loses connection/unavailable

2019-07-24 Thread Brad Figg
** Tags added: ubuntu-certified

** Tags added: cscc

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1737934

Title:
  Samsung SM961 NVMe SSD randomly unmounts/loses connection/unavailable

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1737934/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1737934] Re: Samsung SM961 NVMe SSD randomly unmounts/loses connection/unavailable

2019-03-12 Thread walter
Same thing here.
Dell XPS 9560, Samsung SM961 512GB NVMe SSD, Ubuntu 18.04.2, Linux 
4.18.0-16-generic.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1737934

Title:
  Samsung SM961 NVMe SSD randomly unmounts/loses connection/unavailable

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1737934/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1737934] Re: Samsung SM961 NVMe SSD randomly unmounts/loses connection/unavailable

2018-02-06 Thread Lode Lesage
To add some closure to this ticket:
Lenovo support had to visit me 3 times:
- first they replaced the SSD -> same problem
- then they replaced the SSD adapter and cable -> same problem
- lastly they just replaced the whole motherboard -> fixed the problem for 
Windows
So it seems I definitely had a hardware problem.
After all the problems I decided not to install Linux anymore, since I 
discovered you can now run Linux natively on Windows (it's called the Windows 
Subsystem for Linux or WSL, cool stuff!).
So in the end I'm not sure if I ALSO had a software problem, but I'm not gonna 
risk it by going back to Linux...

** Changed in: linux (Ubuntu)
   Status: Confirmed => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1737934

Title:
  Samsung SM961 NVMe SSD randomly unmounts/loses connection/unavailable

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1737934/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1737934] Re: Samsung SM961 NVMe SSD randomly unmounts/loses connection/unavailable

2018-01-02 Thread Lode Lesage
Had the same problem in Windows (I think, harder to diagnose on Windows), even 
after installing updates for BIOS, firmware & drivers, so this is probably a 
hardware problem.
Lenovo support should visit me soon to fix the problem (with new hardware), 
I'll give an update after that.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1737934

Title:
  Samsung SM961 NVMe SSD randomly unmounts/loses connection/unavailable

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1737934/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Re: [Bug 1737934] Re: Samsung SM961 NVMe SSD randomly unmounts/loses connection/unavailable

2017-12-28 Thread Kai-Heng Feng
> On 28 Dec 2017, at 5:12 PM, Lode Lesage <1737...@bugs.launchpad.net> wrote:
> 
> I'm starting to think it isn't a software issue.
> I tried to solve it again because it was becoming impossible to work, and 
> decided to install Ubuntu MATE 16.4.3 LTS (kernel 4.10.0-42-generic) because 
> I read some people had less problems with NVMe drives on that.

This issue is distro-agnostic.

> 
> The problem persisted however.
> I also noticed that sometimes when I booted and went into the BIOS the drive 
> would even lose connection/not be visible there, which to me indicates that 
> it might be a hardware issue? Any thoughts on that? Any way I can determine 
> for sure that I don't have a faulty drive?

There are three things that worth to try,
- Check if Windows also has this problem
- Update system BIOS to latest version.
- Update NVMe firmware to latest version, probably only available under Windows.

IIRC, Samsung NVMes also have this problem under Windows, a firmware
update solved the issue.

> 
> -- 
> You received this bug notification because you are subscribed to linux
> in Ubuntu.
> https://bugs.launchpad.net/bugs/1737934
> 
> Title:
>  Samsung SM961 NVMe SSD randomly unmounts/loses connection/unavailable
> 
> Status in linux package in Ubuntu:
>  Confirmed
> 
> Bug description:
>  Seems related to these bugs:
>  https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1678184
>  https://bugs.launchpad.net/ubuntu/+source/linux-signed/+bug/1682704
>  https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1705748
> 
>  Problem:
>  At seemingly random times my computer (brand new Lenovo Thinkpad T470) seems 
> to lose access to the Samsung SM961 256GB SSD drive it has inside. When this 
> happens the whole OS freezes up and when I try to power down I see a black 
> terminal-like screen that prints the following errors:
> 
>  EXT4-fs error (device nvme0n1p2): ext4_find_entry:1431: inode #7471275
>  (or #741278): comm gmain (or systemd-journal or ...): reading
>  directory iblock 0
> 
>  This error seems to be repeated endlessly, though I've only let it go
>  for a few minutes. No other errors are printed.
> 
>  This is the only drive it has.
>  I don't know if this occurs in Windows too since I removed Windows and 
> installed Ubuntu immediatly after updating the BIOS.
> 
>  Info:
>  Distro: Ubuntu MATE 17.10
> 
>  sudo uname -r
>  4.13.0-19-generic
> 
>  sudo nvme get-feature -f 0x0c -H /dev/nvme0 (with latency set to 250)
>  get-feature:0xc (Autonomous Power State Transition), Current value:0x01
>   Autonomous Power State Transition Enable (APSTE): Enabled
>   Auto PST Entries.
>   Entry[ 0]   
>   .
>   Idle Time Prior to Transition (ITPT): 0 ms
>   Idle Transition Power State   (ITPS): 0
>   .
>   Entry[ 1]   
>   .
>   Idle Time Prior to Transition (ITPT): 0 ms
>   Idle Transition Power State   (ITPS): 0
>   .
>   Entry[ 2]   
>   .
>   Idle Time Prior to Transition (ITPT): 0 ms
>   Idle Transition Power State   (ITPS): 0
>   .
>   Entry[ 3]   
>   .
>   Idle Time Prior to Transition (ITPT): 0 ms
>   Idle Transition Power State   (ITPS): 0
>   .
>   Entry[ 4]   
>   .
>   Idle Time Prior to Transition (ITPT): 0 ms
>   Idle Transition Power State   (ITPS): 0
>   .
>   Entry[ 5]   
>   .
>   Idle Time Prior to Transition (ITPT): 0 ms
>   Idle Transition Power State   (ITPS): 0
>   .
>   Entry[ 6]   
>   .
>   Idle Time Prior to Transition (ITPT): 0 ms
>   Idle Transition Power State   (ITPS): 0
>   .
>   Entry[ 7]   
>   .
>   Idle Time Prior to Transition (ITPT): 0 ms
>   Idle Transition Power State   (ITPS): 0
>   .
>   Entry[ 8]   
>   .
>   Idle Time Prior to Transition (ITPT): 0 ms
>   Idle Transition Power State   (ITPS): 0
>   .
>   Entry[ 9]   
>   .
>   Idle Time Prior to Transition (ITPT): 0 ms
>   Idle Transition Power State   (ITPS): 0
>   .
>   Entry[10]   
>   .
>   Idle Time Prior to Transition (ITPT): 0 ms
>   Idle Transition Power State   (ITPS): 0
>   .
>   Entry[11]   
>   .
>   Idle Time Prior to Transition (ITPT): 0 ms
>   Idle Transition Power State   (ITPS): 0
>   .
>   Entry[12]   
>   .
>   Idle Time Prior to Transition (ITPT): 0 ms
>   Idle Transition Power State   (ITPS): 0
>   .
>   Entry[13]   
>   .
>   Idle Time Prior to Transition (ITPT): 0 ms
>   

[Bug 1737934] Re: Samsung SM961 NVMe SSD randomly unmounts/loses connection/unavailable

2017-12-28 Thread Lode Lesage
I'm starting to think it isn't a software issue.
I tried to solve it again because it was becoming impossible to work, and 
decided to install Ubuntu MATE 16.4.3 LTS (kernel 4.10.0-42-generic) because I 
read some people had less problems with NVMe drives on that.

The problem persisted however.
I also noticed that sometimes when I booted and went into the BIOS the drive 
would even lose connection/not be visible there, which to me indicates that it 
might be a hardware issue? Any thoughts on that? Any way I can determine for 
sure that I don't have a faulty drive?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1737934

Title:
  Samsung SM961 NVMe SSD randomly unmounts/loses connection/unavailable

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1737934/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1737934] Re: Samsung SM961 NVMe SSD randomly unmounts/loses connection/unavailable

2017-12-21 Thread Lode Lesage
I tried it and it worked for 1 day, but it just happened again.
Maybe this isn't a problem with Ubuntu/Linux after all?
I have already checked the physical connection of the drive and as far as I 
could find out the drive itself is healthy too, so I have no idea what the 
problem might be...
Any more ideas?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1737934

Title:
  Samsung SM961 NVMe SSD randomly unmounts/loses connection/unavailable

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1737934/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1737934] Re: Samsung SM961 NVMe SSD randomly unmounts/loses connection/unavailable

2017-12-20 Thread Kai-Heng Feng
Hmm, wondering if kernel parameter "pcie_port_pm=off" helps?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1737934

Title:
  Samsung SM961 NVMe SSD randomly unmounts/loses connection/unavailable

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1737934/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1737934] Re: Samsung SM961 NVMe SSD randomly unmounts/loses connection/unavailable

2017-12-19 Thread Lode Lesage
No, it just had the best result out of everything I have tried. It still hangs 
occasionally, especially after a cold boot.
The kernel from #13 is comparable so far: ~2 hangups per day, mostly after cold 
boot.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1737934

Title:
  Samsung SM961 NVMe SSD randomly unmounts/loses connection/unavailable

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1737934/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1737934] Re: Samsung SM961 NVMe SSD randomly unmounts/loses connection/unavailable

2017-12-19 Thread Kai-Heng Feng
So when you use "nvme_core.default_ps_max_latency_us=250", the issue is
completely gone?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1737934

Title:
  Samsung SM961 NVMe SSD randomly unmounts/loses connection/unavailable

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1737934/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1737934] Re: Samsung SM961 NVMe SSD randomly unmounts/loses connection/unavailable

2017-12-19 Thread Lode Lesage
First I want to say thanks again for all the help!



GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"



sudo uname -r
4.15.0-rc4+ (kernel from #13)



sudo nvme get-feature -f 0x0c -H /dev/nvme0
get-feature:0xc (Autonomous Power State Transition), Current value:
Autonomous Power State Transition Enable (APSTE): Disabled
Auto PST Entries.
Entry[ 0]   
.
Idle Time Prior to Transition (ITPT): 0 ms
Idle Transition Power State   (ITPS): 0
.
Entry[ 1]   
.
Idle Time Prior to Transition (ITPT): 0 ms
Idle Transition Power State   (ITPS): 0
.
Entry[ 2]   
.
Idle Time Prior to Transition (ITPT): 0 ms
Idle Transition Power State   (ITPS): 0
.
Entry[ 3]   
.
Idle Time Prior to Transition (ITPT): 0 ms
Idle Transition Power State   (ITPS): 0
.
Entry[ 4]   
.
Idle Time Prior to Transition (ITPT): 0 ms
Idle Transition Power State   (ITPS): 0
.
Entry[ 5]   
.
Idle Time Prior to Transition (ITPT): 0 ms
Idle Transition Power State   (ITPS): 0
.
Entry[ 6]   
.
Idle Time Prior to Transition (ITPT): 0 ms
Idle Transition Power State   (ITPS): 0
.
Entry[ 7]   
.
Idle Time Prior to Transition (ITPT): 0 ms
Idle Transition Power State   (ITPS): 0
.
Entry[ 8]   
.
Idle Time Prior to Transition (ITPT): 0 ms
Idle Transition Power State   (ITPS): 0
.
Entry[ 9]   
.
Idle Time Prior to Transition (ITPT): 0 ms
Idle Transition Power State   (ITPS): 0
.
Entry[10]   
.
Idle Time Prior to Transition (ITPT): 0 ms
Idle Transition Power State   (ITPS): 0
.
Entry[11]   
.
Idle Time Prior to Transition (ITPT): 0 ms
Idle Transition Power State   (ITPS): 0
.
Entry[12]   
.
Idle Time Prior to Transition (ITPT): 0 ms
Idle Transition Power State   (ITPS): 0
.
Entry[13]   
.
Idle Time Prior to Transition (ITPT): 0 ms
Idle Transition Power State   (ITPS): 0
.
Entry[14]   
.
Idle Time Prior to Transition (ITPT): 0 ms
Idle Transition Power State   (ITPS): 0
.
Entry[15]   
.
Idle Time Prior to Transition (ITPT): 0 ms
Idle Transition Power State   (ITPS): 0
.
Entry[16]   
.
Idle Time Prior to Transition (ITPT): 0 ms
Idle Transition Power State   (ITPS): 0
.
Entry[17]   
.
Idle Time Prior to Transition (ITPT): 0 ms
Idle Transition Power State   (ITPS): 0
.
Entry[18]   
.
Idle Time Prior to Transition (ITPT): 0 ms
Idle Transition Power State   (ITPS): 0
.
Entry[19]   
.
Idle Time Prior to Transition (ITPT): 0 ms
Idle Transition Power State   (ITPS): 0
.
Entry[20]   
.
Idle Time Prior to Transition (ITPT): 0 ms
Idle Transition Power State   (ITPS): 0
.
Entry[21]   
.
Idle Time Prior to Transition (ITPT): 0 ms
Idle Transition Power State   (ITPS): 0
.
Entry[22]   
.
Idle Time Prior to Transition (ITPT): 0 ms
Idle Transition Power State   (ITPS): 0
.
Entry[23]   
.
Idle Time Prior to Transition (ITPT): 0 ms
Idle Transition Power State   (ITPS): 0
.
Entry[24]   
.
Idle Time Prior to Transition (ITPT): 0 ms
Idle Transition Power State   (ITPS): 0
.
Entry[25]   
.
Idle Time Prior to Transition (ITPT): 0 ms
Idle Transition Power State   (ITPS): 0
.
Entry[26]   
.
Idle Time Prior to Transition (ITPT): 0 ms
Idle Transition Power State   (ITPS): 

[Bug 1737934] Re: Samsung SM961 NVMe SSD randomly unmounts/loses connection/unavailable

2017-12-18 Thread Kai-Heng Feng
Can you attach output of `nvme get-feature -f 0x0c -H /dev/nvme0` with
kernel in comment #13?

Also `sudo lspci -vvv`.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1737934

Title:
  Samsung SM961 NVMe SSD randomly unmounts/loses connection/unavailable

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1737934/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1737934] Re: Samsung SM961 NVMe SSD randomly unmounts/loses connection/unavailable

2017-12-18 Thread Lode Lesage
I installed it and removed the kernel parameter, but it happened again
less than an hour after booting.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1737934

Title:
  Samsung SM961 NVMe SSD randomly unmounts/loses connection/unavailable

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1737934/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1737934] Re: Samsung SM961 NVMe SSD randomly unmounts/loses connection/unavailable

2017-12-17 Thread Kai-Heng Feng
Please try this kernel without "nvme_core.default_ps_max_latency_us=".

http://people.canonical.com/~khfeng/lp1737934/

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1737934

Title:
  Samsung SM961 NVMe SSD randomly unmounts/loses connection/unavailable

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1737934/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1737934] Re: Samsung SM961 NVMe SSD randomly unmounts/loses connection/unavailable

2017-12-15 Thread Lode Lesage
No problem, I am very grateful for your help!

As I said in the "What have I tried"-section (sorry if it got lost in
all the info, I tried to give as much as possible), yes I have tried
that and yes I have the same problem. It seems to be worse actually when
I put 0 as latency.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1737934

Title:
  Samsung SM961 NVMe SSD randomly unmounts/loses connection/unavailable

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1737934/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1737934] Re: Samsung SM961 NVMe SSD randomly unmounts/loses connection/unavailable

2017-12-15 Thread Kai-Heng Feng
Sorry, I re-read your bug description, do have the same issue on
"nvme_core.default_ps_max_latency_us=0", which disable APST completely?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1737934

Title:
  Samsung SM961 NVMe SSD randomly unmounts/loses connection/unavailable

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1737934/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1737934] Re: Samsung SM961 NVMe SSD randomly unmounts/loses connection/unavailable

2017-12-15 Thread Lode Lesage
I tried it but the problem happened again, twice, quite quickly after
booting.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1737934

Title:
  Samsung SM961 NVMe SSD randomly unmounts/loses connection/unavailable

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1737934/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1737934] Re: Samsung SM961 NVMe SSD randomly unmounts/loses connection/unavailable

2017-12-15 Thread Kai-Heng Feng
Can you try "nvme_core.default_ps_max_latency_us=1500"? This will
disable ps4, which causes lots of troubles.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1737934

Title:
  Samsung SM961 NVMe SSD randomly unmounts/loses connection/unavailable

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1737934/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1737934] Re: Samsung SM961 NVMe SSD randomly unmounts/loses connection/unavailable

2017-12-15 Thread Lode Lesage
Here you go:

sudo nvme id-ctrl /dev/nvme0
NVME Identify Controller:
vid : 0x144d
ssvid   : 0x144d
sn  : S35ENX0JA13385  
mn  : SAMSUNG MZVLW256HEHP-000L7  
fr  : 4L7QCXB7
rab : 2
ieee: 002538
cmic: 0
mdts: 0
cntlid  : 2
ver : 10200
rtd3r   : 186a0
rtd3e   : 4c4b40
oaes: 0
oacs: 0x17
acl : 7
aerl: 3
frmw: 0x16
lpa : 0x3
elpe: 63
npss: 4
avscc   : 0x1
apsta   : 0x1
wctemp  : 342
cctemp  : 345
mtfa: 0
hmpre   : 0
hmmin   : 0
tnvmcap : 256060514304
unvmcap : 0
rpmbs   : 0
sqes: 0x66
cqes: 0x44
nn  : 1
oncs: 0x1f
fuses   : 0
fna : 0x4
vwc : 0x1
awun: 255
awupf   : 0
nvscc   : 1
acwu: 0
sgls: 0
subnqn  : 
ps0 : mp:7.60W operational enlat:0 exlat:0 rrt:0 rrl:0
  rwt:0 rwl:0 idle_power:- active_power:-
ps1 : mp:6.00W operational enlat:0 exlat:0 rrt:1 rrl:1
  rwt:1 rwl:1 idle_power:- active_power:-
ps2 : mp:5.10W operational enlat:0 exlat:0 rrt:2 rrl:2
  rwt:2 rwl:2 idle_power:- active_power:-
ps3 : mp:0.0400W non-operational enlat:210 exlat:1500 rrt:3 rrl:3
  rwt:3 rwl:3 idle_power:- active_power:-
ps4 : mp:0.0050W non-operational enlat:2200 exlat:6000 rrt:4 rrl:4
  rwt:4 rwl:4 idle_power:- active_power:-

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1737934

Title:
  Samsung SM961 NVMe SSD randomly unmounts/loses connection/unavailable

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1737934/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1737934] Re: Samsung SM961 NVMe SSD randomly unmounts/loses connection/unavailable

2017-12-14 Thread Kai-Heng Feng
Please attach output of `nvme id-ctrl /dev/nvme0`?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1737934

Title:
  Samsung SM961 NVMe SSD randomly unmounts/loses connection/unavailable

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1737934/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1737934] Re: Samsung SM961 NVMe SSD randomly unmounts/loses connection/unavailable

2017-12-14 Thread Lode Lesage
@ #3:

I installed the latest upstream kernel and will report back with the
results.

uname -r
4.15.0-041500rc3-generic

I assumed it would also make the most sense to remove the
GRUB_CMDLINE_LINUX_DEFAULT="nvme_core.default_ps_max_latency_us=250"
parameter to see if the upstream kernel fixes the problem completely. Is
this assumption correct?

@ #4:

I normally never suspend my laptop, but I tried it a few times (~4) and
it does not seem to affect the problem. It definitely didn't make it
appear immediately and also does not seem to make it happen sooner.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1737934

Title:
  Samsung SM961 NVMe SSD randomly unmounts/loses connection/unavailable

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1737934/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1737934] Re: Samsung SM961 NVMe SSD randomly unmounts/loses connection/unavailable

2017-12-14 Thread Lode Lesage
Well...
Seconds after my previous message it happened again.
So it seems the upstream kernel does not fix the problem.
I'm adding GRUB_CMDLINE_LINUX_DEFAULT="nvme_core.default_ps_max_latency_us=250" 
again.

** Tags added: kernel-bug-exists-upstream

** Changed in: linux (Ubuntu)
   Status: Incomplete => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1737934

Title:
  Samsung SM961 NVMe SSD randomly unmounts/loses connection/unavailable

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1737934/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1737934] Re: Samsung SM961 NVMe SSD randomly unmounts/loses connection/unavailable

2017-12-13 Thread Kai-Heng Feng
Does the issue happen after a system suspend?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1737934

Title:
  Samsung SM961 NVMe SSD randomly unmounts/loses connection/unavailable

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1737934/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1737934] Re: Samsung SM961 NVMe SSD randomly unmounts/loses connection/unavailable

2017-12-13 Thread Joseph Salisbury
Would it be possible for you to test the latest upstream kernel? Refer
to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest
v4.15 kernel[0].

If this bug is fixed in the mainline kernel, please add the following
tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag:
'kernel-bug-exists-upstream'.

Once testing of the upstream kernel is complete, please mark this bug as
"Confirmed".


Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.15-rc3


** Tags added: kernel-da-key

** Changed in: linux (Ubuntu)
   Importance: Undecided => High

** Changed in: linux (Ubuntu)
   Status: Confirmed => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1737934

Title:
  Samsung SM961 NVMe SSD randomly unmounts/loses connection/unavailable

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1737934/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs