SD card mounting: hit or miss

I have an SD card formatted as ext4, 128 GB. It mounts just fine on other Ubuntu computers. On the Librem 5, sometimes it mounts, sometimes it won’t.

Is this simply a known problem with the Librem 5?

I can’t seem to figure out why it sometimes just refuses to mount.

1 Like

Can you post the output of sudo dmesg when it doesn’t mount?

1 Like

Output of dmesg command:


purism@pureos:~$ sudo dmesg
[sudo] password for purism:
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[ 0.000000] Linux version 5.13.0-1-librem5 (builder@cumin-landing-arm64-ulk7) (aarch64-linux-gnu-gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2) #1 SMP PREEMPT Wed Oct 27 08:25:29 PDT 2021
[ 0.000000] Machine model: Purism Librem 5r4
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000040000000-0x00000000ffffffff]
[ 0.000000] DMA32 empty
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000040000000-0x00000000ffffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x00000000ffffffff]
[ 0.000000] On node 0 totalpages: 786432
[ 0.000000] DMA zone: 12288 pages used for memmap
[ 0.000000] DMA zone: 0 pages reserved
[ 0.000000] DMA zone: 786432 pages, LIFO batch:63
[ 0.000000] cma: Reserved 320 MiB at 0x00000000e4400000
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: PSCIv1.1 detected in firmware.
[ 0.000000] psci: Using standard PSCI v0.2 function IDs
[ 0.000000] psci: MIGRATE_INFO_TYPE not supported.
[ 0.000000] psci: SMC Calling Convention v1.1
[ 0.000000] percpu: Embedded 31 pages/cpu s89496 r8192 d29288 u126976
[ 0.000000] pcpu-alloc: s89496 r8192 d29288 u126976 alloc=31*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[ 0.000000] Detected VIPT I-cache on CPU0
[ 0.000000] CPU features: detected: GIC system register CPU interface
[ 0.000000] CPU features: detected: ARM erratum 845719
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 774144
[ 0.000000] Kernel command line: u_boot_version=2019.04-g17a6c2261c console=ttymxc0,115200 quiet fsck.repair=yes security=apparmor splash plymouth.ignore-serial-consoles vt.global_cursor_default=0
[ 0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 2668772K/3145728K available (12160K kernel code, 2588K rwdata, 4628K rodata, 4160K init, 569K bss, 149276K reserved, 327680K cma-reserved)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] ftrace: allocating 38597 entries in 151 pages
[ 0.000000] ftrace: allocated 151 pages with 5 groups
[ 0.000000] trace event string verifier disabled
[ 0.000000] rcu: Preemptible hierarchical RCU implementation.
[ 0.000000] rcu: RCU event tracing is enabled.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
[ 0.000000] Trampoline variant of Tasks RCU enabled.
[ 0.000000] Rude variant of Tasks RCU enabled.
[ 0.000000] Tracing variant of Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[ 0.000000] GICv3: 128 SPIs implemented
[ 0.000000] GICv3: 0 Extended SPIs implemented
[ 0.000000] GICv3: Distributor has no Range Selector support
[ 0.000000] Root IRQ handler: gic_handle_irq
[ 0.000000] GICv3: 16 PPIs implemented
[ 0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000038880000
[ 0.000000] ITS: No ITS available, not enabling LPIs
[ 0.000000] random: get_random_bytes called from start_kernel+0x400/0x5e0 with crng_init=0
[ 0.000000] arch_timer: cp15 timer(s) running at 8.33MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x1ec0311ec, max_idle_ns: 440795202152 ns
[ 0.000000] sched_clock: 56 bits at 8MHz, resolution 120ns, wraps every 2199023255541ns
[ 0.000470] Console: colour dummy device 80x25
[ 0.000510] Calibrating delay loop (skipped), value calculated using timer frequency… 16.66 BogoMIPS (lpj=33333)
[ 0.000524] pid_max: default: 32768 minimum: 301
[ 0.000609] LSM: Security Framework initializing
[ 0.000697] AppArmor: AppArmor initialized
[ 0.000748] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.000773] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.002437] rcu: Hierarchical SRCU implementation.
[ 0.003415] smp: Bringing up secondary CPUs …
[ 0.003954] Detected VIPT I-cache on CPU1
[ 0.003988] GICv3: CPU1: found redistributor 1 region 0:0x00000000388a0000
[ 0.004034] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[ 0.004596] Detected VIPT I-cache on CPU2
[ 0.004616] GICv3: CPU2: found redistributor 2 region 0:0x00000000388c0000
[ 0.004641] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[ 0.005186] Detected VIPT I-cache on CPU3
[ 0.005206] GICv3: CPU3: found redistributor 3 region 0:0x00000000388e0000
[ 0.005230] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[ 0.005304] smp: Brought up 1 node, 4 CPUs
[ 0.005317] SMP: Total of 4 processors activated.
[ 0.005322] CPU features: detected: 32-bit EL0 Support
[ 0.005329] CPU features: detected: CRC32 instructions
[ 0.013512] CPU: All CPU(s) started at EL2
[ 0.013541] alternatives: patching kernel code
[ 0.015141] devtmpfs: initialized
[ 0.023937] KASLR disabled due to lack of seed
[ 0.024116] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.024135] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.037255] pinctrl core: initialized pinctrl subsystem
[ 0.038329] NET: Registered protocol family 16
[ 0.040110] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
[ 0.040317] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[ 0.040619] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[ 0.040688] audit: initializing netlink subsys (disabled)
[ 0.040842] audit: type=2000 audit(0.040:1): state=initialized audit_enabled=0 res=1
[ 0.041281] thermal_sys: Registered thermal governor ‘step_wise’
[ 0.041288] thermal_sys: Registered thermal governor ‘power_allocator’
[ 0.041752] cpuidle: using governor menu
[ 0.041970] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.042055] ASID allocator initialised with 65536 entries
[ 0.042151] Serial: AMBA PL011 UART driver
[ 0.051379] debugfs: Directory ‘dummy-syscon@30340000’ with parent ‘regmap’ already present!
[ 0.051726] imx8mq-pinctrl 30330000.pinctrl: initialized IMX pinctrl driver
[ 0.057934] platform 30a00000.mipi-dsi: Fixing up cyclic dependency with 30320000.lcd-controller
[ 0.061034] platform 30a90000.csi1_bridge: Fixing up cyclic dependency with 30a70000.mipi_csi1
[ 0.061626] platform 30b80000.csi2_bridge: Fixing up cyclic dependency with 30b60000.mipi_csi2
[ 0.063517] platform 32e00000.display-controller: Fixing up cyclic dependency with 32c00000.hdmi
[ 0.077548] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[ 0.077563] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[ 0.077570] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.077577] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[ 0.079011] cryptd: max_cpu_qlen set to 1000
[ 0.083750] iommu: Default domain type: Translated
[ 0.083925] vgaarb: loaded
[ 0.084242] SCSI subsystem initialized
[ 0.084279] libata version 3.00 loaded.
[ 0.084763] pps_core: LinuxPPS API ver. 1 registered
[ 0.084770] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti giometti@linux.it
[ 0.084788] PTP clock support registered
[ 0.085927] clocksource: Switched to clocksource arch_sys_counter
[ 0.138401] VFS: Disk quotas dquot_6.6.0
[ 0.138465] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 0.138996] AppArmor: AppArmor Filesystem Enabled
[ 0.145457] NET: Registered protocol family 2
[ 0.145654] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
[ 0.147602] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
[ 0.147660] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[ 0.147912] TCP bind hash table entries: 32768 (order: 7, 524288 bytes, linear)
[ 0.148459] TCP: Hash tables configured (established 32768 bind 32768)
[ 0.148567] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
[ 0.148660] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[ 0.148863] NET: Registered protocol family 1
[ 0.149295] RPC: Registered named UNIX socket transport module.
[ 0.149301] RPC: Registered udp transport module.
[ 0.149306] RPC: Registered tcp transport module.
[ 0.149310] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.149321] PCI: CLS 0 bytes, default 64
[ 0.149529] Unpacking initramfs…
[ 0.150003] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[ 0.155609] Initialise system trusted keyrings
[ 0.155746] workingset: timestamp_bits=46 max_order=20 bucket_order=0
[ 0.160671] zbud: loaded
[ 0.161990] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.162596] NFS: Registering the id_resolver key type
[ 0.162625] Key type id_resolver registered
[ 0.162630] Key type id_legacy registered
[ 0.162711] nfs4filelayout_init: NFSv4 File Layout Driver Registering…
[ 0.162724] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering…
[ 0.207181] Key type asymmetric registered
[ 0.207204] Asymmetric key parser ‘x509’ registered
[ 0.207273] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[ 0.216752] SoC: i.MX8MQ revision 2.1
[ 0.217598] debugfs: Directory ‘dummy-reset-controller@30390000’ with parent ‘regmap’ already present!
[ 0.220240] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[ 0.222311] 30860000.serial: ttymxc0 at MMIO 0x30860000 (irq = 41, base_baud = 1562500) is a IMX
[ 0.240221] printk: console [ttymxc0] enabled
[ 0.240992] 30880000.serial: ttymxc2 at MMIO 0x30880000 (irq = 42, base_baud = 1562500) is a IMX
[ 0.241470] 30890000.serial: ttymxc1 at MMIO 0x30890000 (irq = 43, base_baud = 1562500) is a IMX
[ 0.241585] serial serial0: tty port ttymxc1 registered
[ 0.242039] 30a60000.serial: ttymxc3 at MMIO 0x30a60000 (irq = 51, base_baud = 1562500) is a IMX
[ 0.250468] loop: module loaded
[ 0.252116] libphy: Fixed MDIO Bus: probed
[ 0.252688] i2c /dev entries driver
[ 0.261877] device-mapper: ioctl: 4.45.0-ioctl (2021-03-22) initialised: dm-devel@redhat.com
[ 0.263265] sdhci: Secure Digital Host Controller Interface driver
[ 0.263273] sdhci: Copyright© Pierre Ossman
[ 0.263295] sdhci-pltfm: SDHCI platform and OF driver helper
[ 0.264751] ledtrig-cpu: registered to indicate activity on CPUs
[ 0.265034] hid: raw HID events driver © Jiri Kosina
[ 0.265615] ashmem: initialized
[ 0.270362] NET: Registered protocol family 26
[ 0.270502] NET: Registered protocol family 17
[ 0.270828] 9pnet: Installing 9P2000 support
[ 0.270876] Key type dns_resolver registered
[ 0.271170] registered taskstats version 1
[ 0.271184] Loading compiled-in X.509 certificates
[ 0.271458] zswap: loaded using pool lzo/zbud
[ 0.271712] Key type ._fscrypt registered
[ 0.271719] Key type .fscrypt registered
[ 0.271723] Key type fscrypt-provisioning registered
[ 0.271867] AppArmor: AppArmor sha1 policy hashing enabled
[ 0.287610] gpio-1 (pmic-5v-hog): hogged as input
[ 0.294513] AUD_1V8: supplied by AUDIO_PWR_EN
[ 0.294773] CAMERA_VDDIO_1V8: supplied by VDD_3V3
[ 0.294924] reg-fixed-voltage regulator-vcam-2v8: nonexclusive access to GPIO for regulator-vcam-2v8
[ 0.295032] CAMERA_VDDA_2V8: supplied by VDD_3V3
[ 0.295816] LCD_3V4: supplied by VSYS_3V4
[ 0.296131] 3V3_WIFI: supplied by VDD_3V3
[ 0.383947] ldo5: supplied by buck6
[ 0.389471] ldo6: supplied by buck7
[ 0.401987] rtc-m41t80 0-0068: registered as rtc0
[ 0.402761] random: fast init done
[ 0.402940] rtc-m41t80 0-0068: setting system clock to 2021-11-02T15:35:37 UTC (1635867337)
[ 0.403017] i2c i2c-0: IMX I2C adapter registered
[ 0.405071] LCD_AVDD: supplied by LCD_3V4
[ 0.406230] LCD_AVEE: supplied by LCD_3V4
[ 0.407134] i2c i2c-1: IMX I2C adapter registered
[ 0.408856] i2c 2-0020: Fixing up cyclic dependency with 30a70000.mipi_csi1
[ 0.410015] i2c i2c-2: IMX I2C adapter registered
[ 0.411703] i2c 3-002d: Fixing up cyclic dependency with 30b60000.mipi_csi2
[ 0.416702] i2c i2c-3: IMX I2C adapter registered
[ 0.421164] etnaviv etnaviv: bound 38000000.gpu (ops gpu_ops)
[ 0.421196] etnaviv-gpu 38000000.gpu: model: GC7000, revision: 6214
[ 0.421642] [drm] Initialized etnaviv 1.3.0 20151214 for etnaviv on minor 0
[ 0.423136] imx-cpufreq-dt imx-cpufreq-dt: cpu speed grade 3 mkt segment 0 supported-hw 0x8 0x1
[ 0.425356] sdhci-esdhc-imx 30b50000.mmc: allocated mmc-pwrseq
[ 0.430194] VDD_1V8: supplied by buck7
[ 0.431873] nwl-dsi 30a00000.mipi-dsi: [drm:nwl_dsi_probe] Using LCDIF as input source
[ 0.433523] CAMERA_VDDD_1V2: supplied by VDD_1V8
[ 0.433689] LCD_1V8: supplied by VDD_1V8
[ 0.437705] led-backlight backlight-dsi: Not enough levels defined
[ 0.438192] nwl-dsi 30a00000.mipi-dsi: [drm:nwl_dsi_host_attach] lanes=4, format=0x0 flags=0x7
[ 0.438213] panel-mantix-mlaf057we51 30a00000.mipi-dsi.0: 720x1440@63 24bpp dsi 4dl - ready
[ 0.439174] [drm] Initialized mxsfb-drm 1.0.0 20160824 for 30320000.lcd-controller on minor 1
[ 0.469974] mmc0: SDHCI controller on 30b40000.mmc [30b40000.mmc] using ADMA
[ 0.610810] mmc0: new HS400 MMC card at address 0001
[ 0.611400] mmcblk0: mmc0:0001 032G32 29.1 GiB
[ 0.611573] mmcblk0boot0: mmc0:0001 032G32 4.00 MiB
[ 0.611733] mmcblk0boot1: mmc0:0001 032G32 4.00 MiB
[ 0.611856] mmcblk0rpmb: mmc0:0001 032G32 4.00 MiB, chardev (245:0)
[ 0.613258] mmcblk0: p1 p2
[ 0.620204] Console: switching to colour frame buffer device 90x90
[ 0.646535] mxsfb 30320000.lcd-controller: [drm] fb0: mxsfb-drmdrmfb frame buffer device
[ 0.648974] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[ 0.650161] input: bd718xx-pwrkey as /devices/platform/soc@0/30800000.bus/30a20000.i2c/i2c-0/0-004b/gpio-keys.0.auto/input/input1
[ 2.242694] Freeing initrd memory: 62728K
[ 2.465948] mmc1: SDHCI controller on 30b50000.mmc [30b50000.mmc] using ADMA
[ 2.469446] Freeing unused kernel memory: 4160K
[ 2.469501] Run /init as init process
[ 2.469505] with arguments:
[ 2.469509] /init
[ 2.469512] splash
[ 2.469516] with environment:
[ 2.469519] HOME=/
[ 2.469522] TERM=linux
[ 2.469525] u_boot_version=2019.04-g17a6c2261c
[ 2.484709] mmc1: new high speed SDIO card at address fffd
[ 3.027809] edt_ft5x06 2-0038: probing for EDT FT5x06 I2C
[ 3.031877] edt_ft5x06 2-0038: Model “EP0700M09”, Rev. “\x01”, 0x0 sensors
[ 3.034133] input: EP0700M09 as /devices/platform/soc@0/30800000.bus/30a40000.i2c/i2c-2/2-0038/input/input2
[ 3.034305] edt_ft5x06 2-0038: EDT FT5x06 initialized: IRQ 96, WAKE pin -1, Reset pin -1.
[ 3.043179] imx8mq-usb-phy 381f0040.usb-phy: supply vbus not found, using dummy regulator
[ 3.056426] input: pwm-vibrator as /devices/platform/vibrator/input/input3
[ 3.065315] bq25890-charger 3-006a: Got otg gpio hack
[ 3.065523] bq25890-charger 3-006a: Failed to register power supply
[ 3.112887] bq25890-charger 3-006a: Got otg gpio hack
[ 3.113446] bq25890-charger 3-006a: No battery found: -19
[ 3.113459] bq25890-charger 3-006a: Upstream supply changed: 0.
[ 3.113467] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 3.118019] bq25890-charger 3-006a: Upstream supply changed: 0.
[ 3.118048] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 3.118503] cdns-mhdp-imx 32c00000.hdmi: [drm:cdns_mhdp_read_fw_version [cdns_mhdp_drmcore]] firmware version: 50d385ac
[ 3.119830] imx-dcss 32e00000.display-controller: bound 32c00000.hdmi (ops cdns_mhdp_imx_ops [cdns_mhdp_imx])
[ 3.120068] [drm] Initialized imx-dcss 1.0.0 20190917 for 32e00000.display-controller on minor 2
[ 3.120607] [drm] Connector status: 0
[ 3.120636] imx-dcss 32e00000.display-controller: [drm] Cannot find any crtc or sizes
[ 3.121961] [drm] Connector status: 0
[ 3.121996] imx-dcss 32e00000.display-controller: [drm] Cannot find any crtc or sizes
[ 3.122352] bq25890-charger 3-006a: Upstream supply changed: 0.
[ 3.122362] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 3.122525] [drm] Connector status: 0
[ 3.122539] imx-dcss 32e00000.display-controller: [drm] Cannot find any crtc or sizes
[ 3.146937] usbcore: registered new interface driver usbfs
[ 3.146981] usbcore: registered new interface driver hub
[ 3.147050] usbcore: registered new device driver usb
[ 3.155742] xhci-hcd xhci-hcd.4.auto: xHCI Host Controller
[ 3.155772] xhci-hcd xhci-hcd.4.auto: new USB bus registered, assigned bus number 1
[ 3.155868] xhci-hcd xhci-hcd.4.auto: hcc params 0x0220fe6c hci version 0x110 quirks 0x0000000000010010
[ 3.155925] xhci-hcd xhci-hcd.4.auto: irq 65, io mem 0x38200000
[ 3.156153] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.13
[ 3.156162] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.156168] usb usb1: Product: xHCI Host Controller
[ 3.156173] usb usb1: Manufacturer: Linux 5.13.0-1-librem5 xhci-hcd
[ 3.156177] usb usb1: SerialNumber: xhci-hcd.4.auto
[ 3.156513] hub 1-0:1.0: USB hub found
[ 3.156536] hub 1-0:1.0: 1 port detected
[ 3.156788] xhci-hcd xhci-hcd.4.auto: xHCI Host Controller
[ 3.156798] xhci-hcd xhci-hcd.4.auto: new USB bus registered, assigned bus number 2
[ 3.156807] xhci-hcd xhci-hcd.4.auto: Host supports USB 3.0 SuperSpeed
[ 3.156853] usb usb2: We don’t know the algorithms for LPM for this host, disabling LPM.
[ 3.156923] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.13
[ 3.156930] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.156936] usb usb2: Product: xHCI Host Controller
[ 3.156941] usb usb2: Manufacturer: Linux 5.13.0-1-librem5 xhci-hcd
[ 3.156945] usb usb2: SerialNumber: xhci-hcd.4.auto
[ 3.157270] hub 2-0:1.0: USB hub found
[ 3.157291] hub 2-0:1.0: 1 port detected
[ 3.213937] [drm] Connector status: 0
[ 3.392340] random: lvm: uninitialized urandom read (4 bytes read)
[ 3.417970] usb 1-1: new high-speed USB device number 2 using xhci-hcd
[ 3.566097] usb 1-1: New USB device found, idVendor=0424, idProduct=2640, bcdDevice= 9.02
[ 3.566117] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 3.605636] hub 1-1:1.0: USB hub found
[ 3.605739] hub 1-1:1.0: 3 ports detected
[ 3.898461] usb 1-1.1: new high-speed USB device number 3 using xhci-hcd
[ 4.007030] usb 1-1.1: New USB device found, idVendor=0424, idProduct=4041, bcdDevice= 2.09
[ 4.007051] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 4.007057] usb 1-1.1: Product: Ultra Fast Media Reader
[ 4.007062] usb 1-1.1: Manufacturer: Generic
[ 4.007066] usb 1-1.1: SerialNumber: 000008264001
[ 4.013841] usb-storage 1-1.1:1.0: USB Mass Storage device detected
[ 4.014802] scsi host0: usb-storage 1-1.1:1.0
[ 4.015114] usbcore: registered new interface driver usb-storage
[ 4.016471] usbcore: registered new interface driver uas
[ 5.029413] scsi 0:0:0:0: Direct-Access Generic Ultra HS-SD/MMC 2.09 PQ: 0 ANSI: 0
[ 5.034101] sd 0:0:0:0: [sda] Attached SCSI removable disk
[ 9.078594] random: crng init done
[ 11.227974] [drm] Connector status: 0
[ 14.740284] EXT4-fs (dm-0): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
[ 15.167773] NET: Registered protocol family 10
[ 15.170771] Segment Routing with IPv6
[ 15.203522] systemd[1]: systemd 247.3-6 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +ZSTD +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-hierarchy=unified)
[ 15.204460] systemd[1]: Detected architecture arm64.
[ 15.207166] systemd[1]: Set hostname to .
[ 16.036185] systemd[1]: /lib/systemd/system/plymouth-start.service:16: Unit configured to use KillMode=none. This is unsafe, as it disables systemd’s process lifecycle management for the service. Please update your service to use a safer KillMode=, such as ‘mixed’ or ‘control-group’. Support for KillMode=none is deprecated and will eventually be removed.
[ 16.129747] systemd[1]: Queued start job for default target Graphical Interface.
[ 16.133225] systemd[1]: Created slice system-getty.slice.
[ 16.134152] systemd[1]: Created slice system-modprobe.slice.
[ 16.135014] systemd[1]: Created slice system-serial\x2dgetty.slice.
[ 16.135760] systemd[1]: Created slice Cryptsetup Units Slice.
[ 16.136470] systemd[1]: Created slice system-systemd\x2dfsck.slice.
[ 16.137058] systemd[1]: Created slice User and Session Slice.
[ 16.137271] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ 16.137819] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[ 16.138193] systemd[1]: Reached target User and Group Name Lookups.
[ 16.138258] systemd[1]: Reached target Slices.
[ 16.138327] systemd[1]: Reached target Swap.
[ 16.138601] systemd[1]: Listening on Device-mapper event daemon FIFOs.
[ 16.138971] systemd[1]: Listening on LVM2 poll daemon socket.
[ 16.139244] systemd[1]: Listening on fsck to fsckd communication Socket.
[ 16.139411] systemd[1]: Listening on initctl Compatibility Named Pipe.
[ 16.139912] systemd[1]: Listening on Journal Audit Socket.
[ 16.140205] systemd[1]: Listening on Journal Socket (/dev/log).
[ 16.140569] systemd[1]: Listening on Journal Socket.
[ 16.140982] systemd[1]: Listening on Network Service Netlink Socket.
[ 16.141381] systemd[1]: Listening on udev Control Socket.
[ 16.141666] systemd[1]: Listening on udev Kernel Socket.
[ 16.144474] systemd[1]: Mounting Huge Pages File System…
[ 16.147683] systemd[1]: Mounting POSIX Message Queue File System…
[ 16.151676] systemd[1]: Mounting Kernel Debug File System…
[ 16.154712] systemd[1]: Mounting Kernel Trace File System…
[ 16.155345] systemd[1]: Finished Availability of block devices.
[ 16.161217] systemd[1]: Starting Set the console keyboard layout…
[ 16.164379] systemd[1]: Starting Create list of static device nodes for the current kernel…
[ 16.167665] systemd[1]: Starting Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling…
[ 16.171368] systemd[1]: Starting Load Kernel Module configfs…
[ 16.174846] systemd[1]: Starting Load Kernel Module drm…
[ 16.178379] systemd[1]: Starting Load Kernel Module fuse…
[ 16.180358] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped.
[ 16.180557] systemd[1]: Condition check resulted in File System Check on Root Device being skipped.
[ 16.185663] systemd[1]: Starting Journal Service…
[ 16.190544] systemd[1]: Starting Load Kernel Modules…
[ 16.194351] systemd[1]: Starting Remount Root and Kernel File Systems…
[ 16.197709] systemd[1]: Starting Coldplug All udev Devices…
[ 16.206184] systemd[1]: Mounted Huge Pages File System.
[ 16.207978] systemd[1]: Mounted POSIX Message Queue File System.
[ 16.209180] fuse: init (API version 7.34)
[ 16.212556] systemd[1]: Mounted Kernel Debug File System.
[ 16.220253] systemd[1]: Mounted Kernel Trace File System.
[ 16.221764] systemd[1]: Finished Create list of static device nodes for the current kernel.
[ 16.223882] systemd[1]: modprobe@configfs.service: Succeeded.
[ 16.225197] systemd[1]: Finished Load Kernel Module configfs.
[ 16.228363] systemd[1]: modprobe@drm.service: Succeeded.
[ 16.229251] systemd[1]: Finished Load Kernel Module drm.
[ 16.230414] systemd[1]: modprobe@fuse.service: Succeeded.
[ 16.231216] systemd[1]: Finished Load Kernel Module fuse.
[ 16.235403] systemd[1]: Mounting FUSE Control File System…
[ 16.238533] systemd[1]: Mounting Kernel Configuration File System…
[ 16.244189] EXT4-fs (dm-0): re-mounted. Opts: errors=remount-ro. Quota mode: none.
[ 16.257334] systemd[1]: Finished Remount Root and Kernel File Systems.
[ 16.258068] systemd[1]: Mounted FUSE Control File System.
[ 16.259954] systemd[1]: Mounted Kernel Configuration File System.
[ 16.267033] systemd[1]: Condition check resulted in Rebuild Hardware Database being skipped.
[ 16.267263] systemd[1]: Condition check resulted in Platform Persistent Storage Archival being skipped.
[ 16.270485] systemd[1]: Starting Load/Save Random Seed…
[ 16.284369] systemd[1]: Starting Create System Users…
[ 16.286199] systemd[1]: Finished Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling.
[ 16.287763] systemd[1]: Finished Load Kernel Modules.
[ 16.291186] systemd[1]: Starting Apply Kernel Variables…
[ 16.305191] systemd[1]: Finished Load/Save Random Seed.
[ 16.307969] systemd[1]: Condition check resulted in First Boot Complete being skipped.
[ 16.329978] systemd[1]: Finished Create System Users.
[ 16.331527] systemd[1]: Finished Apply Kernel Variables.
[ 16.334654] systemd[1]: Starting Create Static Device Nodes in /dev…
[ 16.371178] systemd[1]: Finished Create Static Device Nodes in /dev.
[ 16.375885] systemd[1]: Starting Rule-based Manager for Device Events and Files…
[ 16.376330] systemd[1]: Started Journal Service.
[ 16.401174] systemd-journald[386]: Received client request to flush runtime journal.
[ 16.409230] systemd-journald[386]: File /var/log/journal/9b43caf3619f49f8ba467ec270970f44/system.journal corrupted or uncleanly shut down, renaming and replacing.
[ 17.023243] imx-sdma 302c0000.sdma: Direct firmware load for imx/sdma/sdma-imx7d.bin failed with error -2
[ 17.023268] imx-sdma 302c0000.sdma: external firmware not found, using ROM firmware
[ 17.026921] imx-sdma 30bd0000.sdma: Direct firmware load for imx/sdma/sdma-imx7d.bin failed with error -2
[ 17.026945] imx-sdma 30bd0000.sdma: external firmware not found, using ROM firmware
[ 17.040916] input: 30370000.snvs:snvs-powerkey as /devices/platform/soc@0/30000000.bus/30370000.snvs/30370000.snvs:snvs-powerkey/input/input4
[ 17.095808] caam 30900000.crypto: Entropy delay = 3200
[ 17.095901] caam 30900000.crypto: Entropy delay = 3600
[ 17.106299] mc: Linux media interface: v0.10
[ 17.130572] videodev: Linux video capture interface: v2.00
[ 17.131361] gnss: GNSS driver registered with major 241
[ 17.141351] s5k3l6xx 3-002d: using default 24000000 Hz clock frequency
[ 17.141402] : probe sd ffff0000bc3d0260
[ 17.141410] S5K3L6-CIS 3-002d: probe i2c ffff000001aef000
[ 17.145781] mousedev: PS/2 mouse device common for all mice
[ 17.147483] mxc-mipi-csi2_yav 30a70000.mipi_csi1: mipi_csi2_probe
[ 17.147595] mxc-mipi-csi2_yav 30a70000.mipi_csi: Remote device at endpoint@1 XXX found
[ 17.147614] mxc-mipi-csi2_yav 30a70000.mipi_csi1: lanes: 2, name: mxc-mipi-csi2.0
[ 17.148612] s5k3l6xx 3-002d: model low: 0x30
[ 17.149080] mxc-mipi-csi2_yav 30b60000.mipi_csi2: mipi_csi2_probe
[ 17.149340] s5k3l6xx 3-002d: model high: 0xC6
[ 17.149440] mxc-mipi-csi2_yav 30b60000.mipi_csi: Remote device at endpoint@1 XXX found
[ 17.149462] mxc-mipi-csi2_yav 30b60000.mipi_csi2: lanes: 2, name: mxc-mipi-csi2.1
[ 17.149693] hi846 2-0020: chip id 08 46 using 2 mipi lanes
[ 17.153454] mxc-mipi-csi2_yav 30a70000.mipi_csi: Registered sensor subdevice: hi846 2-0020
[ 17.153789] s5k3l6xx 3-002d: revision number: 0xB0
[ 17.153856] mxc-mipi-csi2_yav 30b60000.mipi_csi: Registered sensor subdevice: S5K3L6-CIS 3-002d
[ 17.154582] wm8962_i2c_probe: 3559: defering probe
[ 17.166750] caam 30900000.crypto: Instantiated RNG4 SH0
[ 17.196000] wm8962 2-001a: customer id 0 revision D
[ 17.198235] mx6s-csi 30a90000.csi1_bridge: initialising
[ 17.200929] CSI: Registered sensor subdevice: mxc-mipi-csi2.0
[ 17.200949] mx6s-csi 30a90000.csi1_bridge: register async notifier success
[ 17.201207] mx6s-csi 30b80000.csi2_bridge: initialising
[ 17.202348] CSI: Registered sensor subdevice: mxc-mipi-csi2.1
[ 17.202362] mx6s-csi 30b80000.csi2_bridge: register async notifier success
[ 17.234258] caam 30900000.crypto: Instantiated RNG4 SH1
[ 17.234285] caam 30900000.crypto: device ID = 0x0a16040100000000 (Era 9)
[ 17.234291] caam 30900000.crypto: job rings = 3, qi = 0
[ 17.278410] input: WM8962 Beep Generator as /devices/platform/soc@0/30800000.bus/30a40000.i2c/i2c-2/2-001a/input/input6
[ 17.368024] wm8962 2-001a: ASoC: error at soc_component_read_no_lock on wm8962.2-001a: -16
[ 17.378190] wm8962 2-001a: ASoC: error at soc_component_read_no_lock on wm8962.2-001a: -16
[ 17.389747] input: Librem 5 Headphones as /devices/platform/sound/sound/card0/input5
[ 17.401053] hantro_vpu: module is from the staging directory, the quality is unknown, you have been warned.
[ 17.416086] hantro-vpu 38300000.video-codec: registered nxp,imx8mq-vpu-dec as /dev/video2
[ 17.556734] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 17.585297] cfg80211: Loaded X.509 cert ‘sforshee: 00b28ddf47aef9cea7’
[ 17.589966] cfg80211: loaded regulatory.db is malformed or signature is missing/invalid
[ 17.648871] [drm] Connector status: 0
[ 17.735440] Bluetooth: Core ver 2.22
[ 17.735564] NET: Registered protocol family 31
[ 17.735569] Bluetooth: HCI device and connection manager initialized
[ 17.735588] Bluetooth: HCI socket layer initialized
[ 17.735597] Bluetooth: L2CAP socket layer initialized
[ 17.735766] Bluetooth: SCO socket layer initialized
[ 17.764306] redpine_91x: rsi_probe: ***** 9116 Module *****
[ 17.766061] redpine_91x: redpine_hal_device_init: oper_mode = 5, coex_mode = 2
[ 17.767239] redpine_91x: Received Board Version Number: 10
[ 17.768329] redpine_91x: rsi_load_firmware: Loading file RS9116_NLINK_WLAN_BT_IMAGE.rps
[ 17.768425] RSI-SDIO WLAN mmc1:fffd:1: Direct firmware load for RS9116_NLINK_WLAN_BT_IMAGE.rps failed with error -2
[ 17.768436] redpine_91x: rsi_load_firmware: Failed to open file RS9116_NLINK_WLAN_BT_IMAGE.rps
[ 17.780562] redpine_91x: ***** Loaded Firmware *****
[ 18.198854] ext2 filesystem being mounted at /boot supports timestamps until 2038 (0x7fffffff)
[ 18.228243] spi-nor spi0.0: s25fl016k (2048 Kbytes)
[ 18.256021] 3 fixed-partitions partitions found on MTD device spi0.0
[ 18.256043] Creating 3 MTD partitions on “spi0.0”:
[ 18.256050] 0x000000000000-0x000000030000 : “protected0”
[ 18.256449] 0x000000030000-0x000000040000 : “protected1”
[ 18.256686] 0x000000040000-0x000000200000 : “rw”
[ 18.400104] audit: type=1400 audit(1635867355.491:2): apparmor=“STATUS” operation=“profile_load” profile=“unconfined” name="/usr/bin/man" pid=554 comm=“apparmor_parser”
[ 18.400134] audit: type=1400 audit(1635867355.491:3): apparmor=“STATUS” operation=“profile_load” profile=“unconfined” name=“man_filter” pid=554 comm=“apparmor_parser”
[ 18.400145] audit: type=1400 audit(1635867355.491:4): apparmor=“STATUS” operation=“profile_load” profile=“unconfined” name=“man_groff” pid=554 comm=“apparmor_parser”
[ 18.406555] audit: type=1400 audit(1635867355.499:5): apparmor=“STATUS” operation=“profile_load” profile=“unconfined” name=“lsb_release” pid=553 comm=“apparmor_parser”
[ 18.419004] audit: type=1400 audit(1635867355.511:6): apparmor=“STATUS” operation=“profile_load” profile=“unconfined” name=“nvidia_modprobe” pid=552 comm=“apparmor_parser”
[ 18.419035] audit: type=1400 audit(1635867355.511:7): apparmor=“STATUS” operation=“profile_load” profile=“unconfined” name=“nvidia_modprobe//kmod” pid=552 comm=“apparmor_parser”
[ 18.745590] caam algorithms registered in /proc/crypto
[ 18.770392] audit: type=1400 audit(1635867355.863:8): apparmor=“STATUS” operation=“profile_load” profile=“unconfined” name="/usr/bin/evince" pid=551 comm=“apparmor_parser”
[ 18.771129] audit: type=1400 audit(1635867355.863:9): apparmor=“STATUS” operation=“profile_load” profile=“unconfined” name="/usr/bin/evince//sanitized_helper" pid=551 comm=“apparmor_parser”
[ 18.771330] audit: type=1400 audit(1635867355.863:10): apparmor=“STATUS” operation=“profile_load” profile=“unconfined” name="/usr/bin/evince-previewer" pid=551 comm=“apparmor_parser”
[ 18.771489] audit: type=1400 audit(1635867355.863:11): apparmor=“STATUS” operation=“profile_load” profile=“unconfined” name="/usr/bin/evince-previewer//sanitized_helper" pid=551 comm=“apparmor_parser”
[ 18.778071] caam 30900000.crypto: caam pkc algorithms registered in /proc/crypto
[ 18.778098] caam 30900000.crypto: registering rng-caam
[ 19.011806] using random self ethernet address
[ 19.011829] using random host ethernet address
[ 19.077869] usb0: HOST MAC da:93:bd:4a:73:9f
[ 19.078511] usb0: MAC 26:0f:6b:b6:e9:a7
[ 23.013990] redpine_91x: ================================================
[ 23.014007] redpine_91x: ================ RSI Version Info ==============
[ 23.014011] redpine_91x: ================================================
[ 23.014014] redpine_91x: FW Version : 0.2.0.16
[ 23.014021] redpine_91x: RSI FW Version : 1610.0.2.0.0024
[ 23.014027] redpine_91x: Driver Version : RS9116.NB0.NL.GNU.LNX.OSD.2.0.0.0024
[ 23.014031] redpine_91x: Operating mode : 5 [Wi-Fi STA + BT EDR]
[ 23.014036] redpine_91x: Firmware file : RS9116_NLINK_WLAN_BT_IMAGE.rps
[ 23.014040] redpine_91x: ================================================
[ 23.063416] redpine_91x: <==== Interface UP ====>
[ 23.063560] redpine_91x: rsi_mac80211_bss_info_changed: Change of ERP INFO: 0
[ 23.063568] redpine_91x: rsi_mac80211_bss_info_changed: Sending vap updates…
[ 23.070654] redpine_91x: <==== Interface DOWN ====>
[ 23.074790] redpine_91x: <==== Interface UP ====>
[ 23.074942] redpine_91x: rsi_mac80211_bss_info_changed: Change of ERP INFO: 0
[ 23.074951] redpine_91x: rsi_mac80211_bss_info_changed: Sending vap updates…
[ 26.955268] redpine_91x: <==== Interface DOWN ====>
[ 26.960451] redpine_91x: <==== Interface UP ====>
[ 26.960558] redpine_91x: rsi_mac80211_bss_info_changed: Change of ERP INFO: 0
[ 26.960567] redpine_91x: rsi_mac80211_bss_info_changed: Sending vap updates…
[ 30.517074] wlan0: authenticate with 78:24:af:90:8b:4c
[ 30.517420] wlan0: send auth to 78:24:af:90:8b:4c (try 1/3)
[ 30.519718] wlan0: authenticated
[ 30.530060] wlan0: associate with 78:24:af:90:8b:4c (try 1/3)
[ 30.536839] wlan0: RX AssocResp from 78:24:af:90:8b:4c (capab=0x511 status=0 aid=31)
[ 30.538011] wlan0: associated
[ 30.616531] redpine_91x: EAPOL 4 confirm
[ 30.666337] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 30.831151] Key type cifs.idmap registered
[ 30.832577] Use of the less secure dialect vers=1.0 is not recommended unless required for access to very old servers

