LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 03-11-2007, 06:27 PM   #1
ckota
Member
 
Registered: Jan 2005
Distribution: Kubuntu Feisty
Posts: 35

Rep: Reputation: Disabled
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
 
Old 03-11-2007, 09:21 PM   #2
fragos
Senior Member
 
Registered: May 2004
Location: Fresno CA USA
Distribution: Ubuntu 10.10
Posts: 1,466

Rep: Reputation: 51
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.
 
Old 03-11-2007, 10:34 PM   #3
ckota
Member
 
Registered: Jan 2005
Distribution: Kubuntu Feisty
Posts: 35

Original Poster
Rep: Reputation: Disabled
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.
 
Old 03-12-2007, 07:35 PM   #4
ckota
Member
 
Registered: Jan 2005
Distribution: Kubuntu Feisty
Posts: 35

Original Poster
Rep: Reputation: Disabled
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
 
Old 03-17-2007, 11:20 AM   #5
dixon
LQ Newbie
 
Registered: Mar 2007
Location: Slovakia
Distribution: Ubuntu 6.10 edgy
Posts: 6

Rep: Reputation: 0
Could u please write how did you mount it? I can't get it work(readonly is enough for the beginning :\)
 
Old 03-17-2007, 01:10 PM   #6
fragos
Senior Member
 
Registered: May 2004
Location: Fresno CA USA
Distribution: Ubuntu 10.10
Posts: 1,466

Rep: Reputation: 51
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?
 
Old 03-17-2007, 04:55 PM   #7
dixon
LQ Newbie
 
Registered: Mar 2007
Location: Slovakia
Distribution: Ubuntu 6.10 edgy
Posts: 6

Rep: Reputation: 0
I'm running Ubuntu 6.10...
 
Old 03-17-2007, 07:50 PM   #8
ckota
Member
 
Registered: Jan 2005
Distribution: Kubuntu Feisty
Posts: 35

Original Poster
Rep: Reputation: Disabled
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.
 
Old 03-17-2007, 10:25 PM   #9
fragos
Senior Member
 
Registered: May 2004
Location: Fresno CA USA
Distribution: Ubuntu 10.10
Posts: 1,466

Rep: Reputation: 51
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.
 
Old 03-22-2007, 09:00 PM   #10
dixon
LQ Newbie
 
Registered: Mar 2007
Location: Slovakia
Distribution: Ubuntu 6.10 edgy
Posts: 6

Rep: Reputation: 0
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?
 
Old 03-22-2007, 09:38 PM   #11
fragos
Senior Member
 
Registered: May 2004
Location: Fresno CA USA
Distribution: Ubuntu 10.10
Posts: 1,466

Rep: Reputation: 51
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
 
Old 03-23-2007, 07:45 AM   #12
dixon
LQ Newbie
 
Registered: Mar 2007
Location: Slovakia
Distribution: Ubuntu 6.10 edgy
Posts: 6

Rep: Reputation: 0
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)
 
Old 03-28-2007, 10:43 PM   #13
ckota
Member
 
Registered: Jan 2005
Distribution: Kubuntu Feisty
Posts: 35

Original Poster
Rep: Reputation: Disabled
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
 
Old 03-29-2007, 09:06 AM   #14
dixon
LQ Newbie
 
Registered: Mar 2007
Location: Slovakia
Distribution: Ubuntu 6.10 edgy
Posts: 6

Rep: Reputation: 0
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?
 
Old 03-29-2007, 11:10 AM   #15
ckota
Member
 
Registered: Jan 2005
Distribution: Kubuntu Feisty
Posts: 35

Original Poster
Rep: Reputation: Disabled
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?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu won't mount floppy. ajcham Linux - Hardware 1 08-14-2006 10:24 PM
ubuntu - Probelems with mount. StianLangvann Linux - General 12 07-12-2005 07:58 AM
mount windows xp partitions in ubuntu newbieSC Linux - Newbie 8 04-20-2005 09:47 PM
Mount problem in Ubuntu coolfrog Linux - General 1 12-30-2004 06:24 PM


All times are GMT -5. The time now is 01:34 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration