From owner-freebsd-current@freebsd.org Fri Jan 26 14:09:48 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0930AED8734 for ; Fri, 26 Jan 2018 14:09:48 +0000 (UTC) (envelope-from kiri@kx.openedu.org) Received: from kx.openedu.org (flets-sg1027.kamome.or.jp [202.216.24.27]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 574DE744E6 for ; Fri, 26 Jan 2018 14:09:46 +0000 (UTC) (envelope-from kiri@kx.openedu.org) Received: from kx.openedu.org (kx.openedu.org [202.216.24.27]) by kx.openedu.org (8.14.5/8.14.5) with ESMTP id w0QE9hR2085651; Fri, 26 Jan 2018 23:09:43 +0900 (JST) (envelope-from kiri@kx.openedu.org) Message-Id: <201801261409.w0QE9hR2085651@kx.openedu.org> Date: Fri, 26 Jan 2018 23:09:43 +0900 From: KIRIYAMA Kazuhiko To: freebsd-current Cc: kiri@kx.openedu.org Subject: Re: microSDXC can't recognized In-Reply-To: <201801260731.w0Q7V842079870@kx.openedu.org> References: <201801260731.w0Q7V842079870@kx.openedu.org> User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL/10.6 MULE XEmacs/21.4 (patch 22) (Instant Classic) (amd64--freebsd) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=ISO-2022-JP X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.25 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, 26 Jan 2018 14:09:48 -0000 At Fri, 26 Jan 2018 16:31:08 +0900, 私 wrote: > > Hi, > > Builtin microSDXC card device can't recognized in may > machine[1]. Inserted it but nothing happened. Inserted card > is SanDisk SDSQAR-128G-GNMA[2]. But in may another machine, > it recognized da0: > > root@kazu:~ # uname -v > FreeBSD 9.2-STABLE #5 r259404M: Mon Dec 16 00:12:52 JST 2013 admin@kazu.pis:/usr/obj/usr/src/sys/GENERIC > root@kazu:~ # dmesg | tail -10 > ugen4.3: at usbus4 > umass0: on usbus4 > umass0: SCSI over Bulk-Only; quirks = 0x4001 > umass0:1:0:-1: Attached to scbus1 > da0 at umass-sim0 bus 0 scbus1 target 0 lun 0 > da0: Removable Direct Access SCSI-0 device > da0: Serial Number 058F63666433 > da0: 40.000MB/s transfers > da0: 121942MB (249737216 512 byte sectors: 255H 63S/T 15545C) > da0: quirks=0x2 > root@kazu:~ # > > My machine in question is r328126 and it's dmesg is [3]. The > cause is either my SD card adaptor phisically collapsed or > r328126 does not work. BTW I've added pciconf: I've rebooted and then recognized by mmcsd1! dmesg shows: mmcsd1: 128GB at mmc1 50.0MHz/4bit/65535-block WARNING: WITNESS option enabled, expect reduced performance. and gpart shows: root@t:~ # gpart show /dev/mmcsd1 => 34 249737149 mmcsd1 GPT (119G) 34 249737149 1 freebsd-ufs (119G) I can mount with /dev/mmcsd1p1 and could be accessed with UFS :-) root@t:~ # mount /dev/mmcsd1p1 /mnt root@t:~ # df -h Filesystem Size Used Avail Capacity Mounted on /dev/mmcsd0p2 53G 11G 38G 23% / devfs 1.0K 1.0K 0B 100% /dev linprocfs 4.0K 4.0K 0B 100% /compat/linux/proc tmpfs 6.5G 4.0K 6.5G 0% /compat/linux/dev/shm /dev/mmcsd1p1 115G 8.0K 106G 0% /mnt root@t:~ # I supposed SD card to be a pnp device but this embedded micro sd port seems to be eMMC device. Actually it is teated same as internal eMMC device as HDD. That is micro SD card must not be pull out by umount on running isn't it? Regards. > > root@t:~ # pciconf -lv > hostb0@pci0:0:0:0: class=0x060000 card=0x72708086 chip=0x22808086 rev=0x36 hdr=0x00 > vendor = 'Intel Corporation' > device = 'Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series SoC Transaction Register' > class = bridge > subclass = HOST-PCI > vgapci0@pci0:0:2:0: class=0x030000 card=0x72708086 chip=0x22b08086 rev=0x36 hdr=0x00 > vendor = 'Intel Corporation' > device = 'Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series PCI Configuration Registers' > class = display > subclass = VGA > none0@pci0:0:3:0: class=0x048000 card=0x72708086 chip=0x22b88086 rev=0x36 hdr=0x00 > vendor = 'Intel Corporation' > device = 'Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series Imaging Unit' > class = multimedia > none1@pci0:0:11:0: class=0x118000 card=0x72708086 chip=0x22dc8086 rev=0x36 hdr=0x00 > vendor = 'Intel Corporation' > device = 'Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series Power Management Controller' > class = dasp > xhci0@pci0:0:20:0: class=0x0c0330 card=0x72708086 chip=0x22b58086 rev=0x36 hdr=0x00 > vendor = 'Intel Corporation' > device = 'Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series USB xHCI Controller' > class = serial bus > subclass = USB > none2@pci0:0:26:0: class=0x108000 card=0x72708086 chip=0x22988086 rev=0x36 hdr=0x00 > vendor = 'Intel Corporation' > device = 'Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series Trusted Execution Engine' > class = encrypt/decrypt > isab0@pci0:0:31:0: class=0x060100 card=0x72708086 chip=0x229c8086 rev=0x36 hdr=0x00 > vendor = 'Intel Corporation' > device = 'Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series PCU' > class = bridge > subclass = PCI-ISA > root@t:~ # > > Best regards. > > [1] https://www.biccamera.com/bc/item/3716011/ > [2] http://kakaku.com/item/K0001002985/ > [3] http://ds.truefc.org/~kiri/freebsd/sg116j/dmesg.boot > > --- > KIRIYAMA Kazuhiko > --- KIRIYAMA Kazuhiko