[ 30.844726] CIFS: VFS: Use of the less secure dialect vers=1.0 is not recommended unless required for access to very old servers
[ 30.856401] CIFS: Attempting to mount \192.168.1.1\My_Book
[ 30.987104] CIFS: VFS: cifs_mount failed w/return code = -5
[ 31.715139] AUD_1V8: disabling
[ 31.715157] CAMERA_VDDIO_1V8: disabling
[ 31.715163] CAMERA_VDDA_2V8: disabling
[ 31.715169] GNSS: disabling
[ 31.715199] CAMERA_VDDD_1V2: disabling
[ 34.249017] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 34.249058] Bluetooth: BNEP socket layer initialized
[ 34.669412] [drm] Connector status: 0
[ 40.516830] rfkill: input handler disabled
[ 44.328510] systemd-journald[386]: File /var/log/journal/9b43caf3619f49f8ba467ec270970f44/user-1000.journal corrupted or uncleanly shut down, renaming and replacing.
[ 44.936458] rfkill: input handler enabled
[ 46.372438] [drm] Connector status: 0
[ 50.007729] rfkill: input handler disabled
[ 58.124489] s5k3l6xx 3-002d: fsize i 3 m 3
[ 58.193802] s5k3l6xx 3-002d: fsize i 3 m 3
[ 188.548945] redpine_91x: Packet Dropped as RX PN is less than last received PN
[ 306.958445] edt_ft5x06 2-0038: Unable to fetch data, error: -6

1 Like

I had similar issue but on a Blackberry phone. The SD card would work fine on Manjaro laptop but, at times, would refuse to mount. My conclusion was, maybe I am wrong, issue was with the SD card, I had bought it online and hence could be bad quality.

1 Like

Tip: When posting a long, long, long, long terminal output, you can place it in a smaller, scrollable window by adding two lines, one at top and one at bottom, each containing only these three characters: ```
:slight_smile:

P.S. I ain’t no bot!

5 Likes

This looks fine, your SD card got detected;

Perhaps it’s something in the GNOME session that failed then. But I don’t know where to find the logs for that. Maybe journalctl --user --since=today.

2 Likes

amarok, thanks, didn’t know that.

I tried editing it and adding the two lines you speak of, but it doesn’t look like that did anything - except add two lines with periods.

2 Likes

They’re not periods; they’re the backwards apostrophe-like symbol on the same key as ~.

3 Likes

That’s eMMC, not SD card. SD card is sda.

2 Likes

Check out this topic: Librem 5 SD card reader not working
A small number of us have had to RMA our phones, so worth contacting support.

2 Likes

That’s interesting… and sad. I might have to contact Purism.

I just now remembered something: The phone did recognize and mount the sd card just fine… until last evening when, for the first time, I also had a sim card in the phone. Ever since then is when I started having this problem. Coincidence???

1 Like

This would suggest that the card reader is being seen, I’d say everything in dmesg output from 3.898461 to 5.034101 is the card reader.

When it boots without mounting the card, perhaps look at the output of lsblk or lsblk -f will give a little more detail but can be hard to read with the screen in portrait orientation and very few visible lines when in landscape (although you can reduce the font size which helps). Either way, among the output you should see mentions of “sda” and “sda1”? in a tree type view something like…

sda
  |
  --- sda1

Is it a new or used card? I have a few aging cards that will mount without fail in one machine but be very intermittent in others.

1 Like

It is a (lightly) used card.

Attached is a screenshot of the output of lsblk -f, don’t know what it is telling me.

1 Like

Probably best to take a step backwards and start with the basics. Post output from

ls -l /dev/sda*

fdisk -l /dev/sda

which would suggest that you check carefully that, since they share a tray, they are both present, and in the correct slots, and in the correct orientation.

Messing around with those cards is a bit fiddly and tricky.

Honestly, I basically put the SIM card and the uSD card in the phone the day I got the phone and there the cards have stayed ever since.

I would guess, on limited evidence, that the phone is seeing your drive but not your medium because the uSD card is not sitting correctly.

1 Like

The output of dmesg together with lsblk -f is showing that the card reader is being recognised but the card or the contents of it are not.

Do you have another card that is known good in another machine that you could try? It could be useful to try to eliminate the possibility of a temperamental or failing card, if you swap the card and see the same results with the other card then it would suggest there may be a hardware issue.

How possible is it to get these things inserted incorrectly? Looking at my tray, the tolerances for the two slots are quite tight, certainly there is no way that the uSD card would fit in the SIM slot. It’s also difficult to see that you could have the cards in the correct slots but incorrect orientation and still be able to insert the tray. It looks to me that the cards wouldn’t sit flush or low enough in the tray to be able to insert it without the use of force.

1 Like

I don’t know. It’s not something that I want to test with my own phone. :wink: Bottom line though is that
a) it’s not working, and
b) it was recently removed, and
c) if you are going to open the tray to try out a different uSD card, it’s an opportunity to check whether everything was correctly inserted in the first place.

1 Like

I have a brand new 32 GB SD card formatted as FAT32. My ubuntu desktop computer instantly recognized and mounted it, I was able to access it with no problem.

I took the old card out of the Librem - the old card and the sim card were properly seated in the tray - and put in the new card. Then restarted the phone, just for giggles. After it restarted, the phone did not recognize that sd card at all.

purism@pureos:~$ ls -l /dev/sda*
brw-rw---- 1 root disk 8, 0 Nov 5 22:29 /dev/sda

purism@pureos:~$ sudo fdisk -l /dev/sda
fdisk: cannot open /dev/sda: No medium found

1 Like

On a related note, what should I try if I am unable to detect or mount a uSD card, a USB-C flash drive, the phone is not detected by my linux computer when I try to reflash an OS image, the icons for cell signal (4G and warning) and bluetooth (off) do not disappear when I put all 3 physical switches into lockdown mode, and terminal lags while running sudo dmesg without displaying any output? Its been about 15 minutes now and still no stdout from dmesg…

This is probably unrelated, but these issues started occurring for me about a month ago after I transferred some files via. uSD card to an Android phone running the stock OS.

1 Like

You’ve listed a lot of issues here…

Do these issues persist after running updates (if you can) and fully rebooting the phone?
(I’ve found that occasionally you need to remove and re-insert the battery for it to 100% fully restart)

Do you (or did you) have the SD card mounted via your /etc/fstab file? Is it still looking for the SD card in here, even after you removed it?

2 Likes

Yes, the issues still persist. I already removed a related /etc/fstab entry. An easy fix I have not yet tried is to completely format the uSD card using another computer to at least get my files off of it, since then I would still be stuck unable to connect the phone to a computer to reflash the OS image.

On the bright side, I just got dmesg doing something other than freezing my terminal! I’ll start going over it before I waste anyone’s time with it here quite yet.

Since I have your attention, I remember a few years ago the /dev folder only had entries for devices that are connected. Now there seems to be nearly 100, including dozens of ttys, gttys, ptyps, and other devices that I will refrain from guessing their purpose. Looking around the internet for an answer to why all of these devices are now so suddenly there has lead to some frustrating non-answers. Perhaps you can provide a better explaination?

1 Like