LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-13-2013, 03:21 AM   #1
ravisingh1
Member
 
Registered: Apr 2013
Location: Mumbai
Distribution: Ubuntu13.10
Posts: 291

Rep: Reputation: Disabled
mobile not being recognized by Ubuntu13.04


I connected my China mobile to laptop via cable. On the phone I selected the option mass storage. Then it messages on the phone as "done". But as I was expecting I would be able to see the contents of the mobile (memory card, inbuilt disk) it didn't happen so.

I checked the command df -h but it doesn't show my phone. When I click on the "file" menu of the Ubuntu launcher to see the devices of my computer, it doesn't show up.

The same way when I connect with my Windows 7, it reflects there perfectly. But what may be the issue with my Ubuntu13.04?

The output of dmesg (as shown below) shows the 2 storage devices on mobile. This output shows the two devices with name sdb and sdc.
Below is output fragment of the above command:


Code:
[ 1695.497177] sd 6:0:0:0: [sdb] 3964928 512-byte logical blocks: (2.03 GB/1.89 GiB)
[ 1695.505093] sd 6:0:0:1: [sdc] 1000 512-byte logical blocks: (512 kB/500 KiB)
The complete output is below:

Code:
dmesg | tail -n 40
[  687.926249] Buffer I/O error on device sdb, logical block 1
[  687.926252] Buffer I/O error on device sdb, logical block 1
[  687.926256] Buffer I/O error on device sdb, logical block 1
[  687.926272] Buffer I/O error on device sdb, logical block 495615
[  687.926279] Buffer I/O error on device sdb, logical block 0
[  687.926283] Buffer I/O error on device sdb, logical block 0
[  696.056096] usb 7-1: USB disconnect, device number 5
[ 1694.288050] usb 7-1: new full-speed USB device number 6 using uhci_hcd
[ 1694.471086] usb 7-1: New USB device found, idVendor=0e8d, idProduct=0002
[ 1694.471093] usb 7-1: New USB device strings: Mfr=2, Product=3, SerialNumber=4
[ 1694.471096] usb 7-1: Product: MT6225 
[ 1694.471099] usb 7-1: Manufacturer: MediaTek Inc
[ 1694.471101] usb 7-1: SerialNumber: 533807205600090
[ 1694.476542] scsi6 : usb-storage 7-1:1.0
[ 1695.480108] scsi 6:0:0:0: Direct-Access     MEDIATEK  FLASH DISK      6225 PQ: 0 ANSI: 0 CCS
[ 1695.483121] scsi 6:0:0:1: Direct-Access     MEDIATEK  FLASH DISK      6225 PQ: 0 ANSI: 0 CCS
[ 1695.487030] sd 6:0:0:0: Attached scsi generic sg2 type 0
[ 1695.487241] sd 6:0:0:1: Attached scsi generic sg3 type 0
[ 1695.497177] sd 6:0:0:0: [sdb] 3964928 512-byte logical blocks: (2.03 GB/1.89 GiB)
[ 1695.502101] sd 6:0:0:0: [sdb] Write Protect is off
[ 1695.502108] sd 6:0:0:0: [sdb] Mode Sense: 03 00 00 00
[ 1695.505093] sd 6:0:0:1: [sdc] 1000 512-byte logical blocks: (512 kB/500 KiB)
[ 1695.508140] sd 6:0:0:0: [sdb] No Caching mode page found
[ 1695.508145] sd 6:0:0:0: [sdb] Assuming drive cache: write through
[ 1695.511104] sd 6:0:0:1: [sdc] Write Protect is off
[ 1695.511111] sd 6:0:0:1: [sdc] Mode Sense: 03 00 00 00
[ 1695.516140] sd 6:0:0:1: [sdc] No Caching mode page found
[ 1695.516146] sd 6:0:0:1: [sdc] Assuming drive cache: write through
[ 1695.538535] sd 6:0:0:0: [sdb] No Caching mode page found
[ 1695.538542] sd 6:0:0:0: [sdb] Assuming drive cache: write through
[ 1695.548183]  sdb: sdb1
[ 1695.551261] sd 6:0:0:1: [sdc] No Caching mode page found
[ 1695.551270] sd 6:0:0:1: [sdc] Assuming drive cache: write through
[ 1695.560464]  sdc: sdc1
[ 1695.586091] sd 6:0:0:0: [sdb] No Caching mode page found
[ 1695.586099] sd 6:0:0:0: [sdb] Assuming drive cache: write through
[ 1695.586103] sd 6:0:0:0: [sdb] Attached SCSI removable disk
[ 1695.592133] sd 6:0:0:1: [sdc] No Caching mode page found
[ 1695.592141] sd 6:0:0:1: [sdc] Assuming drive cache: write through
[ 1695.592146] sd 6:0:0:1: [sdc] Attached SCSI removable disk
ravbholua@ravbholua-Aspire-5315:~$
As these names (sdb and sdc) weren't reflecting on my Ubuntu, so I created manually these files
Code:
ravbholua@ravbholua-Aspire-5315:~$ sudo mknod /dev/sdb b 8 0
ravbholua@ravbholua-Aspire-5315:~$ cd /dev
ravbholua@ravbholua-Aspire-5315:/dev$ ls sd*
sda  sda1  sda2  sda3  sda4  sda5  sda6  sda7  sda8  sdb
ravbholua@ravbholua-Aspire-5315:/dev$ sudo mknod /dev/sdc b 8 0
ravbholua@ravbholua-Aspire-5315:/dev$ !-2
ls sd*
sda  sda1  sda2  sda3  sda4  sda5  sda6  sda7  sda8  sdb  sdc
But still I couldn't locate the 2 device files sdb and sdc representing my mobile devices.

