Can not update glibc - no IP, without this update works some

This forum is for all other ARMv5 devices

Can not update glibc - no IP, without this update works some

Postby sxk » Sat Dec 01, 2012 2:30 pm

Hi folks

I have been battling with my pogo for the last week. One day it decided not to respond to ssh eventhough I still could get in to ftp. After some struggle I just unplugged it and started again. Then it did boot but ssh won't still come on.

Since I haven't updated it in quite a while I downloaded the 11-2011 rootfs and opened it on a thumb drive. I tried the 2012.05 but it won't boot - I don't recall updating the pogo since last year xmas.

1 - reformat the drive
2 - extract the 2012.05 rootfs
3 - extract update-oxnas to root/
4 - copy & replace root/update-oxnas/lib/modules/ to lib/modules/
5 - Boot.
6 - login as root
7 - cd update-oxnas
8 - ./update-oxnas.sh

I did the above steps 1-9 but using the 2011-11 rootfs. Then I was able to get in through ssh.

Then I extracted a latest rootfs to thumbdrive, again copied the update-oxnas/lib/modules to /lib/modules and booted and it gave me ssh. Then I went about updating using the

pacman -Syu --ignore glibc,filesystem
pacman -S filesystem --force
grep '^lib/' /var/lib/pacman/local/*/files : to find the offenders using /lib
find /lib -exec pacman -Qo -- {} + : to see if any other packages have straggles in /lib
pacman -R kernel26-oxnas-nopci kernel26-oxnas-pci ntfs-3g pcmciautils
mv /lib/firmware /lib-firmware-temp

#pacman -Su - this updated the glibc


My problem is this - I can reboot and get ip and ssh if I don't update the glibc. However if I update the glibc this goes way of the dodo and I won't get an ip. The green LED flashes irregularly and slower than the fast flashing.

I saved the disk images from before the glibc step which is helping going over the trouble shooting quicker. I used /etc/rc.local to run the following thinking it was a bright idea. No joy. No reports / logs.
uname -a > /report/uname.txt
netstat -a > /report/netstat.txt
ping -c 3 192.168.1.254 > /report/ping.txt
ps ax > /report/psax.txt
dmesg > /report/dmesg.txt
/usr/lib/libc-2.16.so > /report/libc.txt
file /boot/uImage.nopci > /root/uimage.txt


How do I bring this system uptodate without losing anymore hair and without my wife leaving me!

I don't mind leaving glibc in the blocked packages and live with it but somehow I felt that is not right!

Thanks in advance and also for the awesome work of everyone.
sxk
 
Posts: 10
Joined: Sat Dec 01, 2012 2:01 pm

Re: Can not update glibc - no IP, without this update works

Postby xenoxaos » Sat Dec 01, 2012 2:36 pm

Since you got through the update-oxnas.sh, go ahead and grab the latest rootfs. That might alleviate some of the issues. :)
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: Can not update glibc - no IP, without this update works

Postby sxk » Sat Dec 01, 2012 3:59 pm

Wow. That was fast response. I did get the msot upto date latest-rootfs. I update the mac_addr and boot it. Then when I go and do the pacman -Syu it wants to update pacman, filesystem, initscritps and a lot of others including glibc. Following the advise here and on arch forums I did a pacman -Syu --ignore filesystem,glibc and then hunted for packages and files holdign the /lib and then updated the glibc. However if bails out after glibc update.

uname -a gives me Linux alarm 2.6.31.6_SMP_820 #6 SMP Thu Jun 14 19:49:57 CDT 2012 armv6l GNU/Linux

/lib/libc-2.16 gves me
GNU C Library stable release version 2.16, by Roland McGrath et al.
Compiled by GNU CC version 4.7.1.
Compiled on a Linux 3.4.4 system on 2012-07-08.
BIND-8.2.3-T5B
libc ABIs: UNIQUE

I tried rebooting without updating filesystem and glibc using --ignore. It rebooted ok.

I even managed to install/config and run http and ftp servers.

Thanks
sxk
 
Posts: 10
Joined: Sat Dec 01, 2012 2:01 pm

Re: Can not update glibc - no IP, without this update works

Postby dinjo » Sat Dec 01, 2012 4:36 pm

Welcome to the club :lol:

You can refer below

viewtopic.php?f=29&t=4447&start=20#p24476
dinjo
 
Posts: 258
Joined: Mon Nov 28, 2011 5:59 am

Re: Can not update glibc - no IP, without this update works

Postby xenoxaos » Sat Dec 01, 2012 5:06 pm

Actually, try this most recent one. http://us.mirror.archlinuxarm.org/os/ox ... nas.tar.gz please reply if it works as I no longer have any oxnas's up and running.
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: Can not update glibc - no IP, without this update works

Postby sxk » Sat Dec 01, 2012 9:58 pm

That helped. I put the most recent rootfs and it booted off well, got in through ssh, pacman says nothing to do. I can get on with the rest of my life :-)

Thanks a bunch dingo and xonoxaos.
sxk
 
Posts: 10
Joined: Sat Dec 01, 2012 2:01 pm

Re: Can not update glibc - no IP, without this update works

Postby dinjo » Sun Dec 02, 2012 2:48 am

Did you do a pacman -Syu?
dinjo
 
Posts: 258
Joined: Mon Nov 28, 2011 5:59 am

Re: Can not update glibc - no IP, without this update works

Postby xenoxaos » Sun Dec 02, 2012 2:57 am

$this->bbcode_second_pass_quote('sxk', 'p')acman says nothing to do.
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


Return to Community Supported

Who is online

Users browsing this forum: No registered users and 41 guests