Slitaz - SD / MMC card

SD / MMC card ( mini SD / micro SD )

root@slitaz:~# lsmod
Module Size Used by
mmc_block 9476 0
sdhci 13836 0
mmc_core 36892 2 mmc_block,sdhci

root@slitaz:~# ls -l /dev/mmc*
brw-r----- 1 root root 179, 0 Sep 26 06:57 /dev/mmcblk0
brw-r----- 1 root root 179, 1 Sep 26 06:57 /dev/mmcblk0p1

root@slitaz:~# lspci -v
03:01.2 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 17)
Subsystem: ASUSTeK Computer Inc. ASUS V6800V
Flags: bus master, medium devsel, latency 64, IRQ 18
Memory at fbffb800 (32-bit, non-prefetchable) [size=256]
Capabilities: [80] Power Management version 2
Kernel driver in use: sdhci
Kernel modules: sdhci

root@slitaz:~# dmesg
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
sdhci: SDHCI controller found at 0000:03:01.2 [1180:0822] (rev 17)
ACPI: PCI Interrupt 0000:03:01.2[C] -> GSI 18 (level, low) -> IRQ 18
sdhc0:slot0: Will use DMA mode even though HW doesn't fully claim to support it.
mmc0: SDHCI at 0xfbffb800 irq 18 DMA
mmc0: new SD card at address 05ce
mmcblk0: mmc0:05ce SD02G 1921024KiB
mmcblk0: p1
kjournald starting. Commit interval 5 seconds
EXT3 FS on mmcblk0p1, internal journal

root@slitaz:~# fdisk /dev/mmcblk0

The number of cylinders for this disk is set to 1203.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs

Command (m for help): p

Disk /dev/mmcblk0: 1967 MB, 1967128576 bytes
57 heads, 56 sectors/track, 1203 cylinders
Units = cylinders of 3192 * 512 = 1634304 bytes

Device Boot Start End Blocks Id System
/dev/mmcblk0p1 * 1 1204 1920955+ 83 Linux

Command (m for help): q

Extract from



Maintained by Torben Mathiasen

Last revised: 18 March 2008

This list is the Linux Device List, the official registry of allocated
device numbers and /dev directory nodes for the Linux operating

The latest version of this list is available from
http://www.lanana.org/docs/device-list/ or
ftp://ftp.kernel.org/pub/linux/docs/device-list/. This version
may be newer than the one distributed with the Linux kernel.

179 block MMC block devices
0 = /dev/mmcblk0 First SD/MMC card
1 = /dev/mmcblk0p1 First partition on first MMC card
8 = /dev/mmcblk1 Second SD/MMC card