You are not logged in.

#1 2017-11-25 17:34:48

amaro
Member
From: xfce
Registered: 2014-05-09
Posts: 367

[SOLVED] SD card does not mount on thunar xfce

Hey guys!

Cannot mount sd card on Arch (thunar xfce). Tried on LM (thunar xfce) and it mounts fine.
Here is the output from LM

sudo fdisk -l
[sudo] password for vb: 

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x0005a151

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048    33320959    16659456   83  Linux
/dev/sda2        33320960   399439871   183059456    7  HPFS/NTFS/exFAT
/dev/sda3       399439872   446341119    23450624    7  HPFS/NTFS/exFAT
/dev/sda4       446341120   976773119   265216000   83  Linux

Disk /dev/mmcblk0: 15.5 GB, 15489564672 bytes
255 heads, 63 sectors/track, 1883 cylinders, total 30253056 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

        Device Boot      Start         End      Blocks   Id  System
/dev/mmcblk0p1            8192    30253055    15122432    c  W95 FAT32 (LBA)

Here is the output from Arch

sudo fdisk -l
[sudo] password for vb: 
Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x0005a151

Device     Boot     Start       End   Sectors   Size Id Type
/dev/sda1  *         2048  33320959  33318912  15.9G 83 Linux
/dev/sda2        33320960 399439871 366118912 174.6G  7 HPFS/NTFS/exFAT
/dev/sda3       399439872 446341119  46901248  22.4G  7 HPFS/NTFS/exFAT
/dev/sda4       446341120 976773119 530432000   253G 83 Linux

And more from Arch

lsusb
Bus 004 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 05c8:0357 Cheng Uei Precision Industry Co., Ltd (Foxlink) 
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
lsblk -f
NAME        FSTYPE LABEL UUID                                 MOUNTPOINT
sda                                                           
├─sda1      ext4         6b42d29b-ca14-47b4-8bce-9853114a8640 
├─sda2      ntfs   Data  2F6A372C3CA70A33                     /run/media/Data
├─sda3      ntfs         BC66AF6B66AF255C                     
└─sda4      ext4         676e4a6f-fe35-4b27-96ef-bcb7f166229f /
sr0                                                           
mmcblk0                                                       
└─mmcblk0p1       
dmesg | grep mmc
[    3.817907] sr 1:0:0:0: [sr0] scsi3-mmc drive: 24x/24x writer dvd-ram cd/rw xa/form2 cdda tray
[12753.836428] mmc0: cannot verify signal voltage switch
[12754.018558] mmc0: new ultra high speed SDR50 SDHC card at address 1234
[12754.046871] mmcblk0: mmc0:1234 SA16G 14.4 GiB 
[12754.047072] Modules linked in: mmc_block(+) rtsx_pci_sdmmc rtsx_pci_ms memstick mmc_core rtsx_pci fuse ctr ccm amdgpu mousedev arc4 iTCO_wdt iTCO_vendor_support rt2800pci rt2800mmio joydev gpio_ich rt2800lib hp_wmi rt2x00pci sparse_keymap rt2x00mmio rt2x00lib ppdev mac80211 intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp snd_hda_codec_hdmi crct10dif_pclmul crc32_pclmul ghash_clmulni_intel cryptd cfg80211 intel_cstate intel_rapl_perf eeprom_93cx6 rfkill snd_hda_codec_idt snd_hda_codec_generic snd_hda_intel snd_hda_codec psmouse input_leds lpc_ich snd_hda_core snd_hwdep snd_pcm snd_timer snd amdkfd amd_iommu_v2 radeon soundcore ttm wmi thermal parport_pc parport battery hp_accel evdev lis3lv02d input_polldev led_class mac_hid hp_wireless tpm_tis ac tpm_tis_core shpchp mei_me tpm mei tcp_westwood
[12754.047296]  mmc_add_disk+0x2f/0x120 [mmc_block]
[12754.047301]  mmc_blk_probe+0x352/0x450 [mmc_block]
[12754.047308]  mmc_bus_probe+0x1a/0x20 [mmc_core]
[12754.047337]  mmc_register_driver+0x16/0x20 [mmc_core]
[12754.047342]  mmc_blk_init+0x5c/0x1000 [mmc_block]
[12754.047444] Modules linked in: mmc_block(+) rtsx_pci_sdmmc rtsx_pci_ms memstick mmc_core rtsx_pci fuse ctr ccm amdgpu mousedev arc4 iTCO_wdt iTCO_vendor_support rt2800pci rt2800mmio joydev gpio_ich rt2800lib hp_wmi rt2x00pci sparse_keymap rt2x00mmio rt2x00lib ppdev mac80211 intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp snd_hda_codec_hdmi crct10dif_pclmul crc32_pclmul ghash_clmulni_intel cryptd cfg80211 intel_cstate intel_rapl_perf eeprom_93cx6 rfkill snd_hda_codec_idt snd_hda_codec_generic snd_hda_intel snd_hda_codec psmouse input_leds lpc_ich snd_hda_core snd_hwdep snd_pcm snd_timer snd amdkfd amd_iommu_v2 radeon soundcore ttm wmi thermal parport_pc parport battery hp_accel evdev lis3lv02d input_polldev led_class mac_hid hp_wireless tpm_tis ac tpm_tis_core shpchp mei_me tpm mei tcp_westwood
[12754.047631]  mmc_add_disk+0x2f/0x120 [mmc_block]
[12754.047635]  mmc_blk_probe+0x352/0x450 [mmc_block]
[12754.047641]  mmc_bus_probe+0x1a/0x20 [mmc_core]
[12754.047667]  mmc_register_driver+0x16/0x20 [mmc_core]
[12754.047671]  mmc_blk_init+0x5c/0x1000 [mmc_block]
[12754.050664]  mmcblk0: p1
[12754.050665] Modules linked in: mmc_block(+) rtsx_pci_sdmmc rtsx_pci_ms memstick mmc_core rtsx_pci fuse ctr ccm amdgpu mousedev arc4 iTCO_wdt iTCO_vendor_support rt2800pci rt2800mmio joydev gpio_ich rt2800lib hp_wmi rt2x00pci sparse_keymap rt2x00mmio rt2x00lib ppdev mac80211 intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp snd_hda_codec_hdmi crct10dif_pclmul crc32_pclmul ghash_clmulni_intel cryptd cfg80211 intel_cstate intel_rapl_perf eeprom_93cx6 rfkill snd_hda_codec_idt snd_hda_codec_generic snd_hda_intel snd_hda_codec psmouse input_leds lpc_ich snd_hda_core snd_hwdep snd_pcm snd_timer snd amdkfd amd_iommu_v2 radeon soundcore ttm wmi thermal parport_pc parport battery hp_accel evdev lis3lv02d input_polldev led_class mac_hid hp_wireless tpm_tis ac tpm_tis_core shpchp mei_me tpm mei tcp_westwood
[12754.050758] CPU: 0 PID: 3186 Comm: mmcqd/0 Tainted: G        W       4.12.14-1-ck-ivybridge #1
[12754.050801]  mmc_blk_issue_rw_rq+0x286/0x3f0 [mmc_block]
[12754.050806]  mmc_blk_issue_rq+0x79/0x530 [mmc_block]
[12754.050810]  mmc_queue_thread+0xc5/0x160 [mmc_block]
[12754.050818]  ? mmc_blk_issue_rq+0x530/0x530 [mmc_block]
[12754.102971] Modules linked in: mmc_block rtsx_pci_sdmmc rtsx_pci_ms memstick mmc_core rtsx_pci fuse ctr ccm amdgpu mousedev arc4 iTCO_wdt iTCO_vendor_support rt2800pci rt2800mmio joydev gpio_ich rt2800lib hp_wmi rt2x00pci sparse_keymap rt2x00mmio rt2x00lib ppdev mac80211 intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp snd_hda_codec_hdmi crct10dif_pclmul crc32_pclmul ghash_clmulni_intel cryptd cfg80211 intel_cstate intel_rapl_perf eeprom_93cx6 rfkill snd_hda_codec_idt snd_hda_codec_generic snd_hda_intel snd_hda_codec psmouse input_leds lpc_ich snd_hda_core snd_hwdep snd_pcm snd_timer snd amdkfd amd_iommu_v2 radeon soundcore ttm wmi thermal parport_pc parport battery hp_accel evdev lis3lv02d input_polldev led_class mac_hid hp_wireless tpm_tis ac tpm_tis_core shpchp mei_me tpm mei tcp_westwood
[12761.758855] mmc0: card 1234 removed
[114219.624135] mmc0: cannot verify signal voltage switch
[114219.778389] mmc0: new ultra high speed SDR50 SDHC card at address 1234
[114219.778669] mmcblk0: mmc0:1234 SA16G 14.4 GiB 
[114219.779486]  mmcblk0: p1

Any ideas are welcomed!
Thank you in advance!

Last edited by amaro (2017-11-25 20:38:22)

Offline

#2 2017-11-25 18:26:30

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: [SOLVED] SD card does not mount on thunar xfce

Can you manually mount /dev/mmcblk0p1 on Arch?

Offline

#3 2017-11-25 18:39:01

amaro
Member
From: xfce
Registered: 2014-05-09
Posts: 367

Re: [SOLVED] SD card does not mount on thunar xfce

I tried

sudo su
[root@ahp vb]# mkdir /mnt/sdc
[root@ahp vb]# mount /dev/mmcblk0p1  /mnt/sdc

After the last command the terminal becomes unresponsive. I have to either close and restart it or open new tab and close the working one.

Offline

#4 2017-11-25 18:47:36

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: [SOLVED] SD card does not mount on thunar xfce

Can you reproduce the issue with a stock Arch kernel?

Offline

#5 2017-11-25 18:57:29

amaro
Member
From: xfce
Registered: 2014-05-09
Posts: 367

Re: [SOLVED] SD card does not mount on thunar xfce

I have two kernels available linux-ck-ivybridge-4.13.10-1 and linux-lts312-ck-3.12.57-1

Offline

#6 2017-11-25 18:59:09

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [SOLVED] SD card does not mount on thunar xfce

x33a wrote:

Can you reproduce the issue with a stock Arch kernel?


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#7 2017-11-25 19:10:19

amaro
Member
From: xfce
Registered: 2014-05-09
Posts: 367

Re: [SOLVED] SD card does not mount on thunar xfce

I checked the kernel version on LM. It's 3.13.0-24. So I tried with linux-lts312-ck-3.12.57-1. SD card mounts fine.

Last edited by amaro (2017-11-25 19:11:13)

Offline

#8 2017-11-25 19:11:51

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] SD card does not mount on thunar xfce

slithery wrote:
x33a wrote:

Can you reproduce the issue with a stock Arch kernel?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#9 2017-11-25 19:17:16

loqs
Member
Registered: 2014-03-06
Posts: 19,113

Re: [SOLVED] SD card does not mount on thunar xfce

@amaro it is a known issue with linux-ck-ivybridge-4.13.10-1 either use the boot options scsi_mod.use_blk_mq=0 elevator=cfq or update to the latest version of the package.
Edit:
@slithery / @jasonwryan it should be 56414 the arch kernel is affected but you need to specify elevator=bfq to trigger it linux-ck 4.13.10-1 was more susceptible as that effectively made that a default.

Last edited by loqs (2017-11-25 19:24:35)

Offline

#10 2017-11-25 19:23:08

amaro
Member
From: xfce
Registered: 2014-05-09
Posts: 367

Re: [SOLVED] SD card does not mount on thunar xfce

My eyes are very sensitive. I use kernels my eyes can work with. Anything else I can help you with so that you can help me, if you'd like, gentlemen?

Offline

#11 2017-11-25 19:25:08

amaro
Member
From: xfce
Registered: 2014-05-09
Posts: 367

Re: [SOLVED] SD card does not mount on thunar xfce

Thank you very much, loqs! I appreciate your help!

Offline

#12 2017-11-25 19:28:06

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] SD card does not mount on thunar xfce

amaro wrote:

My eyes are very sensitive. I use kernels my eyes can work with. Anything else I can help you with so that you can help me, if you'd like, gentlemen?

If you want help here, then testing against vanilla (ie., supported) kernels is the minumum requirement. And what does eyesight have to do with linux-ck?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#13 2017-11-25 19:33:10

amaro
Member
From: xfce
Registered: 2014-05-09
Posts: 367

Re: [SOLVED] SD card does not mount on thunar xfce

I'll do the test. Is this the one you are refering to https://www.archlinux.org/packages/core/x86_64/linux/?

P.S.
Turns out kernel issue. Adding the following to grub solves the problem.

 scsi_mod.use_blk_mq=0 elevator=cfq

Thank you very much, loqs!

P.P.S. With the stock kernel the sd card also works.

Last edited by amaro (2017-11-25 20:40:41)

Offline

#14 2017-11-25 20:59:07

loqs
Member
Registered: 2014-03-06
Posts: 19,113

Re: [SOLVED] SD card does not mount on thunar xfce

I would suggest you update the linux-ck kernel to the latest version which does not have that issue and contains numerous other fixes from upstream.

Offline

Board footer

Powered by FluxBB