From owner-freebsd-current@freebsd.org Wed Aug 28 08:07:29 2019 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id EA1ACD5301 for ; Wed, 28 Aug 2019 08:07:29 +0000 (UTC) (envelope-from zeising@freebsd.org) Received: from mail.daemonic.se (mail.daemonic.se [IPv6:2607:f740:d:20::25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 46JJJ147y0z3Pfy for ; Wed, 28 Aug 2019 08:07:29 +0000 (UTC) (envelope-from zeising@freebsd.org) Received: from cid.daemonic.se (localhost [IPv6:::1]) by mail.daemonic.se (Postfix) with ESMTP id 46JJHy1Y3cz3l68; Wed, 28 Aug 2019 08:07:26 +0000 (UTC) X-Virus-Scanned: amavisd-new at daemonic.se Received: from mail.daemonic.se ([127.0.0.1]) (using TLS with cipher ECDHE-RSA-AES128-GCM-SHA256) by cid.daemonic.se (mailscanner.daemonic.se [127.0.0.1]) (amavisd-new, port 10587) with ESMTPS id 0eavVTzjeUWz; Wed, 28 Aug 2019 08:07:25 +0000 (UTC) Received: from vivi.daemonic.se (vivi.daemonic.se [IPv6:2001:470:dca9:2::4]) by mail.daemonic.se (Postfix) with ESMTPSA id 46JJHx3hG7z3c7W; Wed, 28 Aug 2019 08:07:25 +0000 (UTC) Subject: Re: ses no longer attaches To: Michael Butler , freebsd-current@freebsd.org References: <90483961-9da2-fba1-21da-c38b28e99e06@freebsd.org> <41c91917-13c2-f3a7-d8fd-6464c2ce3c6d@freebsd.org> <3d769833-8e94-8922-2d95-16d25407f38c@protected-networks.net> <6940ee11-bb2c-eb19-e85f-6ba39536c1e2@protected-networks.net> From: Niclas Zeising Message-ID: Date: Wed, 28 Aug 2019 10:07:15 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.0 MIME-Version: 1.0 In-Reply-To: <6940ee11-bb2c-eb19-e85f-6ba39536c1e2@protected-networks.net> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 46JJJ147y0z3Pfy X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-2.98 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.98)[-0.983,0]; ASN(0.00)[asn:36236, ipnet:2607:f740:d::/48, country:US] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Aug 2019 08:07:30 -0000 On 2019-08-28 01:45, Michael Butler wrote: > On 2019-08-27 19:41, Michael Butler wrote: >> 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.=A0 Last kn= own >>>>> good version was r351188, r351544 is broken.=A0 In that interval, >>>>> something happened.=A0 I haven't had time to bisect yet. >>>> >>>> I would appreciate some details, like dmesg, error messages, etc.=A0= On my >>>> test systems I see no problems. >>>> >>> >>> Hi! >>> I did some more digging. r351355 is ok, while r351356 is bad.=A0 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.=A0 This is on a laptop with an ssd (not an nvme) drive.=A0= I have >>> the same issue on another computer as well.=A0 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 lu= n 0 >> Aug 20 17:40:06 toshi kernel: ses0: >> 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 >=20 > Should have been .. >=20 > Aug 20 17:40:06 toshi kernel: ahci0: AHCI v1.30 with 6 6Gbps ports, Por= t > Multiplier not supported > Aug 20 17:40:06 toshi kernel: ahcich0: at channel 0 on a= hci0 > Aug 20 17:40:06 toshi kernel: ahcich1: at channel 1 on a= hci0 > Aug 20 17:40:06 toshi kernel: ahcich4: at channel 4 on a= hci0 > Aug 20 17:40:06 toshi kernel: ahcich5: at channel 5 on a= hci0 > Aug 20 17:40:06 toshi kernel: ahciem0: bridge> on ahci0 >=20 >> >> [ .. other stuff .. ] >> >> Aug 20 17:40:06 toshi kernel: ses0 at ahciem0 bus 0 scbus4 target 0 lu= n 0 >> Aug 20 17:40:06 toshi kernel: ses0: >> 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: > bridge> at channel 2147483647 on ahci0 >> Aug 27 11:06:28 toshi kernel: device_attach: ahciem0 attach returned 6 >> Yeah, I'm seeing this also. Regards --=20 Niclas Zeising