Skip to main content
Topic: Service root-ro command failed with exit code 32 (Read 669 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Service root-ro command failed with exit code 32

After updating the system goes in "dinit recovery mode" and I cannot boot since most of the services fail to start.

Code: [Select]
dinit: Service root-ro command failed with exit code 32
[FAILED] root-ro
[FAILED] tmpfiles-dev
...
All services have stopped with no shutdown issued: boot failure?

I saw dinit being updated is it related maybe?

I am postponing the update in x86 because of this.
Is it just me?

Re: Service root-ro command failed with exit code 32

Reply #1
I certainly can't reproduce this in both of a fresh VirtualBox instance and my computer (x86, mind you).
I can only say, it depends. What's your /proc/cmdline when entering recovery mode? The only change I did to dinit-rc 5 days ago was adding tmpfiles. And Adding $@ so that init can read whatever people put into cmdline (solving this).

Also, If you downgrade to dinit-0.18.0-4 (keep dinit-rc for now since the only change is tmpfiles-related) through an Artix live ISO and chrooting to your root partition (should still exist in your /var/cache/pacman if you don't run pacman -Sc), does the issue still happen?
now only the dinit guy in artix

Re: Service root-ro command failed with exit code 32

Reply #2
Sorry ARMtix has still dinit 0.18.0-4, only dinit-rc is updated I have 252 updates and I did not look well the phone screen.

/proc/cmdline from recovery:
Code: [Select]
loglevel=4 console=ttyS0,115200 console=tty0 root=/dev/mmcblk0p2 rw rootwait resume=/dev/mapper/root resume_offset=5973248 rd.log=file

/var/log/pacman.log:
Code: [Select]
[2024-06-23...] [ALPM] upgraded dinit-rc (0.2.9-1 -> 0.4.7-1)
Strange did I have 0.2.9-1 before?

I have older version only 0.2.3-1 and that does not work too.

I do not see any log in /run/initramfs/ (cause of rd.log=file).

Re: Service root-ro command failed with exit code 32

Reply #3
Alright, I can safely say that this is probably unrelated to dinit and Artix's implementation of dinit. Nothing odd from your /proc/cmdline either. Since this is on ARM, this is possibly related.

Speaking of holding off x86 update, what is your dinit and dinit-rc package version on your x86 system?
now only the dinit guy in artix

Re: Service root-ro command failed with exit code 32

Reply #4
I built and installed dinit-rc-0.2.9-1 and now:
Code: [Select]
dinit: Could not load service network.target: service description not found.
dinit: Could not load service sshd: could not load dependency.
All services have stopped with no shutdown issued: boot failure?

Not sure what are the .target deps.

In x86:
Code: [Select]
system/dinit 0.18.0-5 [installed: 0.18.0-4]
system/dinit-rc 0.4.7-1 [installed: 0.4.6-1]

Re: Service root-ro command failed with exit code 32

Reply #5
.target deps are only available after dinit-rc-0.3.0 and all new -dinit package are built against that.
I think you can safely upgrade your x86 system though since it's definitely unrelated to the problem you have on ARMtix. Unfortunately I have no ARM system.
now only the dinit guy in artix

Re: Service root-ro command failed with exit code 32

Reply #6
I have a RPi 4B and everything seems to be fine.

Code: [Select]
[mobin@Mobin-Mehdi-RPi ~]$ sudo pacman -Qi dinit-rc
Name            : dinit-rc
Version         : 0.4.7-1
Description     : rc files for dinit
Architecture    : aarch64
URL             : https://gitea.artixlinux.org/artix/dinit-rc
Licenses        : BSD
Groups          : None
Provides        : init-udev  init-rc
Depends On      : udev  artix-cgroups  dbus
Optional Deps   : cryptsetup-dinit: Encrypted disks support
                  lvm2-dinit: LVM support
                  mdadm-dinit: MD devices support
Required By     : dinit
Optional For    : None
Conflicts With  : init-udev  init-rc
Replaces        : None
Installed Size  : 160.70 KiB
Packager        : Unknown Packager
Build Date      : Tue Jun 18 22:01:21 2024
Install Date    : Thu Jan 1 04:00:58 1970
Install Reason  : Installed as a dependency for another package
Install Script  : Yes
Validated By    : SHA-256 Sum

I personally debug these kind of issues with "init=/bin/sh" kernel parameter. When /bin/sh comes up, I use that command to see what's wrong. For "root-ro" service the command is "/bin/mount -o remount,ro,rshared /"
Code: [Select]
[mobin@Mobin-Mehdi-RPi ~]$ cat /lib/dinit.d/root-ro
type    = scripted
command = /bin/mount -o remount,ro,rshared /
restart = false

Then run the command, post the output and probably dmesg in here. Note: I'm not sure it does work on ARM systems, I do that thing on my x86 PC.

Re: Service root-ro command failed with exit code 32

Reply #7
I set it:
Code: [Select]
setenv bootargs loglevel=4 ... rd.log=file init=/bin/sh

From there and from dinit r(e)covery I ran the command and no output.
I have dmesg from dinit recovery, with "init=/bin/sh" I could not write a file.

PinePhone needs a patched kernel so I have linux-megi from Danctnix.
Code: [Select]
[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 6.7.4-2-danctnix (builduser@alarm) (aarch64-unknown-linux-gnu-gcc (GCC) 12.1.0, GNU ld (GNU Binutils) 2.38) #1 SMP PREEMPT_DYNAMIC Sat Feb 10 20:40:32 UTC 2024
[    0.000000] Machine model: Pine64 PinePhone (1.2)
[    0.000000] efi: UEFI not found.
[    0.000000] NUMA: No NUMA configuration found
[    0.000000] NUMA: Faking a node at [mem 0x0000000040000000-0x00000000ffffffff]
[    0.000000] NUMA: NODE_DATA [mem 0xff7b0940-0xff7b2fff]
[    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] cma: Reserved 256 MiB at 0x00000000ec600000 on node -1
[    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.4
[    0.000000] percpu: Embedded 32 pages/cpu s90664 r8192 d32216 u131072
[    0.000000] pcpu-alloc: s90664 r8192 d32216 u131072 alloc=32*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: ARM erratum 843419
[    0.000000] CPU features: detected: ARM erratum 845719
[    0.000000] alternatives: applying boot alternatives
[    0.000000] Kernel command line: loglevel=4 console=ttyS0,115200 console=tty0 root=/dev/mmcblk0p2 rw rootwait resume=/dev/mapper/root resume_offset=5973248 rd.log=file
[    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] Fallback order for Node 0: 0
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 774144
[    0.000000] Policy zone: DMA
[    0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off
[    0.000000] software IO TLB: SWIOTLB bounce buffer size adjusted to 3MB
[    0.000000] software IO TLB: area num 4.
[    0.000000] software IO TLB: SWIOTLB bounce buffer size roundup to 4MB
[    0.000000] software IO TLB: mapped [mem 0x00000000ebc00000-0x00000000ec000000] (4MB)
[    0.000000] Memory: 2696072K/3145728K available (14848K kernel code, 2238K rwdata, 6576K rodata, 6720K init, 560K bss, 187512K reserved, 262144K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] ftrace: allocating 47256 entries in 185 pages
[    0.000000] ftrace: allocated 185 pages with 5 groups
[    0.000000] trace event string verifier disabled
[    0.000000] Dynamic Preempt: full
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu: RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[    0.000000] rcu: RCU priority boosting: priority 1 delay 500 ms.
[    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] Root IRQ handler: gic_handle_irq
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000] arch_timer: Enabling global workaround for Allwinner erratum UNKNOWN1
[    0.000000] arch_timer: CPU0: Trapping CNTVCT access
[    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000001] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000303] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.001119] kfence: initialized - using 2097152 bytes for 255 objects at 0x(____ptrval____)-0x(____ptrval____)
[    0.001613] Console: colour dummy device 80x25
[    0.001627] printk: legacy console [tty0] enabled
[    0.004014] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[    0.004032] pid_max: default: 32768 minimum: 301
[    0.008193] LSM: initializing lsm=capability,landlock,lockdown,yama,bpf,integrity
[    0.013334] landlock: Up and running.
[    0.013344] Yama: becoming mindful.
[    0.013380] LSM support for eBPF active
[    0.014871] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.014911] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.021132] RCU Tasks: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1.
[    0.021282] RCU Tasks Rude: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1.
[    0.021414] RCU Tasks Trace: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1.
[    0.021780] rcu: Hierarchical SRCU implementation.
[    0.021788] rcu: Max phase no-delay instances is 1000.
[    0.023730] EFI services will not be available.
[    0.024362] smp: Bringing up secondary CPUs ...
[    0.026544] Detected VIPT I-cache on CPU1
[    0.026670] arch_timer: CPU1: Trapping CNTVCT access
[    0.026690] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.028321] Detected VIPT I-cache on CPU2
[    0.028410] arch_timer: CPU2: Trapping CNTVCT access
[    0.028425] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.029870] Detected VIPT I-cache on CPU3
[    0.029947] arch_timer: CPU3: Trapping CNTVCT access
[    0.029960] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.030077] smp: Brought up 1 node, 4 CPUs
[    0.030100] SMP: Total of 4 processors activated.
[    0.030108] CPU features: detected: 32-bit EL0 Support
[    0.030114] CPU features: detected: 32-bit EL1 Support
[    0.030122] CPU features: detected: CRC32 instructions
[    0.030134] CPU features: emulated: Privileged Access Never (PAN) using TTBR0_EL1 switching
[    0.030185] CPU: All CPU(s) started at EL2
[    0.030203] alternatives: applying system-wide alternatives
[    0.033453] devtmpfs: initialized
[    0.046154] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.046197] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.059152] pinctrl core: initialized pinctrl subsystem
[    0.060007] DMI not present or invalid.
[    0.061543] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.063175] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
[    0.063500] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.063977] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.065419] audit: initializing netlink subsys (disabled)
[    0.065790] audit: type=2000 audit(0.064:1): state=initialized audit_enabled=0 res=1
[    0.067421] thermal_sys: Registered thermal governor 'step_wise'
[    0.067544] cpuidle: using governor ladder
[    0.067578] cpuidle: using governor menu
[    0.067876] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.068041] ASID allocator initialised with 65536 entries
[    0.068871] Serial: AMBA PL011 UART driver
[    0.088144] platform 1ca0000.dsi: Fixed dependency cycle(s) with /soc/lcd-controller@1c0c000/ports/port@1/endpoint@1
[    0.089212] platform 1ee0000.hdmi: Fixed dependency cycle(s) with /soc/lcd-controller@1c0d000/ports/port@1/endpoint@1
[    0.093813] platform hdmi-connector: Fixed dependency cycle(s) with /soc/hdmi@1ee0000/ports/port@1/endpoint
[    0.097706] Modules: 24992 pages in range for non-PLT usage
[    0.097717] Modules: 516512 pages in range for PLT usage
[    0.099494] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
[    0.099511] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
[    0.099521] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
[    0.099528] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
[    0.099536] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
[    0.099542] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
[    0.099551] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
[    0.099557] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
[    0.104423] iommu: Default domain type: Translated
[    0.104443] iommu: DMA domain TLB invalidation policy: strict mode
[    0.104943] SCSI subsystem initialized
[    0.105249] usbcore: registered new interface driver usbfs
[    0.105292] usbcore: registered new interface driver hub
[    0.105344] usbcore: registered new device driver usb
[    0.105977] EDAC MC: Ver: 3.0.0
[    0.106635] scmi_core: SCMI protocol bus registered
[    0.108143] NetLabel: Initializing
[    0.108153] NetLabel:  domain hash size = 128
[    0.108160] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
[    0.108254] NetLabel:  unlabeled traffic allowed by default
[    0.109044] clocksource: Switched to clocksource arch_sys_counter
[    0.112029] VFS: Disk quotas dquot_6.6.0
[    0.112216] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.124759] NET: Registered PF_INET protocol family
[    0.125161] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.131157] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
[    0.131235] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.131259] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.131606] TCP bind hash table entries: 32768 (order: 8, 1048576 bytes, linear)
[    0.132891] TCP: Hash tables configured (established 32768 bind 32768)
[    0.133663] MPTCP token hash table entries: 4096 (order: 4, 98304 bytes, linear)
[    0.134029] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.134145] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.134889] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.134932] NET: Registered PF_XDP protocol family
[    0.135691] Unpacking initramfs...
[    0.145684] kvm [1]: IPA Size Limit: 40 bits
[    0.147768] kvm [1]: vgic interrupt IRQ9
[    0.147837] kvm [1]: Hyp mode initialized successfully
[    0.180408] Initialise system trusted keyrings
[    0.180491] Key type blacklist registered
[    0.182018] workingset: timestamp_bits=44 max_order=20 bucket_order=0
[    0.182174] zbud: loaded
[    0.281650] Key type asymmetric registered
[    0.281686] Asymmetric key parser 'x509' registered
[    0.281895] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[    0.282339] io scheduler mq-deadline registered
[    0.282350] io scheduler kyber registered
[    0.282653] io scheduler bfq registered
[    0.311808] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.340632] loop: module loaded
[    0.341735] zram: Added device: zram0
[    0.344985] tun: Universal TUN/TAP device driver, 1.6
[    0.347988] usbcore: registered new interface driver cdc_acm
[    0.348013] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    0.348057] usbcore: registered new interface driver usb-storage
[    0.351828] sun6i-rtc 1f00000.rtc: registered as rtc0
[    0.351900] sun6i-rtc 1f00000.rtc: setting system clock to 1970-01-01T00:01:04 UTC (64)
[    0.352349] i2c_dev: i2c /dev entries driver
[    0.356458] device-mapper: uevent: version 1.0.3
[    0.357667] device-mapper: ioctl: 4.48.0-ioctl (2023-03-01) initialised: [email protected]
[    0.361316] sdhci: Secure Digital Host Controller Interface driver
[    0.361349] sdhci: Copyright(c) Pierre Ossman
[    0.361358] Synopsys Designware Multimedia Card Interface Driver
[    0.367179] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.377191] ledtrig-cpu: registered to indicate activity on CPUs
[    0.378391] SMCCC: SOC_ID: ID = jep106:091e:1689 Revision = 0x00000001
[    0.378534] hid: raw HID events driver (C) Jiri Kosina
[    0.378720] usbcore: registered new interface driver usbhid
[    0.378732] usbhid: USB HID core driver
[    0.385516] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[    0.389145] watchdog: Delayed init of the lockup detector failed: -19
[    0.389177] watchdog: Hard watchdog permanently disabled
[    0.389489] Initializing XFRM netlink socket
[    0.389562] NET: Registered PF_PACKET protocol family
[    0.389863] Key type dns_resolver registered
[    0.412323] registered taskstats version 1
[    0.417312] Loading compiled-in X.509 certificates
[    0.421791] Loaded X.509 cert 'Build time autogenerated kernel key: 7fdba8f3c34ab4f056cab3ff6857ff4d1240e241'
[    0.432411] zswap: loaded using pool zstd/zsmalloc
[    0.453868] Key type .fscrypt registered
[    0.453899] Key type fscrypt-provisioning registered
[    0.485663] platform 1100000.mixer: Fixed dependency cycle(s) with /soc/lcd-controller@1c0d000/ports/port@0/endpoint@0
[    0.485752] platform 1100000.mixer: Fixed dependency cycle(s) with /soc/lcd-controller@1c0c000/ports/port@0/endpoint@0
[    0.487183] platform 1200000.mixer: Fixed dependency cycle(s) with /soc/lcd-controller@1c0d000/ports/port@0/endpoint@1
[    0.487275] platform 1200000.mixer: Fixed dependency cycle(s) with /soc/lcd-controller@1c0c000/ports/port@0/endpoint@1
[    0.494918] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    0.497946] sun50i-a64-r-pinctrl 1f02c00.pinctrl: initialized sunXi PIO driver
[    0.498582] sun50i-a64-r-pinctrl 1f02c00.pinctrl: supply vcc-pl not found, using dummy regulator
[    0.546342] scpi_protocol scpi: SCP Protocol 1.2 Firmware 0.6.1 version
[    0.570005] sunxi-rsb 1f03400.rsb: RSB running at 4000000 Hz
[    0.570724] axp20x-rsb sunxi-rsb-3a3: AXP20x variant AXP803 found
[    0.577092] input: axp20x-pek as /devices/platform/soc/1f03400.rsb/sunxi-rsb-3a3/axp221-pek/input/input0
[    0.579579] axp20x-adc axp813-adc: DMA mask not set
[    0.580963] axp20x-battery-power-supply axp20x-battery-power-supply: DMA mask not set
[    0.589899] axp20x-battery-power-supply axp20x-battery-power-supply: Configuring battery thermal regulation for Pinephone
[    0.591386] axp20x-usb-power-supply axp20x-usb-power-supply: DMA mask not set
[    0.591529] axp20x-usb-power-supply axp20x-usb-power-supply: Increasing Vbus hold voltage to 4.5V
[    0.594546] axp20x-rsb sunxi-rsb-3a3: AXP20X driver loaded
[    0.598343] gpio gpiochip1: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    0.605125] sun50i-a64-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.607744] dvdd-1v8-csi: Bringing 700000uV into 1800000-1800000uV
[    0.621263] printk: legacy console [ttyS0] disabled
[    0.622216] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 192, base_baud = 1500000) is a U6_16550A
[    0.622364] printk: legacy console [ttyS0] enabled
[    0.622453] vcc-1v8-typec: Bringing 3300000uV into 1800000-1800000uV
[    0.636233] 1c28400.serial: ttyS1 at MMIO 0x1c28400 (irq = 193, base_baud = 1500000) is a U6_16550A
[    0.636712] serial serial0: tty port ttyS1 registered
[    0.639323] 1c28c00.serial: ttyS2 at MMIO 0x1c28c00 (irq = 194, base_baud = 1500000) is a U6_16550A
[    0.762717] Goodix-TS 0-005d: ID 917S, version: 0200
[    0.763640] i2c 0-0028: Fixed dependency cycle(s) with /soc/phy@1c19400/port/endpoint
[    0.768732] stk3310 1-0048: supply i2c not found, using dummy regulator
[    0.810226] sunxi-mmc 1c0f000.mmc: Got CD GPIO
[    1.066366] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB, uses new timings mode
[    1.069642] sunxi-mmc 1c10000.mmc: allocated mmc-pwrseq
[    1.354093] sunxi-mmc 1c10000.mmc: initialized, max. request size: 16384 KB, uses new timings mode
[    1.368030] musb-sunxi 1c19000.usb: Disabling musb host side code due to re-routed phy
[    1.368492] usb_phy_generic usb_phy_generic.1.auto: dummy supplies not allowed for exclusive requests
[    1.369816] sunxi-mmc 1c11000.mmc: initialized, max. request size: 2048 KB, uses new timings mode
[    1.418704] mmc1: new high speed SDIO card at address 0001
[    1.441393] mmc0: new high speed SDXC card at address aaaa
[    1.454205] mmcblk0: mmc0:aaaa SL64G 59.5 GiB
[    1.468219]  mmcblk0: p1 p2
[    1.497159] anx7688 0-0028: power enabled
[    1.498059] anx7688 0-0028: Vendor id 0x1f29
[    1.513172] anx7688 0-0028: power disabled
[    1.513491] anx7688 0-0028: enabling USB BC 1.2 detection
[    1.519329] ehci-platform 1c1b000.usb: EHCI Host Controller
[    1.519385] ehci-platform 1c1b000.usb: new USB bus registered, assigned bus number 1
[    1.519572] ehci-platform 1c1b000.usb: irq 203, io mem 0x01c1b000
[    1.537215] ehci-platform 1c1b000.usb: USB 2.0 started, EHCI 1.00
[    1.537613] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.07
[    1.537641] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.537651] usb usb1: Product: EHCI Host Controller
[    1.537659] usb usb1: Manufacturer: Linux 6.7.4-2-danctnix ehci_hcd
[    1.537667] usb usb1: SerialNumber: 1c1b000.usb
[    1.540010] hub 1-0:1.0: USB hub found
[    1.540088] hub 1-0:1.0: 1 port detected
[    1.550934] mmc2: new DDR MMC card at address 0001
[    1.552952] mmcblk2: mmc2:0001 ASTCXX 29.0 GiB
[    1.559420]  mmcblk2: p1 p2
[    1.561575] mmcblk2boot0: mmc2:0001 ASTCXX 4.00 MiB
[    1.565323] mmcblk2boot1: mmc2:0001 ASTCXX 4.00 MiB
[    1.630431] pinephone-keyboard 2-0015: Keyboard was not found on the I2C bus, maybe it's disconnected.
[    1.636221] ohci-platform 1c1b400.usb: Generic Platform OHCI controller
[    1.636274] ohci-platform 1c1b400.usb: new USB bus registered, assigned bus number 2
[    1.636477] ohci-platform 1c1b400.usb: irq 205, io mem 0x01c1b400
[    1.667067] sun4i-drm display-engine: bound 1100000.mixer (ops sun8i_mixer_ops)
[    1.668778] sun4i-drm display-engine: bound 1200000.mixer (ops sun8i_mixer_ops)
[    1.669803] sun4i-drm display-engine: No panel or bridge found... RGB output disabled
[    1.669845] sun4i-drm display-engine: bound 1c0c000.lcd-controller (ops sun4i_tcon_ops)
[    1.670396] sun4i-drm display-engine: bound 1c0d000.lcd-controller (ops sun4i_tcon_ops)
[    1.670458] sun4i-drm display-engine: bound 1ca0000.dsi (ops sun6i_dsi_ops)
[    1.671806] sun8i-dw-hdmi 1ee0000.hdmi: Detected HDMI TX controller v1.32a with HDCP (sun8i_dw_hdmi_phy)
[    1.672857] sun8i-dw-hdmi 1ee0000.hdmi: registered DesignWare HDMI I2C bus driver
[    1.673576] sun4i-drm display-engine: bound 1ee0000.hdmi (ops sun8i_dw_hdmi_ops)
[    1.674659] [drm] Initialized sun4i-drm 1.0.0 20150629 for display-engine on minor 0
[    1.674794] sun4i-drm display-engine: [drm] Cannot find any crtc or sizes
[    1.681420] fbcon: Deferring console take-over
[    1.681462] sun4i-drm display-engine: [drm] fb0: sun4i-drmdrmfb frame buffer device
[    1.685172] sun6i-mipi-dsi 1ca0000.dsi: Attached device xbd599
[    1.685208] panel-sitronix-st7703 1ca0000.dsi.0: 720x1440@60 24bpp dsi 4dl - ready
[    1.686426] input: gpio-keys as /devices/platform/gpio-keys/input/input1
[    1.691624] hid_bpf: error while preloading HID BPF dispatcher: -22
[    1.697505] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.07
[    1.697541] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.697550] usb usb2: Product: Generic Platform OHCI controller
[    1.697558] usb usb2: Manufacturer: Linux 6.7.4-2-danctnix ohci_hcd
[    1.697566] usb usb2: SerialNumber: 1c1b400.usb
[    1.698454] hub 2-0:1.0: USB hub found
[    1.698516] hub 2-0:1.0: 1 port detected
[    2.399333] phy phy-1c19400.phy.1: Changing dr_mode to 1
[    2.399417] ehci-platform 1c1a000.usb: EHCI Host Controller
[    2.399494] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 3
[    2.399591] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[    2.399618] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 4
[    2.399834] ehci-platform 1c1a000.usb: irq 202, io mem 0x01c1a000
[    2.399855] ohci-platform 1c1a400.usb: irq 204, io mem 0x01c1a400
[    2.413268] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[    2.413665] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.07
[    2.413680] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.413690] usb usb3: Product: EHCI Host Controller
[    2.413697] usb usb3: Manufacturer: Linux 6.7.4-2-danctnix ehci_hcd
[    2.413705] usb usb3: SerialNumber: 1c1a000.usb
[    2.416411] hub 3-0:1.0: USB hub found
[    2.416473] hub 3-0:1.0: 1 port detected
[    2.461989] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.07
[    2.462031] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.462041] usb usb4: Product: Generic Platform OHCI controller
[    2.462049] usb usb4: Manufacturer: Linux 6.7.4-2-danctnix ohci_hcd
[    2.462056] usb usb4: SerialNumber: 1c1a400.usb
[    2.465556] hub 4-0:1.0: USB hub found
[    2.465634] hub 4-0:1.0: 1 port detected
[    2.478581] clk: Disabling unused clocks
[    4.537390] Freeing initrd memory: 87584K
[    4.564759] Goodix-TS 0-005d: Direct firmware load for goodix_917S_cfg.bin failed with error -2
[    4.571699] input: Goodix Capacitive TouchScreen as /devices/platform/soc/1c2ac00.i2c/i2c-0/0-005d/input/input2
[    4.590260] Freeing unused kernel memory: 6720K
[    4.658395] Checked W+X mappings: passed, no W+X pages found
[    4.658431] rodata_test: all tests were successful
[    4.658463] Run /init as init process
[    4.658471]   with arguments:
[    4.658479]     /init
[    4.658484]   with environment:
[    4.658490]     HOME=/
[    4.658495]     TERM=linux
[    4.818242] lima 1c40000.gpu: gp - mali400 version major 1 minor 1
[    4.818358] lima 1c40000.gpu: pp0 - mali400 version major 1 minor 1
[    4.818445] lima 1c40000.gpu: pp1 - mali400 version major 1 minor 1
[    4.818482] lima 1c40000.gpu: l2 cache 64K, 4-way, 64byte cache line, 64bit external bus
[    4.819183] lima 1c40000.gpu: bus rate = 200000000
[    4.819194] lima 1c40000.gpu: mod rate = 297000000
[    4.819729] lima 1c40000.gpu: Failed to register cooling device
[    4.820504] [drm] Initialized lima 1.1.0 20191231 for 1c40000.gpu on minor 1
[    6.091672] sun8i-ce 1c15000.crypto: Set mod clock to 300000000 (300 Mhz) from 24000000 (24 Mhz)
[    6.094243] sun8i-ce 1c15000.crypto: will run requests pump with realtime priority
[    6.094706] sun8i-ce 1c15000.crypto: will run requests pump with realtime priority
[    6.095045] sun8i-ce 1c15000.crypto: will run requests pump with realtime priority
[    6.095400] sun8i-ce 1c15000.crypto: will run requests pump with realtime priority
[    6.095619] sun8i-ce 1c15000.crypto: Register cbc(aes)
[    6.095678] sun8i-ce 1c15000.crypto: Register ecb(aes)
[    6.095692] sun8i-ce 1c15000.crypto: Register cbc(des3_ede)
[    6.095705] sun8i-ce 1c15000.crypto: Register ecb(des3_ede)
[    6.095718] sun8i-ce 1c15000.crypto: Register md5
[    6.095734] sun8i-ce 1c15000.crypto: Register sha1
[    6.095748] sun8i-ce 1c15000.crypto: Register sha224
[    6.095762] sun8i-ce 1c15000.crypto: Register sha256
[    6.095776] sun8i-ce 1c15000.crypto: DEBUG: Algo of sha384 not supported
[    6.095784] sun8i-ce 1c15000.crypto: DEBUG: Algo of sha512 not supported
[    6.095792] sun8i-ce 1c15000.crypto: Register stdrng
[    6.095838] sun8i-ce 1c15000.crypto: TRNG not supported
[    6.095845] sun8i-ce 1c15000.crypto: CryptoEngine Die ID 0
[    6.110996] input: 1c21800.lradc as /devices/platform/soc/1c21800.lradc/input/input4
[    6.502331] Key type encrypted registered
[    7.433061] random: crng init done
[   20.460012] raid6: skipped pq benchmark and selected neonx8
[   20.460038] raid6: using neon recovery algorithm
[   20.467911] xor: automatically using best checksumming function   32regs   
[   20.612517] Btrfs loaded, zoned=yes, fsverity=yes
[   21.065700] PM: Image not found (code -6)
[   21.232747] BTRFS: device fsid 2e5acc8f-0ac1-40f3-bdcc-7c598be4d377 devid 1 transid 143766 /dev/mapper/root scanned by mount (2340)
[   21.235517] BTRFS info (device dm-0): first mount of filesystem 2e5acc8f-0ac1-40f3-bdcc-7c598be4d377
[   21.235614] BTRFS info (device dm-0): using crc32c (crc32c-generic) checksum algorithm
[   21.235639] BTRFS info (device dm-0): using free space tree
[   21.249109] BTRFS info (device dm-0): bdev /dev/mapper/root errs: wr 15, rd 3, flush 0, corrupt 0, gen 0
[   21.313956] BTRFS info (device dm-0): enabling ssd optimizations
[   21.313996] BTRFS info (device dm-0): auto enabling async discard
[   22.476815] fbcon: Taking over console
[   22.486700] Console: switching to colour frame buffer device 90x90
[   23.805763] fuse: init (API version 7.39)
[   23.929574] configfs-gadget.g1 gadget.0: HOST MAC fe:f2:73:da:17:85
[   23.929613] configfs-gadget.g1 gadget.0: MAC 56:09:6e:01:fb:3e
[   23.930917] phy phy-1c19400.phy.1: Changing dr_mode to 2
[   28.525341] anx7688 0-0028: plug irq (cd=1)
[   28.541096] anx7688 0-0028: cable inserted
[   28.581097] anx7688 0-0028: power enabled
[   28.645246] anx7688 0-0028: eeprom0 = 0x03
[   28.645266] anx7688 0-0028: fw loaded after 40 ms
[   28.645491] anx7688 0-0028: OCM firmware loaded (version 0x2312)
[   28.646562] anx7688 0-0028: send pd packet cmd=0x00 05 00 32 90 01 26 12
[   28.694279] anx7688 0-0028: send pd packet cmd=0x01 05 01 2c 91 01 26 16
[   28.694845] anx7688 0-0028: send pd packet cmd=0x02 11 02 00 00 00 ec 00 00 00 00 00 00 00 00 39 00 00 51 77
[   28.695705] anx7688 0-0028: send pd packet cmd=0x03 05 03 00 00 01 ff f8
[   28.696263] anx7688 0-0028: OCM configuration completed
[   28.697355] sun8i-dw-hdmi 1ee0000.hdmi: EVENT=plugout
[   28.697451] anx7688 0-0028: status changed to 0x00
[   28.697468] anx7688 0-0028: cc_status changed to CC1 = SRC.Open CC2 = SRC.Open
[   28.697484] anx7688 0-0028: DP state changed to 0x0000
[   28.697500] anx7688 0-0028: VCONN role change to SINK
[   28.945579] anx7688 0-0028: status changed to 0x0c
[   28.945609] anx7688 0-0028: POWER role change to SOURCE
[   28.945699] anx7688 0-0028: VCONN role change to SOURCE
[   28.989783] anx7688 0-0028: BC 1.2 result: SDP
[   29.147964] anx7688 0-0028: status changed to 0x2c
[   29.147993] anx7688 0-0028: cc_status changed to CC1 = SRC.Open CC2 = SRC.Rd
[   29.148119] anx7688 0-0028: DATA role change requested to DFP
[   29.649105] usb 4-1: new low-speed USB device number 2 using ohci-platform
[   29.878694] usb 4-1: New USB device found, idVendor=046d, idProduct=c31c, bcdDevice=64.00
[   29.878718] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[   29.878735] usb 4-1: Product: USB Keyboard
[   29.878748] usb 4-1: Manufacturer: Logitech
[   29.891583] input: Logitech USB Keyboard as /devices/platform/soc/1c1a400.usb/usb4/4-1/4-1:1.0/0003:046D:C31C.0001/input/input5
[   29.952104] hid-generic 0003:046D:C31C.0001: input,hidraw0: USB HID v1.10 Keyboard [Logitech USB Keyboard] on usb-1c1a400.usb-1/input0
[   29.962995] input: Logitech USB Keyboard Consumer Control as /devices/platform/soc/1c1a400.usb/usb4/4-1/4-1:1.1/0003:046D:C31C.0002/input/input6
[   30.021614] input: Logitech USB Keyboard System Control as /devices/platform/soc/1c1a400.usb/usb4/4-1/4-1:1.1/0003:046D:C31C.0002/input/input7
[   30.024531] hid-generic 0003:046D:C31C.0002: input,hidraw1: USB HID v1.10 Device [Logitech USB Keyboard] on usb-1c1a400.usb-1/input1
[   32.222236] anx7688 0-0028: updating power mode to USB, current limit 0mA (0 => BC1.2)
[   32.222355] anx7688 0-0028: enabling vbus_in power path
[   33.757369] dc1sw: disabling
[   33.757996] avdd-csi: disabling
[   33.758643] vcc-1v2-hsic: disabling
[   34.685775] dw-apb-uart 1c28000.serial: forbid DMA for kernel console

