You are not logged in.

#1 2012-06-15 18:41:58

thoth
Member
Registered: 2010-01-10
Posts: 79

boot quik2login but wont let me even type password, [SOLVED]

After a recent update, when I boot it goes directly to a tty login, but not slim as it usually does.  Then while there I type a user name, hit return and it immediately clears the username and skips the password step and lets me type another username immediately.   Which to me seemed that pam was hosed.  But I was able to chroot in from a liveCD and run all updates, reinstall pam for kicks, and throw down a few 'mkinitcpio -p linux',  and anything else I could think of to knock out any old cobwebs.  But upon reboot everytime it fails in the same fashion as described above.   

Some more details about my system, I am running the entire system on an lvm that resides on an encrypted partition,  my HOOKS are as follows:

HOOKS="base udev fsck autodetect pata scsi sata encrypt lvm2 filesystems usbinput shutdown"

as you can see the encrypt in there, when that hits during boot I am prompted a password which decrypts the partition with the lvm on it (only /boot is not encrypted).  Everything is great up to this step, and after confirming password it also runs the next few steps as usual, then it hits something and lightning fast it hits the tty login that won't let me ever type a password.  This setup has worked flawlessly on this laptop for well over a year, while I have had to chroot into fix a mkinitcpio a few times in the past I've never been forced to reinstall.  But I am stumped at the moment and was wondering if anyone had a few pointers.

Last edited by thoth (2012-06-19 19:52:46)

Offline

#2 2012-06-16 03:54:19

/dev/zero
Member
From: Melbourne, Australia
Registered: 2011-10-20
Posts: 1,247

Re: boot quik2login but wont let me even type password, [SOLVED]

What do you see in the pacman log?

Offline

#3 2012-06-16 18:51:23

thoth
Member
Registered: 2010-01-10
Posts: 79

Re: boot quik2login but wont let me even type password, [SOLVED]

Here's a pastebin of the entire log:

https://gist.github.com/2942236

and grep -i fail:

(chroot) [root@bob-Satellite-C655D log]# cat pacman.log |grep -i fail
[2012-01-11 08:23] recreating all formats...Error: `pdftex -ini  -jobname=latex -progname=latex -translate-file=cp227.tcx *latex.ini' failed
[2012-01-11 08:23] Error: `pdftex -ini  -jobname=pdflatex -progname=pdflatex -translate-file=cp227.tcx *pdflatex.ini' failed
[2012-01-11 08:23] Error: `pdftex -ini  -jobname=mllatex -progname=mllatex -translate-file=cp227.tcx -mltex mllatex.ini' failed
[2012-01-11 08:23] Error: `pdftex -ini  -jobname=pdftex -progname=pdftex -translate-file=cp227.tcx *pdfetex.ini' failed
[2012-01-11 08:23] Error: `pdftex -ini  -jobname=etex -progname=etex -translate-file=cp227.tcx *etex.ini' failed
[2012-01-11 08:23] Error: `pdftex -ini  -jobname=pdfetex -progname=pdfetex -translate-file=cp227.tcx *pdfetex.ini' failed
[2012-01-11 08:23] Error: `xetex -ini  -jobname=xetex -progname=xetex -etex xetex.ini' failed
[2012-01-11 08:23] Error: `xetex -ini  -jobname=xelatex -progname=xelatex -etex xelatex.ini' failed
[2012-01-11 08:23] This is a summary of all `failed' messages:
[2012-01-11 08:23] `pdftex -ini  -jobname=latex -progname=latex -translate-file=cp227.tcx *latex.ini' failed
[2012-01-11 08:23] `pdftex -ini  -jobname=pdflatex -progname=pdflatex -translate-file=cp227.tcx *pdflatex.ini' failed
[2012-01-11 08:23] `pdftex -ini  -jobname=mllatex -progname=mllatex -translate-file=cp227.tcx -mltex mllatex.ini' failed
[2012-01-11 08:23] `pdftex -ini  -jobname=pdftex -progname=pdftex -translate-file=cp227.tcx *pdfetex.ini' failed
[2012-01-11 08:23] `pdftex -ini  -jobname=etex -progname=etex -translate-file=cp227.tcx *etex.ini' failed
[2012-01-11 08:23] `pdftex -ini  -jobname=pdfetex -progname=pdfetex -translate-file=cp227.tcx *pdfetex.ini' failed
[2012-01-11 08:23] `xetex -ini  -jobname=xetex -progname=xetex -etex xetex.ini' failed
[2012-01-11 08:23] `xetex -ini  -jobname=xelatex -progname=xelatex -etex xelatex.ini' failed
[2012-02-07 09:29] g_module_open() failed for /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so: libpng14.so.14: cannot open shared object file: No such file or directory
[2012-06-14 00:23] bsdcpio: Failed to set default locale
[2012-06-14 00:23] bsdcpio: Failed to set default locale
[2012-06-15 12:37] bsdcpio: Failed to set default locale
[2012-06-15 12:37] bsdcpio: Failed to set default locale


all looks like latex related stuff to me.

Offline

#4 2012-06-17 00:45:41

thoth
Member
Registered: 2010-01-10
Posts: 79

Re: boot quik2login but wont let me even type password, [SOLVED]

while trying a couple of the boot debuggers from this page:

https://wiki.archlinux.org/index.php/Boot_Debugging

But the debug messages fly by too fast in the end for me to nail down the problem.  I did finally at least the login to give me the error, once when typing the username when I hit return it flashed an error.  So I began typing one letter and hitting return immediately, until finally it said it was respawning too fast and sat there for five minutes.  Here was the error:

/bin/login: error while loading shared libraries: libpam.so.0 :cannot open shared object file: No such file or directory

So it was pam after all, but after rebooting and chrooting in, I find:

# cd /usr/lib
# ls -lh libpam.so.0
lrwxrwxrwx 1 root root 16 Jun  4 10:26 libpam.so.0 -> libpam.so.0.83.1
# ls -lh libpam.so.0.83.1
-rwxr-xr-x 1 root root 55K Jun  4 10:26 libpam.so.0.83.1

Again I reinstalled pam, to no avail.  I'm tarring up home, boot, and etc, I guess I'll just reinstall.  But BOO!  I don't want to, any other suggestions?

Offline

#5 2012-06-17 00:58:42

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: boot quik2login but wont let me even type password, [SOLVED]

Is /usr a separate partition?

BTW, grepping for random words in your log isn't useful. A program can throw errors and warnings without the using the word "fail".

Last edited by falconindy (2012-06-17 00:59:43)

Offline

#6 2012-06-17 03:27:40

thoth
Member
Registered: 2010-01-10
Posts: 79

Re: boot quik2login but wont let me even type password, [SOLVED]

well aware of the grep caveat, that's why I included a full one to pastebin.  I looked through it myself, but was hoping I missed something I guess.  And not a separate usr partition but lvm partition (same difference I guess, but not), anyhow here's my df after chrooting:

# df -h
Filesystem               Size  Used Avail Use% Mounted on
rootfs                   5.0G  240M  4.5G   6% /
udev                     1.8G   12K  1.8G   1% /dev
tmpfs                    5.0G  240M  4.5G   6% /run
/dev/sda13               5.0G  240M  4.5G   6% /
/dev/mapper/vgroup-root  5.0G  240M  4.5G   6% /
/dev/mapper/vgroup-home  5.0G  3.8G  933M  81% /home
/dev/mapper/vgroup-opt   5.0G  213M  4.5G   5% /opt
/dev/mapper/vgroup-tmp  1008M   35M  923M   4% /tmp
/dev/mapper/vgroup-usr    20G  9.1G  9.7G  49% /usr
/dev/mapper/vgroup-var   9.9G  4.9G  4.6G  52% /var
udev                     1.8G   12K  1.8G   1% /dev
/dev/sda5                504M   18M  462M   4% /boot

here's my fstab:

# cat /etc/fstab
#
# /etc/fstab: static file system information
#
# <file system>    <dir>    <type>    <options>    <dump>    <pass>
tmpfs        /tmp    tmpfs    nodev,nosuid    0    0
LABEL=xcion_archboot /boot ext2 defaults 0 1
LABEL=xcion_archhome /home ext4 defaults 0 1
LABEL=xcion_archopt /opt ext4 defaults 0 1
LABEL=xcion_archroot / ext4 defaults 0 1
LABEL=xcion_archswap swap swap defaults 0 0
LABEL=xcion_archtmp /tmp ext4 defaults 0 1
LABEL=xcion_archusr /usr ext4 defaults 0 1
LABEL=xcion_archvar /var ext4 defaults 0 1

I do agree that it looks like my usr partition somehow did not mount during boot, but at the moment I am stumped as to how or why, or even how to prove that IS the case.

Offline

#7 2012-06-17 03:32:13

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: boot quik2login but wont let me even type password, [SOLVED]

Ah, sorry I missed the pastebin link. Yes, you have a separate /usr, regardless of what sort of device it resides on. No, it's not being mounted because rc.sysinit isn't responsible for it these days. And to quote your pacman.log...

[2012-06-07 10:22] warning: /etc/mkinitcpio.conf installed as /etc/mkinitcpio.conf.pacnew
[2012-06-07 10:22] ==> If your /usr is on a separate partition, you must add the "usr" hook
[2012-06-07 10:22]     to /etc/mkinitcpio.conf and regenerate your images before rebooting
[2012-06-07 10:22] upgraded mkinitcpio (0.8.8-1 -> 0.9.1-1)

Offline

#8 2012-06-17 12:25:44

thoth
Member
Registered: 2010-01-10
Posts: 79

Re: boot quik2login but wont let me even type password, [SOLVED]

HOOKS="base udev fsck autodetect pata scsi sata usbinput usb encrypt lvm2 usr filesystems shutdown"

so I'm inserting usr inbetween lvm2 and filesystems and then I'll mkinitcpio -p linux again.  Where was the announcement about this usr creature being spawned in hooks?

Offline

#9 2012-06-17 13:20:18

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: boot quik2login but wont let me even type password, [SOLVED]

thoth wrote:

Where was the announcement about this usr creature being spawned in hooks?

Delivered to you personally via pacman. Not everything is news worthy.

Offline

#10 2012-06-18 22:59:02

thoth
Member
Registered: 2010-01-10
Posts: 79

Re: boot quik2login but wont let me even type password, [SOLVED]

Anyhow, thanks for the sanity check.  This one is SOLVED

Offline

#11 2012-06-18 23:11:26

adamrehard
Member
From: NY, USA
Registered: 2011-11-03
Posts: 154

Re: boot quik2login but wont let me even type password, [SOLVED]

thoth wrote:

Anyhow, thanks for the sanity check.  This one is SOLVED

Well, then please mark it so. smile


"The box said requires Vista or better, so I installed Arch"
Windows != Linux

Offline

#12 2012-06-19 19:53:11

thoth
Member
Registered: 2010-01-10
Posts: 79

Re: boot quik2login but wont let me even type password, [SOLVED]

done

Offline

Board footer

Powered by FluxBB