LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 05-15-2011, 09:48 AM   #1
boris152
LQ Newbie
 
Registered: May 2011
Posts: 4

Rep: Reputation: 0
External drive seen in Mint but not Fedora 14


I have a computer with an Asus M2N68-AM plus mother board running Fedora 14 that will not show external usb flash drives or hard drives when I plug them in. I used to run Linux Mint 9 on this computer and switched to Fedora because of easier LVM support out of the box. Mint would mount these devices just fine.

To simplify the issue and rule out anything I did since the installation, I tested this on both the Mint 9 live DVD and Fedora 14 live cd (both 32-bit versions, if that makes a difference) with the same results.

Just to be clear, I'm still somewhat new to Linux. I'm reasonably sure it's an issue with seeing the devices in the first place and not just an auto-mounting problem, but any suggestions will be greatly appreciated.
 
Old 05-15-2011, 10:09 AM   #2
reed9
Member
 
Registered: Jan 2009
Location: Boston, MA
Distribution: Arch Linux
Posts: 653

Rep: Reputation: 141Reputation: 141
In Fedora, look at the output of (as root)
Code:
fdisk -l
This will list your drives will show you if the system is seeing the drive.

It'll be something like
Code:
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders, total 312581808 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: 0x64a71fe8

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1       80324       40162   83  Linux
/dev/sda2           80325     5205059     2562367+  82  Linux swap / Solaris
/dev/sda3         5205060    23647679     9221310   83  Linux
/dev/sda4        23647680   312576704   144464512+  83  Linux

Disk /dev/sdc: 3926 MB, 3926949888 bytes
16 heads, 16 sectors/track, 29960 cylinders, total 7669824 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: 0xc3072e18

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1   *        8064     7669823     3830880    b  W95 FAT32
In this case, I can see my USB stick as /dev/sdc.

If there were a USB drive plugged in, there would be another, most likely /dev/sdb listed.

You can also look at the output of dmesg. Start watching dmesg and then plug in the drive.
Code:
watch "dmesg | tail -20"
Normally you would see something like
Code:
[58218.551530] sd 6:0:0:0: Attached scsi generic sg3 type 0
[58218.966671] sd 6:0:0:0: [sdc] 7669824 512-byte logical blocks: (3.92 GB/3.65 GiB)
[58218.967413] sd 6:0:0:0: [sdc] Write Protect is off
[58218.967422] sd 6:0:0:0: [sdc] Mode Sense: 23 00 00 00
[58218.968536] sd 6:0:0:0: [sdc] No Caching mode page present
[58218.968541] sd 6:0:0:0: [sdc] Assuming drive cache: write through
[58218.971911] sd 6:0:0:0: [sdc] No Caching mode page present
[58218.971917] sd 6:0:0:0: [sdc] Assuming drive cache: write through
[58218.985821]  sdc: sdc1
[58218.988906] sd 6:0:0:0: [sdc] No Caching mode page present
[58218.988913] sd 6:0:0:0: [sdc] Assuming drive cache: write through
[58218.988920] sd 6:0:0:0: [sdc] Attached SCSI removable disk
 
Old 05-15-2011, 11:39 AM   #3
boris152
LQ Newbie
 
Registered: May 2011
Posts: 4

Original Poster
Rep: Reputation: 0
Aright, I ran "fdisk -l" and saw only my internal drives and my lvm volume group.

Code:
Disk /dev/sda: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 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: 0x000c3470

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048    20482047    10240000   83  Linux
/dev/sda2        20482048    23437311     1477632   82  Linux swap / Solaris
/dev/sda3        23438835  3907024064  1941792615   83  Linux

Disk /dev/sdb: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 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: 0x0005cd8b

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1              63  3907024064  1953512001   83  Linux

Disk /dev/dm-0: 3988.8 GB, 3988787298304 bytes
255 heads, 63 sectors/track, 484942 cylinders, total 7790600192 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: 0x00000000
When re-entered the command as "fdisk -l > disk.txt" to have something I could keep (and post), the usb flash drive I was testing spontaneously mounted as sdc.

