LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 08-01-2011, 12:12 PM   #1
deepclutch
Member
 
Registered: Nov 2004
Distribution: Debian Testing+Sid
Posts: 699
Blog Entries: 1

Rep: Reputation: 32
Post mobile(samsung s-5603) is not mounting as mass storage device


Hi,
When I use data cable plugged to the usb port and selects mass storage device mode in mobile, seems like device gets mounted for a second and then unmounts?
details:
Code:
Aug  1 22:15:14 dcbox kernel: usb 3-2: new full speed USB device number 6 using uhci_hcd
Aug  1 22:15:14 dcbox kernel: usb 3-2: New USB device found, idVendor=05c6, idProduct=1000
Aug  1 22:15:14 dcbox kernel: usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Aug  1 22:15:14 dcbox kernel: usb 3-2: Product: USB MMC Storage
Aug  1 22:15:14 dcbox kernel: usb 3-2: Manufacturer: SAMSUNG Electronics Co.,Ltd.
Aug  1 22:15:14 dcbox kernel: usb 3-2: SerialNumber: 000000000002
Aug  1 22:15:14 dcbox kernel: Initializing USB Mass Storage driver...
Aug  1 22:15:14 dcbox kernel: scsi4 : usb-storage 3-2:1.0
Aug  1 22:15:14 dcbox kernel: usbcore: registered new interface driver usb-storage
Aug  1 22:15:14 dcbox kernel: USB Mass Storage support registered.
Aug  1 22:15:14 dcbox kernel: usbcore: registered new interface driver uas
Aug  1 22:15:15 dcbox kernel: scsi 4:0:0:0: Direct-Access     SAMSUNG  GT-S5603         2.31 PQ: 0 ANSI: 2
Aug  1 22:15:16 dcbox kernel: sd 4:0:0:0: Attached scsi generic sg2 type 0
Aug  1 22:15:16 dcbox kernel: sd 4:0:0:0: [sdb] 3862528 512-byte logical blocks: (1.97 GB/1.84 GiB)
Aug  1 22:15:16 dcbox kernel: sd 4:0:0:0: [sdb] Write Protect is off
Aug  1 22:15:16 dcbox kernel: sd 4:0:0:0: [sdb] Mode Sense: 0b 00 00 08
Aug  1 22:15:16 dcbox kernel: sd 4:0:0:0: [sdb] Assuming drive cache: write through
Aug  1 22:15:16 dcbox kernel: sd 4:0:0:0: [sdb] Assuming drive cache: write through
Aug  1 22:15:16 dcbox kernel: sdb: sdb1
Aug  1 22:15:16 dcbox kernel: sd 4:0:0:0: [sdb] Assuming drive cache: write through
Aug  1 22:15:16 dcbox kernel: sd 4:0:0:0: [sdb] Attached SCSI removable disk
Aug  1 22:15:18 dcbox kernel: FAT: utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
Aug  1 22:15:19 dcbox kernel: FAT: Directory bread(block 3376569) failed
Aug  1 22:15:19 dcbox kernel: FAT: Directory bread(block 3376570) failed
Aug  1 22:15:19 dcbox kernel: FAT: Directory bread(block 3376571) failed
Aug  1 22:15:19 dcbox kernel: FAT: Directory bread(block 3376572) failed
Aug  1 22:15:19 dcbox kernel: FAT: Directory bread(block 3376573) failed
Aug  1 22:15:19 dcbox kernel: FAT: Directory bread(block 3376574) failed
Aug  1 22:15:19 dcbox kernel: FAT: Directory bread(block 3376575) failed
Aug  1 22:15:19 dcbox kernel: FAT: Directory bread(block 3376576) failed
Aug  1 22:15:19 dcbox kernel: FAT: Directory bread(block 3376577) failed
Aug  1 22:15:19 dcbox kernel: FAT: Directory bread(block 3376578) failed
Aug  1 22:15:19 dcbox kernel: FAT: Directory bread(block 3376579) failed
Aug  1 22:15:19 dcbox kernel: scsi: killing requests for dead queue
Aug  1 22:16:08 dcbox kernel: usb 3-2: USB disconnect, device number 6
lsusb:
Code:
Bus 003 Device 007: ID 05c6:1000 Qualcomm, Inc. Mass Storage Device
/var/log/kern.log
/var/log/messages :
Code:
Aug  1 22:27:20 dcbox kernel: usb 3-2: new full speed USB device number 7 using uhci_hcd
Aug  1 22:27:20 dcbox kernel: usb 3-2: New USB device found, idVendor=05c6, idProduct=1000
Aug  1 22:27:20 dcbox kernel: usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Aug  1 22:27:20 dcbox kernel: usb 3-2: Product: USB MMC Storage
Aug  1 22:27:20 dcbox kernel: usb 3-2: Manufacturer: SAMSUNG Electronics Co.,Ltd.
Aug  1 22:27:20 dcbox kernel: usb 3-2: SerialNumber: 000000000002
Aug  1 22:27:20 dcbox kernel: scsi5 : usb-storage 3-2:1.0
Aug  1 22:27:21 dcbox kernel: scsi 5:0:0:0: Direct-Access     SAMSUNG  GT-S5603         2.31 PQ: 0 ANSI: 2
Aug  1 22:27:21 dcbox kernel: sd 5:0:0:0: Attached scsi generic sg2 type 0
Aug  1 22:27:21 dcbox kernel: sd 5:0:0:0: [sdc] 3862528 512-byte logical blocks: (1.97 GB/1.84 GiB)
Aug  1 22:27:21 dcbox kernel: sd 5:0:0:0: [sdc] Write Protect is off
Aug  1 22:27:21 dcbox kernel: sdc: sdc1
Aug  1 22:27:21 dcbox kernel: sd 5:0:0:0: [sdc] Attached SCSI removable disk
Aug  1 22:27:22 dcbox usbmount[4195]: /dev/sdc does not contain a filesystem or disklabel
Aug  1 22:27:25 dcbox usb_modeswitch: switching 05c6:1000 (SAMSUNG Electronics Co.,Ltd.: USB MMC Storage)
Code:
ls -al /dev/sd*
brw-rw---- 1 root disk 8, 0 Aug  1 20:25 /dev/sda
brw-rw---- 1 root disk 8, 1 Aug  1 20:25 /dev/sda1
brw-rw---- 1 root disk 8, 2 Aug  1 20:25 /dev/sda2
brw-rw---- 1 root disk 8, 3 Aug  1 20:25 /dev/sda3
brw-rw---- 1 root disk 8, 4 Aug  1 20:25 /dev/sda4
brw-rw---- 1 root disk 8, 5 Aug  1 20:25 /dev/sda5
brw-rw---- 1 root disk 8, 6 Aug  1 20:25 /dev/sda6
brw-rw---- 1 root disk 8, 7 Aug  1 20:25 /dev/sda7
brw-rw---- 1 root disk 8, 8 Aug  1 22:25 /dev/sda8
the device mounts fine in Windows 7 though.
udev monitor mode:
Code:
~# udevadm monitor
monitor will print the received events for:
UDEV - the event which udev sends out after rule processing
KERNEL - the kernel uevent

