NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/51732: sdhc(4) can't recognize some kind of microSD card



>Number:         51732
>Category:       kern
>Synopsis:       sdhc(4) can't recognize some kind of microSD card
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Dec 21 01:50:00 +0000 2016
>Originator:     Jun Ebihara
>Release:        NetBSD-current 7.99.44 201612090750Z
>Organization:
SOUM Corporation
>Environment:
NetBSD rpi 7.99.44 NetBSD 7.99.44 (GENERIC.201612090750Z) evbarm-earmv6hf
>Description:
http://mail-index.netbsd.org/port-arm/2016/12/21/msg004025.html

Transcend microSDHC 32GB Class10 UHS-I ... succeed
 https://github.com/ebijun/NetBSD/blob/master/dmesg/earmv6hf/RPI3
 https://www.amazon.co.jp/dp/B015J44R0U/

sdhc0 at obio0 intr 190: SDHC controller
sdhc0: interrupting on intr 190
sdhc0: SDHC 3.0, rev 153, platform DMA, 250000 kHz, HS SDR50 3.3V, re-tuning mode 1, 1024 byte blocks
sdmmc0 at sdhc0 slot 0
ld0 at sdmmc0: <0x74:0x4a60:USDU1:0x20:0x02405b67:0x106>
ld0: 30735 MB, 7805 cyl, 128 head, 63 sec, 512 bytes/sect x 62945280 sectors
ld0c: error reading fsbn 0 (ld0 bn 0; cn 0 tn 0 sn 0)
ld0: dos partition I/O error
ld0: 4-bit width, SDR50, 100.000 MHz
boot device: ld0


Kingston microSDXC 64G Class10 ... failed
 https://www.amazon.co.jp/gp/product/B01BBRNKKW/
 
with SDMMC_DEBUG on /usr/src/sys/dev/sdmmc/sdmmc.c

 http://p.twpl.jp/show/orig/wKAvo
 http://p.twpl.jp/show/orig/kzC7S

sdhc0: SDHC 3.0, rev 153sdhc8: software reset reg=00000001,platform DMA,250000 kHz, HS SDR50 3.3V, re-tuning mode 1,1024 byte blocks
sdhc0 at sdhc0 slot 0
sdhc0: writing cmd 5 arg=00000000 data=0x0 dlen=0 flags=0004302, status=0
sdhc0: writing cmd: blksize=0 blkcnt=0 mode=0002 cmd=0502
sdhc0: cmd timeout (excepted)
sdhc0: software reset reg=00000006
sdhc_exec_command: timeout for command

>How-To-Repeat:
- Use Kingston/Sundisk/Sony/Toshiba microSD card.
- http://mail-index.netbsd.org/port-arm/2016/12/10/msg004002.html
 
1. ftp http://cdn.netbsd.org/pub/NetBSD/misc/jun/raspberry-pi/2016-12-11-earmv6hf/2016-12-11-netbsd-raspi-earmv6hf.img.gz
2. gunzip < 2016-12-11-netbsd-raspi-earmv6hf.img.gz |dd of=... sdcard
3. put sdcard to RPI and boot.

>Fix:



Home | Main Index | Thread Index | Old Index