Also I couldn't mount or unmount the above 2 devices as shown below:
Code:
ravbholua@ravbholua-Aspire-5315:/dev$ sudo mount /dev/sdb /mnt
mount: /dev/sdb already mounted or /mnt busy
ravbholua@ravbholua-Aspire-5315:/dev$ df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda6       9.9G  5.8G  3.6G  62% /
none            4.0K     0  4.0K   0% /sys/fs/cgroup
udev            489M  4.0K  489M   1% /dev
tmpfs           100M  920K   99M   1% /run
none            5.0M  4.0K  5.0M   1% /run/lock
none            497M  672K  496M   1% /run/shm
none            100M   36K  100M   1% /run/user
/dev/sda5       284M  129M  141M  48% /boot
/dev/sda8       9.5G  7.6G  1.5G  85% /home
ravbholua@ravbholua-Aspire-5315:/dev$ sudo umount /mnt
umount: /mnt: not mounted
ravbholua@ravbholua-Aspire-5315:/dev$ ls sd*
sda  sda1  sda2  sda3  sda4  sda5  sda6  sda7  sda8  sdb  sdc
ravbholua@ravbholua-Aspire-5315:/dev$ sudo umount /dev/sdb
umount: /dev/sdb: not mounted
ravbholua@ravbholua-Aspire-5315:/dev$ cd /
ravbholua@ravbholua-Aspire-5315:/$ sudo mount /dev/sdb /mnt
mount: /dev/sdb already mounted or /mnt busy
ravbholua@ravbholua-Aspire-5315:/$
 
Old 11-13-2013, 07:50 PM   #2
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
Did you check the output of "fdisk -l"?
 
Old 11-14-2013, 05:39 AM   #3
ravisingh1
Member
 
Registered: Apr 2013
Location: Mumbai
Distribution: Ubuntu13.10
Posts: 291

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by suicidaleggroll View Post
Did you check the output of "fdisk -l"?
I checked but the command gave no output (simply null).
Please reply how to make my mobile contents visible.
 
Old 11-14-2013, 08:14 AM   #4
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
You'll need to run it with root permissions (sudo).
 
Old 11-14-2013, 08:51 AM   #5
ravisingh1
Member
 
Registered: Apr 2013
Location: Mumbai
Distribution: Ubuntu13.10
Posts: 291

Original Poster
Rep: Reputation: Disabled
Oh I am very very sorry. Yes it didn't strike my mind that time to run as root. Extremely sorry for that. Before reading your above post, I had known the issue and now as I opened the forum site to edit my last post I saw yours. BTW, Thanks a lot!

Well, the command fdisk -l isn't showing my mobile disks.
Code:
ravbholua@ravbholua-Aspire-5315:/dev$ sudo fdisk -l
[sudo] password for ravbholua: 

Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders, total 234441648 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xd229d229

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048      206847      102400    7  HPFS/NTFS/exFAT
/dev/sda2          206848    65538047    32665600    7  HPFS/NTFS/exFAT
/dev/sda3        81922048   161030143    39554048    7  HPFS/NTFS/exFAT
/dev/sda4       161234944   232445951    35605504    5  Extended
/dev/sda5       173328384   173945571      308594   83  Linux
/dev/sda6       173946880   195168255    10610688   83  Linux
/dev/sda7       195170304   199471103     2150400   82  Linux swap / Solaris
/dev/sda8       199473152   219953151    10240000   83  Linux
ravbholua@ravbholua-Aspire-5315:/dev$

Last edited by ravisingh1; 11-14-2013 at 07:46 PM.
 
Old 11-14-2013, 06:42 PM   #6
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
Odd, I'm not sure. I've encountered cases before where the partitions show up in fdisk, but not in /dev/, but I've never seen a case where the disk and partitions shows up in dmesg but not fstab or /dev/.
 
Old 11-14-2013, 07:56 PM   #7
ravisingh1
Member
 
Registered: Apr 2013
Location: Mumbai
Distribution: Ubuntu13.10
Posts: 291

Original Poster
Rep: Reputation: Disabled
suicidaleggroll, also one more thing: the mobile disks aren't visible in gparted (GUI) even. It shows only for sda but not for sdb or sdc.
I think I have done a big mistake by not mentioning one important point: in this thread I mentioned of the issue with my china mobile. But I should have mentioned that I don't have any problem with my Nokia N73.
Via bluetooth,my laptop is detecting both Nokia N73 and china mobile. But via bluetooth,I can't transfer any data from laptop to china mobile or can't even browse the mobile's files. I am getting some error message. There is no problem accessing/browsing my Nokia N73, also i can transfer data between the laptop and N73 perfectly.
So, can the problem be due to the china mobile!!! Is any setting reqd. in the mobile?

Last edited by ravisingh1; 11-14-2013 at 08:04 PM.
 
  


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
Reinstall Operating System in remote machine from Centos 5 to Ubuntu13.04 ravisingh1 Linux - Laptop and Netbook 5 09-01-2013 08:41 PM
Not able to unmount /home in Ubuntu13.04 ravisingh1 Linux - Hardware 14 08-30-2013 05:52 PM
Bluetooth on Ubuntu13.04 not functioning! ravisingh1 Linux - Networking 2 08-26-2013 08:19 AM
Issues with Ubuntu13.04: screen distortion at booting and long booting time! ravisingh1 Ubuntu 2 08-19-2013 04:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:35 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration