Not booting up after update

This forum is for all other ARMv5 devices

Not booting up after update

Postby doknek » Fri Aug 03, 2012 1:32 am

I updated my pogoplug today (was not able to update since last 2 months).

I moved /var/lock files for the upgrade to process.
I also remove blacklisting for init scripts.
pacman -Syu went fine.
I also ran: $this->bbcode_second_pass_code('', 'mv /lib/modules /usr/lib/modules')
Then I ran: $this->bbcode_second_pass_code('', 'pacman -Q libaccept4 initscripts systemd-tools'). It did not find libaccept4
After that I realized I did not run the updater, so I ran the updater package.
Updater package ran fine, and I move /lib/modules to /usr/lib/modules again

Upon reboot, I cannot access the machine. I see the green light (solid). /var/logs have NO activity since the shutdown.

What can I do to recover the machine? I will provide any other info need to help me fix. Really appreciate your help.
doknek
 
Posts: 32
Joined: Wed Dec 14, 2011 8:04 pm

Re: Not booting up after update

Postby WarheadsSE » Fri Aug 03, 2012 3:51 pm

So it might actually be booting, but you can't access it?

Try the rc.local sllep & halt trick.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Not booting up after update

Postby doknek » Fri Aug 03, 2012 7:14 pm

I will try this out soon.

Machine has been booting up with solid green light and router shows connection light but does NOT assign an IP address.
doknek
 
Posts: 32
Joined: Wed Dec 14, 2011 8:04 pm

Re: Not booting up after update

Postby WarheadsSE » Fri Aug 03, 2012 7:16 pm

Yup, sounds like it's not loading the network module right.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Not booting up after update

Postby doknek » Fri Aug 03, 2012 11:35 pm

I tried the command in /etc/rc.local which was blank:
$this->bbcode_second_pass_code('', 'sleep 5
/sbin/halt')
I also tried the above code without line break. Nothing changed.

Pogo boots up
..front led blinks
...network light on router comes on
....front led solidifies
.....network light goes off for a second and comes back ON. Router does NOT assign IP

None of the log files in /var/log/ got updated. Is there anything that can be done to recover? Thank you "WarHeadsSE"
doknek
 
Posts: 32
Joined: Wed Dec 14, 2011 8:04 pm

Re: Not booting up after update

Postby Geoff » Sat Aug 04, 2012 1:02 am

I remember something like this a while ago when initscripts got updated to a version that failed to remount the rootfs in read/write mode (so it remains readonly). If you check /etc/rc.sysinit and find no occurence of "mount -o remount,rw /" in it, then you may need to kludge it by adding such a line right before where it mounts other filesystems, activates swap, etc. Hopefully your next "pacman -Syu" will update initscripts to take care of this.
Geoff
 
Posts: 231
Joined: Wed Mar 09, 2011 5:14 pm

Re: Not booting up after update

Postby doknek » Sat Aug 04, 2012 1:23 am

Geoff, /etc/rc.sysinit contains
$this->bbcode_second_pass_code('', 'status "Remounting root and API filesystems" \
mount -o remount,rw /
')

Still no luck getting the system up. I only have the root USB drive plugged in along with ethernet cable and everything else is disconnected. During my last update, I unblocked initscripts and got it updated to the latest version without errors.
doknek
 
Posts: 32
Joined: Wed Dec 14, 2011 8:04 pm

Re: Not booting up after update

Postby Geoff » Sat Aug 04, 2012 1:56 am

$this->bbcode_second_pass_quote('doknek', 'U')pdater package ran fine, and I move /lib/modules to /usr/lib/modules again

I wonder about the "again." The second time you did this, presumably /usr/lib/modules already existed, so perhaps you ended up moving /lib/modules to /usr/lib/modules/modules. That should be easy to fix.
Geoff
 
Posts: 231
Joined: Wed Mar 09, 2011 5:14 pm

Re: Not booting up after update

Postby doknek » Sat Aug 04, 2012 2:37 am

You were right, there was /usr/lib/modules/modules dir. I removed the directory, but still cannot get it to boot.

/usr/lib/modules/ now contains
$this->bbcode_second_pass_code('', '2.6.31.6_SMP_820 extramodules-3.1-ARCH
3.1.10-12-ARCH gmac_copro_firmware
')

I think we are on the right path. Thanks.
doknek
 
Posts: 32
Joined: Wed Dec 14, 2011 8:04 pm

Re: Not booting up after update

Postby Geoff » Sat Aug 04, 2012 3:22 am

I think your /usr/lib/modules/2.6.31.6_SMP_820 contains the old modules, which explains why they don't work with the new kernel. The update-oxnas script would have moved that to oxnas-save/2.6.31.6_SMP_820 if you had run it before moving /lib/modules. The /usr/lib/modules/modules that you just deleted probably contained the new 2.6.31.6_SMP_820 modules that you need. Now you will probably have to move the old 2.6.31.6_SMP_820 out of the way (mkdir oxnas-save and move it into that), extract the new 2.6.31.6_SMP_820 from the tarball, and then move that to where it should be. Be careful of what you're extracting with tar, and where you're putting it.
Geoff
 
Posts: 231
Joined: Wed Mar 09, 2011 5:14 pm

Next

Return to Community Supported

Who is online

Users browsing this forum: No registered users and 3 guests