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

Thread: SD card hasn't cut option

  1. #1

    Default SD card hasn't cut option

    On my son's pc with opensuse 13.1 and kde 4.11.5 when he insert an SD card (used in a camera and formatted FAT32) it is mounted in /var/run/media/username/SDcardname when rightclick on a file the cut option is greyed and doesnt works.
    The same SDcard inserted on my pc with opensuse 13.1 and kde 4.14.1 the cut option works.
    -the card isn't locked
    -the card is mounted in the same path
    -the SDcard has been formatted with windows and it happens again
    How can I get the SDcard mounted with the working cut option in my son's pc???

  2. #2
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    15,648

    Default Re: SD card hasn't cut option

    Maybe it is be mounted read only. Sounds like it. do a mount command and see what is what

  3. #3

    Default Re: SD card hasn't cut option

    Quote Originally Posted by gogalthorp View Post
    Maybe it is be mounted read only. Sounds like it. do a mount command and see what is what
    yes could be, but in the other pc it isn't, so I would like to know where this setting could be found in order to modify the behaviour of the pc that mount readonly like the pc that mount read and write.
    if I do a mount command (I don't know how to do it with sdcard... mount /dev/sda /mnt/media... which /dev is my sdcard?) I think sdcard can be mounted read and write but I don't solve the automatic mount... :-) :-)

  4. #4
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: SD card hasn't cut option

    On 2014-10-18 19:26, pier andreit wrote:
    >
    > gogalthorp;2670105 Wrote:
    >> Maybe it is be mounted read only. Sounds like it. do a mount command and
    >> see what is what

    > yes could be, but in the other pc it isn't,


    He is asking you to find out for sure. Just issue "mount" with no
    options in the problematic machine and find out.

    Solving will come later, when the problem and cause are found.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 13.1 x86_64 "Bottle" at Telcontar)

  5. #5
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,175
    Blog Entries
    1

    Default Re: SD card hasn't cut option

    Quote Originally Posted by pier_andreit View Post
    yes could be, but in the other pc it isn't, so I would like to know where this setting could be found in order to modify the behaviour of the pc that mount readonly like the pc that mount read and write.
    if I do a mount command (I don't know how to do it with sdcard... mount /dev/sda /mnt/media... which /dev is my sdcard?) I think sdcard can be mounted read and write but I don't solve the automatic mount... :-) :-)
    User gogalthorp meant for you to exectute
    Code:
    mount
    in both systems to compare any differences with the way KDE/udisks2 mounted the media.

    For example, I get the following with my camera SD card (openSUSE 13.1, KDE 4.14.1)
    Code:
    /dev/sdb1 on /run/media/dean/CANON_DC type vfat (rw,nosuid,nodev,relatime,uid=1000,gid=100,fmask=0022,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,flush,errors=remount-ro,uhelper=udisks2)
    /dev/sdb1 on /var/run/media/dean/CANON_DC type vfat (rw,nosuid,nodev,relatime,uid=1000,gid=100,fmask=0022,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,flush,errors=remount-ro)

  6. #6

    Default Re: SD card hasn't cut option

    Quote Originally Posted by deano_ferrari View Post
    User gogalthorp meant for you to exectute
    Code:
    mount
    in both systems to compare any differences with the way KDE/udisks2 mounted the media.

    For example, I get the following with my camera SD card (openSUSE 13.1, KDE 4.14.1)
    Code:
    /dev/sdb1 on /run/media/dean/CANON_DC type vfat (rw,nosuid,nodev,relatime,uid=1000,gid=100,fmask=0022,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,flush,errors=remount-ro,uhelper=udisks2)
    /dev/sdb1 on /var/run/media/dean/CANON_DC type vfat (rw,nosuid,nodev,relatime,uid=1000,gid=100,fmask=0022,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,flush,errors=remount-ro)
    ...many thanks and sorry my mistake.. I havent both machines in my hand now, as soon I'll have I'll post ....

  7. #7

    Default Re: SD card hasn't cut option

    hallo again, I made the following try:

    --I tried with two sd cards to be sure it do not depend on a specific sd card
    --the lock notches on both the sd cards are blocked with adhesive tape.
    --I tried on two machines, the working one (pla) an the not working one (eros)
    --sometimes the not working machine (eros) works....
    --working means that the cut option is present in the context menu
    --NOT working means that the cut option is greyed in the context menu

    this is the mount output on the working machine(pla):
    using KODAK sd card the cut option works
    Code:
    pla@suseST-pla:~> mount
    ...cut...
    fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
    gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=100)
    gvfsd-fuse on /var/run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=100)
    /dev/mmcblk0p1 on /run/media/pla/KODAK type vfat (rw,nosuid,nodev,relatime,uid=1000,gid=100,fmask=0022,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,flush,errors=remount-ro,uhelper=udisks2)
    /dev/mmcblk0p1 on /var/run/media/pla/KODAK type vfat (rw,nosuid,nodev,relatime,uid=1000,gid=100,fmask=0022,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,flush,errors=remount-ro)
    pla@suseST-pla:~>
    tried with the second sd card
    using FOTOEROS sd card the cut option works
    Code:
    pla@suseST-pla:~> mount
    ...
    fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
    gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=100)
    gvfsd-fuse on /var/run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=100)
    /dev/mmcblk0p1 on /run/media/pla/FOTOEROS type vfat (rw,nosuid,nodev,relatime,uid=1000,gid=100,fmask=0022,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,flush,errors=remount-ro,uhelper=udisks2)
    /dev/mmcblk0p1 on /var/run/media/pla/FOTOEROS type vfat (rw,nosuid,nodev,relatime,uid=1000,gid=100,fmask=0022,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,flush,errors=remount-ro)
    pla@suseST-pla:~>
    this is the mount output on the NOT working machine(eros):
    using KODAK sd card the cut option DO NOT works
    Code:
    eros@linux-eros1:~> mount
    ....cut
    gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=100)
    gvfsd-fuse on /var/run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=100)
    /dev/mmcblk0p1 on /run/media/eros/KODAK type vfat (ro,nosuid,nodev,relatime,uid=1000,gid=100,fmask=0022,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,flush,errors=remount-ro,uhelper=udisks2)
    /dev/mmcblk0p1 on /var/run/media/eros/KODAK type vfat (ro,nosuid,nodev,relatime,uid=1000,gid=100,fmask=0022,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,flush,errors=remount-ro)
    eros@linux-eros1:~>
    tried with the second sd car
    using FOTOEROS sd card the cut option DO NOT works
    Code:
    eros@linux-eros1:~> mount
    .....cut
    gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=100)
    gvfsd-fuse on /var/run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=100)
    /dev/mmcblk0p1 on /run/media/eros/FOTOEROS type vfat (ro,nosuid,nodev,relatime,uid=1000,gid=100,fmask=0022,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,flush,errors=remount-ro,uhelper=udisks2)
    /dev/mmcblk0p1 on /var/run/media/eros/FOTOEROS type vfat (ro,nosuid,nodev,relatime,uid=1000,gid=100,fmask=0022,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,flush,errors=remount-ro)
    eros@linux-eros1:~>
    SOMETIMES IT WORKS ON THE NOT WORKING MACHINE(eros) !!!!
    this is the mount output on the NOT (now working) working machine(eros):
    using FOTOEROS sd card the cut option works
    Code:
    eros@linux-eros1:~> mount
    ....cut
    gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=100)
    gvfsd-fuse on /var/run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=100)
    /dev/mmcblk0p1 on /run/media/eros/FOTOEROS type vfat (rw,nosuid,nodev,relatime,uid=1000,gid=100,fmask=0022,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,flush,errors=remount-ro,uhelper=udisks2)
    /dev/mmcblk0p1 on /var/run/media/eros/FOTOEROS type vfat (rw,nosuid,nodev,relatime,uid=1000,gid=100,fmask=0022,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,flush,errors=remount-ro)
    eros@linux-eros1:~>
    I can see that when it works the sd card is mounted with rw option but I don't know why it happens casually in the not working machine

    many thanks for any help..
    ciao :-) pier :-)

  8. #8
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    24,853

    Default Re: SD card hasn't cut option

    Quote Originally Posted by pier_andreit View Post
    hallo again, I made the following try:

    --I tried with two sd cards to be sure it do not depend on a specific sd card
    --the lock notches on both the sd cards are blocked with adhesive tape.
    --I tried on two machines, the working one (pla) an the not working one (eros)
    --sometimes the not working machine (eros) works....
    --working means that the cut option is present in the context menu
    --NOT working means that the cut option is greyed in the context menu

    this is the mount output on the working machine(pla):
    using KODAK sd card the cut option works
    Code:
    pla@suseST-pla:~> mount
    ...cut...
    fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
    gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=100)
    gvfsd-fuse on /var/run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=100)
    /dev/mmcblk0p1 on /run/mhttps://news.opensuse.org/2014/10/24/tumbleweed-factory-rolling-releases-to-merge/comment-page-1/#comment-115125edia/pla/KODAK type vfat (rw,nosuid,nodev,relatime,uid=1000,gid=100,fmask=0022,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,flush,errors=remount-ro,uhelper=udisks2)
    /dev/mmcblk0p1 on /var/run/media/pla/KODAK type vfat (rw,nosuid,nodev,relatime,uid=1000,gid=100,fmask=0022,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,flush,errors=remount-ro)
    pla@suseST-pla:~>
    tried with the second sd card
    using FOTOEROS sd card the cut option works
    Code:
    pla@suseST-pla:~> mount
    ...
    fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
    gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=100)
    gvfsd-fuse on /var/run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=100)
    /dev/mmcblk0p1 on /run/media/pla/FOTOEROS type vfat (rw,nosuid,nodev,relatime,uid=1000,gid=100,fmask=0022,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,flush,errors=remount-ro,uhelper=udisks2)
    /dev/mmcblk0p1 on /var/run/media/pla/FOTOEROS type vfat (rw,nosuid,nodev,relatime,uid=1000,gid=100,fmask=0022,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,flush,errors=remount-ro)
    pla@suseST-pla:~>
    this is the mount output on the NOT working machine(eros):
    using KODAK sd card the cut option DO NOT works
    Code:
    eros@linux-eros1:~> mount
    ....cut
    gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=100)
    gvfsd-fuse on /var/run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=100)
    /dev/mmcblk0p1 on /run/media/eros/KODAK type vfat (ro,nosuid,nodev,relatime,uid=1000,gid=100,fmask=0022,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,flush,errors=remount-ro,uhelper=udisks2)
    /dev/mmcblk0p1 on /var/run/media/eros/KODAK type vfat (ro,nosuid,nodev,relatime,uid=1000,gid=100,fmask=0022,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,flush,errors=remount-ro)
    eros@linux-eros1:~>
    tried with the second sd car
    using FOTOEROS sd card the cut option DO NOT works
    Code:
    eros@linux-eros1:~> mount
    .....cut
    gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=100)
    gvfsd-fuse on /var/run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=100)
    /dev/mmcblk0p1 on /run/media/eros/FOTOEROS type vfat (ro,nosuid,nodev,relatime,uid=1000,gid=100,fmask=0022,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,flush,errors=remount-ro,uhelper=udisks2)
    /dev/mmcblk0p1 on /var/run/media/eros/FOTOEROS type vfat (ro,nosuid,nodev,relatime,uid=1000,gid=100,fmask=0022,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,flush,errors=remount-ro)
    eros@linux-eros1:~>
    SOMETIMES IT WORKS ON THE NOT WORKING MACHINE(eros) !!!!
    this is the mount output on the NOT (now working) working machine(eros):
    using FOTOEROS sd card the cut option works
    Code:
    eros@linux-eros1:~> mount
    ....cut
    gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=100)
    gvfsd-fuse on /var/run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=100)
    /dev/mmcblk0p1 on /run/media/eros/FOTOEROS type vfat (rw,nosuid,nodev,relatime,uid=1000,gid=100,fmask=0022,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,flush,errors=remount-ro,uhelper=udisks2)
    /dev/mmcblk0p1 on /var/run/media/eros/FOTOEROS type vfat (rw,nosuid,nodev,relatime,uid=1000,gid=100,fmask=0022,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,flush,errors=remount-ro)
    eros@linux-eros1:~>
    I can see that when it works the sd card is mounted with rw option but I don't know why it happens casually in the not working machine

    many thanks for any help..
    ciao :-) pier :-)
    Where there is the ro option mentioned (instead of rw), you have the problem .

    You could check the end of
    Code:
    dmesg
    immediatly after the inserting, to see what messages are loged during the mount. It probably will tell you it is mounted read-only because of problems.

    This problem mostly arrises when the file ystem is not properly shut down on a windoiwindos system (e/g/ when removed after hibernate instead of shutdown). Using it on a windows system and then either properly shutdown or Remoce Sabely, should repair it.
    Henk van Velden

  9. #9

    Default Re: SD card hasn't cut option

    Quote Originally Posted by hcvv View Post
    Where there is the ro option mentioned (instead of rw), you have the problem .

    You could check the end of
    Code:
    dmesg
    immediatly after the inserting, to see what messages are loged during the mount. It probably will tell you it is mounted read-only because of problems.
    here is:
    this is the dmesg output on the working machine(pla):
    using KODAK sd card the cut option works
    Code:
    [45005.065042] mmc0: new SD card at address aaaa
    [45005.065679] mmcblk0: mmc0:aaaa SD02G 1.84 GiB 
    [45005.067628]  mmcblk0: p1
    [45005.158105] mmcblk0: error -110 transferring data, sector 3862264, nr 8, cmd response 0x900, card status 0x80000b00
    [45005.158111] mmcblk0: retrying using single block read
    [45005.457349] mmcblk0: error -110 transferring data, sector 3862267, nr 8, cmd response 0x900, card status 0x80000b00
    [45005.457360] mmcblk0: retrying using single block read
    [45059.725757] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [45103.494848] type=1400 audit(1414854901.980:100): apparmor="DENIED" operation="change_hat" info="unconfined" error=-1 pid=15822 comm="cron"
    [45119.198477] SFW2-INext-ACC-TCP IN=em1 OUT= MAC=00:26:b9:d4:11:15:e0:cb:4e:ab:c5:e4:08:00 SRC=192.168.1.2 DST=192.168.1.81 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=14363 DF PROTO=TCP SPT=36311 DPT=1714 WINDOW=14600 RES=0x00 SYN URGP=0 OPT (020405B40402080A19F1D25F0000000001030307) 
    pla@suseST-pla:~>
    this is the dmesg output on the NOT working machine(eros):
    using KODAK sd card the cut option DO NOT works
    Code:
    [ 5410.305722] mmc0: new SD card at address aaaa
    [ 5410.381922] mmcblk0: mmc0:aaaa SD02G 1.84 GiB (ro)
    [ 5410.383685]  mmcblk0: p1
    eros@linux-eros1:~>
    using KODAK sd card the cut option DID NOT work the first time, then the sdcard has been removed and reinserted and the cut option WORKED!!
    Code:
    [ 5539.691442] mmc0: card aaaa removed
    [13129.895625] mmc0: new SD card at address aaaa
    [13129.895909] mmcblk0: mmc0:aaaa SD02G 1.84 GiB (ro)
    [13129.897678]  mmcblk0: p1
    [13168.375297] mmc0: card aaaa removed
    [13173.886943] mmc0: new SD card at address aaaa
    [13173.887115] mmcblk0: mmc0:aaaa SD02G 1.84 GiB 
    [13173.889604]  mmcblk0: p1
    [13196.209179] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    eros@linux-eros1:~>
    Quote Originally Posted by hcvv View Post
    This problem mostly arrises when the file ystem is not properly shut down on a windoiwindos system (e/g/ when removed after hibernate instead of shutdown). Using it on a windows system and then either properly shutdown or Remoce Sabely, should repair it.
    yes, but why the very same sdcard on one machine works and on the other not???

    many thanks, :-) , ciao, pier :-)

  10. #10
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,175
    Blog Entries
    1

    Default Re: SD card hasn't cut option

    using KODAK sd card the cut option DID NOT work the first time, then the sdcard has been removed and reinserted and the cut option WORKED!!
    Code:
    [ 5539.691442] mmc0: card aaaa removed
    [13129.895625] mmc0: new SD card at address aaaa
    [13129.895909] mmcblk0: mmc0:aaaa SD02G 1.84 GiB (ro)
    [13129.897678]  mmcblk0: p1
    [13168.375297] mmc0: card aaaa removed
    [13173.886943] mmc0: new SD card at address aaaa
    [13173.887115] mmcblk0: mmc0:aaaa SD02G 1.84 GiB 
    [13173.889604]  mmcblk0: p1
    [13196.209179] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    eros@linux-eros1:~>
    unmount /dev/mmcblk0p1
    dosfsck -a -w -v /dev/mmcblk0p1
    [/CODE]
    When finished re-insert the device, and see if it now gets mounted rw.


    yes, but why the very same sdcard on one machine works and on the other not???

    many thanks, :-) , ciao, pier :-)
    It does appear to be a strange issue, but the meesage 'FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.' could be indicitive of a problem that needs correcting. (I have no idea why the the other machine does not report the same.) Anyway, you could try
    Code:
    umount /dev/mmcblk0p1
    Code:
    dosfsck -a -w -v /dev/mmcblk0p1
    then re-insert your device and see if gets mounted rw.
    Last edited by deano_ferrari; 01-Nov-2014 at 14:05.

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
  •