You are not logged in.

#1 2024-05-03 18:08:31

lihvi
Member
Registered: 2024-05-03
Posts: 6

emergency mode

Guys, I'm having problems with ArchLinux on startup. His output is like this, what do I do now? (This uses the OCR recognition of the mobile phone, which may not be very accurate.)

You are in energency node. After logging in, tu'6 system logs,"systenctl reboot" to reboot, or to continue bootup.
Giue root passuord for maintenance
(or press Control-D to continue):[5.245977] Bluetooth: hci0: HCI LE Coded PHY feature bit is set, but its usage is not supported
[5.261725] thernal thernal zone6: falled to read out thernal zone (-61)
zsh-history-substring-search: Error during git clone
fatal: unable to access'https://github.cow/zsh-users/zsh-history-substring-scarch.git/': Could not resolve host: github.con
x completion: Error during
git clone git-info: Error during git clone Tatal: unable to access
fatal: unable to access
https://withub.com/zinfw/ait-1nfo..qit/:CmuldntyAyJU2hCT?qithub.cOw
x duration-info: Error during git clone
x utility: Error during git clone
x zsh-autosuggestions: Error during git clone
fatal: unabie to access 'https://github.con/zimfu/duratlon-info.git/': Could not resolue host: github.com
x terntitle: Error during git clone
x asciiship: Error during git clone
x enuironment: brror during git clone
fatal: unable to access "https://github.con/zinfw/ut1lity.git/': Could not resolue host: github.com
x git: Error during git clone
fatal: unable to access'https://github.com/zsh-users/zsh-autosuggestions.git/': Could not resolue host: github.com
input: Error during git clone
fatal: unable to access'https://glthub.com/zinfw/input.glt/': Could not resolue host: github.com
x zsh-completions: Error during git clone
fatal: unable to access 'https://github.con/zsh-users/zsh-completlons.git/': Could not resolue host: github.com
zsh-syntax-highlighting:
fatal: unable to access fatal: unable to access fatal: unable to access fatal: unable to access
Error during git clone
https://github.con/zsh-users/zsh-syntax-highlighting.git/": Could not resolve host: github.com
https://github.com/zinfw/terntitle.git/":Couldnot resolue host: github.Col
https://github.com/zin?w/enulcdiici.d0*8Conldnot resolve host:_github.Col
'https://github.com/zinfw/asciiship.git/":
Conid nos yésolve host: qithnb.con
fatal: unable to access 'https://github.com/zinfw/git.git/":'Could not resolue host: github.Con
</root/.zimrc:12:enuironnent:/root/.zim/modules/enuironment not found
x /root/.zimrc:14:git: /root/.zim/modules/git not found
x /root/.zimrc:16:input: /root/.zim/modules/input not found
x/root/.zinrc:18:terntitle:/root/.zin/nodules/terntitle not found
x/root/.zimrc:20:utility:/root/.zim/modules/utility not found
x /root/.zinrc:27:duration-info:/root/.zin/nodules/duration-info not found
x/root/.zimrc:29:git-info: /root/.zin/nodules/git-info not found
x/root/.zimrc:31:asciiship: /root/.zin/nodules/asciiship not found
x/root/.zinrc:38:zsh-conpletions:/root/.zim/nodules/zsh-conpletions not found
x/root/.zimrc:41:completion: /root/.zim/nodules/conpletion not found
x /root/.zinrc:49:zsh-syntax-highlighting: /root/.zim/nodules/zsh-syntax-highlighting not found
x /root/.zimrc:52:zsh-history-substring-search:/root/.zim/modulesrzsh-history-substring-search not found
×/root/.zinrc:54:zsh-autosuggestions:/root/.zin/nodules/zsh-autosuggestions not found
Failed to source /root/.zinrc
/root/ .zshrc:source:112: no such file or directory: /root/.zim/init.zsh
Arch:

Offline

#2 2024-05-03 18:46:08

loqs
Member
Registered: 2014-03-06
Posts: 18,917

Re: emergency mode

What is triggering the system using emergency mode?  That would be earlier in the output.  Typically it would be a failed unit such as a failed mount or service.  Can you use the emergency console for diagnostics?

Last edited by loqs (2024-05-03 18:46:20)

Offline

#3 2024-05-03 19:17:15

lihvi
Member
Registered: 2024-05-03
Posts: 6

Re: emergency mode

It shows these:

Failed to mount /home
Arch: systenctl status hone.mount
x home.mount -/home
Loaded:loaded (etc/fstab;generated)
Actiue: failed (Result: exit-code) since Sat 2024-05-04 03:03:24 CST: 4min 23s ago
Where:/home
What: /dew/disk/by-uuid/af6bf812-7640-46c8-9b45-5e1dZcc96a0a
Docs: man:fstab(5)
man:systend-fstab-generator(8)
CPU: 7ms
May 04 83:03:24 Arch systend[1]: Mounting /hone..
May 04 03:83:24 Arch mount[354]:/home: fsconfig systen call failed: btrfs: Bad ualue for 'space cache'.
dmesg(1), may have more information after failed mount systen call.
home.mount: Mount process exited, code-exited,status=32/n/a
home.mount: Failed with result 'exit-code'.
Failed to nount /home.

Offline

#4 2024-05-03 19:27:33

loqs
Member
Registered: 2014-03-06
Posts: 18,917

Re: emergency mode

btrfs: Bad value for 'space cache'.

What value is set for space cache for /home in the /etc/fstab and shown in /proc/cmdline?

Offline

#5 2024-05-03 19:34:13

lihvi
Member
Registered: 2024-05-03
Posts: 6

Re: emergency mode

/etc/fstab:

#/dev/sdb3 LABEL=Arch
UUID=af6bf812-7640-46c8-9b45-5e1d2cc96a0a    /home    btrfs    re,relatime,compress=zstd:3,ssd,discard=async,space_cache=u257,subvol=/@home

/proc/cmdline:

BOOT_IMAGE=/vmlinuz-linux root=UUID=af6bf812-7640-46c8-9b45-5e1d2cc96a0a rw rootflages=subvol=@ loglevel=5 nowatchdog

Offline

#6 2024-05-03 20:32:27

loqs
Member
Registered: 2014-03-06
Posts: 18,917

Re: emergency mode

space_cache=u257

Is that the actual value or the result of OCR?

Offline

#7 2024-05-03 21:17:16

lihvi
Member
Registered: 2024-05-03
Posts: 6

Re: emergency mode

that's actual value

Offline

#8 2024-05-03 21:17:46

lihvi
Member
Registered: 2024-05-03
Posts: 6

Re: emergency mode

v257

Offline

#9 2024-05-03 21:22:39

loqs
Member
Registered: 2014-03-06
Posts: 18,917

Re: emergency mode

v257 is not mentioned in btrfs.5.en#space_cache.  I suggest setting it to a documented value.

Offline

#10 2024-05-03 21:35:24

lihvi
Member
Registered: 2024-05-03
Posts: 6

Re: emergency mode

I changed it to clear_cache,space_cache=v1 and it entered the system normally after . Thank you so much!

Offline

#11 2024-05-04 07:36:34

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,003

Re: emergency mode

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

Board footer

Powered by FluxBB