[SOLVED] Unable to boot after pacman -Syu on fresh install

This forum is for topics specific to the Raspberry Pi and Arch Linux ARM

[SOLVED] Unable to boot after pacman -Syu on fresh install

Postby netphyx » Thu Dec 20, 2012 12:30 pm

Hey guys, first post on the forum here.

I've recently bought the latest rPi device (the model B 512 MB version) and I'm having trouble updating my system with pacman -Syu. After executing this command, the rPi won't boot anymore (no monitor output, no ssh, ...).These are my attached peripherals:

- Class 10 Sandisk micro SDHC + adapter.
- iPhone charger as power supply
- USB AlfaNetworks AWUS036EH
- Monitor via HDMI

I doubt the peripherals are to blame. The first time I encountered this problem, I had installed quite a lot of packages first including xorg, xfce, drivers for the AlfaNetworks stick, etc., which worked fine. However upon doing a full system upgrade, the rPi would fail to boot. So I decided to try to reproduce the problem on a fresh install which worked. I included a list of commands here (http://pastebin.com/GtUxdVbP) that need to be executed after ssh'ing to a fresh install rPi in order to do so. Basically it comes down to (on fresh install with archlinux-hf-2012-09-18.img)):

  • pacman-key --init
  • pacman -Syu
  • sync ; reboot

Any idea what might be going on? Is there something wrong with the packages in the repo (especially the raspberry firmware package)?

Here are /var/log/errors.log and /var/log/kernel.log:
http://pastebin.com/RM8YX274
http://pastebin.com/kEVFREE7

PS: I noticed the ACT LED on the pi is randomly either always in the ON state or always in the OFF state during boot after reattaching the power supply. It would be strange if the problem were my SD card or any other peripheral, since I installed packages and rebooted several times without a problem until I did a full system upgrade.

PS2: Maybe "sbin/init: error while loading shared libraries: libdbus-1.so.3: cannot open shared object file: No such file or directory" is the problem?
Last edited by netphyx on Sat Dec 22, 2012 7:44 pm, edited 1 time in total.
netphyx
 
Posts: 14
Joined: Thu Dec 20, 2012 11:34 am

Re: Unable to boot after pacman -Syu on fresh install

Postby Nachtwandler » Thu Dec 20, 2012 1:36 pm

Hi netphyx,

i have the same problem with a class 10 sandisk ultra. On another SD card it works fine.
I think it's a problem with the sandisk cards, can you try another?
Nachtwandler
 
Posts: 4
Joined: Thu Dec 13, 2012 1:34 pm

Re: Unable to boot after pacman -Syu on fresh install

Postby netphyx » Thu Dec 20, 2012 4:03 pm

Thanks for replying! I don't have another SD card but maybe I can lend one from a friend. Prior to upgrading the SD card works fine though. Maybe there's an issue with the new firmware? Investigating... :)

Edit: someone with the same problem on the Raspberry forums, though he seems to be able to boot sometimes while I am not: http://www.raspberrypi.org/phpBB3/viewt ... 53&t=25379
netphyx
 
Posts: 14
Joined: Thu Dec 20, 2012 11:34 am

Re: Unable to boot after pacman -Syu on fresh install

Postby Arifmeticus » Thu Dec 20, 2012 10:59 pm

Same problem for me, only in slightly different flavor.
While doing an update pacman always hangs on "loading packages" stage. This is the example of the last message from "pacman -Suy --debug" before freezing:

$this->bbcode_second_pass_code('', 'debug: found cached pkg: /var/cache/pacman/pkg/linux-firmware-20121118-1-any.pkg.tar.xz
debug: replacing pkgcache entry with package file for target linux-firmware
debug: starting package load for /var/cache/pacman/pkg/linux-firmware-20121118-1-any.pkg.tar.xz')

Then it freezes. After reboot it does not load and says:
$this->bbcode_second_pass_code('', '
/bin/systemd: error while loading shared libraries libdbus-1.so.3 cannot open such shared file.
Kernel panic - not synching: attempted to kill init!
')
So I have to rewrite a card with fresh image.

I tried it with two Transcend cards of 8 Gb and 4 Gb with same results.
However, I feel that something else might be interfering because the "loading packages" process hangs in different places (sometimes after 60% mark, sometimes after 15%), but I don't know how to narrow down possible malfunction possibilities.
Arifmeticus
 
Posts: 1
Joined: Thu Dec 20, 2012 10:39 pm

Re: Unable to boot after pacman -Syu on fresh install

Postby pepedog » Thu Dec 20, 2012 11:37 pm

Ok, we are going to bump the kernel and firmware tonight.
Tomorrow I'm going to make the next rootfs.
Features will be ext3 rootfs, netcfg for network (only one file to edit for static), and enable that pesky serial. Will also adjust a few cmdline.txt settings, I will test things myself of course. Any other suggestions? I have had nothing but trouble with ext4
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Unable to boot after pacman -Syu on fresh install

Postby netphyx » Fri Dec 21, 2012 8:07 am

Thanks pepedog! I'll keep an eye on the repos and I will be able to test the new firmware tomorrow.
netphyx
 
Posts: 14
Joined: Thu Dec 20, 2012 11:34 am

Re: Unable to boot after pacman -Syu on fresh install

Postby Nachtwandler » Fri Dec 21, 2012 8:58 am

Nice. If it's ready today, I will try it in the evenening.
Nachtwandler
 
Posts: 4
Joined: Thu Dec 13, 2012 1:34 pm

Re: Unable to boot after pacman -Syu on fresh install

Postby pepedog » Fri Dec 21, 2012 9:01 pm

PM me to get new rootfs
Notes on this-
Rootfs back to ext3
Eth0 in /etc/network.d/ to make static
Serial TTY service enabled
Dosfstools installed
Cmdline.txt trimmed
Today's kernel and firmware
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Unable to boot after pacman -Syu on fresh install

Postby netfun81 » Sat Dec 22, 2012 5:27 am

Having the same issue as the op. Are these items going to be updated the next time I do a pacman -Syu? Thanks
netfun81
 
Posts: 2
Joined: Sat Dec 22, 2012 5:24 am

Re: Unable to boot after pacman -Syu on fresh install

Postby pepedog » Sat Dec 22, 2012 9:59 am

As far as I'm concerned, if you update there is newer firmware and kernel.
Although the kernel was compiled by us, it now uses the defconfig that raspbian uses, except tagged -ARCH
In short, if this doesn't work, then grabbing from GitHub will be a waste of time, it's virtually the same thing
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Next

Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 5 guests