From owner-freebsd-current@freebsd.org Fri Mar 25 22:04:29 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B9415ADD135 for ; Fri, 25 Mar 2016 22:04:29 +0000 (UTC) (envelope-from fidaj@ukr.net) Received: from frv157.fwdcdn.com (frv157.fwdcdn.com [212.42.77.157]) (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 7DB1F1057; Fri, 25 Mar 2016 22:04:28 +0000 (UTC) (envelope-from fidaj@ukr.net) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ukr.net; s=fsm; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date; bh=rA3lEufhe1XCewynU8RMbk5M+0CYkiRBLsBQB/SAfFs=; b=pxfWdzCk1bfML4PBpPgf3HuZECNiKnFTiAwz1b7xOCUL+TChYdQPEcB8KZH3ytRpkVJiRbdnOMHh0+fjo7+sytkGy4n3V1KcFATUYkCArvygPI/Ho/jYcdwz7087c426umpEW2IyIhbO0X5aJZSfjapb+qkDvCCtEX9mr6guYU8=; Received: from [37.229.193.176] (helo=nonamehost.local) by frv157.fwdcdn.com with esmtpsa ID 1ajZqE-0000qU-3g ; Sat, 26 Mar 2016 00:04:26 +0200 Date: Sat, 26 Mar 2016 00:04:25 +0200 From: Ivan Klymenko To: Ian Lepore Cc: Ruslan Makhmatkhanov , FreeBSD Current Subject: Re: SD card adapter doesn't working anymore Message-ID: <20160326000425.2013a74f@nonamehost.local> In-Reply-To: <1458941638.1091.82.camel@freebsd.org> References: <56F5A0A9.8030207@FreeBSD.org> <20160325224145.2f319ead@nonamehost.local> <56F5A809.2020505@FreeBSD.org> <20160325231115.3752fe53@nonamehost.local> <1458941638.1091.82.camel@freebsd.org> X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.29; amd64-portbld-freebsd11.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Authentication-Result: IP=37.229.193.176; mail.from=fidaj@ukr.net; dkim=pass; header.d=ukr.net X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.21 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: Fri, 25 Mar 2016 22:04:29 -0000 On Fri, 25 Mar 2016 15:33:58 -0600 Ian Lepore wrote: > On Fri, 2016-03-25 at 23:11 +0200, Ivan Klymenko wrote: > > On Sat, 26 Mar 2016 00:05:13 +0300 > > Ruslan Makhmatkhanov wrote: > > > > > Ivan Klymenko wrote on 03/25/16 11:41 PM: > > > > On Fri, 25 Mar 2016 23:33:45 +0300 > > > > Ruslan Makhmatkhanov wrote: > > > > > > > > > Hello, > > > > > > > > > > I have this in pciconf output: > > > > > > > > > > =============================================================== > > > > > ======= > > > > > none1@pci0:36:0:0: class=0x088000 card=0x167e103c > > > > > chip=0x2392197b rev=0x30 hdr=0x00 > > > > > vendor = 'JMicron Technology Corp.' > > > > > device = 'SD/MMC Host Controller' > > > > > class = base peripheral > > > > > > > > > > none2@pci0:36:0:3: class=0x088000 card=0x167e103c > > > > > chip=0x2393197b rev=0x30 hdr=0x00 > > > > > vendor = 'JMicron Technology Corp.' > > > > > device = 'MS Host Controller' > > > > > class = base peripheral > > > > > =============================================================== > > > > > ======= > > > > > > > > > > And my SD-card controller is not working anymore (it worked on > > > > > -current on the same laptop year or two ago). Do I need to > > > > > load some kld to make it working, or support for this > > > > > controllers was > > > > > dropped altogether for some reason? I have mostly vanilla > > > > > GENERIC > > > > > at r296772, but it actually stopped to work much earlier. > > > > > > > > > > Thanks. > > > > > > > > > > > > > +1 > > > > I would also like to clarify about this problem was drawn up a > > > > bug > > > > report. > > > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193341 > > > > > > > > Thanks. > > > > > > Hah, I even see my comment from 2014 in this PR. > > > > I have it broken just from that moment to this day. > > uname -a > > FreeBSD nonamehost.local 11.0-CURRENT FreeBSD 11.0-CURRENT #0 > > r297234: > > Thu Mar 24 15:15:39 EET 2016 > > ivan@nonamehost.local:/media/da0s1/obj/usr/src/sys/mk11 amd64 > > > > > > > So looks like it was > > > broken not in r292180 as Ian pointed, but much-much earlier. > > > Anyway, > > > I'll try to update to fresh -current first. > > > > > That PR has a very small range, r271081-138, but I don't any changes > in that range related to sdhci, or to pci. The PR doesn't say > anything about how the device "doesn't work". Does the sdhci device > show up in dmesg, but the sd card is never detected, or does sdhci > not even attach? > > -- Ian "doesn't work" - this means that the necessary modules loaded either nothing happens by dmesg and does not appear in the device /dev/ in any case - it is a message about the problem and some strange reason, unless specified more detailed report.