Long since upgrade, need assistance

This forum is for all other ARMv5 devices

Re: Long since upgrade, need assistance

Postby wkatastrof » Sun Nov 11, 2012 7:28 pm

Finally! I got pacman telling me "there is nothing to do" after running 'pacman -Syu'.

BUT I am afraid to restart as the last time I was at this point, it wouldn't reboot.

As per the [ https://wiki.archlinux.org/index.php/De ... iki:usrlib ] page, it says to run:

$this->bbcode_second_pass_code('', 'mkinitcpio -p linux
')

after the glibc update.

However, when I try to do this, I get the following error:
$this->bbcode_second_pass_code('', ' sudo mkinitcpio -p linux
/usr/bin/mkinitcpio: line 166: /etc/mkinitcpio.d/linux.preset: No such file or directory
==> ERROR: Preset not found: `/etc/mkinitcpio.d/linux.preset'
')

Is this because the system is now using 'systemd' ?

How do I proceed? How can I make sure it will reboot successfully after this? I wouldn't like to spend another three hours getting this far from the backup I have again...
wkatastrof
 
Posts: 11
Joined: Sat Mar 03, 2012 2:47 am

Re: Long since upgrade, need assistance

Postby WarheadsSE » Sun Nov 11, 2012 7:49 pm

ALARM doesn't use an uInitrd. You're fine.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Long since upgrade, need assistance

Postby wkatastrof » Sun Nov 11, 2012 8:18 pm

Awesome, thanks!

I was able to get it to reboot. Some peculiar things that I need clarification on:

When I ssh in, I get the following message before receiving the standard prompt:

$this->bbcode_second_pass_code('', 'Last login: Sun Nov 11 11:59:32 2012 from 192.168.2.3
-bash: /dev/null: Permission denied
[wilheim@dadagarcon ~]$
')

I also thought this updated the kernel to 3+, but 'uname -a' gives me:

$this->bbcode_second_pass_code('', 'Linux dadagarcon 2.6.31.6_SMP_820 #6 SMP Thu Jun 14 19:49:57 CDT 2012 armv6l GNU/Linux
')

Should I not worry about this?
wkatastrof
 
Posts: 11
Joined: Sat Mar 03, 2012 2:47 am

Re: Long since upgrade, need assistance

Postby WarheadsSE » Sun Nov 11, 2012 8:49 pm

Everyone never reads this.

The kernel for the oxnas is currently stored in NAND. There is no usb support in the bootloader, this making it a complete PITA to update the kernel/revert something that didn't work. 2.6.31 is correct. The linux package is installed for dependency purposes, but not used be the device.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Long since upgrade, need assistance

Postby wkatastrof » Mon Nov 12, 2012 12:44 am

Thanks again for clearing that up.

Certain things that are unfamiliar to me don't register even if I've read them. Now that you've explained it again, it makes sense.

As for "-bash: /dev/null: Permission denied" -- Is it a problem?
wkatastrof
 
Posts: 11
Joined: Sat Mar 03, 2012 2:47 am

Re: Long since upgrade, need assistance

Postby Geoff » Mon Nov 12, 2012 5:10 am

$this->bbcode_second_pass_quote('wkatastrof', 'A')s for "-bash: /dev/null: Permission denied" -- Is it a problem?

I think this was addressed somewhere in another post, but the fix is to create a file such as /etc/udev/rules.d/49-udev-local.rules containing the line

$this->bbcode_second_pass_code('', 'SUBSYSTEM=="mem", KERNEL=="null|zero|full|random|urandom", MODE="0666"')
Geoff
 
Posts: 231
Joined: Wed Mar 09, 2011 5:14 pm

Re: Long since upgrade, need assistance

Postby wkatastrof » Wed Nov 14, 2012 7:19 am

Works; Thanks!

I also read somewhere that this is a work-around and not a fix to a larger problem... but solving that is beyond the scope of my narrow arch linux knowledge...
wkatastrof
 
Posts: 11
Joined: Sat Mar 03, 2012 2:47 am

Previous

Return to Community Supported

Who is online

Users browsing this forum: No registered users and 2 guests