Using the your second suggestion of watch "dmesg | tail -20", I tried this a few more times. The attached thumbnail is an example of what was scrolling by during the long delay until it mounted.

My usb 3.0 external hard drive will not mount at all, either using my usb 3.0 card, or the same usb 2.0 port I used the flash drive in:

Code:
[ 2342.997023] usb 1-5: device descriptor read/64, error -71
[ 2343.200023] usb 1-5: new high speed USB device using ehci_hcd and address 116
[ 2343.314027] usb 1-5: device descriptor read/64, error -71
[ 2343.529016] usb 1-5: device descriptor read/64, error -71
[ 2343.732022] usb 1-5: new high speed USB device using ehci_hcd and address 117
[ 2344.141016] usb 1-5: device not accepting address 117, error -71
[ 2344.243023] usb 1-5: new high speed USB device using ehci_hcd and address 118
[ 2344.652014] usb 1-5: device not accepting address 118, error -71
[ 2344.652032] hub 1-0:1.0: unable to enumerate USB device on port 5
[ 2345.032021] usb 2-5: new full speed USB device using ohci_hcd and address 12
[ 2345.198028] usb 2-5: device descriptor read/64, error -62
[ 2345.464021] usb 2-5: device descriptor read/64, error -62
[ 2345.722021] usb 2-5: new full speed USB device using ohci_hcd and address 13
[ 2345.887019] usb 2-5: device descriptor read/64, error -62
[ 2346.155019] usb 2-5: device descriptor read/64, error -62
[ 2346.413019] usb 2-5: new full speed USB device using ohci_hcd and address 14
[ 2346.817011] usb 2-5: device not accepting address 14, error -62
[ 2346.974027] usb 2-5: new full speed USB device using ohci_hcd and address 15
[ 2347.378021] usb 2-5: device not accepting address 15, error -62
[ 2347.378036] hub 2-0:1.0: unable to enumerate USB device on port 5
Attached Images
File Type: png Screenshot.png (20.5 KB, 2 views)
 
Old 05-15-2011, 11:41 AM   #4
reed9
Member
 
Registered: Jan 2009
Location: Boston, MA
Distribution: Arch Linux
Posts: 653

Rep: Reputation: 141Reputation: 141
Looks like USB 3.0 is disabled in Fedora 14 by default.
 
Old 05-15-2011, 07:49 PM   #5
boris152
LQ Newbie
 
Registered: May 2011
Posts: 4

Original Poster
Rep: Reputation: 0
I think the USB 3.0 thing is something of red herring. It would explain why nothing would happen on the 3.0 ports, but I'm talking about the regular 2.0 ports here. I do appreciate the help, though.
 
Old 05-15-2011, 08:00 PM   #6
boris152
LQ Newbie
 
Registered: May 2011
Posts: 4

Original Poster
Rep: Reputation: 0
Alright, I got it working. I googled the error codes from dmesg and came across this: http://www.gossamer-threads.com/list...oo/user/190517

When I plugged my drive (incidentally USB powered) into the rear USB 2.0 ports directly on the motherboard, it worked immediately. It seems there is a power draw issue with the ports at the front of the case. Your info about the USB 3.0 ports being disabled in Fedora explains why it wouldn't work there, so I was dealing with two different issues.

Thanks for your help, and thanks for teaching me a few more tricks in the terminal. I might make a decent Linux user yet!
 
  


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
External USB Drive Problem in Fedora 14 nishith Linux - Hardware 2 03-31-2011 04:58 PM
copying Fedora Core 10 to an external drive linuxhippy Fedora 2 06-21-2009 08:52 AM
Help. USB external drive problems with fedora amjadcsu Linux - Hardware 5 05-05-2006 10:31 AM
Fedora 3 on External hard drive mahendra Fedora 0 11-12-2004 08:18 AM
fedora core 2 on external Hard drive PhenuxRizing Fedora 1 06-07-2004 11:38 AM


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