On Thu, Nov 06, 2008 at 11:23:38AM -0700, M. Warner Losh wrote:
> In message: <4913345F.2050801@FreeBSD.org>
> Alexander Motin writes:
> : Lars Engels wrote:
> : > On another notebook with the same card reader I get a little further:
> : >
> : > sdhci0: mem 0xd8002800-0xd80028ff irq 22 at device 9.2
> : > on pci5
> : > sdhci0: 1 slot(s) allocated
> : > sdhci0: [ITHREAD]
> : > mmc0: on sdhci0
> : > mmc0: detached
> : > mmc0: on sdhci0
> : >
> : > So the mmc device is detected everytime I insert a card and is removed
> : > when I take the card out.
> :
> : It means that controller successfully reports card insertion. You must
> : be a half way there.
> :
> : > But I do not get a new disk device...
> :
> : A bit more debugging can be produced with enabling verbose boot messages.
> :
> : > pciconf tells me pretty much the same like on the other notebook:
> :
> : Looks like it may depend or on controller version or on the way it is
> : hardwired or somehow BIOS initialized. There are were some success
> : stories reported with this controller.
>
> Add mmcsd to the kernel? Load it as a module?


Much better! Loading mmcsd first, then mmc and sdhci gives me the mmcsd0
device:

sdhci0: mem 0xd8002800-0xd80028ff irq 22 at device 9.2
on pci5
sdhci0: 1 slot(s) allocated
sdhci0: [ITHREAD]
mmc0: on sdhci0
mmcsd0: 1924MB at mmc0 16MHz/4bit
sdhci0-slot0: Got data interrupt 0x00000002, but there is no active
command.
sdhci0-slot0: ============== REGISTER DUMP ==============
sdhci0-slot0: Sys addr: 0x30c68000 | Version: 0x00000200
sdhci0-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000
sdhci0-slot0: Argument: 0x00000000 | Trn mode: 0x00000013
sdhci0-slot0: Present: 0x01ff0000 | Host ctl: 0x00000002
sdhci0-slot0: Power: 0x0000000f | Blk gap: 0x00000000
sdhci0-slot0: Wake-up: 0x00000000 | Clock: 0x00000107
sdhci0-slot0: Timeout: 0x0000000c | Int stat: 0x00000000
sdhci0-slot0: Int enab: 0x01ff00fb | Sig enab: 0x01ff00fb
sdhci0-slot0: AC12 err: 0x00000000 | Slot int: 0x00000000
sdhci0-slot0: Caps: 0x01c021a1 | Max curr: 0x00000040
sdhci0-slot0: ===========================================
sdhci0-slot0: Got data interrupt 0x00000002, but there is no active
command.
sdhci0-slot0: ============== REGISTER DUMP ==============
sdhci0-slot0: Sys addr: 0x30c68000 | Version: 0x00000200
sdhci0-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000
sdhci0-slot0: Argument: 0x783ffe00 | Trn mode: 0x00000013
sdhci0-slot0: Present: 0x01ff0000 | Host ctl: 0x00000002
sdhci0-slot0: Power: 0x0000000f | Blk gap: 0x00000000
sdhci0-slot0: Wake-up: 0x00000000 | Clock: 0x00000107
sdhci0-slot0: Timeout: 0x0000000c | Int stat: 0x00000000
sdhci0-slot0: Int enab: 0x01ff00fb | Sig enab: 0x01ff00fb
sdhci0-slot0: AC12 err: 0x00000000 | Slot int: 0x00000000
sdhci0-slot0: Caps: 0x01c021a1 | Max curr: 0x00000040
sdhci0-slot0: ===========================================
sdhci0-slot0: Got data interrupt 0x00000002, but there is no active
command.
sdhci0-slot0: ============== REGISTER DUMP ==============
sdhci0-slot0: Sys addr: 0x30c68000 | Version: 0x00000200
sdhci0-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000
sdhci0-slot0: Argument: 0x00010000 | Trn mode: 0x00000013
sdhci0-slot0: Present: 0x01ff0000 | Host ctl: 0x00000002
sdhci0-slot0: Power: 0x0000000f | Blk gap: 0x00000000
sdhci0-slot0: Wake-up: 0x00000000 | Clock: 0x00000107
sdhci0-slot0: Timeout: 0x0000000c | Int stat: 0x00000000
sdhci0-slot0: Int enab: 0x01ff00fb | Sig enab: 0x01ff00fb
sdhci0-slot0: AC12 err: 0x00000000 | Slot int: 0x00000000
sdhci0-slot0: Caps: 0x01c021a1 | Max curr: 0x00000040
sdhci0-slot0: ===========================================
sdhci0-slot0: Got data interrupt 0x00000002, but there is no active
command.
sdhci0-slot0: ============== REGISTER DUMP ==============
sdhci0-slot0: Sys addr: 0x30c68000 | Version: 0x00000200
sdhci0-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000
sdhci0-slot0: Argument: 0x00002000 | Trn mode: 0x00000013
sdhci0-slot0: Present: 0x01ff0000 | Host ctl: 0x00000002
sdhci0-slot0: Power: 0x0000000f | Blk gap: 0x00000000
sdhci0-slot0: Wake-up: 0x00000000 | Clock: 0x00000107
sdhci0-slot0: Timeout: 0x0000000c | Int stat: 0x00000000
sdhci0-slot0: Int enab: 0x01ff00fb | Sig enab: 0x01ff00fb
sdhci0-slot0: AC12 err: 0x00000000 | Slot int: 0x00000000
sdhci0-slot0: Caps: 0x01c021a1 | Max curr: 0x00000040
sdhci0-slot0: ===========================================
sdhci0-slot0: Got data interrupt 0x00000002, but there is no active
command.
sdhci0-slot0: ============== REGISTER DUMP ==============
sdhci0-slot0: Sys addr: 0x30c68000 | Version: 0x00000200
sdhci0-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000
sdhci0-slot0: Argument: 0x00000000 | Trn mode: 0x00000013
sdhci0-slot0: Present: 0x01ff0000 | Host ctl: 0x00000002
sdhci0-slot0: Power: 0x0000000f | Blk gap: 0x00000000
sdhci0-slot0: Wake-up: 0x00000000 | Clock: 0x00000107
sdhci0-slot0: Timeout: 0x0000000c | Int stat: 0x00000000
sdhci0-slot0: Int enab: 0x01ff00fb | Sig enab: 0x01ff00fb
sdhci0-slot0: AC12 err: 0x00000000 | Slot int: 0x00000000
sdhci0-slot0: Caps: 0x01c021a1 | Max curr: 0x00000040
sdhci0-slot0: ===========================================
sdhci0-slot0: Got data interrupt 0x00000002, but there is no active
command.
sdhci0-slot0: ============== REGISTER DUMP ==============
sdhci0-slot0: Sys addr: 0x30c68000 | Version: 0x00000200
sdhci0-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000
sdhci0-slot0: Argument: 0x00040000 | Trn mode: 0x00000013
sdhci0-slot0: Present: 0x01ff0000 | Host ctl: 0x00000002
sdhci0-slot0: Power: 0x0000000f | Blk gap: 0x00000000
sdhci0-slot0: Wake-up: 0x00000000 | Clock: 0x00000107
sdhci0-slot0: Timeout: 0x0000000c | Int stat: 0x00000000
sdhci0-slot0: Int enab: 0x01ff00fb | Sig enab: 0x01ff00fb
sdhci0-slot0: AC12 err: 0x00000000 | Slot int: 0x00000000
sdhci0-slot0: Caps: 0x01c021a1 | Max curr: 0x00000040
sdhci0-slot0: ===========================================
sdhci0-slot0: Got data interrupt 0x00000002, but there is no active
command.
sdhci0-slot0: ============== REGISTER DUMP ==============
sdhci0-slot0: Sys addr: 0x30c68000 | Version: 0x00000200
sdhci0-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000
sdhci0-slot0: Argument: 0x00008000 | Trn mode: 0x00000013
sdhci0-slot0: Present: 0x01ff0000 | Host ctl: 0x00000002
sdhci0-slot0: Power: 0x0000000f | Blk gap: 0x00000000
sdhci0-slot0: Wake-up: 0x00000000 | Clock: 0x00000107
sdhci0-slot0: Timeout: 0x0000000c | Int stat: 0x00000000
sdhci0-slot0: Int enab: 0x01ff00fb | Sig enab: 0x01ff00fb
sdhci0-slot0: AC12 err: 0x00000000 | Slot int: 0x00000000
sdhci0-slot0: Caps: 0x01c021a1 | Max curr: 0x00000040
sdhci0-slot0: ===========================================
sdhci0-slot0: Got data interrupt 0x00000002, but there is no active
command.
sdhci0-slot0: ============== REGISTER DUMP ==============
sdhci0-slot0: Sys addr: 0x30c68000 | Version: 0x00000200
sdhci0-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000
sdhci0-slot0: Argument: 0x00000000 | Trn mode: 0x00000013
sdhci0-slot0: Present: 0x01ff0000 | Host ctl: 0x00000002
sdhci0-slot0: Power: 0x0000000f | Blk gap: 0x00000000
sdhci0-slot0: Wake-up: 0x00000000 | Clock: 0x00000107
sdhci0-slot0: Timeout: 0x0000000c | Int stat: 0x00000000
sdhci0-slot0: Int enab: 0x01ff00fb | Sig enab: 0x01ff00fb
sdhci0-slot0: AC12 err: 0x00000000 | Slot int: 0x00000000
sdhci0-slot0: Caps: 0x01c021a1 | Max curr: 0x00000040
sdhci0-slot0: ===========================================
sdhci0-slot0: Got data interrupt 0x00000002, but there is no active
command.
sdhci0-slot0: ============== REGISTER DUMP ==============
sdhci0-slot0: Sys addr: 0x30c68000 | Version: 0x00000200
sdhci0-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000
sdhci0-slot0: Argument: 0x00000400 | Trn mode: 0x00000013
sdhci0-slot0: Present: 0x01ff0000 | Host ctl: 0x00000002
sdhci0-slot0: Power: 0x0000000f | Blk gap: 0x00000000
sdhci0-slot0: Wake-up: 0x00000000 | Clock: 0x00000107
sdhci0-slot0: Timeout: 0x0000000c | Int stat: 0x00000000
sdhci0-slot0: Int enab: 0x01ff00fb | Sig enab: 0x01ff00fb
sdhci0-slot0: AC12 err: 0x00000000 | Slot int: 0x00000000
sdhci0-slot0: Caps: 0x01c021a1 | Max curr: 0x00000040
sdhci0-slot0: ===========================================
sdhci0-slot0: Got data interrupt 0x00000002, but there is no active
command.
sdhci0-slot0: ============== REGISTER DUMP ==============
sdhci0-slot0: Sys addr: 0x30c68000 | Version: 0x00000200
sdhci0-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000
sdhci0-slot0: Argument: 0x00002000 | Trn mode: 0x00000013
sdhci0-slot0: Present: 0x01ff0000 | Host ctl: 0x00000002
sdhci0-slot0: Power: 0x0000000f | Blk gap: 0x00000000
sdhci0-slot0: Wake-up: 0x00000000 | Clock: 0x00000107
sdhci0-slot0: Timeout: 0x0000000c | Int stat: 0x00000000
sdhci0-slot0: Int enab: 0x01ff00fb | Sig enab: 0x01ff00fb
sdhci0-slot0: AC12 err: 0x00000000 | Slot int: 0x00000000
sdhci0-slot0: Caps: 0x01c021a1 | Max curr: 0x00000040
sdhci0-slot0: ===========================================
sdhci0-slot0: Got data interrupt 0x00000002, but there is no active
command.
sdhci0-slot0: ============== REGISTER DUMP ==============
sdhci0-slot0: Sys addr: 0x30c68000 | Version: 0x00000200
sdhci0-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000
sdhci0-slot0: Argument: 0x00010000 | Trn mode: 0x00000013
sdhci0-slot0: Present: 0x01ff0000 | Host ctl: 0x00000002
sdhci0-slot0: Power: 0x0000000f | Blk gap: 0x00000000
sdhci0-slot0: Wake-up: 0x00000000 | Clock: 0x00000107
sdhci0-slot0: Timeout: 0x0000000c | Int stat: 0x00000000
sdhci0-slot0: Int enab: 0x01ff00fb | Sig enab: 0x01ff00fb
sdhci0-slot0: AC12 err: 0x00000000 | Slot int: 0x00000000
sdhci0-slot0: Caps: 0x01c021a1 | Max curr: 0x00000040
sdhci0-slot0: ===========================================
sdhci0-slot0: Got data interrupt 0x00000002, but there is no active
command.
sdhci0-slot0: ============== REGISTER DUMP ==============
sdhci0-slot0: Sys addr: 0x30c68000 | Version: 0x00000200
sdhci0-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000
sdhci0-slot0: Argument: 0x00000000 | Trn mode: 0x00000013
sdhci0-slot0: Present: 0x01ff0000 | Host ctl: 0x00000002
sdhci0-slot0: Power: 0x0000000f | Blk gap: 0x00000000
sdhci0-slot0: Wake-up: 0x00000000 | Clock: 0x00000107
sdhci0-slot0: Timeout: 0x0000000c | Int stat: 0x00000000
sdhci0-slot0: Int enab: 0x01ff00fb | Sig enab: 0x01ff00fb
sdhci0-slot0: AC12 err: 0x00000000 | Slot int: 0x00000000
sdhci0-slot0: Caps: 0x01c021a1 | Max curr: 0x00000040
sdhci0-slot0: ===========================================
sdhci0-slot0: Got data interrupt 0x00000002, but there is no active
command.
sdhci0-slot0: ============== REGISTER DUMP ==============
sdhci0-slot0: Sys addr: 0x30c68000 | Version: 0x00000200
sdhci0-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000
sdhci0-slot0: Argument: 0x00000200 | Trn mode: 0x00000013
sdhci0-slot0: Present: 0x01ff0000 | Host ctl: 0x00000002
sdhci0-slot0: Power: 0x0000000f | Blk gap: 0x00000000
sdhci0-slot0: Wake-up: 0x00000000 | Clock: 0x00000107
sdhci0-slot0: Timeout: 0x0000000c | Int stat: 0x00000000
sdhci0-slot0: Int enab: 0x01ff00fb | Sig enab: 0x01ff00fb
sdhci0-slot0: AC12 err: 0x00000000 | Slot int: 0x00000000
sdhci0-slot0: Caps: 0x01c021a1 | Max curr: 0x00000040
sdhci0-slot0: ===========================================
sdhci0-slot0: Got data interrupt 0x00000002, but there is no active
command.
sdhci0-slot0: ============== REGISTER DUMP ==============
sdhci0-slot0: Sys addr: 0x30c68000 | Version: 0x00000200
sdhci0-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000
sdhci0-slot0: Argument: 0x00000000 | Trn mode: 0x00000013
sdhci0-slot0: Present: 0x01ff0000 | Host ctl: 0x00000002
sdhci0-slot0: Power: 0x0000000f | Blk gap: 0x00000000
sdhci0-slot0: Wake-up: 0x00000000 | Clock: 0x00000107
sdhci0-slot0: Timeout: 0x0000000c | Int stat: 0x00000000
sdhci0-slot0: Int enab: 0x01ff00fb | Sig enab: 0x01ff00fb
sdhci0-slot0: AC12 err: 0x00000000 | Slot int: 0x00000000
sdhci0-slot0: Caps: 0x01c021a1 | Max curr: 0x00000040
sdhci0-slot0: ===========================================
sdhci0-slot0: Got data interrupt 0x00000002, but there is no active
command.
sdhci0-slot0: ============== REGISTER DUMP ==============
sdhci0-slot0: Sys addr: 0x30c68000 | Version: 0x00000200
sdhci0-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000
sdhci0-slot0: Argument: 0x0001fa00 | Trn mode: 0x00000013
sdhci0-slot0: Present: 0x01ff0000 | Host ctl: 0x00000002
sdhci0-slot0: Power: 0x0000000f | Blk gap: 0x00000000
sdhci0-slot0: Wake-up: 0x00000000 | Clock: 0x00000107
sdhci0-slot0: Timeout: 0x0000000c | Int stat: 0x00000000
sdhci0-slot0: Int enab: 0x01ff00fb | Sig enab: 0x01ff00fb
sdhci0-slot0: AC12 err: 0x00000000 | Slot int: 0x00000000
sdhci0-slot0: Caps: 0x01c021a1 | Max curr: 0x00000040
sdhci0-slot0: ===========================================
sdhci0-slot0: Got data interrupt 0x00000002, but there is no active
command.
sdhci0-slot0: ============== REGISTER DUMP ==============
sdhci0-slot0: Sys addr: 0x30c68000 | Version: 0x00000200
sdhci0-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000
sdhci0-slot0: Argument: 0x783ffe00 | Trn mode: 0x00000013
sdhci0-slot0: Present: 0x01ff0000 | Host ctl: 0x00000002
sdhci0-slot0: Power: 0x0000000f | Blk gap: 0x00000000
sdhci0-slot0: Wake-up: 0x00000000 | Clock: 0x00000107
sdhci0-slot0: Timeout: 0x0000000c | Int stat: 0x00000000
sdhci0-slot0: Int enab: 0x01ff00fb | Sig enab: 0x01ff00fb
sdhci0-slot0: AC12 err: 0x00000000 | Slot int: 0x00000000
sdhci0-slot0: Caps: 0x01c021a1 | Max curr: 0x00000040
sdhci0-slot0: ===========================================
sdhci0-slot0: Got data interrupt 0x00000002, but there is no active
command.
sdhci0-slot0: ============== REGISTER DUMP ==============
sdhci0-slot0: Sys addr: 0x30c68000 | Version: 0x00000200
sdhci0-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000
sdhci0-slot0: Argument: 0x0002fa00 | Trn mode: 0x00000013
sdhci0-slot0: Present: 0x01ff0000 | Host ctl: 0x00000002
sdhci0-slot0: Power: 0x0000000f | Blk gap: 0x00000000
sdhci0-slot0: Wake-up: 0x00000000 | Clock: 0x00000107
sdhci0-slot0: Timeout: 0x0000000c | Int stat: 0x00000000
sdhci0-slot0: Int enab: 0x01ff00fb | Sig enab: 0x01ff00fb
sdhci0-slot0: AC12 err: 0x00000000 | Slot int: 0x00000000
sdhci0-slot0: Caps: 0x01c021a1 | Max curr: 0x00000040
sdhci0-slot0: ===========================================
sdhci0-slot0: Got data interrupt 0x00000002, but there is no active
command.
sdhci0-slot0: ============== REGISTER DUMP ==============
sdhci0-slot0: Sys addr: 0x30c68000 | Version: 0x00000200
sdhci0-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000
sdhci0-slot0: Argument: 0x00021a00 | Trn mode: 0x00000013
sdhci0-slot0: Present: 0x01ff0000 | Host ctl: 0x00000002
sdhci0-slot0: Power: 0x0000000f | Blk gap: 0x00000000
sdhci0-slot0: Wake-up: 0x00000000 | Clock: 0x00000107
sdhci0-slot0: Timeout: 0x0000000c | Int stat: 0x00000000
sdhci0-slot0: Int enab: 0x01ff00fb | Sig enab: 0x01ff00fb
sdhci0-slot0: AC12 err: 0x00000000 | Slot int: 0x00000000
sdhci0-slot0: Caps: 0x01c021a1 | Max curr: 0x00000040
sdhci0-slot0: ===========================================
sdhci0-slot0: Got data interrupt 0x00000002, but there is no active
command.
sdhci0-slot0: ============== REGISTER DUMP ==============
sdhci0-slot0: Sys addr: 0x30c68000 | Version: 0x00000200
sdhci0-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000
sdhci0-slot0: Argument: 0x0001fa00 | Trn mode: 0x00000013
sdhci0-slot0: Present: 0x01ff0000 | Host ctl: 0x00000002
sdhci0-slot0: Power: 0x0000000f | Blk gap: 0x00000000
sdhci0-slot0: Wake-up: 0x00000000 | Clock: 0x00000107
sdhci0-slot0: Timeout: 0x0000000c | Int stat: 0x00000000
sdhci0-slot0: Int enab: 0x01ff00fb | Sig enab: 0x01ff00fb
sdhci0-slot0: AC12 err: 0x00000000 | Slot int: 0x00000000
sdhci0-slot0: Caps: 0x01c021a1 | Max curr: 0x00000040
sdhci0-slot0: ===========================================
sdhci0-slot0: Got data interrupt 0x00000002, but there is no active
command.
sdhci0-slot0: ============== REGISTER DUMP ==============
sdhci0-slot0: Sys addr: 0x30c68000 | Version: 0x00000200
sdhci0-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000
sdhci0-slot0: Argument: 0x0005fa00 | Trn mode: 0x00000013
sdhci0-slot0: Present: 0x01ff0000 | Host ctl: 0x00000002
sdhci0-slot0: Power: 0x0000000f | Blk gap: 0x00000000
sdhci0-slot0: Wake-up: 0x00000000 | Clock: 0x00000107
sdhci0-slot0: Timeout: 0x0000000c | Int stat: 0x00000000
sdhci0-slot0: Int enab: 0x01ff00fb | Sig enab: 0x01ff00fb
sdhci0-slot0: AC12 err: 0x00000000 | Slot int: 0x00000000
sdhci0-slot0: Caps: 0x01c021a1 | Max curr: 0x00000040
sdhci0-slot0: ===========================================
sdhci0-slot0: Got data interrupt 0x00000002, but there is no active
command.
sdhci0-slot0: ============== REGISTER DUMP ==============
sdhci0-slot0: Sys addr: 0x30c68000 | Version: 0x00000200
sdhci0-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000
sdhci0-slot0: Argument: 0x00027a00 | Trn mode: 0x00000013
sdhci0-slot0: Present: 0x01ff0000 | Host ctl: 0x00000002
sdhci0-slot0: Power: 0x0000000f | Blk gap: 0x00000000
sdhci0-slot0: Wake-up: 0x00000000 | Clock: 0x00000107
sdhci0-slot0: Timeout: 0x0000000c | Int stat: 0x00000000
sdhci0-slot0: Int enab: 0x01ff00fb | Sig enab: 0x01ff00fb
sdhci0-slot0: AC12 err: 0x00000000 | Slot int: 0x00000000
sdhci0-slot0: Caps: 0x01c021a1 | Max curr: 0x00000040
sdhci0-slot0: ===========================================
sdhci0-slot0: Got data interrupt 0x00000002, but there is no active
command.
sdhci0-slot0: ============== REGISTER DUMP ==============
sdhci0-slot0: Sys addr: 0x30c68000 | Version: 0x00000200
sdhci0-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000
sdhci0-slot0: Argument: 0x0001fa00 | Trn mode: 0x00000013
sdhci0-slot0: Present: 0x01ff0000 | Host ctl: 0x00000002
sdhci0-slot0: Power: 0x0000000f | Blk gap: 0x00000000
sdhci0-slot0: Wake-up: 0x00000000 | Clock: 0x00000107
sdhci0-slot0: Timeout: 0x0000000c | Int stat: 0x00000000
sdhci0-slot0: Int enab: 0x01ff00fb | Sig enab: 0x01ff00fb
sdhci0-slot0: AC12 err: 0x00000000 | Slot int: 0x00000000
sdhci0-slot0: Caps: 0x01c021a1 | Max curr: 0x00000040
sdhci0-slot0: ===========================================
sdhci0-slot0: Got data interrupt 0x00000002, but there is no active
command.
sdhci0-slot0: ============== REGISTER DUMP ==============
sdhci0-slot0: Sys addr: 0x30c68000 | Version: 0x00000200
sdhci0-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000
sdhci0-slot0: Argument: 0x0001fe00 | Trn mode: 0x00000013
sdhci0-slot0: Present: 0x01ff0000 | Host ctl: 0x00000002
sdhci0-slot0: Power: 0x0000000f | Blk gap: 0x00000000
sdhci0-slot0: Wake-up: 0x00000000 | Clock: 0x00000107
sdhci0-slot0: Timeout: 0x0000000c | Int stat: 0x00000000
sdhci0-slot0: Int enab: 0x01ff00fb | Sig enab: 0x01ff00fb
sdhci0-slot0: AC12 err: 0x00000000 | Slot int: 0x00000000
sdhci0-slot0: Caps: 0x01c021a1 | Max curr: 0x00000040
sdhci0-slot0: ===========================================
sdhci0-slot0: Got data interrupt 0x00000002, but there is no active
command.
sdhci0-slot0: ============== REGISTER DUMP ==============
sdhci0-slot0: Sys addr: 0x30c68000 | Version: 0x00000200
sdhci0-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000
sdhci0-slot0: Argument: 0x00021a00 | Trn mode: 0x00000013
sdhci0-slot0: Present: 0x01ff0000 | Host ctl: 0x00000002
sdhci0-slot0: Power: 0x0000000f | Blk gap: 0x00000000
sdhci0-slot0: Wake-up: 0x00000000 | Clock: 0x00000107
sdhci0-slot0: Timeout: 0x0000000c | Int stat: 0x00000000
sdhci0-slot0: Int enab: 0x01ff00fb | Sig enab: 0x01ff00fb
sdhci0-slot0: AC12 err: 0x00000000 | Slot int: 0x00000000
sdhci0-slot0: Caps: 0x01c021a1 | Max curr: 0x00000040
sdhci0-slot0: ===========================================
sdhci0-slot0: Got data interrupt 0x00000002, but there is no active
command.
sdhci0-slot0: ============== REGISTER DUMP ==============
sdhci0-slot0: Sys addr: 0x30c68000 | Version: 0x00000200
sdhci0-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000
sdhci0-slot0: Argument: 0x0002fa00 | Trn mode: 0x00000013
sdhci0-slot0: Present: 0x01ff0000 | Host ctl: 0x00000002
sdhci0-slot0: Power: 0x0000000f | Blk gap: 0x00000000
sdhci0-slot0: Wake-up: 0x00000000 | Clock: 0x00000107
sdhci0-slot0: Timeout: 0x0000000c | Int stat: 0x00000000
sdhci0-slot0: Int enab: 0x01ff00fb | Sig enab: 0x01ff00fb
sdhci0-slot0: AC12 err: 0x00000000 | Slot int: 0x00000000
sdhci0-slot0: Caps: 0x01c021a1 | Max curr: 0x00000040
sdhci0-slot0: ===========================================
sdhci0-slot0: Got data interrupt 0x00000002, but there is no active
command.
sdhci0-slot0: ============== REGISTER DUMP ==============
sdhci0-slot0: Sys addr: 0x30c68000 | Version: 0x00000200
sdhci0-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000
sdhci0-slot0: Argument: 0x0001fa00 | Trn mode: 0x00000013
sdhci0-slot0: Present: 0x01ff0000 | Host ctl: 0x00000002
sdhci0-slot0: Power: 0x0000000f | Blk gap: 0x00000000
sdhci0-slot0: Wake-up: 0x00000000 | Clock: 0x00000107
sdhci0-slot0: Timeout: 0x0000000c | Int stat: 0x00000000
sdhci0-slot0: Int enab: 0x01ff00fb | Sig enab: 0x01ff00fb
sdhci0-slot0: AC12 err: 0x00000000 | Slot int: 0x00000000
sdhci0-slot0: Caps: 0x01c021a1 | Max curr: 0x00000040
sdhci0-slot0: ===========================================


But I still cannot use it:
lars@pts/3 # ls -l /dev/mmcsd0*
crw-r----- 1 root operator 0, 120 Nov 6 19:36 /dev/mmcsd0
crw-r----- 1 root operator 0, 121 Nov 6 19:36 /dev/mmcsd0s1

lars@pts/3 # fdisk /dev/mmcsd0
fdisk: could not detect sector size


lars@pts/3 # mount -t msdosfs /dev/mmcsd0s1 /mnt
mount_msdosfs: /dev/mmcsd0s1: : Input/output error


What am I missing?

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (FreeBSD)

iEYEARECAAYFAkkTOhEACgkQKc512sD3afjJjwCgtm1vOCiJQ/xjuslJOphhaV3+
/R8AoJmOid55lfpgsPSvJ2ql7lOVS4MD
=lZkO
-----END PGP SIGNATURE-----