SDHCI Driver Problem

Nick nrobinson13 at gmail.com
Mon Jan 7 15:29:40 EST 2013


All, I am currently working on a new freescale development board and am
trying to get my SD card working. I am using the 3.0.34 kernel. I have
modified my device tree settings and the sdhci-of file to match. However I
am receiving the error " Controller never released inhibit bit(s)." when I
attempt to mount the card though I can see it fine when I do an fdisk -l.
Any of you guys with much mmc experience have any ideas?



*fdisk -l output: *

Disk /dev/mmcblk0: 7948 MB, 7948206080 bytes
4 heads, 16 sectors/track, 242560 cylinders
Units = cylinders of 64 * 512 = 32768 bytes

        Device Boot      Start         End      Blocks  Id System
/dev/mmcblk0p1               1      242560     7761912   b Win95 FAT32

*dmesg output:*
*
*
mmc0: starting CMD18 arg 00000002 flags 000000b5
mmc0:     blksz 512 blocks 2 flags 00000200 tsac 100 ms nsac 0
mmc0:     CMD12 arg 00000000 flags 0000049d
sdhci [sdhci_irq()]: *** mmc0 got interrupt: 0x00000001
sdhci [sdhci_irq()]: *** mmc0 got interrupt: 0x0000000a
sdhci [sdhci_data_irq()]: mmc0: DMA base 0x2f89e400, transferred 0x061c00
bytes, next 0x2f900000
sdhci [sdhci_irq()]: *** mmc0 got interrupt: 0x00000001
mmc0: req done (CMD18): 0: 00000900 00000000 00000000 00000000
mmc0:     1024 bytes transferred: 0
mmc0:     (CMD12): 0: 00000b00 00000000 00000000 00000000
mmc0: starting CMD18 arg 00000000 flags 000000b5
mmc0:     blksz 512 blocks 8 flags 00000200 tsac 100 ms nsac 0
mmc0:     CMD12 arg 00000000 flags 0000049d
mmc0: Controller never released inhibit bit(s).
sdhci: =========== REGISTER DUMP (mmc0)===========
sdhci: Sys addr: 0x2f900000 | Version:  0x00001301
sdhci: Blk size: 0x00000200 | Blk cnt:  0x00000000
sdhci: Argument: 0x00000000 | Trn mode: 0x00000033
sdhci: Present:  0xff8d000e | Host ctl: 0x00000032
sdhci: Power:    0x00000002 | Blk gap:  0x00000000
sdhci: Wake-up:  0x00000000 | Clock:    0x00000128
sdhci: Timeout:  0x0000000e | Int stat: 0x00000000
sdhci: Int enab: 0x027f000b | Sig enab: 0x027f000b
sdhci: AC12 err: 0x00000000 | Slot int: 0x00001301
sdhci: Caps:     0x07fa0000 | Caps_1:   0x00100010
sdhci: Cmd:      0x00000c1b | Max curr: 0x00000000
sdhci: Host ctl2: 0x00000000
sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x08f0082c
sdhci: ===========================================
mmc0: req done (CMD18): -5: 00000000 00000000 00000000 00000000
mmc0:     0 bytes transferred: 0
mmc0:     (CMD12): 0: 00000000 00000000 00000000 00000000
mmc0: starting CMD13 arg aaaa0000 flags 00000195
sdhci [sdhci_irq()]: *** mmc0 got interrupt: 0x00000001
mmc0: req done (CMD13): 0: 00000900 00000000 00000000 00000000
mmcblk0: unknown error -5 sending read/write command, card status 0x900
end_request: I/O error, dev mmcblk0, sector 0
EXT2-fs (mmcblk0): error: couldn't readsuperblock on 2nd try
mmc0: starting CMD17 arg 00000000 flags 000000b5
mmc0:     blksz 512 blocks 1 flags 00000200 tsac 100 ms nsac 0
sdhci [sdhci_irq()]: *** mmc0 got interrupt: 0x00000001
sdhci [sdhci_irq()]: *** mmc0 got interrupt: 0x0000000a
sdhci [sdhci_data_irq()]: mmc0: DMA base 0x2f89e000, transferred 0x062000
bytes, next 0x2f900000
mmc0: req done (CMD17): 0: 00000900 00000000 00000000 00000000
mmc0:     512 bytes transferred: 0
mmc0: starting CMD17 arg 00000000 flags 000000b5
mmc0:     blksz 512 blocks 1 flags 00000200 tsac 100 ms nsac 0
sdhci [sdhci_irq()]: *** mmc0 got interrupt: 0x00000001
sdhci [sdhci_irq()]: *** mmc0 got interrupt: 0x0000000a
sdhci [sdhci_data_irq()]: mmc0: DMA base 0x2f89e000, transferred 0x062000
bytes, next 0x2f900000
mmc0: req done (CMD17): 0: 00000900 00000000 00000000 00000000
mmc0:     512 bytes transferred: 0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130107/45c60568/attachment.html 


More information about the Kernelnewbies mailing list