Trouble logging-in after pacman -Syu

This forum is for all other ARMv5 devices

Trouble logging-in after pacman -Syu

Postby josep » Sat Feb 04, 2012 6:02 pm

I have been trying to stabilize my B01 pogoplug archlinux installation.

This morning I realized that pacman -Syu actually pulled through the previous problem it had, with udev-osnas, and had an error due to /etc/mtab.

Reading the forums, it seemed the problem was known and easy to resolve, using pacman -Syuf.

I did that. But after the next reboot, I could not normally ssh into the box. I am getting the following message:

$this->bbcode_second_pass_quote('', '&')quot;PTY allocation request failed on channel 0"


Thinking I had some sort of dirty interaction I decided to start afresh, reimaging my external flash drive folllowing the instructions, from a ubuntu Linux box.

After doing so, I executed the pacman -Syuf command, everything went through, and I did reboot the box.

Well, the problem seems the same. I am getting the same message when attempting to ssh into the box.

I can get into the box using ssh -T, and execute some commands.
So, thinking some kernel modules were not loaded, I tried to execute depmod -a, getting the following error:
$this->bbcode_second_pass_quote('', '&')quot;WARNING: could not open /lib/modules/2.6.31.6_SMP_820/modules.builtin: No such file or directory"


having a look at /dev revealed this:
$this->bbcode_second_pass_quote('', 'l')s /dev
console
initctl
log
null
pts
shm
tty[0-9]*
urandom
zero


I can certainly re-image my usb stick yet again, but I do not seem able to pacman -Syu that box... without breaking something.

Any ideas of what may be going wrong?

Thanks

Jose
josep
 
Posts: 3
Joined: Sat Feb 04, 2012 5:44 pm
Top

Re: Trouble logging-in after pacman -Syu

Postby xenoxaos » Sat Feb 04, 2012 6:42 pm

So, I would recommend only forcing packages that need to be forced. On the older kernel, you absolutely need to have udev-oxnas. To overcome the mtab error,
$this->bbcode_second_pass_code('', 'pacman -Syf filesystem')
That will get you past the mtab issue. We're working on getting an upgraded kernel finished, so we do ask your patience as we will get this fixed asap!
Arch Linux ARM exists and continues to grow through community support, please donate today!
xenoxaos
Developer
 
Posts: 323
Joined: Thu Jan 06, 2011 1:45 am

Re: Trouble logging-in after pacman -Syu

Postby josep » Sat Feb 04, 2012 7:48 pm

xenoxaos.

I have done what you suggested, and I am still getting the same results.

My conclusion is that one should *NOT* do the suggested system upgrade (pacman -Syu), as it clearly does not leave the system in a healthy state.

Thanks,

Jose
josep
 
Posts: 3
Joined: Sat Feb 04, 2012 5:44 pm

Re: Trouble logging-in after pacman -Syu

Postby Philoo » Sat Feb 04, 2012 10:09 pm

This is followed and worked-around in this thread http://archlinuxarm.org/forum/viewtopic.php?f=29&t=2334
the issue seems to come from some udev (or udev-oxnas) rule that does not work correctly.
in the meantime the work around is to rebulid a minimum set of dev for instance like:

$this->bbcode_second_pass_code('', '
ssh user@host "/bin/bash -i"

rm -rf /dev/ptmx
mknod /dev/ptmx c 5 2
chmod 666 /dev/ptmx
umount /dev/pts
rm -rf /dev/pts
mkdir /dev/pts
echo "none /dev/pts devpts defaults 0 0" >> /etc/fstab
mount /dev/pts

')

logout then back in and you should be ok until the actual fix is made available

I tested yesterday that the content of the /dev folder is maintained after the pacman -Syuf until you reboot.
Philoo
 
Posts: 102
Joined: Wed Aug 10, 2011 9:20 pm

Re: Trouble logging-in after pacman -Syu

Postby josep » Sun Feb 05, 2012 8:45 am

Thanks,

following the indications in the thread you pointed me to gave me back my system.

$this->bbcode_second_pass_quote('Philoo', 'T')his is followed and worked-around in this thread http://archlinuxarm.org/forum/viewtopic.php?f=29&t=2334
the issue seems to come from some udev (or udev-oxnas) rule that does not work correctly.
in the meantime the work around is to rebulid a minimum set of dev for instance like:

$this->bbcode_second_pass_code('', '
ssh user@host "/bin/bash -i"

rm -rf /dev/ptmx
mknod /dev/ptmx c 5 2
chmod 666 /dev/ptmx
umount /dev/pts
rm -rf /dev/pts
mkdir /dev/pts
echo "none /dev/pts devpts defaults 0 0" >> /etc/fstab
mount /dev/pts

')

logout then back in and you should be ok until the actual fix is made available

I tested yesterday that the content of the /dev folder is maintained after the pacman -Syuf until you reboot.
josep
 
Posts: 3
Joined: Sat Feb 04, 2012 5:44 pm
Top


Return to Community Supported

Who is online

Users browsing this forum: No registered users and 3 guests