Football Fans: Download the 2012 Schedule App from Google Play!


Go Back   Android Forums > Android Community > The Lounge > Computers & IT



Reply
 
LinkBack Thread Tools
Old November 15th, 2011, 10:37 PM   #1 (permalink)
New Member
 
Join Date: Nov 2011
Posts: 7
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default Can't mount the SD card in Linux Mint 11

Solved: Reformatted the sd card as fat32, 32 kb allocation. Thanks, guys.

So, I'm not having any luck mounting my HD's SD card via USB in mint. So far, I've set the phone to default to mounting as a USB device, enabled debug, tried a different cord, tried both the front and back usb ports, and tried the same cord on a windows machine (it worked). I've also added a rule to udev, with no luck. The computer sees that an android device is plugged in, but I can't access it. Watching it from Computer when it first connects, it will recognize it's an android phone, mount the file system (I believe. It will briefly display the size of the sdcard), then fail, and go back to saying HTC Android Phone. At the same time, the phone will prompt for a connection type. I can specify mass media storage, at which point it will try to mount, then revert to charging only. Pulling down the menu only gives me the options to charge, sync, tether, or share internet. lsusb returns a single device, ID 0bb4:0ca2 High Tech Computer Corp, located on a usb 2.0 hub. I think this may be part of my problem, as it seems like other forum posts mention two devices being mounted when the phone is plugged in. I'm out of ideas, and would appreciate any advice. It looks like it may be possible to install the android developer platform, and run the adp server with super-user privileges, and that may solve the issue. Anyone try this? If so, could you give simple advice? I'm pretty new to linux. Edit: I've also tried sudo mount -t vfat -U /media/droid, but that didn't do anything for me, either. Edit: There should be a Device Id in there. It's there, I swear. Really. I just put it in brackets, and it got interpreted as HTML, or some such.

Neophox is offline  
Last edited by Neophox; November 21st, 2011 at 08:49 PM.
Reply With Quote
Sponsors
Old November 16th, 2011, 06:33 AM   #2 (permalink)
Bounty Hunter Manager
 
NightAngel79's Avatar
 
Join Date: May 2010
Location: Northern Ky
Posts: 17,004
 
Device(s): HTC Rezound Incredible (retired)
Thanks: 8,844
Thanked 3,737 Times in 2,657 Posts
Send a message via Skype™ to NightAngel79
Default

gonna move this to computer section in hopes that you get a quick response. feel free to PM me with any questions/concerns
__________________

Sync your files online and across computers with Dropbox. 2.5GB account is free! And get extra free space from referrals - Just click here and sign up
Site Rules/Guidelines and Zero Tolerance Policy
GoogleTv Forums
Carrier Coverage
NightAngel79 is online now  
Reply With Quote
The Following User Says Thank You to NightAngel79 For This Useful Post:
El Presidente (November 16th, 2011)
Old November 16th, 2011, 09:13 AM   #3 (permalink)
New Member
 
Join Date: Nov 2011
Posts: 7
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks, NightAngel. I'll give a bit more information then, since it's no longer a device-specific board. It's an HTC Desire HD, running Android 2.3.3
Neophox is offline  
Reply With Quote
Old November 16th, 2011, 03:48 PM   #4 (permalink)
Frank Burns Eats Worms!
 
9to5cynic's Avatar
 
Join Date: Feb 2011
Location: Evo Root Forum, Lounge, Forum Games.
Posts: 3,280
 
