Re: SD card adapter doesn't working anymore

From: Ian Lepore <ian_at_freebsd.org>
Date: Fri, 25 Mar 2016 15:33:58 -0600
On Fri, 2016-03-25 at 23:11 +0200, Ivan Klymenko wrote:
> On Sat, 26 Mar 2016 00:05:13 +0300
> Ruslan Makhmatkhanov <rm_at_FreeBSD.org> wrote:
> 
> > Ivan Klymenko wrote on 03/25/16 11:41 PM:
> > > On Fri, 25 Mar 2016 23:33:45 +0300
> > > Ruslan Makhmatkhanov <rm_at_FreeBSD.org> wrote:
> > >  
> > > > Hello,
> > > > 
> > > > I have this in pciconf output:
> > > > 
> > > > ===============================================================
> > > > =======
> > > > none1_at_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_at_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_at_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
Received on Fri Mar 25 2016 - 20:34:06 UTC

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