LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   mounting micro sd card of samsung 2120 configured to be connected as mass storage (https://www.linuxquestions.org/questions/linux-newbie-8/mounting-micro-sd-card-of-samsung-2120-configured-to-be-connected-as-mass-storage-818473/)

sumeet inani 07-07-2010 07:00 AM

mounting micro sd card of samsung 2120 configured to be connected as mass storage
 
hi
I am using ubuntu 8.04
i have samsung2120 with 2GB micro sd card connected inside.
in settings it is configured to be used as 'mass storage'.
When i connect mobile via data cable in windows xp then as desired I get accessible drive just like USB stick plugged in.
In ubuntu 8.04 following happens
Code:

#lsusb
Bus 004 Device 001: ID 0000:0000 
Bus 003 Device 001: ID 0000:0000 
Bus 002 Device 006: ID 04e8:681e Samsung Electronics Co., Ltd
Bus 002 Device 002: ID 04f3:0230 Elan Microelectronics Corp.
Bus 002 Device 001: ID 0000:0000 
Bus 001 Device 001: ID 0000:0000 
output from dmesg
[ 1722.817956] usb 2-2: new full speed USB device using uhci_hcd and address 9
[ 1724.305419] usb 2-2: new full speed USB device using uhci_hcd and address 10
[ 1724.470334] usb 2-2: configuration #1 chosen from 1 choice
[ 1724.529521] scsi5 : SCSI emulation for USB Mass Storage devices
[ 1724.532521] usb-storage: device found at 10
[ 1724.532534] usb-storage: waiting for device to settle before scanning
[ 1729.535508] usb-storage: device scan complete
[ 1729.538693] scsi 5:0:0:0: Direct-Access    Samsung  E2121B  0        USB  PQ: 0 ANSI: 0 CCS
[ 1729.583582] sd 5:0:0:0: [sdb] 3911680 512-byte hardware sectors (2003 MB)
[ 1729.588575] sd 5:0:0:0: [sdb] Write Protect is off
[ 1729.588592] sd 5:0:0:0: [sdb] Mode Sense: 43 00 00 00
[ 1729.588597] sd 5:0:0:0: [sdb] Assuming drive cache: write through
[ 1729.598615] sd 5:0:0:0: [sdb] 3911680 512-byte hardware sectors (2003 MB)
[ 1729.603629] sd 5:0:0:0: [sdb] Write Protect is off
[ 1729.603647] sd 5:0:0:0: [sdb] Mode Sense: 43 00 00 00
[ 1729.603652] sd 5:0:0:0: [sdb] Assuming drive cache: write through
[ 1729.603673]  sdb: sdb1
[ 1729.616726] sd 5:0:0:0: [sdb] Attached SCSI removable disk
[ 1729.616855] sd 5:0:0:0: Attached scsi generic sg2 type 0
My attempt to mount
14:57:14 ~ #mount /dev/sdb /pendrive/
mount: special device /dev/sdb does not exist
14:57:31 ~ #mount /dev/sdb1 /pendrive/
mount: special device /dev/sdb1 does not exist
14:57:35 ~ #mount /dev/sdc1 /pendrive/
mount: special device /dev/sdc1 does not exist
14:57:39 ~ #mount /dev/sdc /pendrive/
mount: special device /dev/sdc does not exist
following dmesg outputs
[ 1760.124382] usb 2-2: reset full speed USB device using uhci_hcd and address 10
[ 1790.365323] usb 2-2: reset full speed USB device using uhci_hcd and address 10
[ 1820.618279] usb 2-2: reset full speed USB device using uhci_hcd and address 10
[ 1850.871239] usb 2-2: reset full speed USB device using uhci_hcd and address 10
[ 1881.120204] usb 2-2: reset full speed USB device using uhci_hcd and address 10
[ 1911.369166] usb 2-2: reset full speed USB device using uhci_hcd and address 10
[ 1911.517037] sd 5:0:0:0: [sdb] Result: hostbyte=DID_ABORT driverbyte=DRIVER_OK,SUGGEST_OK
[ 1911.517066] end_request: I/O error, dev sdb, sector 104
[ 1911.517074] printk: 52 messages suppressed.
[ 1911.517103] Buffer I/O error on device sdb, logical block 13
[ 1911.517124] Buffer I/O error on device sdb, logical block 14
[ 1911.517130] Buffer I/O error on device sdb, logical block 15
[ 1911.517135] Buffer I/O error on device sdb, logical block 16
[ 1911.517140] Buffer I/O error on device sdb, logical block 17
[ 1911.517145] Buffer I/O error on device sdb, logical block 18
[ 1911.517150] Buffer I/O error on device sdb, logical block 19
[ 1911.517155] Buffer I/O error on device sdb, logical block 20
[ 1911.517161] Buffer I/O error on device sdb, logical block 21
[ 1911.517166] Buffer I/O error on device sdb, logical block 22
[ 1941.622124] usb 2-2: reset full speed USB device using uhci_hcd and address 10
[ 1971.871114] usb 2-2: reset full speed USB device using uhci_hcd and address 10
[ 2002.120049] usb 2-2: reset full speed USB device using uhci_hcd and address 10
[ 2032.369031] usb 2-2: reset full speed USB device using uhci_hcd and address 10
[ 2062.618003] usb 2-2: reset full speed USB device using uhci_hcd and address 10


kilgoretrout 07-08-2010 12:36 AM

With the device plugged in and powered on, open a console and run:

$ sudo fdisk -l

and post the output here.

sumeet inani 07-08-2010 10:43 PM

Code:

Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x34693468

  Device Boot      Start        End      Blocks  Id  System
/dev/sda1  *          1        1305    10482381    7  HPFS/NTFS
/dev/sda2            1306        1377      578340  82  Linux swap / Solaris
/dev/sda3            1378        1912    4297387+  83  Linux
/dev/sda4            1913        9729    62790052+  f  W95 Ext'd (LBA)
/dev/sda5            1913        4462    20482843+  7  HPFS/NTFS
/dev/sda6            4463        5767    10482381    7  HPFS/NTFS
/dev/sda7            5768        9729    31824733+  7  HPFS/NTFS

This shows no trace of my micro sd card

What should I do ?


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