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

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

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

Postby netphyx » Sat Dec 22, 2012 7:44 pm

Edit: Read on another forum that /boot files get deleted after updating on some SD cards.

Temporary solution:
* update with pacman -Syu --ignore raspberrypi-firmware (tested and didn't break anything for me).

Disadvantage of this method is that your firmware will be out of date. I still have to use the .elf files to configure my GPU memory for example.

Edit: oh and as for the new rootfs: I doubt changing to ext3 will fix my problem, maybe for Arifmeticus it will work.
Last edited by netphyx on Sat Dec 22, 2012 8:14 pm, edited 2 times in total.
netphyx
 
Posts: 14
Joined: Thu Dec 20, 2012 11:34 am

Re: [SOLVED] Unable to boot after pacman -Syu on fresh insta

Postby pepedog » Sat Dec 22, 2012 7:55 pm

One problem using those files, the kernel won't match module files.
Can anyone with the problem do ls -l /boot/ before sync reboot to see if files are there
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: [SOLVED] Unable to boot after pacman -Syu on fresh insta

Postby netphyx » Sat Dec 22, 2012 7:58 pm

I'll do it! If they really are gone I can test my second solution.

Edit: The files are still there before sync ; reboot.
Edit2: Ok I just mounted the SD card on my laptop after sync ; reboot and the files are still there :roll: . So my theory was wrong. I'm out of ideas now.
Edit3: Mounting the SD on laptop and then manually replacing the /boot files with those from the working version makes the Pi boot again.
netphyx
 
Posts: 14
Joined: Thu Dec 20, 2012 11:34 am

Re: [SOLVED] Unable to boot after pacman -Syu on fresh insta

Postby Nachtwandler » Sat Dec 22, 2012 8:36 pm

Copy the files before boot works only once. After the first reboot same problem.
Nachtwandler
 
Posts: 4
Joined: Thu Dec 13, 2012 1:34 pm

Re: [SOLVED] Unable to boot after pacman -Syu on fresh insta

Postby pepedog » Sat Dec 22, 2012 10:33 pm

First I found a list of cards
http://elinux.org/RPi_VerifiedPeriphera ... m_SD_cards
Next I made a package that replaces linux-raspberrypi and raspberrypi-firmware.
It's the files exactly as on their github, as used by raspbian. If this fails then it's not arch
$this->bbcode_second_pass_code('', 'pacman -U http://myplugbox.com/raspberrypi-firmware-asdeb-20121222-1-any.pkg.tar.xz')
Remember to sync

Edit, remove linux-raspberrypi first
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: [SOLVED] Unable to boot after pacman -Syu on fresh insta

Postby Nachtwandler » Sun Dec 23, 2012 11:15 am

Doesn't works here, but my card is in the list.
I think it isn't a ArchlinuxArm problem, it's a card problem.
Nachtwandler
 
Posts: 4
Joined: Thu Dec 13, 2012 1:34 pm

Re: [SOLVED] Unable to boot after pacman -Syu on fresh insta

Postby netphyx » Sun Dec 23, 2012 1:15 pm

Here's what I did:

$this->bbcode_second_pass_code('', '
[netphyx@alarmpi ~]$ sudo pacman -Rs linux-raspberrypi
[sudo] password for netphyx:
checking dependencies...

Targets (2): linux-firmware-20121118-1 linux-raspberrypi-3.2.27-18

Total Removed Size: 65.59 MiB

Do you want to remove these packages? [Y/n] y
(1/2) removing linux-raspberrypi [######################] 100%
(2/2) removing linux-firmware [######################] 100%
[netphyx@alarmpi ~]$ sudo pacman -U http://myplugbox.com/raspberrypi-firmware-asdeb-20121222-1-any.pkg.tar.xz
raspberrypi-firmwar... 26.1 MiB 223K/s 02:00 [######################] 100%
loading packages...
resolving dependencies...
looking for inter-conflicts...
:: raspberrypi-firmware-asdeb and raspberrypi-firmware are in conflict. Remove raspberrypi-firmware? [y/N] y

Targets (2): raspberrypi-firmware-20121221-1 [removal]
raspberrypi-firmware-asdeb-20121222-1

Total Installed Size: 70.41 MiB
Net Upgrade Size: 52.30 MiB

Proceed with installation? [Y/n] y
(1/1) checking package integrity [######################] 100%
(1/1) loading package files [######################] 100%
(1/1) checking for file conflicts [######################] 100%
warning: could not get filesystem information for /proc/sys/fs/binfmt_misc: No such device
(2/2) checking available disk space [######################] 100%
(1/1) removing raspberrypi-firmware [######################] 100%
(1/1) installing raspberrypi-firmware-asdeb [######################] 100%
>>> Updating module dependencies. Please wait ...
[netphyx@alarmpi ~]$
')

After that I did sudo sync ; sudo reboot. Still doesn't boot. The md5sums are the same before installation, after installation and after sync ; reboot.

Just FYI: after manually copying the september /boot files the Pi boots again.
netphyx
 
Posts: 14
Joined: Thu Dec 20, 2012 11:34 am

Re: [SOLVED] Unable to boot after pacman -Syu on fresh insta

Postby pepedog » Sun Dec 23, 2012 2:10 pm

Netphyx, is your card in the list? Even if it isn't I have seen many posts that micro sd in adapter doesn't work. I thought it strange as it worked for me, maybe we were lucky up to now. It might be worth swinging over to raspbian forum to look if they have the problems, we have same kernel/modules/firmware now.
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: [SOLVED] Unable to boot after pacman -Syu on fresh insta

Postby netphyx » Sun Dec 23, 2012 4:26 pm

My card is not in the list (SDSDQU-016G-U46A). The SDSDQUA-016G-U46A is. Do you think the card is the problem? It's strange since the md5sums are the same before and after installing, so there is no data corruption.

My impression is now that something changed in the newer firmware, which broke support for my card. I'll stick with the old firmware for now and check the raspbian forum. Thanks for your help and time anyway! I'll post here if I find a non-temporary solution.
netphyx
 
Posts: 14
Joined: Thu Dec 20, 2012 11:34 am

Re: [SOLVED] Unable to boot after pacman -Syu on fresh insta

Postby pepedog » Sun Dec 23, 2012 6:03 pm

Look in /etc/pacman.conf, there is an Ignore somethingorother to put it in
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

PreviousNext

Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 4 guests