Fedora Linux Support Community & Resources Center
  #1  
Old 6th July 2007, 10:35 PM
yalgayon Offline
Registered User
 
Join Date: Jul 2007
Posts: 4
Unable to mount USB Flash drive

I try to mount an USB flash drive.
Wenn I insert the drive a /dev/sdc device is created, but no /dev/sdc1
I can't mount or use fdisk on /dev/sdc
The device seems to be recognized, but not completely
I read the post on mounting usb drives with FC6, but didnt find the solution
Does anyone have an idea? thanks

var/log/messages :

Jul 6 23:25:59 localhost kernel: usb 3-2.1.4: new full speed USB device using ohci_hcd and address 30
Jul 6 23:25:59 localhost kernel: usb 3-2.1.4: configuration #1 chosen from 1 choice
Jul 6 23:25:59 localhost kernel: hub 3-2.1.4:1.0: USB hub found
Jul 6 23:25:59 localhost kernel: hub 3-2.1.4:1.0: 1 port detected
Jul 6 23:26:00 localhost kernel: usb 3-2.1.4.1: new full speed USB device using ohci_hcd and address 31
Jul 6 23:26:00 localhost kernel: usb 3-2.1.4.1: configuration #1 chosen from 1 choice
Jul 6 23:26:00 localhost kernel: scsi14 : SCSI emulation for USB Mass Storage devices
Jul 6 23:26:05 localhost kernel: scsi scan: INQUIRY result too short (5), using 36
Jul 6 23:26:05 localhost kernel: scsi 14:0:0:0: Direct-Access USB 2.0 Flash Drive 1.00 PQ: 0 ANSI: 0
Jul 6 23:26:05 localhost kernel: sd 14:0:0:0: Attached scsi disk sdc
Jul 6 23:26:05 localhost kernel: sd 14:0:0:0: Attached scsi generic sg4 type 0


/proc/scsi/usb_storage/14

Host scsi14: usb-storage
Vendor: TSE Inc.
Product: USB Mass Storage Device
Serial Number: None
Protocol: Transparent SCSI
Transport: Bulk
Quirks:
Reply With Quote
  #2  
Old 6th July 2007, 10:54 PM
Brian1's Avatar
Brian1 Offline
Registered User
 
Join Date: Nov 2004
Location: Seymour, Indiana
Posts: 2,511
What error do you get when you use the command ' /sbin/fdisk /dev/sdc '
Is the current partition fat type or ntfs?

Brian
__________________
Distribution: RHEL 5.1 with Pieces of this and that.
Kernel 2.6.23.9, KDE 3.5.8 and KDE 4.0 beta, Plus Development src.rpm, ATI fglrx64_7_1_0-8.433-1 rpm with 3D and DRI working.
Acer 5100-5840 with webcam, ati, sdcard reader, sound, atheros based wireless, all working. Only thing not working is the memory stick reader.
Reply With Quote
  #3  
Old 6th July 2007, 10:58 PM
yalgayon Offline
Registered User
 
Join Date: Jul 2007
Posts: 4
I get the message :

Unable to read /dev/sdc

I think the filesystem on the key is fat
Reply With Quote
  #4  
Old 8th July 2007, 08:39 PM
yalgayon Offline
Registered User
 
Join Date: Jul 2007
Posts: 4
After rebooting the computer, I plug the key again and the mesages in /var/log/messages are different
instead of using ohci_hcd, the kernel try to use ehci_hcd


Jul 8 21:30:01 localhost kernel: hub 5-3.1.4:1.0: 1 port detected
Jul 8 21:30:01 localhost kernel: usb 5-3.1.4.1: new high speed USB device using ehci_hcd and address 8


I remove the ehcd module with the command rmmod ehci_hcd
and my key appears on the desktop.

What is the difference between ehci_hcd and ohci_hcd?


In var/log/messages :

