You are not logged in.
Problem: Xorg doesn't start and Kernel (4.4.1-2) keeps hanging. or Kernel hangs and X's time outs. Whatever, I am unable to run DE at all.
I managed to log into DE but problem pooped up again as soon as I rebooted the system. Sometimes, I can access SDDM as well means I have a graphical login screen.
Here is what I see after entering password:
starting version 228
/dev/sda3: clean, 307110/1123872 files, 3039051/4493056 blocks
[ 5.682178] kvm: disabled by bios
[ 5.720376] kvm: disabled by bios
[FAILED] Failed to start dhcpcd on enp2s0.
See 'systemctl status dhcpcd@enp2s0.service' for details.
[***] A start job is running for sys-subsystem-net-devices-emp2s0.device.
[TIME] Timed out waiting for device sys-subsystem-net-devices-emp2s0.device.
[DEPEND] Dependency failed for dhcpcd on em2s0.
[OK] Reached targt Multi-User System
[OK] Reached Target Graphical Interface.
[OK] Reached Target Network
[ 960.241422] INFO: task Xorg:417 blocked for more than 120 seconds.
[ 960.244970] Not tainted 4.4.1-2-ARCH #1
[ 960.248413] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.And then, it goes on. If above things happen before SDDM instance is launched then I have no way to see the graphical login screen.
Root disk storage is 72% whereas Home has 36% free. I can access each and everything via tty. No issues with logging in and out. Here is what I see when I log into tty.
[ 960.241422] INFO: task Xorg:417 blocked for more than 120 seconds.
[ 960.244970] Not tainted 4.4.1-2-ARCH #1
[ 960.248413] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.I'll be thankful if someone here points out what's wrong with machine.
...........
<b>Solution</b>
...........
1. All settings changed from UEFI to BIOS along wtih partition from GPT to MBR.
2. Took out extra disk (RAID Mode)
Last edited by mekitron (2016-05-06 12:28:49)
Just Learning. No hard feelings if I seem very dumb.
Offline
I dsiabled SDDM; appended
exec startkde to .xinitrc and it worked. I can start X at login and then launch KDE.
This way, I am losing audio and network.
I am totally trapped now.
Last edited by mekitron (2016-02-12 12:51:50)
Just Learning. No hard feelings if I seem very dumb.
Offline
1) calm down and present as many facts as possible with less hysteria
2) please minimize the use of colors and font settings which make your posts look like ransom letters that are hard to read on many forum themes (edit: thank you for your edits, this is much better)
3) fix your networking as that seems to be the source of the problem. Dhcpcd is failing ... one two interfaces, one of them definitely doesn't look like a network interface name.
mod note: moved to N.C.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Online
3) fix your networking as that seems to be the source of the problem. Dhcpcd is failing ... one two interfaces, one of them definitely doesn't look like a network interface name.
enp2s0.service = wired
emp2s0.device = unknow to me too.
Just Learning. No hard feelings if I seem very dumb.
Offline
If it's unknown to you, why is it enabled? Disable it.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Online
If systemd persistent naming is being used
* http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames
*
* Two character prefixes based on the type of interface:
* en -- Ethernet
* sl -- serial line IP (slip)
* wl -- wlan
* ww -- wwanIs em a transcription error from en in a config file?
Offline
If it's unknown to you, why is it enabled? Disable it.
I disabled it.
Is em a transcription error from en in a config file?
I think, yes. Maybe an old days story.
.....................................
Here are the results of following commands:
systemctl status dhcpcd@enp2s0.service
systemctl status dhcpcd@wlp3s0.service
dhcpd@enp2s0/.wlp3s0service
Loaded: not-found (Reason: No such file or dir)
Active: inactive (dead)Before I tried to set both of the links up and got following response:
RTNETLINK answers: Operation not permitted Any ideas, what wrong am I doing?
Last edited by mekitron (2016-02-12 18:07:32)
Just Learning. No hard feelings if I seem very dumb.
Offline
$ ip link set eth0 down
RTNETLINK answers: Operation not permitted
$ sudo ip link set eth0 downeth0 is just a placeholder
on success no output will be generated ( changing network properties requires root access )
might be useful if you still have issues to include the output of
ip linkedit:
It should not be needed to set an interface up or down if it is being managed by a network manager
also
systemctl list-unit-files|grep enabledshould list all services that have been explicitly enabled that should include all systemd services trying to manage network interfaces
Last edited by loqs (2016-02-12 18:12:48)
Offline
might be useful if you still have issues to include the output of
ip link
RTNETLINK answers: Operation not permitted Above output belongs to "ip link enp2s0/wlp3s0 up" command.
Kindly look at output of "systemctl status". It's inactive and dead. I tried to enable and restart it but failed due to "exceed in resouces".
Last edited by mekitron (2016-02-13 05:14:29)
Just Learning. No hard feelings if I seem very dumb.
Offline
RTNETLINK answers: Operation not permittedAbove output belongs to "ip link" command.
I hope, you are not increasing your post count. You even didn't look at output of "systemctl status".
Just to be certain you are saying the following is exactily what command was entered and the output generated
$ip link
RTNETLINK answers: Operation not permittedThis I find highly unlikely which is why I am asking for clarification
I originally asked for the output of iplink after seeing the output
systemctl status dhcpcd@enp2s0.service
systemctl status dhcpcd@wlp3s0.service
dhcpd@enp2s0/.wlp3s0service
Loaded: not-found (Reason: No such file or dir)
Active: inactive (dead)Note
Loaded: not-found (Reason: No such file or dir)systemd is not aware of such services ( incorrect configuration ) so it does not provide any information on what the actual interfaces or the state might be.
Offline
I hope, you are not increasing your post count.
This sort of attitude is not welcome here. People are trying to help you, despite your complete inability to help yourself. If you can't manage to display common courtesy you will be shown the door in short order. You will not be warned again.
Offline
I realise it, and I will avoid in future. Thanks for the mention.
Last edited by mekitron (2016-02-13 05:29:01)
Just Learning. No hard feelings if I seem very dumb.
Offline
systemd is not aware of such services ( incorrect configuration ) so it does not provide any information on what the actual interfaces or the state might be.
This means config files are corrupted or missing. Am I right? If yes, then how an ethernet wire works when I plug it?
rfkill Command doesn't work at all too.
Something is missing, and I don't know about that.
Last edited by mekitron (2016-02-13 05:34:21)
Just Learning. No hard feelings if I seem very dumb.
Offline
OK, lets try to clarify some confusing things here. Mekitron, I suspect you are trying to use shorthand in the command output you are sharing. I can understand why you might think this is helpful, but this thread has become very confusing. For example, what you posted as the output of a command in post #7 is most definitely not the actual output, but rather your paraphrasing of it. Please post the actual and verbatim output of the following commands:
ip link
systemctl status dhcpcd@enp2s0.service
ls /etc/systemd/system/*"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Online
@Trilby: Thank you very much for your kind understanding.
Here are the outputs:
ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc nonqueue state UNKNOWN mode DEFAULT group default
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp2s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN mode DEFAULT group default qlen 1000
link/ether b8:88:e3:7c:82:e5 brd ff:ff:ff:ff:ff:ff
3: wlp3s0: <BROADCAST, MULTICAST> mtu 1500 qdisc noop state DOWN mode DORMANT group default qlen 1000
link/ether e0:06:e6:82:f8:d2 brd: ff:ff:ff:ff:ff:ff
systemctl status dhcpcd@enp2s0.service
* dhcpcd@enp2s0.service - dhcpcd on en2ps0
Loaded: loaded (/usr/lib/systemd/system/dhcpcd@.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Sat 2016-02-13 05:41:17 UTC; 22min ago
Process: 342 ExecStart=/usr/bin/dhcpcd -q -w %I (code=exited), status=1/FAILURE)
Feb 13 2016-02-13 05:41:17 mekitron systemd[1] Starting dhcpcd on en2ps0...
Feb 13 2016-02-13 05:41:17 mekitron dhcpcd[342]: enp2s0: waiting for carrrier
Feb 13 2016-02-13 05:41:17 mekitron systemd[1]: dhcpcd@enp2s0.service: Control process exited, code=exited status=1
Feb 13 2016-02-13 05:41:17 mekitron systemd[1]: Failed to start dhcpcd on enp2s0.
Feb 13 2016-02-13 05:41:17 mekitron systemd[1]: dhcpcd@enp2s0.service: Unit entered failed state.
Feb 13 2016-02-13 05:41:17 mekitron systemd[1]: dhcpcd@enp2s0.service: Failed with result 'exit-code'.
* dhcpcd@wlp3s0.service - dhcpcd on wlp3s0
Loaded: loaded (/usr/lib/systemd/system/dhcpcd@.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Sat 2016-02-13 05:41:17 UTC; 35min ago
Process: 335 ExecStart=/usr/bin/dhcpcd -q -w %I (code=exited), status=1/FAILURE)
Feb 13 2016-02-13 05:41:17 mekitron systemd[1] Starting dhcpcd on wlp3s0...
Feb 13 2016-02-13 05:41:17 mekitron dhcpcd[335]: wlp3s0: if_up: Operation not possible due to RF-kill
Feb 13 2016-02-13 05:41:17 mekitron dhcpcd[335]: wlp3s0: waiting for carrrier
Feb 13 2016-02-13 05:41:17 mekitron systemd[1]: dhcpcd@wlp3s0.service: Control process exited, code=exited status=1
Feb 13 2016-02-13 05:41:17 mekitron systemd[1]: Failed to start dhcpcd on enp2s0.
Feb 13 2016-02-13 05:41:17 mekitron systemd[1]: dhcpcd@wlp3s0.service: Unit entered failed state.
Feb 13 2016-02-13 05:41:17 mekitron systemd[1]: dhcpcd@wlp3s0.service: Failed with result 'exit-code'.
ls /etc/systemd/system/*
/etc/systemd/system/dbus-org.freedesktop.Avahi.service /etc/systemd/system/dbus-org.freedesktop.nm-dispatcher.service
/etc/systemd/system/dbus-org.freedesktop.NetworkManager.service /etc/systemd/system/display-manager.service
/etc/systemd/system/getty.target.wants:
getty@tty1.service
/etc/systemd/system/multi-user.target.wants:
avahi-daemon.service dhcpcd@enp2s0.service dhcpcd@wlp3s0.service netctl-auto@wlp3s0.service NetworkManager.service remote-fs.target
/etc/systemd/system/sockets.target.wants:
avahi-daemon.socket
/etc/systemd/system/sysinit.target.wants:
systemd-timesyncd.serviceI also want to know what's the relationship of dhcpcd to X? Why X is blocked when dhcpcd doesn't activate @device.service?
O'REILLY's Linux in nutshell is in front of me. I am trying my best to reduce the burden of my learning on community.
Many thanks.
Just Learning. No hard feelings if I seem very dumb.
Offline
dhcpcd@enp2s0.service dhcpcd@wlp3s0.service netctl-auto@wlp3s0.service NetworkManager.servicedhcpcd, netctl and possibly Networkmanager all competing to control the wlp3s0 interface
dhcpcd and Networkmanager may be competing to control the enp2s0 interface
Offline
dhcpcd@enp2s0.service dhcpcd@wlp3s0.service netctl-auto@wlp3s0.service NetworkManager.servicedhcpcd, netctl and possibly Networkmanager all competing to control the wlp3s0 interface
dhcpcd and Networkmanager may be competing to control the enp2s0 interface
What is the possible reason of this? It was not happening yesterday.
Do I need to disable two of one of them now?
Just Learning. No hard feelings if I seem very dumb.
Offline
I also want to know what's the relationship of dhcpcd to X? Why X is blocked when dhcpcd doesn't activate @device.service?
Honestly, I'm not completely sure. Solving the oddities of your networking set up may or may not help with the original problem - but it certainly is possible: issues with the hostname settings will cause errors with Xorg programs exactly like you've described in your first posts. So when I saw networking errors in your logs, it seemed like the most likely cause of the problems. Once your networks are strait, we can investigate your hostname settings and hopefully solve the original problem of the thread.
Also, are you using a wilress or wired network?
Do I need to disable two of one of them now?
Yes. I don't know how/why this didn't cause problems for you previously, but having multiple networking services running is known to cause many networking issues and could potentially lead to the Xorg issues.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Online
when I saw networking errors in your logs, it seemed like the most likely cause of the problems.
You are right.
See what I found.
$ sudo systemctl status networkmanager
Loaded: not found (Reason: No such file or directory)
Active: inactive(dead)
$ sudo systemctl is-enabled networkmanager.service
Failed to get unit file state for networkmanger.service: No such file or directoryI think, somehow, I have messed with network manager. It is removed partially. Am I right? Then, netctl and dhcpcd got activated. And, all of them started arguments that how to handle LAN/WLAN interfaces.
I do not know what I changed. dhcpcd is working now. I can access KDE using xinit, but using SDDM, not at all.
As soon as I log into KDE using SDDM. It keeps showing following message/
starting version 228
/dev/sda3: recovering journal
/dev/sda3: clean, 295563/1123872 files, 2527356/4493056 blocks
[ 4.791525] sd 6:0:0:0: [sdc] No Caching mode page found
[ 4.791525] sd 6:0:0:0: [sdc] Assuming drive cache: write through
[ 5.025018] kvm: disabled by bios
[ 960.241422] INFO: task Xorg:417 blocked for more than 120 seconds.
[ 960.244970] Not tainted 4.4.1-2-ARCH #1
[ 960.248413] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.I also limited journalctl to 50MB and changed some settings in Grub (using "visudo" command) as I started receiving "mei_me initialisation failed error". I followed this article http://askubuntu.com/questions/617352/m … at-boot-up
I think, I have pretty messed up my installation so it is time to wrap important things from SSD and have a fresh installation of Arch. It really takes guts to be a SysAdmin.
Last edited by mekitron (2016-02-13 18:41:50)
Just Learning. No hard feelings if I seem very dumb.
Offline
systemctl status networkmanager
● networkmanager.service
Loaded: not-found (Reason: No such file or directory)
Active: inactive (dead)
$ systemctl status NetworkManager
● NetworkManager.service - Network Manager
Loaded: loaded (/usr/lib/systemd/system/NetworkManager.service; disabled; vendor preset: disabled)
Active: inactive (dead)Filenames are case sensitive.
Offline
Filenames are case sensitive.
Thanks. Noted.
My computer is UEFI based. I am afraid if it is the reason of this uncertain issue.
Just Learning. No hard feelings if I seem very dumb.
Offline
My computer is UEFI based. I am afraid if it is the reason of this uncertain issue.
Do you have any evidence to support this fear? There is nothing in this thread that would lead to that conclusion.
Offline
Do you have any evidence to support this fear?
I changed all of the settings from UEFI to Legacy boot in BIOS, installed LTS kernel, and my computer started working very well.
What doesn meant by "all of the settings"?
Before installing Arch, I left (1) priority to UEFI boot and (2) Intel rapid boot unchanged so I assume either of UEFI or unstable kernel was causing the problem; or both maybe.
My computer also had two SSD disks in RAID mode. I took out one, since then there are no any hangs at all. I don't know if it was contributing to the issue.
<b>My issue is gone with above settings so I am changing the status of this thread to solved.</b>
Just Learning. No hard feelings if I seem very dumb.
Offline