LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   usb mount and unmount (https://www.linuxquestions.org/questions/linux-newbie-8/usb-mount-and-unmount-688413/)

vishesh 12-04-2008 08:02 PM

usb mount and unmount
 
Dear all

I get a strange problem with usb storage on fedora 9. As in insert usb storage it automatically get mounted but when i browse its content it automatically get unmounted. This happen again and again.
What may be the reason ?, usb ports are responding perfectly in windows.

thanks

bapigoo9 12-04-2008 08:23 PM

What device is it.
# lsusb

What options is it getting automounted with? What are you using to view its content (what application)? What user privileges and FC9 settings do you have?

vishesh 12-04-2008 09:05 PM

lsusb output
 
lsusb output is as follows

[root@localhost ~]# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub


I think automounter is not installed on my system. option used to mount is not visible to me, issue 'mount' command doesn't show mounted usb. What i recognized now that usb get unmounted in few second even without browsing its content. mounting and unmounting happen in loop.


thanks

vishesh 12-04-2008 09:11 PM

/var/log/message output
 
inserting usb storage generate following messages in /var/log/message

Dec 5 08:38:32 localhost kernel: usb 1-1: new high speed USB device using ehci_hcd and address 5
Dec 5 08:38:32 localhost kernel: hub 1-0:1.0: unable to enumerate USB device on port 1
Dec 5 08:38:32 localhost kernel: hub 1-0:1.0: unable to enumerate USB device on port 1
Dec 5 08:38:33 localhost kernel: usb 1-1: new high speed USB device using ehci_hcd and address 7
Dec 5 08:38:33 localhost kernel: usb 1-1: device not accepting address 7, error -71


thanks

RMLinux 12-05-2008 12:12 AM

Quote:

Originally Posted by vishesh (Post 3365007)
inserting usb storage generate following messages in /var/log/message

Dec 5 08:38:32 localhost kernel: usb 1-1: new high speed USB device using ehci_hcd and address 5
Dec 5 08:38:32 localhost kernel: hub 1-0:1.0: unable to enumerate USB device on port 1
Dec 5 08:38:32 localhost kernel: hub 1-0:1.0: unable to enumerate USB device on port 1
Dec 5 08:38:33 localhost kernel: usb 1-1: new high speed USB device using ehci_hcd and address 7
Dec 5 08:38:33 localhost kernel: usb 1-1: device not accepting address 7, error -71


thanks

try to put the usb then restart your pc allow linux to detect during startup.

AUTOMATIC MOUNTING OF USB

1. goto /mnt
2. mkdir usb
3. you try to vi /etc/fstab
4. "mount /dev/sda1 /mnt/usb vfat,user,noauto 0 0"
5 after you edit press ESC :wq to save your new settings

try this if it is ok

hope it helps.

vishesh 12-05-2008 03:57 AM

/etc/fstab entry
 
I made entry in /etc/fstab, but that doesn't solve the problem. is there any issue of usb 1.1 and usb 2.0 ? .


All times are GMT -5. The time now is 12:03 AM.