From owner-freebsd-current@freebsd.org Tue Aug 27 23:45:15 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 B2118CB4E4 for ; Tue, 27 Aug 2019 23:45:15 +0000 (UTC) (envelope-from imb@protected-networks.net) Received: from mail.protected-networks.net (mail.protected-networks.net [202.12.127.228]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.protected-networks.net", Issuer "Protected Networks CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 46J58W0DhYz4VRL for ; Tue, 27 Aug 2019 23:45:14 +0000 (UTC) (envelope-from imb@protected-networks.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d= protected-networks.net; h=content-transfer-encoding :content-language:content-type:content-type:in-reply-to :mime-version:user-agent:date:date:message-id:from:from :references:subject:subject; s=201508; t=1566949512; bh=qGVqCkvn xvO8DbKM5mMIRQ1Oz/LraipDqC6NOZ9Nay0=; b=j6tSVz6AVNs4WaxR+NvDuP8S QE57tpJhBjbPnMXWzI6/ZelvfLs4NS/RWQCbNT7HshZPopBHqOiAWS3Rv+RKOYhf Z7H2qZkfY0JVY0Z0OVgTFfGuTlofvBuisD+Dog8qHhKHDoN4IaBx6FG/FAXZuyOt QTFfiGiy6FFbUfKyMGw= Received: from toshi.auburn.protected-networks.net (toshi.auburn.protected-networks.net [192.168.1.10]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (Client did not present a certificate) (Authenticated sender: imb@mail.protected-networks.net) by mail.protected-networks.net (Postfix) with ESMTPSA id E081228028 for ; Tue, 27 Aug 2019 19:45:12 -0400 (EDT) Subject: Re: ses no longer attaches To: 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> From: Michael Butler Message-ID: <6940ee11-bb2c-eb19-e85f-6ba39536c1e2@protected-networks.net> Date: Tue, 27 Aug 2019 19:45:12 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.0 MIME-Version: 1.0 In-Reply-To: <3d769833-8e94-8922-2d95-16d25407f38c@protected-networks.net> Content-Type: text/plain; charset=windows-1252 Content-Language: en-NZ Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 46J58W0DhYz4VRL X-Spamd-Bar: ------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=protected-networks.net header.s=201508 header.b=j6tSVz6A; dmarc=none; spf=pass (mx1.freebsd.org: domain of imb@protected-networks.net designates 202.12.127.228 as permitted sender) smtp.mailfrom=imb@protected-networks.net X-Spamd-Result: default: False [-7.21 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[protected-networks.net:s=201508]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; DMARC_NA(0.00)[protected-networks.net]; DKIM_TRACE(0.00)[protected-networks.net:+]; NEURAL_HAM_SHORT(-0.99)[-0.985,0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(-3.72)[ip: (-9.79), ipnet: 202.12.127.0/24(-4.89), asn: 5716(-3.87), country: US(-0.05)]; ASN(0.00)[asn:5716, ipnet:202.12.127.0/24, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] 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: Tue, 27 Aug 2019 23:45:15 -0000 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.  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: > 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 Should have been .. Aug 20 17:40:06 toshi kernel: ahci0: AHCI v1.30 with 6 6Gbps ports, Port Multiplier not supported Aug 20 17:40:06 toshi kernel: ahcich0: at channel 0 on ahci0 Aug 20 17:40:06 toshi kernel: ahcich1: at channel 1 on ahci0 Aug 20 17:40:06 toshi kernel: ahcich4: at channel 4 on ahci0 Aug 20 17:40:06 toshi kernel: ahcich5: at channel 5 on ahci0 Aug 20 17:40:06 toshi kernel: ahciem0: on ahci0 > > [ .. 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: > 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 > > imb > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >