You are not logged in.
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
What do you see in the pacman log?
Offline
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
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
Offline
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
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
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
Offline
Anyhow, thanks for the sanity check. This one is SOLVED
Offline
Anyhow, thanks for the sanity check. This one is SOLVED
Well, then please mark it so.
"The box said requires Vista or better, so I installed Arch"
Windows != Linux
Offline
done
Offline