Re: ses no longer attaches

From: Michael Butler <imb_at_protected-networks.net>
Date: Tue, 27 Aug 2019 19:41:57 -0400
On 2019-08-27 19:15, Niclas Zeising wrote:
> On 2019-08-28 00:38, Alexander Motin wrote:
>> Hi.
>>
>> On 27.08.2019 18:03, Niclas Zeising wrote:
>>> I have an issue where the ses driver no longer attaches.  Last known
>>> good version was r351188, r351544 is broken.  In that interval,
>>> something happened.  I haven't had time to bisect yet.
>>
>> I would appreciate some details, like dmesg, error messages, etc.  On my
>> test systems I see no problems.
>>
> 
> Hi!
> I did some more digging. r351355 is ok, while r351356 is bad.  This is
> Warner's (CC:d) commit to add RST support to nvme, however, I'm using a
> ssd drive connected to ahci.
> 
> What happens is that the ses driver doesn't attach to the AHCI SGPIO
> enclosure.  This is on a laptop with an ssd (not an nvme) drive.  I have
> the same issue on another computer as well.  On the broken kernel,
> sesutil status complains about "No SES devices found", on the working
> kernel it reports "ok".

I can confirm this behaviour (haven't checked versioning) .. working
kernel yields ..

Aug 20 17:40:06 toshi kernel: ses0 at ahciem0 bus 0 scbus4 target 0 lun 0
Aug 20 17:40:06 toshi kernel: ses0: <AHCI SGPIO Enclosure 2.00 0001>
SEMB S-E-S 2.00 device
Aug 20 17:40:06 toshi kernel: ses0: SEMB SES Device
Aug 20 17:40:06 toshi kernel: ses0: ada0,pass0 in 'Slot 00', SATA Slot:
scbus0 target 0
Aug 20 17:40:06 toshi kernel: ses0: ada1,pass1 in 'Slot 01', SATA Slot:
scbus1 target 0

 [ .. other stuff .. ]

Aug 20 17:40:06 toshi kernel: ses0 at ahciem0 bus 0 scbus4 target 0 lun 0
Aug 20 17:40:06 toshi kernel: ses0: <AHCI SGPIO Enclosure 2.00 0001>
SEMB S-E-S 2.00 device
Aug 20 17:40:06 toshi kernel: ses0: SEMB SES Device
Aug 20 17:40:06 toshi kernel: ses0: ada0,pass0 in 'Slot 00', SATA Slot:
scbus0 target 0
Aug 20 17:40:06 toshi kernel: ses0: ada1,pass1 in 'Slot 01', SATA Slot:
scbus1 target 0

 .. non working reports ..

Aug 27 11:06:28 toshi kernel: ahciem0: <AHCI enclosure management
bridge> at channel 2147483647 on ahci0
Aug 27 11:06:28 toshi kernel: device_attach: ahciem0 attach returned 6

	imb
Received on Tue Aug 27 2019 - 21:42:08 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:21 UTC