RasPI: After an update, my SD card is not mounting anymore

Ask questions about Arch Linux ARM. Please search before making a new topic.

RasPI: After an update, my SD card is not mounting anymore

Postby motoko » Sat Jan 08, 2022 6:03 am

Hi all,

I've been running Arch for ARM for 3+ years on a RasPi 3B without any issues. Today, I decided to update the install because few things were updated and the install went without any errors. Everything seemed fine. However, after a reboot, I was dropped into the emergency shell and the microSD card would not mount anymore.

I get:
$this->bbcode_second_pass_code('', 'ERROR: device `/dev/mmcblk0p2` not found. Skipping fsck')

Picture: https://i.imgur.com/HDPcEum.jpg

If I plug the microSD card into my Linux laptop, I can mount it fine.

What is wrong? How can I fix this?

Thanks!

Here is dmesg output:

$this->bbcode_second_pass_code('', '[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 5.10.90-1-rpi-legacy-ARCH (builduser@leming) (armv7l-unknown-linux-gnueabihf-gcc (GCC) 10.2.0, GNU ld (GNU Binutils) 2.35) #1 SMP Wed Jan 5 14:52:57 UTC 2022
[ 0.000000] CPU: ARMv7 Processor [410fd034] revision 4 (ARMv7), cr=10c5383d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] OF: fdt: Machine model: Raspberry Pi 3 Model B Rev 1.2
[ 0.000000] random: fast init done
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] Reserved memory: created CMA memory pool at 0x1e800000, size 256 MiB
[ 0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000000000000-0x000000003b3fffff]
[ 0.000000] Normal empty
[ 0.000000] HighMem empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x000000003b3fffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000003b3fffff]
[ 0.000000] On node 0 totalpages: 242688
[ 0.000000] DMA zone: 2133 pages used for memmap
[ 0.000000] DMA zone: 0 pages reserved
[ 0.000000] DMA zone: 242688 pages, LIFO batch:63
[ 0.000000] percpu: Embedded 20 pages/cpu s51084 r8192 d22644 u81920
[ 0.000000] pcpu-alloc: s51084 r8192 d22644 u81920 alloc=20*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 240555
[ 0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 video=HDMI-A-1:1920x1080M@60,margin_left=48,margin_right=48,margin_top=48,margin_bottom=48 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 root=/dev/mmcblk0p2 rw rootwait console=ttyS0,115200 console=tty1 selinux=0 plymouth.enable=0 smsc95xx.turbo_mode=N dwc_otg.lpm_enable=0 kgdboc=ttyS0,115200
[ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 669648K/970752K available (13312K kernel code, 1499K rwdata, 3756K rodata, 1024K init, 915K bss, 38960K reserved, 262144K cma-reserved, 0K highmem)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] rcu: Hierarchical RCU implementation.
[ 0.000000] Tracing variant of Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] random: get_random_bytes called from start_kernel+0x340/0x588 with crng_init=1
[ 0.000000] arch_timer: cp15 timer(s) running at 19.20MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns
[ 0.000008] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
[ 0.000025] Switching to timer-based delay loop, resolution 52ns
[ 0.000314] Console: colour dummy device 80x30
[ 0.000943] printk: console [tty1] enabled
[ 0.001002] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=192000)
[ 0.001046] pid_max: default: 32768 minimum: 301
[ 0.001415] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[ 0.001456] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[ 0.002710] cgroup: Disabling memory control group subsystem
[ 0.002952] CPU: Testing write buffer coherency: ok
[ 0.003366] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.004154] Setting up static identity map for 0x100000 - 0x100054
[ 0.004315] rcu: Hierarchical SRCU implementation.
[ 0.004982] smp: Bringing up secondary CPUs ...
[ 0.005849] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.006800] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[ 0.007679] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[ 0.007796] smp: Brought up 1 node, 4 CPUs
[ 0.007876] SMP: Total of 4 processors activated (153.60 BogoMIPS).
[ 0.007898] CPU: All CPU(s) started in HYP mode.
[ 0.007917] CPU: Virtualization extensions available.
[ 0.008766] devtmpfs: initialized
[ 0.022992] VFP support v0.3: implementor 41 architecture 3 part 40 variant 3 rev 4
[ 0.023212] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.023260] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.032818] pinctrl core: initialized pinctrl subsystem
[ 0.033900] NET: Registered protocol family 16
[ 0.037160] DMA: preallocated 1024 KiB pool for atomic coherent allocations
[ 0.041928] audit: initializing netlink subsys (disabled)
[ 0.042167] audit: type=2000 audit(0.040:1): state=initialized audit_enabled=0 res=1
[ 0.042800] thermal_sys: Registered thermal governor 'step_wise'
[ 0.043793] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.043843] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.044098] Serial: AMBA PL011 UART driver
[ 0.056325] bcm2835-mbox 3f00b880.mailbox: mailbox enabled
[ 0.070113] raspberrypi-firmware soc:firmware: Attached to firmware from 2022-01-06T15:40:57, variant start
[ 0.080121] raspberrypi-firmware soc:firmware: Firmware hash is 58e03c94953762222f2b838390dde54d46c38381
[ 0.118038] Kprobes globally optimized
[ 0.121603] cryptd: max_cpu_qlen set to 1000
[ 0.290416] raid6: neonx8 gen() 622 MB/s
[ 0.460529] raid6: neonx8 xor() 458 MB/s
[ 0.630681] raid6: neonx4 gen() 976 MB/s
[ 0.800824] raid6: neonx4 xor() 674 MB/s
[ 0.971004] raid6: neonx2 gen() 917 MB/s
[ 1.141156] raid6: neonx2 xor() 644 MB/s
[ 1.311333] raid6: neonx1 gen() 762 MB/s
[ 1.481490] raid6: neonx1 xor() 522 MB/s
[ 1.651668] raid6: int32x8 gen() 200 MB/s
[ 1.821893] raid6: int32x8 xor() 125 MB/s
[ 1.992025] raid6: int32x4 gen() 208 MB/s
[ 2.162186] raid6: int32x4 xor() 141 MB/s
[ 2.332309] raid6: int32x2 gen() 289 MB/s
[ 2.502495] raid6: int32x2 xor() 147 MB/s
[ 2.672637] raid6: int32x1 gen() 242 MB/s
[ 2.842803] raid6: int32x1 xor() 131 MB/s
[ 2.842825] raid6: using algorithm neonx4 gen() 976 MB/s
[ 2.842846] raid6: .... xor() 674 MB/s, rmw enabled
[ 2.842867] raid6: using neon recovery algorithm
[ 2.843515] bcm2835-dma 3f007000.dma: DMA legacy API manager, dmachans=0x1
[ 2.844691] iommu: Default domain type: Translated
[ 2.844892] vgaarb: loaded
[ 2.845492] SCSI subsystem initialized
[ 2.845737] usbcore: registered new interface driver usbfs
[ 2.845811] usbcore: registered new interface driver hub
[ 2.845878] usbcore: registered new device driver usb
[ 2.848289] clocksource: Switched to clocksource arch_sys_counter
[ 4.856484] VFS: Disk quotas dquot_6.6.0
[ 4.856601] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 4.856831] FS-Cache: Loaded
[ 4.857065] CacheFiles: Loaded
[ 4.857766] simple-framebuffer 3e513000.framebuffer: framebuffer at 0x3e513000, 0x6e7000 bytes, mapped to 0x(ptrval)
[ 4.857808] simple-framebuffer 3e513000.framebuffer: format=a8r8g8b8, mode=1824x984x32, linelength=7296
[ 4.886701] Console: switching to colour frame buffer device 228x61
[ 4.913140] simple-framebuffer 3e513000.framebuffer: fb0: simplefb registered!
[ 4.922576] NET: Registered protocol family 2
[ 4.922950] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[ 4.924907] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[ 4.925249] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[ 4.925569] TCP bind hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 4.925942] TCP: Hash tables configured (established 8192 bind 8192)
[ 4.926266] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[ 4.926494] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[ 4.926897] NET: Registered protocol family 1
[ 4.927602] RPC: Registered named UNIX socket transport module.
[ 4.927772] RPC: Registered udp transport module.
[ 4.927904] RPC: Registered tcp transport module.
[ 4.928035] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 4.928214] NET: Registered protocol family 44
[ 4.928376] PCI: CLS 0 bytes, default 64
[ 4.928720] Trying to unpack rootfs image as initramfs...
[ 5.845214] Freeing initrd memory: 7820K
[ 5.846934] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 7 counters available
[ 5.850044] Initialise system trusted keyrings
[ 5.850362] workingset: timestamp_bits=14 max_order=18 bucket_order=4
[ 5.858616] zbud: loaded
[ 5.860592] FS-Cache: Netfs 'nfs' registered for caching
[ 5.861448] NFS: Registering the id_resolver key type
[ 5.861617] Key type id_resolver registered
[ 5.861738] Key type id_legacy registered
[ 5.867835] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 5.873908] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[ 5.880586] JFS: nTxBlock = 7340, nTxLock = 58725
[ 5.893717] SGI XFS with ACLs, security attributes, realtime, quota, no debug enabled
[ 6.037389] xor: measuring software checksum speed
[ 6.054271] arm4regs : 948 MB/sec
[ 6.074708] 8regs : 705 MB/sec
[ 6.096779] 32regs : 634 MB/sec
[ 6.111458] neon : 1215 MB/sec
[ 6.118017] xor: using function: neon (1215 MB/sec)
[ 6.124547] async_tx: api initialized (async)
[ 6.131170] Key type asymmetric registered
[ 6.137742] Asymmetric key parser 'x509' registered
[ 6.144309] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[ 6.151101] io scheduler mq-deadline registered
[ 6.157644] io scheduler kyber registered
[ 6.164449] io scheduler bfq registered
[ 6.179406] vc-mem: phys_addr:0x00000000 mem_base=0x3ec00000 mem_size:0x40000000(1024 MiB)
[ 6.187028] gpiomem-bcm2835 3f200000.gpiomem: Initialised: Registers at 0x3f200000
[ 6.528455] loop: module loaded
[ 6.536638] Loading iSCSI transport class v2.0-870.
[ 6.545733] libphy: Fixed MDIO Bus: probed
[ 6.553382] usbcore: registered new interface driver lan78xx
[ 6.560168] usbcore: registered new interface driver ax88179_178a
[ 6.566993] usbcore: registered new interface driver cdc_ether
[ 6.573661] usbcore: registered new interface driver r8153_ecm
[ 6.580293] usbcore: registered new interface driver smsc95xx
[ 6.586776] usbcore: registered new interface driver cdc_ncm
[ 6.593421] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[ 7.327787] Core Release: 2.80a
[ 7.334028] Setting default values for core params
[ 7.340137] Finished setting default values for core params
[ 7.546527] Using Buffer DMA mode
[ 7.552563] Periodic Transfer Interrupt Enhancement - disabled
[ 7.558524] Multiprocessor Interrupt Enhancement - disabled
[ 7.564520] OTG VER PARAM: 0, OTG VER FLAG: 0
[ 7.570475] Dedicated Tx FIFOs mode
[ 7.576618]
[ 7.576634] WARN::dwc_otg_hcd_init:1072: FIQ DMA bounce buffers: virt = 9e904000 dma = 0xde904000 len=9024
[ 7.588386] FIQ FSM acceleration enabled for :
[ 7.588386] Non-periodic Split Transactions
[ 7.588386] Periodic Split Transactions
[ 7.588386] High-Speed Isochronous Endpoints
[ 7.588386] Interrupt/Control Split Transaction hack enabled
[ 7.618099] dwc_otg: Microframe scheduler enabled
[ 7.618147]
[ 7.618156] WARN::hcd_init_fiq:457: FIQ on core 1
[ 7.630040]
[ 7.630049] WARN::hcd_init_fiq:458: FIQ ASM at 80a54d14 length 36
[ 7.641852]
[ 7.641861] WARN::hcd_init_fiq:496: MPHI regs_base at bb810000
[ 7.653627] dwc_otg 3f980000.usb: DWC OTG Controller
[ 7.659474] dwc_otg 3f980000.usb: new USB bus registered, assigned bus number 1
[ 7.665440] dwc_otg 3f980000.usb: irq 89, io mem 0x00000000
[ 7.671372] Init: Port Power? op_state=1
[ 7.677171] Init: Power Port (0)
[ 7.683277] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
[ 7.689268] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 7.695224] usb usb1: Product: DWC OTG Controller
[ 7.701138] usb usb1: Manufacturer: Linux 5.10.90-1-rpi-legacy-ARCH dwc_otg_hcd
[ 7.706996] usb usb1: SerialNumber: 3f980000.usb
[ 7.713437] hub 1-0:1.0: USB hub found
[ 7.719327] hub 1-0:1.0: 1 port detected
[ 7.725924] dwc_otg: FIQ enabled
[ 7.725931] dwc_otg: NAK holdoff enabled
[ 7.725937] dwc_otg: FIQ split-transaction FSM enabled
[ 7.725951] Module dwc_common_port init
[ 7.726309] usbcore: registered new interface driver uas
[ 7.732332] usbcore: registered new interface driver usb-storage
[ 7.738256] usbcore: registered new interface driver ums-alauda
[ 7.744240] usbcore: registered new interface driver ums-cypress
[ 7.750108] usbcore: registered new interface driver ums-datafab
[ 7.755822] usbcore: registered new interface driver ums_eneub6250
[ 7.761538] usbcore: registered new interface driver ums-freecom
[ 7.767148] usbcore: registered new interface driver ums-isd200
[ 7.772607] usbcore: registered new interface driver ums-jumpshot
[ 7.778046] usbcore: registered new interface driver ums-karma
[ 7.783513] usbcore: registered new interface driver ums-onetouch
[ 7.788816] usbcore: registered new interface driver ums-realtek
[ 7.793969] usbcore: registered new interface driver ums-sddr09
[ 7.799040] usbcore: registered new interface driver ums-sddr55
[ 7.804023] usbcore: registered new interface driver ums-usbat
[ 7.809288] mousedev: PS/2 mouse device common for all mice
[ 7.815176] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
[ 7.820686] device-mapper: uevent: version 1.0.3
[ 7.825949] device-mapper: ioctl: 4.43.0-ioctl (2020-10-01) initialised: dm-devel@redhat.com
[ 7.831704] device-mapper: multipath round-robin: version 1.2.0 loaded
[ 7.837011] device-mapper: multipath queue-length: version 0.2.0 loaded
[ 7.842355] device-mapper: multipath service-time: version 0.3.0 loaded
[ 7.847654] device-mapper: raid: Loading target version 1.15.1
[ 7.853062] Indeed it is in host mode hprt0 = 00021501
[ 7.919034] sdhci: Secure Digital Host Controller Interface driver
[ 7.924298] sdhci: Copyright(c) Pierre Ossman
[ 7.929974] mmc-bcm2835 3f300000.mmcnr: could not get clk, deferring probe
[ 7.933021] sdhost-bcm2835 3f202000.mmc: could not get clk, deferring probe
[ 7.935893] Error: Driver 'sdhost-bcm2835' is already registered, aborting...
[ 7.938656] sdhci-pltfm: SDHCI platform and OF driver helper
[ 7.943054] ledtrig-cpu: registered to indicate activity on CPUs
[ 7.946143] hid: raw HID events driver (C) Jiri Kosina
[ 7.949189] usbcore: registered new interface driver usbhid
[ 7.951979] usbhid: USB HID core driver
[ 7.956735] bcm2835_vc_sm_cma_probe: Videocore shared memory driver
[ 7.959688] [vc_sm_connected_init]: start
[ 7.962874] [vc_sm_connected_init]: installed successfully
[ 7.965941] Initializing XFRM netlink socket
[ 7.968813] NET: Registered protocol family 17
[ 7.971741] Key type dns_resolver registered
[ 7.974818] Registering SWP/SWPB emulation handler
[ 7.983645] registered taskstats version 1
[ 7.986699] Loading compiled-in X.509 certificates
[ 7.989997] Key type ._fscrypt registered
[ 7.992985] Key type .fscrypt registered
[ 7.995942] Key type fscrypt-provisioning registered
[ 7.999690] Btrfs loaded, crc32c=crc32c-generic
[ 8.002705] Key type encrypted registered
[ 8.010312] uart-pl011 3f201000.serial: cts_event_workaround enabled
[ 8.013378] 3f201000.serial: ttyAMA0 at MMIO 0x3f201000 (irq = 114, base_baud = 0) is a PL011 rev2
[ 8.017609] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver
[ 8.021356] mmc-bcm2835 3f300000.mmcnr: mmc_debug:0 mmc_debug2:0
[ 8.024275] mmc-bcm2835 3f300000.mmcnr: DMA channel allocated
[ 8.051990] sdhost: log_buf @ (ptrval) (de907000)
[ 8.078351] usb 1-1: new high-speed USB device number 2 using dwc_otg
[ 8.083089] Indeed it is in host mode hprt0 = 00001101
[ 8.093367] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[ 8.097981] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 8.102627] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 8.108282] mmc0: sdhost-bcm2835 loaded - DMA enabled (>1)
[ 8.111186] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[ 8.115377] of_cfs_init
[ 8.118449] of_cfs_init: OK
[ 8.147215] Freeing unused kernel memory: 1024K
[ 8.178827] Run /init as init process
[ 8.183787] with arguments:
[ 8.183792] /init
[ 8.183796] with environment:
[ 8.183802] HOME=/
[ 8.183806] TERM=linux
[ 8.183811] selinux=0
[ 8.183817] kgdboc=ttyS0,115200
[ 8.208647] mmc0: host does not support reading read-only switch, assuming write-enable
[ 8.217094] mmc0: new high speed SDHC card at address aaaa
[ 8.221427] mmcblk0: mmc0:aaaa SL16G 14.8 GiB
[ 8.226916] mmcblk0: p1 p3
[ 8.248129] mmc1: new high speed SDIO card at address 0001
[ 8.318618] usb 1-1: New USB device found, idVendor=0424, idProduct=9514, bcdDevice= 2.00
[ 8.322051] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 8.326108] hub 1-1:1.0: USB hub found
[ 8.330381] hub 1-1:1.0: 5 ports detected
[ 8.658354] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[ 8.788553] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00, bcdDevice= 2.00
[ 8.793257] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 8.800707] smsc95xx v2.0.0
[ 8.880680] libphy: smsc95xx-mdiobus: probed
[ 8.886219] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-3f980000.usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:ab:2d:1c:c3
[ 9.618326] usb 1-1.2: new full-speed USB device number 4 using dwc_otg
[ 9.758353] usb 1-1.2: New USB device found, idVendor=0627, idProduct=697d, bcdDevice= 1.10
[ 9.764660] usb 1-1.2: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 9.770956] usb 1-1.2: Product: 2.4G Composite Devic
[ 9.783729] input: 2.4G Composite Devic as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2/1-1.2:1.0/0003:0627:697D.0001/input/input0
[ 9.849176] hid-generic 0003:0627:697D.0001: input,hidraw0: USB HID v1.10 Keyboard [2.4G Composite Devic] on usb-3f980000.usb-1.2/input0
[ 9.862209] input: 2.4G Composite Devic Mouse as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2/1-1.2:1.1/0003:0627:697D.0002/input/input1
[ 9.867495] input: 2.4G Composite Devic Consumer Control as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2/1-1.2:1.1/0003:0627:697D.0002/input/input2
[ 9.938571] input: 2.4G Composite Devic System Control as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2/1-1.2:1.1/0003:0627:697D.0002/input/input3
[ 9.946158] hid-generic 0003:0627:697D.0002: input,hidraw1: USB HID v1.10 Mouse [2.4G Composite Devic] on usb-3f980000.usb-1.2/input1
[ 33.542631] random: crng init done
')
motoko
 
