You are not logged in.
Pages: 1
Hi Arch community
I try mount sd card memory in my laptop hp dv6000,
insert card memory sd and not create device /dev/mmcblk0
$ ls /dev/m*
/dev/mcelog /dev/mem /dev/mixer
I was try:
sudo modprobe sdhci
sudo modprobe mmc_block
sudo modprobe tifm_sd
sudo modprobe mmc_core
nothing:
$ ls /dev/m*
/dev/mcelog /dev/mem /dev/mixer
I have archlinux updated (07/11/09)
$ uname -nr
archlinux 2.6.31-ARCH
please help
thanks
Last edited by epsilom (2009-11-11 16:01:04)
Offline
On both my desktop and laptop, SD cards pop up as /dev/sd*. Check the end of the dmesg command's output to see what the device is getting assigned.
Offline
Hi humanzoo
in sd* only show my hard disk:
$ls /dev/sd*
/dev/sda /dev/sda1 /dev/sda2 /dev/sda3 /dev/sda4 /dev/sda5 /dev/sda6 /dev/sda7
in dmesg show:
$ dmesg |grep sdhci
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
sdhci-pci 0000:05:05.1: SDHCI controller found [1180:0822] (rev 19)
sdhci-pci 0000:05:05.1: enabling device (0000 -> 0002)
sdhci-pci 0000:05:05.1: PCI INT B -> GSI 17 (level, low) -> IRQ 17
$ dmesg |grep mmc
sr0: scsi3-mmc drive: 24x/24x writer dvd-ram cd/rw xa/form2 cdda tray
ricoh-mmc: Ricoh MMC Controller disabling driver
ricoh-mmc: Copyright(c) Philip Langdale
ricoh-mmc: Ricoh MMC controller found at 0000:05:05.2 [1180:0843] (rev 1)
ricoh-mmc: Controller is now disabled.
Registered led device: mmc0::
mmc0: SDHCI controller on PCI [0000:05:05.1] using PIO
any idea?
Offline
This should show you where your sdcard is:
# fdisk -l
On mine, this command will list a bunch of /dev/sda1,2,3 etc, which are my hard disk partitions, and one /dev/sdb1, which is my sdcard.
To mount (in my case, my sdcard that appears as /dev/sdb1),
$ pmount /dev/sdb1 sdcard
pmount is in the extra and you may need to install it with
# pacman -S pmount
The pmount command above will mount your sdcard under /media/sdcard. You can change "sdcard" with anything you want. If there are files in that sdcard that you want to execute (like a script), do
$ pmount -e /dev/sdb1 sdcard
Offline
Hi vajorie
$ fdisk -l
Disco /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cilindros of 16065 * 512 = 8225280 bytes
Disk identifier: 0x282d282d
Disposit. Inicio Comienzo Fin Bloques Id Sistema
/dev/sda1 1 1824 14651248+ 83 Linux
/dev/sda2 * 1825 4256 19535040 83 Linux
/dev/sda3 4257 11551 58597087+ 83 Linux
/dev/sda4 11552 14593 24434865 5 Extendida
/dev/sda5 11552 11873 2586433+ 82 Linux swap / Solaris
/dev/sda6 11874 12781 7293478+ 83 Linux
/dev/sda7 12782 14593 14554858+ 83 Linux
but my sdcard not identified in sdb, this is the problem I don't know in where my sdcard is identified
$ pmount -e /dev/sdb1 sdcard
Error: no existe el dispositivo /dev/sdb1
Offline
When you run a dmesg right after plugging the card, do you see a device created ? nothing in logs ?
Last edited by dobedo (2009-11-09 12:11:02)
Offline
You could try contacting the people that posted in http://bbs.archlinux.org/viewtopic.php?id=47011. Same problem as yours as far as I can tell, unfortunately no clear solution. However, they seemed to have a good idea about what is going on.
Good ideas do not need lots of lies told about them in order to gain public acceptance.
Offline
Is your SD slot detected?
Run "lspci". In the result look for "SD Host controller".
Try "sudo modprobe sdhci-pci"
Markku
Offline
I have Ricoh R5C822 sdcard controller:
lspci | grep MMC
05:05.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 19)
05:05.2 System peripheral: Ricoh Co Ltd R5C843 MMC Host Controller (rev 0a)
I've done everything you said. I search in web an found possible solution (in https://bugs.launchpad.net/ubuntu/+sour … bug/111089 ):
modprobe -r sdhci
setpci -s `lspci | grep "SD\/SDIO\/MMC\/MS\/MSPro" | awk '{print $1}'` 0xCA=0x57
setpci -s `lspci | grep "SD\/SDIO\/MMC\/MS\/MSPro" | awk '{print $1}'` 0xCB=0x02
setpci -s `lspci | grep "SD\/SDIO\/MMC\/MS\/MSPro" | awk '{print $1}'` 0xCA=0x00
modprobe sdhci
but I have problem with setpci:
$ sudo setpci -s `lspci | grep "SD\/SDIO\/MMC\/MS\/MSPro" | awk '{print $1}'` 0xCA=0x57
setpci: Missing width.
Try `setpci --help' for more information.
try again:
$ lspci | grep "SD\/SDIO\/MMC\/MS\/MSPro" | awk '{print $1}'
05:05.1
$ sudo setpci -s 05:05.1 0xCA=0x57
setpci: Missing width.
Try `setpci --help' for more information.
$ sudo setpci -s '05:05.1' 0xCA=0x57
setpci: Missing width.
Try `setpci --help' for more information.
I don't understand is wrong.... please help
thanks
Offline
There is a bug report for that: http://bugs.archlinux.org/task/16751. It isn't very helpful, though.
Good ideas do not need lots of lies told about them in order to gain public acceptance.
Offline
Sorry to revive an old thread, but is there any firmware for the controller, which could be broken in the new kernel? Just covering all possibilities...
L.
Arch Linux is more than just GNU/Linux -- it's an adventure
pkill -9 systemd
Offline
Pages: 1