Re: Service root-ro command failed with exit code 32

Reply #8
I updated only dinit-rc to dinit-rc-0.4.7-1 and after rebooting it was fine.
I have btrfs and I used the backup before updating all the packages.
I do not why I had old version and how it was working since it was a previous version of dinit-rc-0.3.0.

Again I updated all the system and "Service root-ro command failed with exit code 32" error.
I am holding back the kernel since some time by now so it is not that.

I added log this is the error:
Code: [Select]
mount: /: mount point is busy.
       dmesg(1) may have more information after failed mount system call.
Can this be related to btrfs?

I removed ro in root-ro service and all works fine so far:
Code: [Select]
command = /bin/mount -o remount,rshared /

Re: Service root-ro command failed with exit code 32

Reply #9
Just me had old version of dinit-rc before 0.4.7?
Code: [Select]
[2024-06-23...] [ALPM] upgraded dinit-rc (0.2.9-1 -> 0.4.7-1)

 

Re: Service root-ro command failed with exit code 32

Reply #10
I checked on my rootfs that I use as VM and a new installation weird upgrade there too.
After upgrading again I have root-ro error and I cannot use QT apps.

I installed again manually with basestrap using other sd card to avoid the update.
I have root-ro error and I cannot use QT apps.


I tried "dinitctl logcat root-ro" in the dinit r(e)covery as shown here but I did not work:
Code: [Select]
dinitctl: connecting to socket: /run/dinitctl: No such file or directory
@davmac do you have some suggestion maybe?