You are not logged in.

#1 2022-07-08 09:58:24

Eternex49
Member
Registered: 2022-07-08
Posts: 12

[SOLVED] Most commands just hang

Hello everyone,

The issue is this: nine commands out of 10 just hang in the terminal. After pressing enter the cursor goes to a newline, no output is displayed, and hangs there indefinitely.

Arch has just been installed in an Acer Aspire ES 15 laptop. I haven't even setup a graphical environment and I'm working from the tty. I've already tried to reinstall Arch 4 times, but with no results.

A similar issue was encountered in this post: https://bbs.archlinux.org/viewtopic.php?id=270724. The problem turned out to be, in that case, taht multiple network managers were enabled. This is not the case for me, as I'm only using NetworkManager, but the commands I'm experiencing issues with (sudo, pacman, ip link, ...) are all "network related", so to speak, as in the case of this other user. This could be a possible lead - or be totally unrelated - but I've just thought that it could be useful to mention it.

The version I'm running is 5.18.9-arch1-1.

Thank everyone.

Last edited by Eternex49 (2022-07-11 16:24:15)

Offline

#2 2022-07-08 10:16:25

Awebb
Member
Registered: 2010-05-06
Posts: 6,688

Re: [SOLVED] Most commands just hang

A list of commands that work and of commands that don't would be helpful.

Offline

#3 2022-07-08 10:59:48

Eternex49
Member
Registered: 2022-07-08
Posts: 12

Re: [SOLVED] Most commands just hang

Awebb wrote:

A list of commands that work and of commands that don't would be helpful.

Basic utilities like cd, ls, cat do work.

Commands that don't work: ip link, ping (sometimes ping does work, though), sudo (su works).

Pacman sometimes outputs a few words but then stops and hangs there indefinitely. Like this:

:: Synchronizing package databases...
 core

Some other times, when downloading a package, it reaches the point where the download bar appears, but then stops, with the download bar remaining to 0%, with obviously 0 KB/s download speed.

When cloning a repository with git this is the only output:

Cloning into 'dwm'...

And then hangs indefinitely.

Also, it should be noted that ctrl+c doesn't work. ^C appears but the situation doesn't change.

Last edited by Eternex49 (2022-07-08 11:00:48)

Offline

#4 2022-07-08 11:10:52

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,267

Re: [SOLVED] Most commands just hang

Is your hostname properly set? Check https://wiki.archlinux.org/title/Networ … e_hostname what hardware and does the issue disappear if you do not aquire a network connection? How are you connecting? In doubt post a full journal log:

journalctl -b

with sudo or in a root shell: https://wiki.archlinux.org/title/List_o … n_services . If you are unable to get a connection to the internet redirect into a file and get it on a device that can.

Last edited by V1del (2022-07-08 15:10:01)

Offline

#5 2022-07-08 14:57:36

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

Re: [SOLVED] Most commands just hang

Also, it should be noted that ctrl+c doesn't work.

Uninterruptable likely means the process is waiting for IO

If you can absolutely not get the journal off that system, link (do not embed it) at least a photo of "lspci" and

find /etc/systemd -type l -exec test -f {} \; -print

Last edited by seth (2022-07-08 14:58:47)

Online

#6 2022-07-11 16:20:49

Eternex49
Member
Registered: 2022-07-08
Posts: 12

Re: [SOLVED] Most commands just hang

Hello everyone,
sorry for the long wait.
The problem has fortunately been resolved. Apparently my wifi card/interface/module/driver was the cause of this. I've blacklisted the module, and then everything started working.
Looking at the journal log, I noticed that multiple times NetworkManager wasn't being executed for over 2 or 3 minutes by the kernel. After a lot of research about this, and being desperate, I tried a solution (disabling wifi module) related to a Ubuntu server, which eventually worked.

Offline

Board footer

Powered by FluxBB