Page 1 of 2 12 LastLast
Results 1 to 10 of 19

Thread: USB Devices Do Not Mount

  1. #1

    Default USB Devices Do Not Mount

    I've got openSUSE 11.0 with KDE 4, and I'm having a problem getting my USB devices (external hard drive and camera) to mount once the system is on. If I connect them before startup, all is good; I just have to click on their icons to mount them in the "computer" menu in the app launcher. If I connect them while the computer is running normally, I get nothing. I did notice that if I go to the YAST control center and look at Hardware Information, the devices show up there; I just can't get them to automatically mount and have not a clue how to manually do it. What do I need to do to fix this?

    EDIT: I should note that I have no problems with my external firewire hard drive, it works fine whether I turn it on before or not.

    Thanks,
    Dan

  2. #2

    Default Re: USB Devices Do Not Mount

    Also, here's fdisk. /dev/sdb is the firewire drive.
    Code:
    linux-8amt:/home/dan # fdisk -l
    
    Disk /dev/sda: 250.0 GB, 250059350016 bytes
    255 heads, 63 sectors/track, 30401 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x0000c935
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1               1         262     2104483+  82  Linux swap / Solaris
    /dev/sda2   *         263        2873    20972857+  83  Linux
    /dev/sda3            2874       30401   221118660   83  Linux
    
    Disk /dev/sdb: 200.0 GB, 200049647616 bytes
    255 heads, 63 sectors/track, 24321 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x00000000
    
       Device Boot      Start         End      Blocks   Id  System
    -Dan

  3. #3
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    23,704
    Blog Entries
    1

    Default Re: USB Devices Do Not Mount

    Hi dbsoundman

    I've never had this problem, but am aware of many users describing this 'automounting' issue, even with openSUSE 10.3.

    I know there can be many causes of this problem, so just to get started can you please do the following:

    1) Can you please output of

    cat /etc/fstab
    (to make sure no unintended external device entry)

    cat /etc/resmgr.conf
    (to make sure usb access is enabled)

    2) Make sure that KDE Service Manager settings include 'Media Notifier Daemon'.

    3) lsmod |grep usb (to see what usb modules are loaded).

    4) As root, issue 'udevadm monitor' command, then plug in a usb memory stick, and note (if any) output.

  4. #4

    Default Re: USB Devices Do Not Mount

    Here's something strange...I turned on my USB hard drive today before I turned on the PC, and when I turned it on, the drive was there, but I tried to mount it and nothing happened. I ran those commands, and when I ran the last one as root (udevadm monitor), and plugged in my digital camera, it showed up normally. I unmounted the camera and shut down the terminal, then tried the camera and the hard drive again, and they automounted just fine. Maybe something was wrong with my last session? Or did that command turn something on that is staying on now?

    Here's the outputs of those commands. All were done before the USB devices were connected. The last one shows when the device was connected as well.

    Code:
    dan@linux-8amt:~> cat /etc/fstab
    /dev/disk/by-id/scsi-SATA_ST3250410AS_6RY5JKA7-part1 swap                 swap       defaults              0 0
    /dev/disk/by-id/scsi-SATA_ST3250410AS_6RY5JKA7-part2 /                    ext3       acl,user_xattr        1 1
    /dev/disk/by-id/scsi-SATA_ST3250410AS_6RY5JKA7-part3 /home                ext3       acl,user_xattr        1 2
    proc                 /proc                proc       defaults              00
    sysfs                /sys                 sysfs      noauto                00
    debugfs              /sys/kernel/debug    debugfs    noauto                00
    devpts               /dev/pts             devpts     mode=0620,gid=5       00
    dan@linux-8amt:~> cat /etc/resmgr.conf
    # This is the default set of devices people logged in on the desktop get
    # access to:
    class desktop
    
    # remote X logins
    class remote-x-desktop
    
    # dvb devices
    class dvb
    
    # v4l devices
    class v4l
    
    # sound devices (alsa+oss)
    class sound
    
    # other video stuff
    class video
    
    # input devices like mice, joystick
    class input
    
    # CD-ROM, DVD-ROM, Burners etc.
    class cdrom
    
    # all kinds of removeable media
    class floppy
    
    # generic libusb access
    class usb
    
    # cameras
    class camera
    
    # devices that can cost you money
    class modem
    
    # scanners
    class scanner
    
    # PDAs
    class pda
    
    # portable audio players
    class audioplayer
    
    class desktop includes dvb
    class desktop includes v4l
    class desktop includes sound
    class desktop includes video
    class desktop includes input
    class desktop includes cdrom
    class desktop includes floppy
    class desktop includes usb
    class desktop includes camera
    class desktop includes scanner
    class desktop includes pda
    class desktop includes audioplayer
    dan@linux-8amt:~> lsmod | grep usb
    usb_storage           112800  0
    usbcore               188248  4 usb_storage,ehci_hcd,ohci_hcd
    scsi_mod              195032  6 usb_storage,sbp2,sr_mod,sg,sd_mod,libata
    dan@linux-8amt:~> sudo udevadm monitor
    root's password:
    sudo: udevadm: command not found
    dan@linux-8amt:~> su
    Password:
    linux-8amt:/home/dan # udevadm monitor
    udevmonitor will print the received events for:
    UDEV the event which udev sends out after rule processing
    UEVENT the kernel uevent
    
    UEVENT[1215631584.615846] add      /devices/pci0000:00/0000:00:13.1/usb4/4-1(usb)
    UEVENT[1215631584.620299] add      /devices/pci0000:00/0000:00:13.1/usb4/4-1/usb_endpoint/usbdev4.2_ep00 (usb_endpoint)
    UEVENT[1215631584.624794] add      /devices/pci0000:00/0000:00:13.1/usb4/4-1/4-1:1.0 (usb)
    UDEV  [1215631584.639584] add      /devices/pci0000:00/0000:00:13.1/usb4/4-1(usb)
    UDEV  [1215631584.645522] add      /devices/pci0000:00/0000:00:13.1/usb4/4-1/usb_endpoint/usbdev4.2_ep00 (usb_endpoint)
    UDEV  [1215631584.680118] add      /devices/pci0000:00/0000:00:13.1/usb4/4-1/4-1:1.0 (usb)
    UEVENT[1215631584.709576] add      /class/scsi_host/host9 (scsi_host)
    UDEV  [1215631584.715126] add      /class/scsi_host/host9 (scsi_host)
    UEVENT[1215631584.716065] add      /devices/pci0000:00/0000:00:13.1/usb4/4-1/4-1:1.0/usb_endpoint/usbdev4.2_ep81 (usb_endpoint)
    UEVENT[1215631584.716180] add      /devices/pci0000:00/0000:00:13.1/usb4/4-1/4-1:1.0/usb_endpoint/usbdev4.2_ep01 (usb_endpoint)
    UEVENT[1215631584.716272] add      /devices/pci0000:00/0000:00:13.1/usb4/4-1/4-1:1.0/usb_endpoint/usbdev4.2_ep82 (usb_endpoint)
    UDEV  [1215631584.722418] add      /devices/pci0000:00/0000:00:13.1/usb4/4-1/4-1:1.0/usb_endpoint/usbdev4.2_ep81 (usb_endpoint)
    UDEV  [1215631584.740451] add      /devices/pci0000:00/0000:00:13.1/usb4/4-1/4-1:1.0/usb_endpoint/usbdev4.2_ep82 (usb_endpoint)
    UDEV  [1215631584.745783] add      /devices/pci0000:00/0000:00:13.1/usb4/4-1/4-1:1.0/usb_endpoint/usbdev4.2_ep01 (usb_endpoint)
    UEVENT[1215631585.734334] add      /devices/pci0000:00/0000:00:13.1/usb4/4-1/4-1:1.0/host9/target9:0:0/9:0:0:0 (scsi)
    UEVENT[1215631585.735803] add      /class/scsi_disk/9:0:0:0 (scsi_disk)
    UDEV  [1215631585.744930] add      /devices/pci0000:00/0000:00:13.1/usb4/4-1/4-1:1.0/host9/target9:0:0/9:0:0:0 (scsi)
    UDEV  [1215631585.751522] add      /class/scsi_disk/9:0:0:0 (scsi_disk)
    UEVENT[1215631585.763989] change   /devices/pci0000:00/0000:00:13.1/usb4/4-1/4-1:1.0/host9/target9:0:0/9:0:0:0 (scsi)
    UDEV  [1215631585.764365] change   /devices/pci0000:00/0000:00:13.1/usb4/4-1/4-1:1.0/host9/target9:0:0/9:0:0:0 (scsi)
    UEVENT[1215631585.804263] add      /devices/pci0000:00/0000:00:13.1/usb4/4-1/4-1:1.0/host9/target9:0:0/9:0:0:0/block/sdc (block)
    UEVENT[1215631585.804296] add      /devices/pci0000:00/0000:00:13.1/usb4/4-1/4-1:1.0/host9/target9:0:0/9:0:0:0/block/sdc/sdc1 (block)
    UEVENT[1215631585.804304] add      /class/scsi_device/9:0:0:0 (scsi_device)
    UEVENT[1215631585.804315] add      /class/scsi_generic/sg3 (scsi_generic)
    UEVENT[1215631585.804323] add      /class/bsg/9:0:0:0 (bsg)
    UDEV  [1215631585.858573] add      /devices/pci0000:00/0000:00:13.1/usb4/4-1/4-1:1.0/host9/target9:0:0/9:0:0:0/block/sdc (block)
    UDEV  [1215631586.129664] add      /devices/pci0000:00/0000:00:13.1/usb4/4-1/4-1:1.0/host9/target9:0:0/9:0:0:0/block/sdc/sdc1 (block)
    UDEV  [1215631586.132049] add      /class/scsi_device/9:0:0:0 (scsi_device)
    UDEV  [1215631586.132701] add      /class/scsi_generic/sg3 (scsi_generic)
    UDEV  [1215631586.133703] add      /class/bsg/9:0:0:0 (bsg)
    -Dan

  5. #5
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    23,704
    Blog Entries
    1

    Default Re: USB Devices Do Not Mount

    Thanks for update. Keep us posted if you have problems again.

  6. #6
    Join Date
    Sep 2008
    Location
    Essen, Germany
    Posts
    26

    Default Re: USB Devices Do Not Mount

    Hello All,
    I am a little lost. Last month my laptop was fried by an electrical problem in our flat. I could not afford a new one and someone gave me an old desktop without a OS. I decided having been Windoz based all my life to try Linux. I got a magazine that had the disk and all the instructions in it.
    All is ok except that I can not write to my external USB harddrive. First of all I did not know I had to "mount" it. So I plugged it in and I beleive the first time it automounted. Then I unplugged it to use it with another computer and when I plugged it back in I can only read the file. I can not save new files. When I try to save it either says KDE media manager is not on OR it crashes. I don't know enough about Linux to know how to troubleshoot it. Can anyone help a blonde thats new at Linux?

  7. #7
    Join Date
    Mar 2008
    Location
    Phuket, Thailand
    Posts
    27,109
    Blog Entries
    40

    Default Re: USB Devices Do Not Mount

    Quote Originally Posted by smith_jc View Post
    I can not write to my external USB harddrive. First of all I did not know I had to "mount" it. So I plugged it in and I beleive the first time it automounted. Then I unplugged it to use it with another computer and when I plugged it back in I can only read the file. I can not save new files.
    It could be that you can not write to it because the external drive is formatted as NTFS. OpenSUSE does not handle this as well as it could, because (IMHO) openSUSE distribution is only recently obtaining confidence in an NTFS driver that has write capabilties.

    What you could do is apply a work around that is recommended here:
    NTFS - openSUSE

    Specifically, with your external drive NOT connected, open a gnome-terminal or konsole, and type:

    cd /sbin
    su -c 'ln -s mount.ntfs-3g mount.ntfs'
    and enter your root password when prompted for a password. Then plug in your external drive and see if you can write to it.

    Quote Originally Posted by smith_jc View Post
    When I try to save it either says KDE media manager is not on OR it crashes.
    This should not happen. But hopefully the above symbolic link fix will work for you.

    Since you are new to openSUSE linux, here is a link to a web page with some very basic concepts that I recommend you read: Concepts - openSUSE

    Welcome to our forum!

  8. #8
    Join Date
    Sep 2008
    Location
    Essen, Germany
    Posts
    26

    Default Re: USB Devices Do Not Mount

    Thanks for the Welcome and all the info. I am afraid I am alittle stumped by all this. I guess I am a plug and play gal. Its been a LONG time since Ihad to use commands..LOL I did find some work arounds on the pages you gave. I will try them. Thanks for your help!

  9. #9
    Join Date
    Mar 2008
    Location
    Phuket, Thailand
    Posts
    27,109
    Blog Entries
    40

    Default Re: USB Devices Do Not Mount

    Quote Originally Posted by smith_jc View Post
    Thanks for the Welcome and all the info. I am afraid I am alittle stumped by all this. I guess I am a plug and play gal. Its been a LONG time since Ihad to use commands..LOL I did find some work arounds on the pages you gave. I will try them. Thanks for your help!
    Its pretty simple. With your hard drive NOT connected (and if using KDE) press <alt><f2> and in the "run command" dialog box that pops up, type "konsole" (no quotes). That will start a terminal (sort of looks like a dos box).

    Then simply type:
    cd /sbin
    su -c 'ln -s mount.ntfs-3g mount.ntfs'

    and when prompted for a password, enter the root password. Then plug in your external hard drive.

  10. #10
    Join Date
    Sep 2008
    Location
    Essen, Germany
    Posts
    26

    Default Re: USB Devices Do Not Mount

    well I am still trying. I have done all the things suggested and still can not write to my harddrive.

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •