Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing SD card #27

Open
V-Z opened this issue May 20, 2019 · 13 comments
Open

Missing SD card #27

V-Z opened this issue May 20, 2019 · 13 comments
Assignees
Labels
Milestone

Comments

@V-Z
Copy link

V-Z commented May 20, 2019

Hello, in Cargo Dock 0.2.6 I don't see inserted 32 GB SD card (formatted to ext4), I have to navigate to its content through Developer Mode | System /run/media/nemo/, which is not very convenient. I'd expect it to be listed in the Storage section to be directly accessible.

@Wedmer
Copy link
Collaborator

Wedmer commented May 21, 2019

Latest release is 0.2.8-4

@V-Z
Copy link
Author

V-Z commented May 21, 2019

That version is not available in the Jolla Store (only in OpenRepos, I know). Isn't it worthy to have latest release in Jolla official store? Anyway, the OpenRepos version 0.2.8 behaves the same.

@Wedmer
Copy link
Collaborator

Wedmer commented May 21, 2019

I can' t publish it there for now. Also I need info about your device.

@Wedmer Wedmer added the bug label May 21, 2019
@V-Z
Copy link
Author

V-Z commented May 21, 2019

Intex Aqua Fish converted to Jolla C and updated via normal update tool to Sailfish OS 3.0.3.9.

@V-Z
Copy link
Author

V-Z commented May 21, 2019

I tried with another 32 GB Ext4 SD card and it was same, so no problem of particular SD card.

@Wedmer
Copy link
Collaborator

Wedmer commented May 21, 2019

Have you tried btrfs formatted card?

@V-Z
Copy link
Author

V-Z commented May 22, 2019

I did, Btrfs formatted card (sudo mkfs.btrfs -f /dev/mmcblk0p1) is not detected at all. This might be because I have newest Linux kernel 5.1 and Btrfs drivers differ in older kernels.

When I format it in the phone (vfat), it's displayed in the Cargo Dock. When I format the card to Ext4 with sudo mkfs.ext4 /dev/mmcblk0p1 (in Linux desktop), it's correctly displayed in the Cargo Dock, but if I change its label by sudo tune2fs -L sailfish /dev/mmcblk0p1, it's not shown in Cargo Dock anymore, although it's otherwise working well.

@Wedmer
Copy link
Collaborator

Wedmer commented May 24, 2019

QString sdPath()

That's how Cargo Dock looks for sd card. I think this will be changed when I'll have enough free time.

@Wedmer Wedmer added this to the 0.3 milestone Aug 19, 2019
@Wedmer Wedmer self-assigned this Aug 20, 2019
@Pohli
Copy link

Pohli commented Sep 1, 2019

I have the same problem, so I just bookmarked the memory card to be able to access it quickly.

Jolla Phone with SFOS 3.0.1.11 and Cargo Dock 0.2.10

@Wedmer
Copy link
Collaborator

Wedmer commented Sep 4, 2019

Need output of mount command to find what's wrong

@V-Z
Copy link
Author

V-Z commented Sep 5, 2019

[root@Sailfish nemo]# uname -a
Linux Sailfish 3.10.49+0.0.87 #1 SMP PREEMPT Mon Mar 25 15:16:01 UTC 2019 armv7l armv7l armv7l GNU/Linux
[root@Sailfish nemo]# lsb
[root@Sailfish nemo]# lsb_release -a
LSB Version:    :core-3.1-arm:core-3.1-noarch:core-3.2-arm:core-3.2-noarch:core-4.0-arm:core-4.0-noarch:desktop-3.1-arm:desktop-3.1-noarch:desktop-3.2-arm:desktop-3.2-noarch:desktop-4.0-arm:desktop-4.0-noarch
Distributor ID: n/a
Description:    (none)
Release:        n/a
Codename:       n/a
[root@Sailfish nemo]#
[root@Sailfish nemo]# mount -v /dev/mmcblk1p1 /home/nemo/card
mount: /dev/mmcblk1p1 mounted on /home/nemo/card.
[root@Sailfish nemo]#
[root@Sailfish nemo]# mount | grep mmcblk1p1
/dev/mmcblk1p1 on /home/nemo/card type ext4 (rw,relatime,data=ordered)
/dev/mmcblk1p1 on /opt/alien/home/nemo/card type ext4 (rw,relatime,data=ordered)
[root@Sailfish nemo]#
[root@Sailfish nemo]# fdisk -l /dev/mmcblk1p1
Disk /dev/mmcblk1p1: 29.5 GiB, 31619809280 bytes, 61757440 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
[root@Sailfish nemo]#
[root@Sailfish nemo]# mount | grep mmcblk1p1
/dev/mmcblk1p1 on /run/media/nemo/sailfish type ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2)
/dev/mmcblk1p1 on /opt/alien/run/media/nemo/sailfish type ext4 (rw,nosuid,nodev,relatime,data=ordered)

@Pohli
Copy link

Pohli commented Sep 6, 2019

[nemo@Sailfish ~]$ uname -a
Linux Sailfish 3.4.108.20181002.1 #1 SMP PREEMPT Thu Dec 6 05:02:32 UTC 2018 armv7l armv7l armv7l GNU/Linux
[nemo@Sailfish ~]$ mount | grep mmcblk1
/dev/mmcblk1p1 on /run/media/nemo/jsd type btrfs (rw,nosuid,nodev,relatime,ssd,noacl,space_cache,uhelper=udisks2)
/dev/mmcblk1p1 on /opt/alien/run/media/nemo/jsd type btrfs (rw,nosuid,nodev,relatime,ssd,noacl,space_cache)

@Wedmer
Copy link
Collaborator

Wedmer commented Mar 17, 2020

Quick fix for auto-mounted partitions released.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants