You are not logged in.

#1 2014-03-13 08:18:23

donvitocorleone
Member
Registered: 2014-03-13
Posts: 11

[solved] First: Can't login. Second: No network connection

Hi,

I have got an or some issues with my Arch installation an I hope you can help me.

It started 2 or 3 days ago, with the screen freezing while working or browsing. It either freezed completely or it started flickering.
Befor that I upgraded Arch, including the nvidia graphic drivers. So it could have something to do with that, or maybe not.

To fix the occasional freezing I wanted to do another pacman -Syu, but while upgrading, my system froze again.
After rebooting, I can't even login anymore:
I get the cli Login promt, but when I enter my name and hit return, it just returns to ask for my username. No password promt.

So I guess I have two problems to fix: First be able to login again, an then take care of the possibly corrupt graphic drivers.

I am not sure witch system/logfiles etc. to post, in order to get a better help. I hope you can give me some help!

Thanks a lot,
matthias


Edit: Another issue: When I try to use pacman und runlevel 3 I get the error:
pacman: error while loading shared libraries: /usr/lib/libkeyutils.so.1: file to short
And if I remember correctly, the "pacman -Syu" froze, while it was checking the keyrings, or something like that.

Last edited by donvitocorleone (2014-03-17 13:06:28)

Offline

#2 2014-03-13 08:37:13

Spider.007
Member
Registered: 2004-06-20
Posts: 1,176

Re: [solved] First: Can't login. Second: No network connection

It might be wise to use a rescue disc to boot your machine; check your filesystem and post some logs here which might reveal the cause of these problems

Offline

#3 2014-03-13 08:44:09

donvitocorleone
Member
Registered: 2014-03-13
Posts: 11

Re: [solved] First: Can't login. Second: No network connection

Thanks for your fast answer.
Yeah, geting a bootable usb stick was the first thing I did, which is not so easy with no running computer :-)

But which checks would you do to the filesystem and which logs do you think are usefull?
I have access to logs and files via USB and runlevel3, but I am not sure where to look and find the problems!

Thanks,
matthias

(Also see my Edit in the first post!)


Another something, from the /var/log/erros.log:

    DATE TIME localhost login: PAM unable to dlopen(/usr/lib/security/pam_unix.so): /usr/lib/libkeyutils.so.1: file too short
    DATE TIME localhost login: PAM adding faulty module: /usr/lib/security/pam_unix.so

Appears everytime I tryed to login in my system. So I guess I have to fix that file, don't I? But how?

Last edited by donvitocorleone (2014-03-13 09:22:40)

Offline

#4 2014-03-13 10:12:03

Spider.007
Member
Registered: 2004-06-20
Posts: 1,176

Re: [solved] First: Can't login. Second: No network connection

use arch-chroot after mounting your real hard-drive. You need to find the package that owns that file (use pacman -Qo /usr/lib/libkeyutils.so.1 /usr/lib/security/pam_unix.so) and then reinstall those packages (in the chroot). When in the chroot; have a look at journalctl -b (possibly combine this with -1 or -2 to have a look at the previous boot). Check for any messages after the kernel is done.

As an alternative you could reinstall all packages but that will give you some work to do in /etc regarding config-files. Still; you can easily do this from the chroot: execute pacman -Sy `pacman -Qq` and watch it go smile

Last edited by Spider.007 (2014-03-13 10:14:38)

Offline

#5 2014-03-13 12:37:20

donvitocorleone
Member
Registered: 2014-03-13
Posts: 11

Re: [solved] First: Can't login. Second: No network connection

Thanks again for your advice. Turns out to be a bit tricky :-)
When I use any pacman comand I'll get:

 pacman: error while loading shared libraries: /usr/lib/libkeyutils.so.1: file to short

Some errors from journalctl:

DATE TIME hostname kernel: end_request: I/O error, dev sr0. sector 220972
DATE TIME hostname kernel: Buffer I/O error on device sr0. logical block 55243
DATE TIME hostname kernel: kvm: disabled by bios
DATE TIME hostname systemd[341]: Failed at step EXEC spawning /bin/plymouth: No such file or directory

Couldn't copy the whole journal to another computer right now, but I will do so later on and post it here.

Regards

Offline

#6 2014-03-13 13:00:25

Spider.007
Member
Registered: 2004-06-20
Posts: 1,176

Re: [solved] First: Can't login. Second: No network connection

That file comes from keyutils, so you could manually extract the package file from /var/cache/pacman/pkg and copy libkeyutils.so.1 to fix that error. Disabling signing (temporarily) might also work for this specific library

The journal errors seem pretty harmless; sr0 is your cd-drive, kvm disabled means nothing special and neither does the failure to launch plymouth (which everyone experience when they don't have plymouth installed)

Last edited by Spider.007 (2014-03-13 13:01:45)

Offline

#7 2014-03-14 15:21:13

donvitocorleone
Member
Registered: 2014-03-13
Posts: 11

Re: [solved] First: Can't login. Second: No network connection

Hey Spider,

thanks for your effort and advise. Extracting the package file did a great thing for me!
There were some more corrupt packages which I had to remove and reinstall (with some force...), but at least I am able to login again and even start Openbox.

I still have some problems though: I am not able to build up a network connection. Probably has something to do with the fact, that NTP was one of the corrupt packages. I get the following errors:

DATE TIME localhost ntpd_interes[707]: host name not found: 0.pool.ntp.org
DATE TIME localhost ntpd_interes[707]: host name not found: 1.pool.ntp.org
DATE TIME localhost ntpd_interes[707]: host name not found: 2.pool.ntp.org

Anybody got some ideas there? I already added the "iburst" option behind the ntp servers, as recommanded in wiki/forum. I still get the same errors.

Thanks in advance,
Matthias

Offline

#8 2014-03-14 17:06:02

Spider.007
Member
Registered: 2004-06-20
Posts: 1,176

Re: [solved] First: Can't login. Second: No network connection

Good to hear! No, that is not a problem with ntp; it is caused by your broken internet connection. Do you use dhcpcd, Networkmanager, or something else to connect to the internet?

Offline

#9 2014-03-14 18:23:37

donvitocorleone
Member
Registered: 2014-03-13
Posts: 11

Re: [solved] First: Can't login. Second: No network connection

Usually I use wicd as a networkmanager.

But I tryed to connect to networks with just "iw", and "dhcpcd" without success. I tried an open WIFI as well as a wired network. I connected to them from the Arch-bootable usb-stick without problems.

Offline

#10 2014-03-15 13:28:14

donvitocorleone
Member
Registered: 2014-03-13
Posts: 11

Re: [solved] First: Can't login. Second: No network connection

So as said before, I can login again now, but I still got other problems:
1. I can't get any network connection to run, as described above. Here are some more errorlogs:

Mar 15 13:48:02 localhost kernel: iwl3945 0000:03:00.0: Error sending C_RXON: time out after 500ms.
Mar 15 13:48:02 localhost kernel: iwl3945 0000:03:00.0: Error setting new configuration (-110).

Mar 15 13:48:48 localhost kernel: wlan0: associated
Mar 15 13:48:48 localhost kernel: IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
Mar 15 13:49:04 localhost kernel: wlan0: deauthenticating from 00:1e:69:63:d8:96 by local choice (reason=3)
Mar 15 13:49:04 localhost kernel: cfg80211: Calling CRDA to update world regulatory domain
Mar 15 13:49:04 localhost kernel: IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Mar 15 13:49:04 localhost kernel: e1000e 0000:00:19.0: irq 47 for MSI/MSI-X
Mar 15 13:49:05 localhost kernel: e1000e 0000:00:19.0: irq 47 for MSI/MSI-X
Mar 15 13:49:05 localhost kernel: e1000e 0000:00:19.0: irq 47 for MSI/MSI-X
Mar 15 13:49:05 localhost kernel: IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
Mar 15 13:49:05 localhost kernel: IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Mar 15 13:49:06 localhost kernel: IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Mar 15 13:49:06 localhost kernel: e1000e 0000:00:19.0: irq 47 for MSI/MSI-X
Mar 15 13:49:07 localhost kernel: e1000e 0000:00:19.0: irq 47 for MSI/MSI-X
Mar 15 13:49:07 localhost kernel: e1000e 0000:00:19.0: irq 47 for MSI/MSI-X
Mar 15 13:49:07 localhost kernel: IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
Mar 15 13:49:07 localhost kernel: wlan0: authenticate with 00:1e:69:63:d8:96
Mar 15 13:49:07 localhost kernel: wlan0: send auth to 00:1e:69:63:d8:96 (try 1/3)
Mar 15 13:49:07 localhost kernel: wlan0: authenticated
Mar 15 13:49:07 localhost kernel: wlan0: associate with 00:1e:69:63:d8:96 (try 1/3)
Mar 15 13:49:07 localhost kernel: wlan0: RX AssocResp from 00:1e:69:63:d8:96 (capab=0x411 status=0 aid=2)
Mar 15 13:49:07 localhost kernel: wlan0: associated
Mar 15 13:49:07 localhost kernel: IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
Mar 15 13:49:12 localhost kernel: wlan0: deauthenticating from 00:1e:69:63:d8:96 by local choice (reason=3)
Mar 15 13:49:13 localhost kernel: cfg80211: Calling CRDA to update world regulatory domain
Mar 15 13:49:13 localhost kernel: IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Mar 15 13:49:13 localhost kernel: e1000e 0000:00:19.0: irq 47 for MSI/MSI-X
Mar 15 13:49:13 localhost kernel: e1000e 0000:00:19.0: irq 47 for MSI/MSI-X
Mar 15 13:49:14 localhost kernel: e1000e 0000:00:19.0: irq 47 for MSI/MSI-X
Mar 15 13:49:14 localhost kernel: IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready

2. My screen still freezes from time to time, which was the problem in the first place and cause my systemupdate to crash.
Could those errors have something to do with it?:

Mar 15 13:43:57 localhost kernel: NVRM: Xid (0000:01:00): 6, PE007f
Mar 15 13:44:19 localhost kernel: NVRM: Xid (0000:01:00): 6, PE0001
Mar 15 13:44:20 localhost kernel: NVRM: Xid (0000:01:00): 6, PE0001
Mar 15 13:44:20 localhost kernel: NVRM: Xid (0000:01:00): 6, PE0001
Mar 15 13:44:20 localhost kernel: NVRM: Xid (0000:01:00): 6, PE0001
Mar 15 13:44:20 localhost kernel: NVRM: Xid (0000:01:00): 6, PE0001
Mar 15 13:44:20 localhost kernel: NVRM: Xid (0000:01:00): 2, CCMDs 00000001 0000502d 00000180 e0010430 0000001c

Every help and hint appreciated!
Matthias

Offline

#11 2014-03-15 14:16:59

Spider.007
Member
Registered: 2004-06-20
Posts: 1,176

Re: [solved] First: Can't login. Second: No network connection

Do you use nouveau or the binary blob from Nvidia? Have you tried the other one to see if that fixes things?

Regarding your network; did you have a look at https://bbs.archlinux.org/viewtopic.php?id=164279 for tips and hints?

Offline

#12 2014-03-15 21:08:07

donvitocorleone
Member
Registered: 2014-03-13
Posts: 11

Re: [solved] First: Can't login. Second: No network connection

Trying to solve he network issue first:
After reinstalling "dhcpcd" I am able to get a wired networkconnection. But still no wireless. Can it have something to do with wpa_supplicant? Here are some log-files (errors.log and ntp.log):

Mar 15 21:53:15 localhost dhcpcd[4575]: wlan0: failed to start wpa_supplicant
Mar 15 21:53:15 localhost dhcpcd[4576]: wlan0: Successfully initialized wpa_supplicant
Line 729: unknown EAP method 'SIM'
You may need to add support for this EAP method during wpa_supplicant
build time configuration.
See README for more information.
Line 729: failed to parse eap 'SIM'.
Line 732: failed to parse network block.
Line 739: unknown EAP method 'PSK'
You may need to add support for this EAP method during wpa_supplicant
build time configuration.
See README for more information.
Line 739: failed to parse eap 'PSK'.
Line 743: failed to parse network block.
Line 775: unknown EAP method 'IKEV2'
You may need to add support for this EAP method during wpa_supplicant
build time configuration.
See README for more information.
Line 775: failed to parse eap 'IKEV2'.
Line 778: failed to parse network block.
Failed to read or parse configuration '/etc/wpa_supplicant/wpa_supplicant.conf'.
Mar 15 21:53:29 localhost dhcpcd[4700]: wlan0: failed to start wpa_supplicant
Mar 15 21:53:29 localhost dhcpcd[4701]: wlan0: Successfully initialized wpa_supplicant
Line 729: unknown EAP method 'SIM'
You may need to add support for this EAP method during wpa_supplicant
build time configuration.
See README for more information.
Line 729: failed to parse eap 'SIM'.
Line 732: failed to parse network block.
Line 739: unknown EAP method 'PSK'
You may need to add support for this EAP method during wpa_supplicant
build time configuration.
See README for more information.
Line 739: failed to parse eap 'PSK'.
Line 743: failed to parse network block.
Line 775: unknown EAP method 'IKEV2'
You may need to add support for this EAP method during wpa_supplicant
build time configuration.
See README for more information.
Line 775: failed to parse eap 'IKEV2'.
Line 778: failed to parse network block.
15 Mar 21:56:39 ntpd[718]: Deleting interface #25 eth0, 192.168.0.14#123, interface stats: received=6, sent=6, dropped=0, active_time=191 secs
15 Mar 21:56:39 ntpd[718]: 86.59.13.46 interface 192.168.0.14 -> (none)
15 Mar 21:56:39 ntpd[718]: 83.175.120.186 interface 192.168.0.14 -> (none)
15 Mar 21:56:39 ntpd[718]: 131.130.251.107 interface 192.168.0.14 -> (none)
15 Mar 21:56:39 ntpd[718]: Deleting interface #23 eth0, fe80::221:86ff:fe54:4b60#123, interface stats: received=0, sent=0, dropped=0, active_t$
15 Mar 21:56:39 ntpd[718]: peers refreshed
15 Mar 21:56:53 ntpd[718]: Listen normally on 26 eth0 fe80::221:86ff:fe54:4b60 UDP 123
15 Mar 21:56:53 ntpd[718]: peers refreshed
15 Mar 21:56:53 ntpd[718]: new interface(s) found: waking up resolver
15 Mar 21:56:58 ntpd[718]: Listen normally on 27 eth0 192.168.0.14 UDP 123
15 Mar 21:56:58 ntpd[718]: peers refreshed
15 Mar 21:56:58 ntpd[718]: new interface(s) found: waking up resolver

Regarding graphics: I use nvidia-304xx since last year. I used nouveau before but had some issues with beamer connections.
I haven't switch drivers so far, because last time switching drivers caused quite a mess as well :-/ And first I am gonna need a stabel wifi/internet connection again.

Btw: Thanks a lot so far, Spider.007!

Matthias

Offline

#13 2014-03-16 12:48:31

Spider.007
Member
Registered: 2004-06-20
Posts: 1,176

Re: [solved] First: Can't login. Second: No network connection

Since you have experienced corrupted files, why not reinstall all packages as I suggested initially? The wpa_supplicant message also seems to indicate corrupted files. And again; ntp is a simply a client that uses your internet connection; it's messages are of little relevance here.

And you're welcome! wink

Offline

#14 2014-03-17 13:05:42

donvitocorleone
Member
Registered: 2014-03-13
Posts: 11

Re: [solved] First: Can't login. Second: No network connection

Hi,

I think I have my system back running.
I had to delete all config files for the network connection (wpa_supplicant/wicd). And after reentering the informations, I was good to go again.

It probably was all due to the freeze during the update, which corrupted a couple of filse. So yes Spider, reinstalling all öf them seems appropriate now. I was just a little "afraid" of all the config settings I will loose and not remember :-)

My initial problem, the freezing, didn't occur again so far. So I hope the updated drivers settled this matter as well. I will mark this thread as solved, as at least the troubling parts (no login, no network connection) are solved.

Thanks again to you  spider!

Offline

#15 2014-03-17 15:25:52

Spider.007
Member
Registered: 2004-06-20
Posts: 1,176

Re: [solved] First: Can't login. Second: No network connection

Good to hear, and no problem. Reinstalling all packages should leave your configuration intact btw; some config files might be renamed to .pacold but you wouldn't lose them smile

Offline

Board footer

Powered by FluxBB