Jul 8 21:31:49 localhost kernel: ehci_hcd 0000:00:0b.2: remove, state 1
Jul 8 21:31:49 localhost kernel: usb usb5: USB disconnect, address 1
Jul 8 21:31:49 localhost kernel: usb 5-3: USB disconnect, address 2
Jul 8 21:31:49 localhost kernel: usb 5-3.1: USB disconnect, address 4
Jul 8 21:31:49 localhost kernel: usb 5-3.1.4: USB disconnect, address 7
Jul 8 21:31:49 localhost kernel: usb 5-3.1.4.1: USB disconnect, address 8
Jul 8 21:31:49 localhost kernel: usb 5-3.3: USB disconnect, address 5
Jul 8 21:31:49 localhost kernel: usb 5-3.4: USB disconnect, address 6
Jul 8 21:31:49 localhost kernel: ehci_hcd 0000:00:0b.2: dma_pool_destroy ehci_qtd, f7a8a000 busy
Jul 8 21:31:49 localhost kernel: ehci_hcd 0000:00:0b.2: dma_pool_destroy ehci_qh, f7a89000 busy
Jul 8 21:31:49 localhost kernel: ehci_hcd 0000:00:0b.2: USB bus 5 deregistered
Jul 8 21:31:49 localhost kernel: ACPI: PCI interrupt for device 0000:00:0b.2 disabled
Jul 8 21:31:49 localhost kernel: usb 3-2: new full speed USB device using ohci_hcd and address 2
Jul 8 21:31:49 localhost kernel: usb 3-2: configuration #1 chosen from 1 choice
Jul 8 21:31:49 localhost kernel: hub 3-2:1.0: USB hub found
Jul 8 21:31:49 localhost kernel: hub 3-2:1.0: 4 ports detected
Jul 8 21:31:49 localhost kernel: usb 3-2.1: new full speed USB device using ohci_hcd and address 3
Jul 8 21:31:50 localhost kernel: usb 3-2.1: configuration #1 chosen from 1 choice
Jul 8 21:31:50 localhost kernel: hub 3-2.1:1.0: USB hub found
Jul 8 21:31:50 localhost kernel: hub 3-2.1:1.0: 4 ports detected
Jul 8 21:31:50 localhost kernel: usb 3-2.3: new low speed USB device using ohci_hcd and address 4
Jul 8 21:31:50 localhost kernel: usb 3-2.3: configuration #1 chosen from 1 choice
Jul 8 21:31:50 localhost kernel: input: USB Optical Mouse USB Optical Mouse as /class/input/input9
Jul 8 21:31:50 localhost kernel: input: USB HID v1.10 Mouse [USB Optical Mouse USB Optical Mouse] on usb-0000:00:0b.0-2.3
Jul 8 21:31:50 localhost kernel: usb 3-2.4: new low speed USB device using ohci_hcd and address 5
Jul 8 21:31:50 localhost kernel: usb 3-2.4: configuration #1 chosen from 1 choice
Jul 8 21:31:50 localhost kernel: input: SAITEK P220 as /class/input/input10
Jul 8 21:31:50 localhost kernel: input: USB HID v1.00 Joystick [SAITEK P220] on usb-0000:00:0b.0-2.4
Jul 8 21:31:50 localhost kernel: usb 3-2.1.4: new full speed USB device using ohci_hcd and address 6
Jul 8 21:31:51 localhost kernel: usb 3-2.1.4: configuration #1 chosen from 1 choice
Jul 8 21:31:51 localhost kernel: hub 3-2.1.4:1.0: USB hub found
Jul 8 21:31:51 localhost kernel: hub 3-2.1.4:1.0: 1 port detected
Jul 8 21:31:51 localhost kernel: usb 3-2.1.4.1: new full speed USB device using ohci_hcd and address 7
Jul 8 21:31:51 localhost kernel: usb 3-2.1.4.1: configuration #1 chosen from 1 choice
Jul 8 21:31:51 localhost kernel: scsi3 : SCSI emulation for USB Mass Storage devices
Jul 8 21:31:56 localhost kernel: scsi scan: INQUIRY result too short (5), using 36
Jul 8 21:31:56 localhost kernel: scsi 3:0:0:0: Direct-Access USB 2.0 Flash Drive 1.00 PQ: 0 ANSI: 0
Jul 8 21:31:56 localhost kernel: SCSI device sdc: 512000 512-byte hdwr sectors (262 MB)
Jul 8 21:31:56 localhost kernel: sdc: Write Protect is off
Jul 8 21:31:56 localhost kernel: sdc: assuming drive cache: write through
Jul 8 21:31:56 localhost kernel: SCSI device sdc: 512000 512-byte hdwr sectors (262 MB)
Jul 8 21:31:56 localhost kernel: sdc: Write Protect is off
Jul 8 21:31:56 localhost kernel: sdc: assuming drive cache: write through
Jul 8 21:31:56 localhost kernel: sdc: sdc1
Jul 8 21:31:56 localhost kernel: sd 3:0:0:0: Attached scsi disk sdc
Jul 8 21:31:56 localhost kernel: sd 3:0:0:0: Attached scsi generic sg4 type 0
Jul 8 21:31:58 localhost hald: mounted /dev/sdc1 on behalf of uid 500
__________________
Yann

----------------------------------
Distribution : Fedora Core 7
Kernel : 2.6.21-1.3228.fc7
Reply With Quote
  #5  
Old 8th July 2007, 09:04 PM
yalgayon Offline
Registered User
 
Join Date: Jul 2007
Posts: 4
I have found a way to always mount my key.

If the ehci_hcd module is loaded, I plug my key and she doesn't mount.
I remove the module with 'rmmod ehci_hcd' and my key is automounting.

After that, if I unplug en plug my key again, she doesn't mount.
I load the module with 'modprobe ehci_hcd' and my key is automounting again.

It's a weird behaviour. Is it a bug of the kernel?
Does someone has a solution to have a more classical behaviour?
I can each time unload or load the ehci_hcd module, but it's a little boring!

thanks
__________________
Yann

----------------------------------
Distribution : Fedora Core 7
Kernel : 2.6.21-1.3228.fc7
Reply With Quote
Reply

Tags
drive, flash, mount, unable, usb

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to mount SDHC Flash Memory Cards... troyw3412 Hardware & Laptops 0 6th September 2009 08:12 PM
fc-9-live-usb: unable to write to my usb flash drive. schneidz Using Fedora 1 10th October 2008 11:51 PM
Unable to mount drive Ombladon Using Fedora 3 30th April 2008 01:43 PM
mount/unmount usb flash drive winston154 Alpha - Beta (Fedora 9 Only) 8 18th April 2008 04:31 PM
unable to mount dvd drive O_o Knudson Using Fedora 2 1st May 2005 07:38 PM


Current GMT-time: 10:47 (Friday, 24-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat