Summary: | sys-fs/mtools-4.0.15 - mcd fails to mount SD memory card (with all available (tested) card readers) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sergey S. Starikoff <Ikonta> |
Component: | [OLD] Core system | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Thunar udf eject error |
Description
Sergey S. Starikoff
2011-11-12 10:09:42 UTC
Could you change the Summary to describe one specific issue, please? Your description is vague. It could be an issue the driver for the card, or it could be your desktop automounter is broken or not setup correctly --but you don't mention which desktop/automounter you are using. What driver are you using? lspci -k will show this What happens if you manually mount the card as root using a terminal? (In reply to comment #2) > Your description is vague. It could be an issue the driver for the card, or it > could be your desktop automounter is broken or not setup correctly --but you > don't mention which desktop/automounter you are using. > > What driver are you using? lspci -k will show this > > What happens if you manually mount the card as root using a terminal? The issue doesn't depend on DE/automounter. Earlier, when I've mounted it manually, the issue was the same (and I've made re-check before reporting bug). The issue looks to be more common: now I'm writing about amd64 workstation. But the issue with mtools (mcd error) was reproduced on rather very different x86 one. (In reply to comment #1) > one specific issue, please? I've made a new check on my x86 (3.0.6-gentoo kernel) workstation (built without auto-mount support). # lsusb ... Bus 001 Device 002: ID 090c:6000 Feiya Technology Corp. SD/SDHC Card Reader (SG365 / FlexiDrive XC+) # grep "d:" .mtoolsrc drive d: file="/dev/sdb1" # mcd d: Total number of sectors (3897212) not a multiple of sectors per track (62)! Add mtools_skip_check=1 to your .mtoolsrc file to skip this test Normally (directly mount or via xfce-extra/xfce4-mount-plugin) device mounts successfully (in read-write mode). # grep usb /etc/fstab /dev/sdb1 /mnt/usbflash vfat fmask=113,noauto,user,codepage=866,iocharset=koi8-r 0 0 Could anybody make similiar check on his hardware? That forums links is useless to anyone who doesn't speak Russian. (In reply to comment #5) > That forums links is useless to anyone who doesn't speak Russian. But this forum link contains quotes of some system messages, which could be useful for everybody. You don't understood me. The issue with read-write mount (not only mtools utilities) happens with Alcor Micro Corp. Flash Card Reader/Writer. But the issue with mtools utilities (I've tested obly mcd) happens on all available for test archirectures (both amd64 and x86) and with all available for test hardware (also with Feiya Technology Corp. SD/SDHC Card Reader, with which the SD-card mounts (automatically or manually) successfully, but mcd utility shows the same error). Thais why I ask anyone to make a check with mcd utility on their hardware. Excuse me. I was a little bit mistaken. It is FS-specific (FAT) bug. When I've correctly formatted media in UDF filesystem (not a partition, but entire device) it was mounted (with Alcor Micro Corp. Flash Card Reader/Writer) successfully in rw-mode. Now I'm thinking about test with extfs (ext2 and/or ext4 without journal). so we can close this bug ? (In reply to comment #8) > so we can close this bug ? No. 1. The FAT issue still present. So I want to ask all, who have SD-card to make described check; 2. Again excuse me. I was a little bit hurry. The card really was mounted in rw-mode. But only once. And I've failed to reproduce it (mount in rw-mode) later. But during tests I've find another one: If start cfdisk for the card: first time it starts (slowly, but successfully). But the attempt to start cfdisk second time failes (not with reported error, it just does something should be done before executing interface). fdisk in display mode continuously works well. May be strace output (or gdb trace) of cfdisk start will be useful? Created attachment 293179 [details]
Thunar udf eject error
Yes!
I've reproduced it!
1. Format memory card in portable (standard USB port connected) card reader;
2. Try to write someting on it;
3. Umount and insert card into Alcor card-reader;
4. See, that the media is mounted OK (in rw-mode). Write something to prompt it;
5. Umount media shows the error (see window error report screenshot attached);
6. Next (and all following) mount attemps shows ro-mode (and in this case I've seen described before cfdisk start issue.
Bug is about nine years old. If this is still an issue with recent mtools versions, please file a new bug. |