You are not logged in.
Goes to the login prompt and tries to start xdm (if applicable) immediately without starting anything else.
Messages come about stating Error reading shared libraries: libreadline.so.6
Pressing ctrl-alt-delete gives same message and just hangs.
Last edited by nomorewindows (2012-05-25 03:07:13)
I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.
Offline
Obvious things first, have you done partial upgrades? What version of readline do you have? (current is 6.2.002-2 and provides libreadline.so.6)
Also it's not clear why you think this is a kernel issue
Offline
Obvious things first, have you done partial upgrades? What version of readline do you have? (current is 6.2.002-2 and provides libreadline.so.6)
Also it's not clear why you think this is a kernel issue
I have the current readline and according to pacman.log has been for about a month. When I rebooted after today's kernel upgrade, it didn't boot correctly. Had to drop back to the trusty linux-lts and everything's the way it should be.
I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.
Offline
I have exactly the same issue. The prompt after error shows login (none): and Ctrl-Alt-Delete doesn't even reboot properly.
Tried to boot from USB image and copy /lib/libreadline.so.6.2 from / (/dev/sda4) partition to /lib partition (/dev/sda3) and make symlink, then it starts to complain other missing libs (libcap.so, etc). Then I tried in USB image to mount /dev/sda3 and copy all necessary libs (2~3 libs) from sda4 partition to sda3 and chroot so that bash doesn't complain. But then every other command (`ls', etc) doesn't work, and a boot from hard drive dumps lots of fail messages including udev not functioning, and quickly reboots, again and again. Pretty sure it's issue with initcpio, as my yesterday upgraded packages include linux, linux-header, initcpio and udev, and fall-back to old kernel images has same symptom.
Still have no clue how to solve this.
Offline
I have exactly the same issue. The prompt after error shows login (none): and Ctrl-Alt-Delete doesn't even reboot properly.
Tried to boot from USB image and copy /lib/libreadline.so.6.2 from / (/dev/sda4) partition to /lib partition (/dev/sda3) and make symlink, then it starts to complain other missing libs (libcap.so, etc). Then I tried in USB image to mount /dev/sda3 and copy all necessary libs (2~3 libs) from sda4 partition to sda3 and chroot so that bash doesn't complain. But then every other command (`ls', etc) doesn't work, and a boot from hard drive dumps lots of fail messages including udev not functioning, and quickly reboots, again and again. Pretty sure it's issue with initcpio, as my yesterday upgraded packages include linux, linux-header, initcpio and udev, and fall-back to old kernel images has same symptom.
Still have no clue how to solve this.
Another thread I was reading was talking something about the usr hook, I guess a replacement for the shutdown and fsck hooks for separate /usr partitions? I would think something would be on the main page about this.
I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.
Offline
kaikaizi wrote:I have exactly the same issue. The prompt after error shows login (none): and Ctrl-Alt-Delete doesn't even reboot properly.
Tried to boot from USB image and copy /lib/libreadline.so.6.2 from / (/dev/sda4) partition to /lib partition (/dev/sda3) and make symlink, then it starts to complain other missing libs (libcap.so, etc). Then I tried in USB image to mount /dev/sda3 and copy all necessary libs (2~3 libs) from sda4 partition to sda3 and chroot so that bash doesn't complain. But then every other command (`ls', etc) doesn't work, and a boot from hard drive dumps lots of fail messages including udev not functioning, and quickly reboots, again and again. Pretty sure it's issue with mkinitcpio, as my yesterday upgraded packages include linux, linux-header, mkinitcpio and udev, and fall-back to old kernel images has same symptom.
Still have no clue how to solve this.
Another thread I was reading was talking something about the usr hook, I guess a replacement for the shutdown and fsck hooks for separate /usr partitions? I would think something would be on the main page about this.
Thanks for this info. 2 months earlier I had a boot problem associated with fsck and shutdown, when the fsck in /etc/rc.sysinit fails on boot before my /usr partition was mounted, and adding fsck and shutdown hooks solved this. Now when boot it complains sth about fsck and other binaries (modprobe, etc.) in /etc/rc.sysinit not being found. I assume that I should not remove fsck hook as it would cause another issue in boot process?
Last edited by kaikaizi (2012-05-25 02:18:16)
Offline
Same problem as OP, fixed by adding usr to HOOKS in mkinitcpio.conf and generating a new initramfs.
Let me know if this works for you too.
Offline
nomorewindows wrote:kaikaizi wrote:I have exactly the same issue. The prompt after error shows login (none): and Ctrl-Alt-Delete doesn't even reboot properly.
Tried to boot from USB image and copy /lib/libreadline.so.6.2 from / (/dev/sda4) partition to /lib partition (/dev/sda3) and make symlink, then it starts to complain other missing libs (libcap.so, etc). Then I tried in USB image to mount /dev/sda3 and copy all necessary libs (2~3 libs) from sda4 partition to sda3 and chroot so that bash doesn't complain. But then every other command (`ls', etc) doesn't work, and a boot from hard drive dumps lots of fail messages including udev not functioning, and quickly reboots, again and again. Pretty sure it's issue with mkinitcpio, as my yesterday upgraded packages include linux, linux-header, mkinitcpio and udev, and fall-back to old kernel images has same symptom.
Still have no clue how to solve this.
Another thread I was reading was talking something about the usr hook, I guess a replacement for the shutdown and fsck hooks for separate /usr partitions? I would think something would be on the main page about this.
Thanks for this info. 2 months earlier I had a boot problem associated with fsck and shutdown, when the fsck in /etc/rc.sysinit fails on boot before my /usr partition was mounted, and adding fsck and shutdown hooks solved this. Now when boot it complains sth about fsck and other binaries (modprobe, etc.) in /etc/rc.sysinit not being found. I assume that I should not remove fsck hook as it would cause another issue in boot process?
The usr hook is it! It says so in today's pacman.log while updating the kernel. The last mkinitcpio update was in the last month.
I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.
Offline
kaikaizi wrote:nomorewindows wrote:Another thread I was reading was talking something about the usr hook, I guess a replacement for the shutdown and fsck hooks for separate /usr partitions? I would think something would be on the main page about this.
Thanks for this info. 2 months earlier I had a boot problem associated with fsck and shutdown, when the fsck in /etc/rc.sysinit fails on boot before my /usr partition was mounted, and adding fsck and shutdown hooks solved this. Now when boot it complains sth about fsck and other binaries (modprobe, etc.) in /etc/rc.sysinit not being found. I assume that I should not remove fsck hook as it would cause another issue in boot process?
The usr hook is it! It says so in today's pacman.log while updating the kernel. The last mkinitcpio update was in the last month.
Thanks, nomorewindows and triffeh! I made new image under chroot. (my sda1 is /boot partition, sda2 swap, sda3 /usr, sda4 /)
mount /dev/sda4 /mnt; mount /dev/sda3 /mnt/usr; mount /dev/sda1 /mnt/boot
mount --bind /sys /mnt/sys; mount --bind /dev /mnt/dev; mount --bind /proc /mnt/proc
chroot /mnt
mkinitcpio -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img -k 3.3.7-1-ARCH # add usr hook to conf
init 6
Now it boots normally.
This thread may be closed.
Offline
Hi,
Can you help me ? I'm completely stuck with this problem : I can't log anymore.
When I try to login, it doesn't ask me for a password and it rollback to login prompt, with the libreadline not found error.
How can I regenerate an initramfs image with usr hook included ?
I also tried to boot from arch install CD, and mount my partitions as described by kaikaizi, but when I chroot, I have libreadline error, and if I ls /mnt/usr there's no file (but before chroot I saw my /usr content)
Any idea ?
Thanks in advance.
Offline
Ok, my mistake, now it works perfectly.
The first time I have mounted / after /usr ...
If mount / first, it works well.
Sorry for the noise.
Offline
Though I must say, it would be great if whoever is responsible for this would add the hint at the new usr hook to the comments in /etc/mkinitcpio.conf.
Offline
Though I must say, it would be great if whoever is responsible for this would add the hint at the new usr hook to the comments in /etc/mkinitcpio.conf.
It is in your pacman.log!
I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.
Offline
Sure it's in there, because the maintainer put that hint into .INSTALL. But what does that have to do with a hint on that in the mkinitcpio.conf? A log file, a .INSTALL note, documentation and notes in config files are all different things, don't mix that up. A note in a log file should never ever be confused with a proper documentation.
While there is a hook help page (mkinitcpio -H) for the new usr hook, the comment in mkinitcpio.conf on premounting /usr off a seperate partition is highly misleading as to how it is right now. And a misleading information can be worse than a missing one.
So I still believe the related comment in mkinitcpio should either be corrected or erased at all. That's all there is to it and oh well they probably simply forgot about that comment in the present release. As I said earlier on: Hope they'll fix it.
Offline
Though I must say, it would be great if whoever is responsible for this would add the hint at the new usr hook to the comments in /etc/mkinitcpio.conf.
It is in there now.
I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.
Offline