Device(s): Evo 4G - CleanRom 2.0 (April '12)
Thanks: 1,761
Thanked 1,122 Times in 785 Posts
Send a message via AIM to 9to5cynic
Default

It *should* be working. I've been using linux with my Evo in disk mode since I got the evo, never had an issue. Try this from command line, then plug in phone in disk mode, then the command again.
Code:
 lsusb
Then look through the two outputs and see if the phone is showing up...

this lists all usb devices, so you'll begin the troubleshooting process.

EDIT: I see you've already tried that. Ooops... reading ftw right?

--

I guess you could try to mount the SD card by itself... using a micro SD adapter or whatever you have available to you.
9to5cynic is online now  
Last edited by 9to5cynic; November 16th, 2011 at 03:52 PM.
Reply With Quote
Old November 16th, 2011, 08:38 PM   #5 (permalink)
New Member
 
Join Date: Nov 2011
Posts: 7
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yeah, that's the impression I've been getting, that it Just Works. There's enough Mint users who also have an android that I can believe it, which makes it even more curious that my computer, and apparently my computer alone, can't mount the phone. I've started up a cross-post on the Mint forum, and we'll see where that takes me, as well. As far as using an SD card reader, I could do that, but it's definitely not the optimal solution. I don't really want to call this solved, when it's only a workaround.
Neophox is offline  
Reply With Quote
Old November 16th, 2011, 11:05 PM   #6 (permalink)
Frank Burns Eats Worms!
 
9to5cynic's Avatar
 
Join Date: Feb 2011
Location: Evo Root Forum, Lounge, Forum Games.
Posts: 3,280
 
Device(s): Evo 4G - CleanRom 2.0 (April '12)
Thanks: 1,761
Thanked 1,122 Times in 785 Posts
Send a message via AIM to 9to5cynic
Default

Could you try to boot into a live disc for a different version, that way you can see if it's the phone or the computer. IE: boot into LM 10 or the 12 RC or ubuntu.

I guess it could be that something just went screwy with your set up, but it almost seems like a phone issue to me...?
9to5cynic is online now  
Reply With Quote
Old November 17th, 2011, 12:05 AM   #7 (permalink)
New Member
 
Join Date: Nov 2011
Posts: 7
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Right, I hadn't thought of that. Downloading ubuntu right now. I'll have an update on the weekend, when I've got time to test it.
Neophox is offline  
Reply With Quote
Old November 19th, 2011, 02:10 AM   #8 (permalink)
New Member
 
Join Date: Nov 2011
Posts: 7
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Well, a bit of an update. I've tried Mint 9, LMDE 2011/09, and Ubuntu 11.10, all with no luck. I also booted windows 7 on the same machine and mounted the phone successfully. Currently, my impression is that the phone unmounts the SD card so the computer can access it, then the computer forgets it was ever there. The end result is that the sd card sits in limbo, and I can't remount it on the phone, or mount it from the computer. Since it mounts successfully in Windows, I don't think it's a problem with the phone, sd card, or computer. I'm not a computer engineer, but I think that means there's a problem in mint's drivers, where it just won't work with some component of my computer. I'm on the lookout for another OS to test with, built on a completely different codebase. That would mean the drivers are also different. If the phone were to mount on this other OS, it would lend some weight to my idea of a driver issue. Anyone know of any distributions like that?
Neophox is offline  
Reply With Quote
Old November 20th, 2011, 12:55 PM   #9 (permalink)
New Member
 
Join Date: Nov 2011
Posts: 7
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Another update. Using dmesg | grep sd, I got a long list of messages related to /dev/sdf.
Code:
[121645.464519] sd 13:0:0:0: Attached scsi generic sg6 type 0     
[121645.494370] sd 13:0:0:0: [sdf] Attached SCSI removable disk     
[121938.741259] sd 15:0:0:0: Attached scsi generic sg6 type 0     
[121938.770743] sd 15:0:0:0: [sdf] Attached SCSI removable disk    
[121988.014878] sd 15:0:0:0: [sdf] 15523840 512-byte logical blocks: (7.94 GB/7.40 GiB)     
[121988.020861] sd 15:0:0:0: [sdf] No Caching mode page present     
[121988.020866] sd 15:0:0:0: [sdf] Assuming drive cache: write through     
[121988.030857] sd 15:0:0:0: [sdf] No Caching mode page present     
[121988.030865] sd 15:0:0:0: [sdf] Assuming drive cache: write through     
[121988.034119]  sdf: sdf1     
[121988.977984] sd 15:0:0:0: [sdf] Unhandled sense code     
[121988.977991] sd 15:0:0:0: [sdf]  Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE     
[121988.977999] sd 15:0:0:0: [sdf]  Sense Key : Medium Error [current]     
[121988.978011] sd 15:0:0:0: [sdf]  Add. Sense: Unrecovered read error     
[121988.978019] sd 15:0:0:0: [sdf] CDB: Read(10): 28 00 00 00 28 00 00 00 08 00     
[121988.978038] end_request: I/O error, dev sdf, sector 10240     
[121988.978049] Buffer I/O error on device sdf1, logical block 256     
[121989.004913] Buffer I/O error on device sdf1, logical block 1024     
[121989.004924] Buffer I/O error on device sdf1, logical block 1025     
[121989.004929] Buffer I/O error on device sdf1, logical block 1026     
[121989.004934] Buffer I/O error on device sdf1, logical block 1027     
[121989.004939] Buffer I/O error on device sdf1, logical block 1028     
[121989.004944] Buffer I/O error on device sdf1, logical block 1029     
[121989.004949] Buffer I/O error on device sdf1, logical block 1030     
[121989.004954] Buffer I/O error on device sdf1, logical block 1031     
[121989.008846] sd 15:0:0:0: [sdf] Device not ready     
[121989.008850] sd 15:0:0:0: [sdf]  Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE     
[121989.008859] sd 15:0:0:0: [sdf]  Sense Key : Not Ready [current]     
[121989.008865] sd 15:0:0:0: [sdf]  Add. Sense: Medium not present     
[121989.008874] sd 15:0:0:0: [sdf] CDB: Read(10): 28 00 00 00 40 00 00 00 08 00     
[121989.008888] end_request: I/O error, dev sdf, sector 16384
I pruned a lot of it out. The block from "Device not ready" to "end_request" repeats, with different sectors. How can I interpret this? Going by what I assume are the thrown exceptions, it looks like the phone is trying to send some kind of data to the computer, and the HTC driver isn't handling it. Any thoughts?

Edit: Some further research says that DRIVER_SENSE isn't an HTC Sense driver, but just something declared in the kernel. I'm still pretty sure /dev/sdf is my phone, as it's the only 8 GB drive I have.
Neophox is offline  
Last edited by Neophox; November 20th, 2011 at 01:32 PM.
Reply With Quote
Old November 21st, 2011, 08:49 PM   #10 (permalink)
New Member
 
Join Date: Nov 2011
Posts: 7
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I'm marking this as solved. Looks like the sd card hadn't been formatted properly, and mint wasn't able to mount it. Reformatting seemed to have worked.

Edit: I'm not seeing an option to change the thread title. Can a mod throw [solved] in the front of it?
Neophox is offline  
Reply With Quote
Sponsors
Old November 21st, 2011, 10:36 PM   #11 (permalink)
Frank Burns Eats Worms!
 
9to5cynic's Avatar
 
Join Date: Feb 2011
Location: Evo Root Forum, Lounge, Forum Games.
Posts: 3,280
 
Device(s): Evo 4G - CleanRom 2.0 (April '12)
Thanks: 1,761
Thanked 1,122 Times in 785 Posts
Send a message via AIM to 9to5cynic
Default

Cool cool, glad this was solved for you. Formatting... Weird that windows could read it but not linux.
9to5cynic is online now  
Reply With Quote
Reply

Bookmarks


Go Back   Android Forums > Android Community > The Lounge > Computers & IT User CP
Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -5. The time now is 03:36 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Custom vBulletin Skins by: Relivo