KERNEL[8385.704363] remove   /devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0 (usb)
KERNEL[8385.704406] remove   /devices/pci0000:00/0000:00:1d.1/usb3/3-2 (usb)
UDEV  [8385.704627] remove   /devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0 (usb)
UDEV  [8385.706495] remove   /devices/pci0000:00/0000:00:1d.1/usb3/3-2 (usb)
KERNEL[8396.812204] add      /devices/pci0000:00/0000:00:1d.1/usb3/3-2 (usb)
KERNEL[8396.815104] add      /devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0 (usb)
KERNEL[8396.819111] add      /devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/host6 (scsi)
KERNEL[8396.819176] add      /devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/host6/scsi_host/host6 (scsi_host)
UDEV  [8396.825107] add      /devices/pci0000:00/0000:00:1d.1/usb3/3-2 (usb)
UDEV  [8396.831691] add      /devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0 (usb)
UDEV  [8396.832483] add      /devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/host6 (scsi)
UDEV  [8396.832816] add      /devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/host6/scsi_host/host6 (scsi_host)
KERNEL[8397.864117] add      /devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/host6/target6:0:0 (scsi)
KERNEL[8397.864195] add      /devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/host6/target6:0:0/6:0:0:0 (scsi)
KERNEL[8397.864251] add      /devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/host6/target6:0:0/6:0:0:0/scsi_disk/6:0:0:0 (scsi_disk)
KERNEL[8397.864307] add      /devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/host6/target6:0:0/6:0:0:0/scsi_device/6:0:0:0 (scsi_device)
KERNEL[8397.864373] add      /devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/host6/target6:0:0/6:0:0:0/scsi_generic/sg2 (scsi_generic)
KERNEL[8397.864453] add      /devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/host6/target6:0:0/6:0:0:0/bsg/6:0:0:0 (bsg)
UDEV  [8397.864540] add      /devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/host6/target6:0:0 (scsi)
UDEV  [8397.866194] add      /devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/host6/target6:0:0/6:0:0:0 (scsi)
UDEV  [8397.867059] add      /devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/host6/target6:0:0/6:0:0:0/scsi_device/6:0:0:0 (scsi_device)
UDEV  [8397.867371] add      /devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/host6/target6:0:0/6:0:0:0/scsi_generic/sg2 (scsi_generic)
UDEV  [8397.867398] add      /devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/host6/target6:0:0/6:0:0:0/scsi_disk/6:0:0:0 (scsi_disk)
UDEV  [8397.867542] add      /devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/host6/target6:0:0/6:0:0:0/bsg/6:0:0:0 (bsg)
KERNEL[8397.880177] add      /devices/virtual/bdi/8:32 (bdi)
UDEV  [8397.880525] add      /devices/virtual/bdi/8:32 (bdi)
KERNEL[8397.902172] add      /devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/host6/target6:0:0/6:0:0:0/block/sdc (block)
KERNEL[8397.902340] add      /devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/host6/target6:0:0/6:0:0:0/block/sdc/sdc1 (block)
KERNEL[8401.472370] remove   /devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/host6/target6:0:0/6:0:0:0/bsg/6:0:0:0 (bsg)
KERNEL[8401.472542] remove   /devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/host6/target6:0:0/6:0:0:0/scsi_generic/sg2 (scsi_generic)
UDEV  [8401.472659] remove   /devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/host6/target6:0:0/6:0:0:0/bsg/6:0:0:0 (bsg)
KERNEL[8401.472772] remove   /devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/host6/target6:0:0/6:0:0:0/scsi_device/6:0:0:0 (scsi_device)
UDEV  [8401.472799] remove   /devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/host6/target6:0:0/6:0:0:0/scsi_generic/sg2 (scsi_generic)
KERNEL[8401.472916] remove   /devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/host6/target6:0:0/6:0:0:0/scsi_disk/6:0:0:0 (scsi_disk)
UDEV  [8401.473012] remove   /devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/host6/target6:0:0/6:0:0:0/scsi_device/6:0:0:0 (scsi_device)
UDEV  [8401.473083] remove   /devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/host6/target6:0:0/6:0:0:0/scsi_disk/6:0:0:0 (scsi_disk)
KERNEL[8401.473180] remove   /devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/host6/target6:0:0/6:0:0:0/block/sdc/sdc1 (block)
KERNEL[8401.477078] remove   /devices/virtual/bdi/8:32 (bdi)
KERNEL[8401.477207] remove   /devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/host6/target6:0:0/6:0:0:0/block/sdc (block)
UDEV  [8401.477230] remove   /devices/virtual/bdi/8:32 (bdi)
KERNEL[8401.477303] remove   /devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/host6/target6:0:0/6:0:0:0 (scsi)
KERNEL[8401.481078] remove   /devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/host6/target6:0:0 (scsi)
KERNEL[8401.481163] remove   /devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/host6/scsi_host/host6 (scsi_host)
KERNEL[8401.481219] remove   /devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/host6 (scsi)
UDEV  [8401.481402] remove   /devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/host6/scsi_host/host6 (scsi_host)

Last edited by deepclutch; 08-01-2011 at 12:16 PM.
 
Old 08-01-2011, 08:56 PM   #2
deepclutch
Member
 
Registered: Nov 2004
Distribution: Debian Testing+Sid
Posts: 699
Blog Entries: 1

Original Poster
Rep: Reputation: 32
Solved. Mobile as mass storage device microsd card mounted fine after I purged "usb-modeswitch" package in the system. I had installed 'usb-modeswitch' for using a "Tata Photon" usb wireless modem. may be, it is possible to apply settings on usb-modeswitch to correctly use usb-storage module for this mobile phone.

Here is the udevadm monitor log after successfully mounting:
Code:
 udevadm monitor
monitor will print the received events for:
UDEV - the event which udev sends out after rule processing
KERNEL - the kernel uevent

KERNEL[868.560815] add      /devices/pci0000:00/0000:00:1d.1/usb3/3-2 (usb)
KERNEL[868.563782] add      /devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0 (usb)
KERNEL[868.567977] add      /devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/host4 (scsi)
KERNEL[868.568290] add      /devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/host4/scsi_host/host4 (scsi_host)
UDEV  [868.576959] add      /devices/pci0000:00/0000:00:1d.1/usb3/3-2 (usb)
KERNEL[868.660044] add      /module/uas (module)
KERNEL[868.660167] add      /bus/usb/drivers/uas (drivers)
UDEV  [868.660345] add      /module/uas (module)
UDEV  [868.660764] add      /bus/usb/drivers/uas (drivers)
UDEV  [868.660814] add      /devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0 (usb)
UDEV  [868.661368] add      /devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/host4 (scsi)
UDEV  [868.661656] add      /devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/host4/scsi_host/host4 (scsi_host)
KERNEL[869.633119] add      /devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/host4/target4:0:0 (scsi)
KERNEL[869.633275] add      /devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0 (scsi)
KERNEL[869.633383] add      /devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/scsi_disk/4:0:0:0 (scsi_disk)
UDEV  [869.633432] add      /devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/host4/target4:0:0 (scsi)
KERNEL[869.633674] add      /devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/scsi_device/4:0:0:0 (scsi_device)
KERNEL[869.633810] add      /devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/scsi_generic/sg2 (scsi_generic)
KERNEL[869.633933] add      /devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/bsg/4:0:0:0 (bsg)
UDEV  [869.635144] add      /devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0 (scsi)
UDEV  [869.636017] add      /devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/scsi_device/4:0:0:0 (scsi_device)
UDEV  [869.636048] add      /devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/bsg/4:0:0:0 (bsg)
UDEV  [869.636068] add      /devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/scsi_generic/sg2 (scsi_generic)
UDEV  [869.636283] add      /devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/scsi_disk/4:0:0:0 (scsi_disk)
KERNEL[869.649591] add      /devices/virtual/bdi/8:16 (bdi)
UDEV  [869.649894] add      /devices/virtual/bdi/8:16 (bdi)
KERNEL[869.671586] add      /devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
KERNEL[869.671646] add      /devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb/sdb1 (block)
UDEV  [871.691882] add      /devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb (block)
UDEV  [872.951582] add      /devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb/sdb1 (block)
KERNEL[873.010512] add      /module/fat (module)
KERNEL[873.010670] add      /kernel/slab/fat_cache (slab)
UDEV  [873.010838] add      /module/fat (module)
UDEV  [873.010875] add      /kernel/slab/fat_cache (slab)
KERNEL[873.011024] add      /kernel/slab/fat_inode_cache (slab)
UDEV  [873.011195] add      /kernel/slab/fat_inode_cache (slab)
KERNEL[873.015862] add      /module/vfat (module)
UDEV  [873.016015] add      /module/vfat (module)
KERNEL[873.035212] add      /module/nls_cp437 (module)
UDEV  [873.035420] add      /module/nls_cp437 (module)
KERNEL[873.037017] add      /module/nls_utf8 (module)
UDEV  [873.037250] add      /module/nls_utf8 (module)

Last edited by deepclutch; 08-01-2011 at 08:59 PM.
 
  


Reply

Tags
mass storage device, mobile


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
Problem mounting mobile phone's mass storage maxx223 Linux - General 7 02-23-2011 03:09 PM
[SOLVED] mounting camera as mass storage device problem patostevens Slackware 4 12-03-2010 08:46 AM
mounting micro sd card of samsung 2120 configured to be connected as mass storage sumeet inani Linux - Newbie 2 07-08-2010 10:43 PM
mounting usb mass storage device Joe47 Fedora 2 03-03-2004 07:58 PM
Mounting Digital Camera as a Mass Storage Device gendreau Linux - Hardware 3 06-18-2003 12:35 PM


All times are GMT -5. The time now is 09:11 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