Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Jun 2015 23:38:16 -0700
From:      Maxim Sobolev <sobomax@FreeBSD.org>
To:        freebsd-arm@freebsd.org
Subject:   mmcsd0: Error indicated: 1 Timeout
Message-ID:  <CAH7qZftGhJAHbMnbqXKra8qXWD8UjcHnCQTn3Yoy2h-6J6Zy=A@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi folks, I am seeing this error with subsequent panic quite often on my
Xilinx Zynq-based board. Does anyone have any ideas on possible cause and
how to debug it further? Thanks!

-Maxim

mmcsd0: Error indicated: 1 Timeout
g_vfs_done():mmcsd0s2d[READ(offset=22998757376, length=4096)]error = 5
mmcsd0: Error indicated: 1 Timeout
g_vfs_done():mmcsd0s2d[READ(offset=22998761472, length=4096)]error = 5
mmcsd0: Error indicated: 1 Timeout
g_vfs_done():mmcsd0s2d[READ(offset=22998769664, length=4096)]error = 5
mmcsd0: Error indicated: 1 Timeout
7_vfs_mdmocnsed(0):: mEmrcrsodr0 si2ndd[iRcEaAtDe(do:f f1s eTti=m2e2o9u9t8
 77856, length=4096)]error = 5
g_vfs_done():mmcsd0s2a[READ(offset=808353792, length=28672)]error = 5
g_vfs_done():mmcsd0s2d[READ(offset=22998786048, length=4096)]error = 5


Relevant dmesg entries are below:

sdhci_fdt0: <Zynq-7000 generic fdt SDHCI controller> mem
0xe0100000-0xe0100fff irq 56 on simplebus1
sdhci_fdt0-slot0: 125MHz HS 1bit 3.3V DMA
sdhci_fdt0-slot0: ============== REGISTER DUMP ==============
sdhci_fdt0-slot0: Sys addr: 0x00000000 | Version:  0x00008901
sdhci_fdt0-slot0: Blk size: 0x00000000 | Blk cnt:  0x00000000
sdhci_fdt0-slot0: Argument: 0x00000000 | Trn mode: 0x00000000
sdhci_fdt0-slot0: Present:  0x01ff0000 | Host ctl: 0x00000000
sdhci_fdt0-slot0: Power:    0x00000000 | Blk gap:  0x00000000
sdhci_fdt0-slot0: Wake-up:  0x00000000 | Clock:    0x00000000
sdhci_fdt0-slot0: Timeout:  0x00000000 | Int stat: 0x00000000
sdhci_fdt0-slot0: Int enab: 0x01ff00fb | Sig enab: 0x01ff00fb
sdhci_fdt0-slot0: AC12 err: 0x00000000 | Slot int: 0x00000000
sdhci_fdt0-slot0: Caps:     0x69ec0080 | Max curr: 0x00000001
sdhci_fdt0-slot0: ===========================================
sdhci_fdt0: 1 slot(s) allocated
sdhci_fdt0-slot0: Divider 128 for freq 244140 (max 125000000)
sdhci_fdt0-slot0: Divider 2 for freq 31250000 (max 125000000)


mmc0: <MMC/SD bus> on sdhci_fdt0
mmc0: Probing bus
mmc0: SD 2.0 interface conditions: OK
mmc0: SD probe: OK (OCR: 0x40ff8000)
mmc0: Current OCR: 0x00ff8000
mmc0: Probing cards
mmc0: New card detected (CID 03534453553332478021b69ba600da00)
mmc0: New card detected (CSD 400e00325b590000edc87f800a404000)
mmc0: CMD7 failed, RESULT: 1
mmc0: Card at relative address 0xaaaa added:
mmc0:  card: SDHC SU32G 8.0 SN 21B69BA6 MFG 10/2013 by 3 SD
mmc0:  bus: 4bit, 50MHz, high speed timing
mmc0:  memory: 62333952 blocks, erase sector 8192 blocks
mmc0: setting transfer rate to 50.000MHz (high speed timing)
mmcsd0: 32GB <SDHC SU32G 8.0 SN 21B69BA6 MFG 10/2013 by 3 SD> at mmc0
31.2MHz/4bit/65535-block
GEOM: new disk mmcsd0
mmc0: setting bus width to 4 bits
Trying to mount root from ufs:/dev/mmcsd0s2a [rw]...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAH7qZftGhJAHbMnbqXKra8qXWD8UjcHnCQTn3Yoy2h-6J6Zy=A>