Bug 195277

Summary: sed_opal:OPAL: Error on step function: 0 with error -95: Unknown Error
Product: IO/Storage Reporter: Christian Lanig (christian.lanig)
Component: Block LayerAssignee: Jens Axboe (axboe)
Status: RESOLVED CODE_FIX    
Severity: normal CC: christian.lanig, Scott.bauer
Priority: P1    
Hardware: x86-64   
OS: Linux   
URL: https://github.com/torvalds/linux/blob/master/block/sed-opal.c#L388
Kernel Version: 4.11-rc5 Subsystem:
Regression: No Bisected commit-id:

Description Christian Lanig 2017-04-07 10:15:17 UTC
This message was introduced in my dmesg log with RC4. With RC3 I don't get this message.

The NVMe device is a Samsung SM961.
Comment 1 Scott Bauer 2017-04-07 16:31:54 UTC
Hi Christian,

Your controller is advertising security send/recv capabilities without supporting OPAL. Since that is the case the nvme driver will attempt to determine which version of opal the drive supports. Since your drive does not support opal it kicks back with an error.

We've submitted a patch to tone down all the logging to the kernel so there isn't any confusion about what is going on.

Thank you.
Comment 2 Christian Lanig 2017-05-23 09:25:56 UTC
Hi Scott,

thanks for your detailed reply. The issue is solved since 4.12 RC1.