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?<div>
<br></div><div><br></div><div><br></div><div><b>fdisk -l output: </b></div><div><br><div><div>Disk /dev/mmcblk0: 7948 MB, 7948206080 bytes</div><div>4 heads, 16 sectors/track, 242560 cylinders</div><div>Units = cylinders of 64 * 512 = 32768 bytes</div>
<div><br></div><div> Device Boot Start End Blocks Id System</div><div>/dev/mmcblk0p1 1 242560 7761912 b Win95 FAT32</div></div></div><div><br></div><div><b>dmesg output:</b></div>
<div><b><br></b></div><div><div>mmc0: starting CMD18 arg 00000002 flags 000000b5</div><div>mmc0: blksz 512 blocks 2 flags 00000200 tsac 100 ms nsac 0</div><div>mmc0: CMD12 arg 00000000 flags 0000049d</div><div>sdhci [sdhci_irq()]: *** mmc0 got interrupt: 0x00000001</div>
<div>sdhci [sdhci_irq()]: *** mmc0 got interrupt: 0x0000000a</div><div>sdhci [sdhci_data_irq()]: mmc0: DMA base 0x2f89e400, transferred 0x061c00 bytes, next 0x2f900000</div><div>sdhci [sdhci_irq()]: *** mmc0 got interrupt: 0x00000001</div>
<div>mmc0: req done (CMD18): 0: 00000900 00000000 00000000 00000000</div><div>mmc0: 1024 bytes transferred: 0</div><div>mmc0: (CMD12): 0: 00000b00 00000000 00000000 00000000</div><div>mmc0: starting CMD18 arg 00000000 flags 000000b5</div>
<div>mmc0: blksz 512 blocks 8 flags 00000200 tsac 100 ms nsac 0</div><div>mmc0: CMD12 arg 00000000 flags 0000049d</div><div>mmc0: Controller never released inhibit bit(s).</div><div>sdhci: =========== REGISTER DUMP (mmc0)===========</div>
<div>sdhci: Sys addr: 0x2f900000 | Version: 0x00001301</div><div>sdhci: Blk size: 0x00000200 | Blk cnt: 0x00000000</div><div>sdhci: Argument: 0x00000000 | Trn mode: 0x00000033</div><div>sdhci: Present: 0xff8d000e | Host ctl: 0x00000032</div>
<div>sdhci: Power: 0x00000002 | Blk gap: 0x00000000</div><div>sdhci: Wake-up: 0x00000000 | Clock: 0x00000128</div><div>sdhci: Timeout: 0x0000000e | Int stat: 0x00000000</div><div>sdhci: Int enab: 0x027f000b | Sig enab: 0x027f000b</div>
<div>sdhci: AC12 err: 0x00000000 | Slot int: 0x00001301</div><div>sdhci: Caps: 0x07fa0000 | Caps_1: 0x00100010</div><div>sdhci: Cmd: 0x00000c1b | Max curr: 0x00000000</div><div>sdhci: Host ctl2: 0x00000000</div>
<div>sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x08f0082c</div><div>sdhci: ===========================================</div><div>mmc0: req done (CMD18): -5: 00000000 00000000 00000000 00000000</div><div>mmc0: 0 bytes transferred: 0</div>
<div>mmc0: (CMD12): 0: 00000000 00000000 00000000 00000000</div><div>mmc0: starting CMD13 arg aaaa0000 flags 00000195</div><div>sdhci [sdhci_irq()]: *** mmc0 got interrupt: 0x00000001</div><div>mmc0: req done (CMD13): 0: 00000900 00000000 00000000 00000000</div>
<div>mmcblk0: unknown error -5 sending read/write command, card status 0x900</div><div>end_request: I/O error, dev mmcblk0, sector 0</div><div>EXT2-fs (mmcblk0): error: couldn't readsuperblock on 2nd try</div><div>mmc0: starting CMD17 arg 00000000 flags 000000b5</div>
<div>mmc0: blksz 512 blocks 1 flags 00000200 tsac 100 ms nsac 0</div><div>sdhci [sdhci_irq()]: *** mmc0 got interrupt: 0x00000001</div><div>sdhci [sdhci_irq()]: *** mmc0 got interrupt: 0x0000000a</div><div>sdhci [sdhci_data_irq()]: mmc0: DMA base 0x2f89e000, transferred 0x062000 bytes, next 0x2f900000</div>
<div>mmc0: req done (CMD17): 0: 00000900 00000000 00000000 00000000</div><div>mmc0: 512 bytes transferred: 0</div><div>mmc0: starting CMD17 arg 00000000 flags 000000b5</div><div>mmc0: blksz 512 blocks 1 flags 00000200 tsac 100 ms nsac 0</div>
<div>sdhci [sdhci_irq()]: *** mmc0 got interrupt: 0x00000001</div><div>sdhci [sdhci_irq()]: *** mmc0 got interrupt: 0x0000000a</div><div>sdhci [sdhci_data_irq()]: mmc0: DMA base 0x2f89e000, transferred 0x062000 bytes, next 0x2f900000</div>
<div>mmc0: req done (CMD17): 0: 00000900 00000000 00000000 00000000</div><div>mmc0: 512 bytes transferred: 0</div><div style="font-weight:bold"><br></div></div><div><br></div>