Results 1 to 9 of 9

Thread: Can't mount removable devices

  1. #1

    Default Can't mount removable devices

    Yesterday something happened. I was configuring a HUION tablet, as described here and when i finally was working I realized I could not mount any removable device: usb or CD.. the error is the same, with a 14.9 GB pendrive, trying to mount it with dolphin:

    Code:
     An error occurred while accessing '14,9 GiB Removable Media', the system responded: An unspecified error has occurred: Adding read ACL for uid 1001 to `/run/media/fernando' failed: Invalid argument
    The device is detected fine

    Code:
    2016-10-28T08:26:52.092805+02:00 andromeda kernel: [  912.104296] scsi 7:0:0:0: Direct-Access     SanDisk  Extreme          0001 PQ: 0 ANSI: 6
    2016-10-28T08:26:52.094521+02:00 andromeda kernel: [  912.106037] sd 7:0:0:0: Attached scsi generic sg3 type 0
    2016-10-28T08:26:52.098427+02:00 andromeda kernel: [  912.109989] sd 7:0:0:0: [sdc] 31277232 512-byte logical blocks: (16.0 GB/14.9 GiB)
    2016-10-28T08:26:52.100467+02:00 andromeda kernel: [  912.112261] sd 7:0:0:0: [sdc] Write Protect is off
    2016-10-28T08:26:52.100486+02:00 andromeda kernel: [  912.112268] sd 7:0:0:0: [sdc] Mode Sense: 53 00 00 08
    2016-10-28T08:26:52.101409+02:00 andromeda kernel: [  912.113384] sd 7:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
    2016-10-28T08:26:52.108448+02:00 andromeda kernel: [  912.119561]  sdc: sdc1
    2016-10-28T08:26:52.112450+02:00 andromeda kernel: [  912.123613] sd 7:0:0:0: [sdc] Attached SCSI removable disk
    2016-10-28T08:28:40.345303+02:00 andromeda su: (to root) fernando on pts/1


    I think when rebooting the system while while configuring the tablet it was an automatic kernel update. The directory /run/media is empty and it seems the kernel dos not create /run/media/fernando when I insert the usb

    creating manually the directory seems to solve the problem for my personal user, but I guess it should be done automatically by the system.
    Code:
    andromeda:/home/fernando # mkdir /run/media/fernando
    andromeda:/home/fernando # ls /run/media -l
    total 0
    drwxr-xr-x 3 root root 60 Oct 28 08:35 fernando
    andromeda:/home/fernando #

    May be some rights problem?

    regards

  2. #2
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    2,410

    Default Re: Can't mount removable devices

    Did you install the 13.2 Kernel update which was published earlier this week?
    • "openSUSE-2016-256 - Security update for the Linux Kernel" from So 23 Oct 2016 22:03:42 CEST.

    Please show us which kernel version you are using:
    Code:
     > uname -a
    Linux eck001 3.16.7-45-desktop #1 SMP PREEMPT Fri Oct 21 12:20:02 UTC 2016 (f3e3fc4) x86_64 x86_64 x86_64 GNU/Linux
     >
    If you installed the openSUSE-2016-256 patch then, it is possible that this Bug Report is relevant: <https://bugzilla.opensuse.org/show_bug.cgi?id=1007035>.

  3. #3

    Default Re: Can't mount removable devices

    Quote Originally Posted by dcurtisfra View Post
    Did you install the 13.2 Kernel update which was published earlier this week?
    • "openSUSE-2016-256 - Security update for the Linux Kernel" from So 23 Oct 2016 22:03:42 CEST.

    Please show us which kernel version you are using:
    Code:
    fernando@andromeda:~> uname -a
    Linux andromeda 3.16.7-45-desktop #1 SMP PREEMPT Fri Oct 21 12:20:02 UTC 2016 (f3e3fc4) x86_64 x86_64 x86_64 GNU/Linux
    fernando@andromeda:~>
    If you installed the openSUSE-2016-256 patch then, it is possible that this Bug Report is relevant: <https://bugzilla.opensuse.org/show_bug.cgi?id=1007035>.
    I have the system up to date. It's the same kernel described in bugzilla, so I guess this is the cause. As I have done a temporary solution creating /run/media/fernando, I will wait for the fix in the next patch.


    thanks

  4. #4
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    15,582

    Default Re: Can't mount removable devices

    Use the previous kernel via the advanced option in grub boot menu

    I believe a fixed kernel is available now so force an update in yast

  5. #5
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,586
    Blog Entries
    14

    Default Re: Can't mount removable devices

    Quote Originally Posted by fperal View Post
    Code:
    andromeda:/home/fernando # mkdir /run/media/fernando
    andromeda:/home/fernando # ls /run/media -l
    total 0
    drwxr-xr-x 3 root root 60 Oct 28 08:35 fernando
    andromeda:/home/fernando #

    May be some rights problem?

    regards
    would mean that user fernando has no rights to write in that folder .....
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  6. #6

    Default Re: Can't mount removable devices

    Quote Originally Posted by Knurpht View Post
    would mean that user fernando has no rights to write in that folder .....
    Well indeed he has not, but booting with a previous kernel

    Code:
    fernando@andromeda:~> uname -a
    Linux andromeda 3.16.7-42-desktop #1 SMP PREEMPT Tue Jun 28 12:20:57 UTC 2016 (35ab731) x86_64 x86_64 x86_64 GNU/Linux
    fernando@andromeda:~>

    /run/media not even exists
    Code:
    andromeda:/home/fernando # ls /run/media            
    ls: cannot access /run/media: No such file or directory
    andromeda:/home/fernando #

    But when I plug in a usb stick, it mounts ok with dolphin and then
    Code:
    andromeda:/home/fernando # ls /run/media -l
    total 0
    drwxr-x---+ 3 root root 60 Oct 29 00:41 fernando
    andromeda:/home/fernando #

    And user fernando does not have rights to write in /run/media, but the system has created /run/media/fernando
    Code:
    andromeda:/home/fernando # ls /run -l      
    total 48
    .............................................
    drwxr-xr-x  3 root       root     60 Oct 29 00:41 media
    .........................

    So definitely is a bug.

    I have done a zypper up but I am up to date and the bus is still not fixed
    so booting with the old kernel or creating manually /var/run/fernando will fix the problem temporarily

    regards

  7. #7

    Default AW: Re: Can't mount removable devices

    Quote Originally Posted by fperal View Post
    Well indeed he has not, but booting with a previous kernel

    Code:
    fernando@andromeda:~> uname -a
    Linux andromeda 3.16.7-42-desktop #1 SMP PREEMPT Tue Jun 28 12:20:57 UTC 2016 (35ab731) x86_64 x86_64 x86_64 GNU/Linux
    fernando@andromeda:~>

    /run/media not even exists
    It's created on-demand.
    But when I plug in a usb stick, it mounts ok with dolphin and then

    Code:
    andromeda:/home/fernando # ls /run/media -l
    total 0
    drwxr-x---+ 3 root root 60 Oct 29 00:41 fernando
    andromeda:/home/fernando #
    Notice the '+'?
    This means that there are additional ACLs ("access control lists") applied that contain finer grained permissions on a user/group basis, and in this case give your user (and only that user) write access.
    Run "getfacl /run/media/fernando" to see them.


    So definitely is a bug.
    Yes, the bug is that ACL support in the kernel is broken.

    The fix should be in the update repo any minute now though.
    Last edited by wolfi323; 28-Oct-2016 at 16:11.

  8. #8

    Default Re: Can't mount removable devices

    Quote Originally Posted by wolfi323 View Post
    The fix should be in the update repo any minute now though.
    Meanwhile it is.
    So update and the problems should be gone.

  9. #9

    Default Re: Can't mount removable devices

    Kernel updated, problem solved

    Code:
    fernando@andromeda:~> uname -a
    Linux andromeda 3.16.7-48-desktop #1 SMP PREEMPT Wed Oct 26 18:09:22 UTC 2016 (8c027f6) x86_64 x86_64 x86_64 GNU/Linux

Posting Permissions

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