Ubuntu This forum is for the discussion of Ubuntu Linux. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
03-11-2007, 07:27 PM
|
#1
|
Member
Registered: Jan 2005
Distribution: Kubuntu Feisty
Posts: 35
Rep: 
|
How to mount SD-Card on Ubuntu
Hi,
I am trying to mount my 256MB SD-card with a integrated reader in my laptop, but without success. I am using Kubuntu 6.10 on Gateway 4542GP.
I also try to load tifm_sd and tifm_core at boot time, but nothing works.
lspci gives:
00:00.0 Host bridge: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)
00:00.1 System peripheral: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)
00:00.3 System peripheral: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)
00:02.0 VGA compatible controller: Intel Corporation 82852/855GM Integrated Graphics Device (rev 02)
00:02.1 Display controller: Intel Corporation 82852/855GM Integrated Graphics Device (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 83)
00:1f.0 ISA bridge: Intel Corporation 82801DBM (ICH4-M) LPC Interface Bridge (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801DBM (ICH4-M) IDE Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller (rev 03)
00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 03)
00:1f.6 Modem: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem Controller (rev 03)
02:07.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev a9)
02:07.1 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev a9)
02:07.2 FireWire (IEEE 1394): Ricoh Co Ltd R5C552 IEEE 1394 Controller (rev 01)
02:08.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
02:09.0 Network controller: Intel Corporation PRO/Wireless 2200BG Network Connection (rev 05)
and dmesg | grep pc
[17179572.212000] ACPI: bus type pci registered
[17179572.228000] PCI: Bus #03 (-#06) is hidden behind transparent bridge #02 (-#02) (try 'pci=assign-busses')
[17179572.228000] PCI: Bus #07 (-#0a) is hidden behind transparent bridge #02 (-#02) (try 'pci=assign-busses')
[17179572.232000] PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a report
[17179591.184000] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[17179591.192000] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
[17179592.640000] pcmcia: parent PCI bridge I/O window: 0x3000 - 0x3fff
[17179592.640000] pcmcia: parent PCI bridge Memory window: 0xe0200000 - 0xe02fffff
[17179592.640000] pcmcia: parent PCI bridge Memory window: 0x30000000 - 0x33ffffff
[17179592.768000] pcmcia: parent PCI bridge I/O window: 0x3000 - 0x3fff
[17179592.768000] pcmcia: parent PCI bridge Memory window: 0xe0200000 - 0xe02fffff
[17179592.768000] pcmcia: parent PCI bridge Memory window: 0x30000000 - 0x33ffffff
[17179593.276000] pccard: PCMCIA card inserted into slot 0
[17179593.896000] pcmcia: registering new device pcmcia0.0
[17179600.080000] pcc_acpi: loading...
any suggestions will be appreciated.
Thanks
Kota
|
|
|
03-11-2007, 10:21 PM
|
#2
|
Senior Member
Registered: May 2004
Location: Fresno CA USA
Distribution: Ubuntu 10.10
Posts: 1,466
Rep:
|
Was the SD in the card reader when you did the lsusb? It doesn't show up as plugged in. Desktop computers seem to universally use their USB as the interface for memory card readers. Laptops on the other hand may use a proprietary hardware interface which would require a special driver for Linux. I don't know that this is the case with your laptop. Linux does a good job of supporting USB card readers.
|
|
|
03-11-2007, 11:34 PM
|
#3
|
Member
Registered: Jan 2005
Distribution: Kubuntu Feisty
Posts: 35
Original Poster
Rep: 
|
My SD reader does not use USB Interface. I don't know which driver it uses, can anyone tell me how to find out?
dmesg says:
[17180711.572000] pccard: PCMCIA card inserted into slot 0
[17180711.572000] cs: memory probe 0xe0200000-0xe02fffff: excluding 0xe0200000-0xe020ffff
[17180711.572000] pcmcia: registering new device pcmcia0.0
But I don't find pcmcia0.0 anywhere in the harddisk.
|
|
|
03-12-2007, 08:35 PM
|
#4
|
Member
Registered: Jan 2005
Distribution: Kubuntu Feisty
Posts: 35
Original Poster
Rep: 
|
How to mount SD-Card writable
Hi
Now I make it work but I can only read not writable.
It mount as fat16
fdisk -l
isk /dev/mmcblk0: 255 MB, 255852544 bytes
16 heads, 32 sectors/track, 976 cylinders
Units = cylinders of 512 * 512 = 262144 bytes
Device Boot Start End Blocks Id System
/dev/mmcblk0p1 1 976 249805+ 6 FAT16
and dmesg gives:
[17179721.000000] pcmcia: registering new device pcmcia0.0
[17179721.532000] mmcblk0: mmc0:b368 D1018 249856KiB (ro)
[17179721.532000] mmcblk0: p1
[17179730.600000] FAT: utf8 is not a recommended IO charset for FAT filesystems,
any ideas?
Kota
|
|
|
03-17-2007, 12:20 PM
|
#5
|
LQ Newbie
Registered: Mar 2007
Location: Slovakia
Distribution: Ubuntu 6.10 edgy
Posts: 6
Rep:
|
Could u please write how did you mount it? I can't get it work(readonly is enough for the beginning :\)
|
|
|
03-17-2007, 02:10 PM
|
#6
|
Senior Member
Registered: May 2004
Location: Fresno CA USA
Distribution: Ubuntu 10.10
Posts: 1,466
Rep:
|
It seems strange that you would have to use a mount command for any flash storage device connected with USB. What distro and version are you running?
|
|
|
03-17-2007, 05:55 PM
|
#7
|
LQ Newbie
Registered: Mar 2007
Location: Slovakia
Distribution: Ubuntu 6.10 edgy
Posts: 6
Rep:
|
I'm running Ubuntu 6.10...
|
|
|
03-17-2007, 08:50 PM
|
#8
|
Member
Registered: Jan 2005
Distribution: Kubuntu Feisty
Posts: 35
Original Poster
Rep: 
|
Hi,
I just want to repeat that my SD card ready doesnot use USB interface, it is an internal card reader. To make it work, I install sdricoh_cs that can be download from http://sourceforge.net/projects/sdricohcs/ and then make, make install. It said it is very experimental and very slow compared to USB stick. I get about 200KB/s.
|
|
|
03-17-2007, 11:25 PM
|
#9
|
Senior Member
Registered: May 2004
Location: Fresno CA USA
Distribution: Ubuntu 10.10
Posts: 1,466
Rep:
|
Dixon,
It may be mounted but you can't see where it is. First, nothing is mounted until media is placed in the reader. The reader itself can be seen with lsusb on the command line. Look in the places menu in the upper tool bar. It may be seen there.
|
|
|
03-22-2007, 10:00 PM
|
#10
|
LQ Newbie
Registered: Mar 2007
Location: Slovakia
Distribution: Ubuntu 6.10 edgy
Posts: 6
Rep:
|
2fragos: It's internal card reader not USB :\
2ckot:
have compiled and running module sdricoh_cs and it's still not working
Code:
dixon@dixon-laptop:~$ lsmod | grep sd
sdricoh_cs 9480 0
mmc_core 27780 1 sdricoh_cs
tsdev 8896 0
pcmcia 39596 1 sdricoh_cs
dmesg
Code:
[ 152.148000] pccard: PCMCIA card inserted into slot 0
[ 152.148000] pcmcia: registering new device pcmcia0.0
fdisk -l
Code:
Disk /dev/hda: 40.0 GB, 40060403712 bytes
255 heads, 63 sectors/track, 4870 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 3693 29663991 7 HPFS/NTFS
/dev/hda2 3694 4870 9454252+ 5 Extended
/dev/hda5 3694 3783 722893+ 82 Linux swap / Solaris
/dev/hda6 3784 4870 8731296 83 Linux
Do I miss some other module or what?
|
|
|
03-22-2007, 10:38 PM
|
#11
|
Senior Member
Registered: May 2004
Location: Fresno CA USA
Distribution: Ubuntu 10.10
Posts: 1,466
Rep:
|
Most desktop motherboards use an internal USB connector and are from a software perspective USB. Some laptops use proprietary interfaces instead of USB and in those case a separate driver would needs to be installed. ckota has a laptop but dixon hasn't told us anything about his hardware although his reference to PCMCIA implies laptop. If we had the output of lspci we'd have a better view of the hardware involved. This URL may be helpful to you: http://www.google.com/linux?hl=en&q=...cs&btnG=Search
|
|
|
03-23-2007, 08:45 AM
|
#12
|
LQ Newbie
Registered: Mar 2007
Location: Slovakia
Distribution: Ubuntu 6.10 edgy
Posts: 6
Rep:
|
Quote:
Originally Posted by fragos
Most desktop motherboards use an internal USB connector and are from a software perspective USB. Some laptops use proprietary interfaces instead of USB and in those case a separate driver would needs to be installed. ckota has a laptop but dixon hasn't told us anything about his hardware although his reference to PCMCIA implies laptop. If we had the output of lspci we'd have a better view of the hardware involved. This URL may be helpful to you: http://www.google.com/linux?hl=en&q=...cs&btnG=Search
|
I'm sorry - I also have a laptop. Here's whole lspci
Code:
00:00.0 Host bridge: Intel Corporation 82855PM Processor to I/O Controller (rev 21)
00:01.0 PCI bridge: Intel Corporation 82855PM Processor to AGP Controller (rev 21)
00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 83)
00:1f.0 ISA bridge: Intel Corporation 82801DBM (ICH4-M) LPC Interface Bridge (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801DBM (ICH4-M) IDE Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller (rev 03)
00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 03)
00:1f.6 Modem: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem Controller (rev 03)
01:00.0 VGA compatible controller: ATI Technologies Inc RV350 [Mobility Radeon 9600 M10]
02:07.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev a9)
02:07.1 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev a9)
02:07.2 FireWire (IEEE 1394): Ricoh Co Ltd R5C552 IEEE 1394 Controller (rev 01)
02:08.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
02:09.0 Network controller: Intel Corporation PRO/Wireless 2200BG Network Connection (rev 05)
|
|
|
03-28-2007, 11:43 PM
|
#13
|
Member
Registered: Jan 2005
Distribution: Kubuntu Feisty
Posts: 35
Original Poster
Rep: 
|
Hi dixon, what kind of SD card you have? try this to see if driver works well
Quote:
$ pccardctl status
Socket 0:
3.3V 16-bit PC Card
Subdevice 0 (function 0) bound to driver "sdricoh_cs"
Socket 1:
no card
|
|
|
|
03-29-2007, 10:06 AM
|
#14
|
LQ Newbie
Registered: Mar 2007
Location: Slovakia
Distribution: Ubuntu 6.10 edgy
Posts: 6
Rep:
|
Hi,
my card is SD A-DATA 1GB 150x
Code:
dixon@dixon-laptop:~$ pccardctl status
Socket 0:
3.3V 16-bit PC Card
Subdevice 0 (function 0) [unbound]
Socket 1:
3.3V 32-bit PC Card
It's unbound  Any ideas?
|
|
|
03-29-2007, 12:10 PM
|
#15
|
Member
Registered: Jan 2005
Distribution: Kubuntu Feisty
Posts: 35
Original Poster
Rep: 
|
Hi, this looks strange since you have the same SD reader as me.
make sure you installed sdricoh_cs properly and try to insert only one card at once. What's "pccardctl info" output?
|
|
|
All times are GMT -5. The time now is 06:16 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|