Posts: 7
Joined: Tue Jan 30, 2018 7:12 am

Re: RasPI: After an update, my SD card is not mounting anymo

Postby graysky » Sat Jan 08, 2022 11:16 am

That is really odd. Manually run `fsck -vf /dev/sdX2` on the partition from another device.
graysky
Developer
 
Posts: 1728
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: RasPI: After an update, my SD card is not mounting anymo

Postby ufo6000 » Sat Jan 08, 2022 11:20 am

You configured to load the root fs from here: root=/dev/mmcblk0p2 - partion p2
$this->bbcode_second_pass_quote('', '
')Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 video=HDMI-A-1:1920x1080M@60,margin_left=48,margin_right=48,margin_top=48,margin_bottom=48 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 root=/dev/mmcblk0p2 rw rootwait console=ttyS0,115200 console=tty1 selinux=0 plymouth.enable=0 smsc95xx.turbo_mode=N dwc_otg.lpm_enable=0 kgdboc=ttyS0,1152


But the kernel does not found partition 2, only 1 and 3 on your 16GB card:
$this->bbcode_second_pass_quote('', '
')[ 8.221427] mmcblk0: mmc0:aaaa SL16G 14.8 GiB
[ 8.226916] mmcblk0: p1 p3


Either something is corrupt on your card, or you must modify the files in /boot where the wrong root fs is specified.
ufo6000
 
Posts: 117
Joined: Fri Jan 22, 2016 7:54 pm

Re: RasPI: After an update, my SD card is not mounting anymo

Postby motoko » Sat Jan 08, 2022 6:58 pm

Thank you graysky. It reported no errors.

Thank you ufo6000. I totally missed the p2 vs p3 change! I changed the partition in cmdline.txt from p2 to p3 and now it boots fine. It's fixed. No issues yet.

How on Earth did this change happen? I've never messed with partitions. The partition on which the main filesystem is mounted on is encrypted and after the original install, I've never touched it because it's worked fine. But after the latest update, the partition layout/numbering has changed. All I did was run pacman -Syu and accepted changes (IIRC something about firmware now being legacy). Really weird.

BTW, I can't click on "Quote" to quote messages... forum complains about topic being too old.
motoko
 
Posts: 7
Joined: Tue Jan 30, 2018 7:12 am


Return to User Questions

Who is online

Users browsing this forum: No registered users and 1 guest