Date: Tue, 27 Aug 2019 19:41:57 -0400 From: Michael Butler <imb@protected-networks.net> To: Niclas Zeising <zeising@freebsd.org>, imp@FreeBSD.org Cc: current@FreeBSD.org Subject: Re: ses no longer attaches Message-ID: <3d769833-8e94-8922-2d95-16d25407f38c@protected-networks.net> In-Reply-To: <41c91917-13c2-f3a7-d8fd-6464c2ce3c6d@freebsd.org> References: <90483961-9da2-fba1-21da-c38b28e99e06@freebsd.org> <fa9a98aa-ecfc-98b6-bc7c-661944aa90a6@FreeBSD.org> <41c91917-13c2-f3a7-d8fd-6464c2ce3c6d@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3d769833-8e94-8922-2d95-16d25407f38c>