blüto
Posts: 7
Joined: Sat Sep 29, 2012 8:58 pm

archlinux-hf-2012-09-18.img won't boot

Sat Sep 29, 2012 9:13 pm

Tried 2 different MicroSDHC cards (both Sandisk, 1 8GB class 4, the other 16GB Class 10).

Both cards boot 2012-09-18-wheezy-raspbian and rpi_pisces_r3, but archlinux-hf-2012-09-18 causes only a brief flash of the OK light while the Power light remains red and steady.

I'm powering the pi from a Motorola phone charger and microUSB cable.

Can anyone offer some suggestions as to what might be wrong?

User avatar
maribu
Posts: 143
Joined: Mon Feb 13, 2012 9:56 pm

Re: archlinux-hf-2012-09-18.img won't boot

Sun Sep 30, 2012 2:26 pm

Does your screen remains totally black?

This sounds like there something wrong with your boot partition (the fat one). I would try backing up all contents of the boot partition and replacing it with a working boot partition. Ideally you would just download the latest raspbery-firmware from the Arch Linux ARM update server and unpack it. It's a compressed tar archive, so you can manually update the boot partition without the package manager. As the boot partition is fat formatted and 7-zip does unpack tarballs you could do this even on you windows machine, if you don't use Linux on your other devices.

Regards,
Maribu

PS: Make sure your start.elf does work. (Remove it and copy the start-arm192.elf (or something like that) to start.elf)

pepedog
Posts: 1043
Joined: Fri Oct 07, 2011 9:55 am

Re: archlinux-hf-2012-09-18.img won't boot

Sun Sep 30, 2012 3:00 pm

The most likely thing is download might not be correct, check sha sums
Another thing is writing might be still happening, with data to be wrote in a cache, if dd on linux run sync before removing card, or wait 5 minutes. If with windows you might have to safely remove
sync before a reboot too, especially after upgrading

blüto
Posts: 7
Joined: Sat Sep 29, 2012 8:58 pm

Re: archlinux-hf-2012-09-18.img won't boot

Sun Sep 30, 2012 7:17 pm

@Maribu:

Thank you! Overwriting the archlinux-hf-2012-09-18 /boot directory with the official 2012-09-18-wheezy-raspbian /boot directory (and allowing the pi to cool off after a shutdown, evidently it won't boot even from a known good sdcard when it's hot) got the archlinux image to boot on my pi.

However, I believe arch uses a different kernel than wheezy. For example, you can't apt-get mdadm on wheezy because the raspbian mirror returns a 404 for that package, and you can't mount a JFS partition on Arch because the kernel module won't load. I'm sure there are other differences that will cause problems as well, so copying the wheezy /boot partition was enough to take a look around, but it won't do for a 'daily driver' as it were.

@pepedog: I checked the sha1sum and remembered to sync before removing the SD. The problem is that the 09-18 image of Arch appears to be broken out-of-the-box. Is anyone running this exact image successfully?

User avatar
spennig
Posts: 84
Joined: Mon Aug 29, 2011 11:34 am
Location: New Forest
Contact: Website

Re: archlinux-hf-2012-09-18.img won't boot

Sun Sep 30, 2012 7:58 pm

I've been running the image since c. 2012-09-20. Albeit, taken apart with qemu-nbd and rsynced onto a 16GB card (and then pacman updated since). Works a treat, particularly with the the later kernel and overclock modes.

pepedog
Posts: 1043
Joined: Fri Oct 07, 2011 9:55 am

Re: archlinux-hf-2012-09-18.img won't boot

Sun Sep 30, 2012 8:54 pm

@bluto, I think I would have heard sooner if the image was broke.
If you use the kernel.img from raspbian, you also have co copy /lib/modules from raspbian into /usr/lib/modules of arch

blüto
Posts: 7
Joined: Sat Sep 29, 2012 8:58 pm

Re: archlinux-hf-2012-09-18.img won't boot

Mon Oct 01, 2012 5:35 pm

@pepedog;

Something is broken, that's for sure. I think it's the firmware. There was a thread I stumbled across the other day, I wished I'd saved a bookmark or something, but it's possible you've already read it. Someone was having the same trouble as me, that is, not being able to boot from known good cards using the latest firmware, and after a long back-and-forth he eventually identified the build and even the file that broke compatibility for him.

It's not clear to me whether the newest firmware is 100% backward-compatible with Revision 1 PCBs, or that the components and specs were 100% consistent across the Rev 1 manufacturing run (Chinese manufacturers are known to liberally interpret BOMs from time to time), or whether this is an officially known problem. It would help if the Foundation had a bug tracking system, or at least published contact addresses for each distro so that problems of this kind could be reported more promptly.

Copying the modules from Raspbian to Arch might work in a pinch, but it's still a kludge. I'll give it a try, though.

@spennig

I'd like to get it working. It sounds like it combines the transparency of Slackware with the convenience of automatic dependency resolution, which would be swell.

blüto
Posts: 7
Joined: Sat Sep 29, 2012 8:58 pm

Re: archlinux-hf-2012-09-18.img won't boot

Mon Oct 01, 2012 6:10 pm

SPOKE TOO SOON
in the time it took me to post this message, my SSH session dropped, POWER was the only light on the panel, and now it won't boot again.


SOLVED
I wrote archlinux-hf-2012-09-18.img to an SD and copied only the firmware (*.bin, *.elf) from 2012-09-18-wheezy-raspbian.img to /boot.
came right up, and I don't have to worry about which kernel I'm using.
Last edited by blüto on Mon Oct 01, 2012 6:19 pm, edited 1 time in total.

pepedog
Posts: 1043
Joined: Fri Oct 07, 2011 9:55 am

Re: archlinux-hf-2012-09-18.img won't boot

Mon Oct 01, 2012 6:15 pm

What about an update? Those files would be replaced (along with new kernel)
Don't forget to sync before reboot

blüto
Posts: 7
Joined: Sat Sep 29, 2012 8:58 pm

Re: archlinux-hf-2012-09-18.img won't boot

Mon Oct 01, 2012 6:22 pm

pepedog wrote:What about an update? Those files would be replaced (along with new kernel)
Don't forget to sync before reboot
Would it do that behind my back? Because I had just set the locale and was about to set the timezone when it died.

blüto
Posts: 7
Joined: Sat Sep 29, 2012 8:58 pm

Re: archlinux-hf-2012-09-18.img won't boot

Mon Oct 01, 2012 7:04 pm

Second time I copied the firmware over, it booted, runs OK so far.
got mdadm, jfsutils set up and one of the RAID partitions from my USB enclosure mounted. So far so good.

Tried to install nfsutils, got
error: failed retrieving file 'nfsidmap-0.24-3-armv6h.pkg.tar.xz' from mirror.archlinuxarm.org : The requested URL returned error: 404

Also, it appears that the init system has been replaced with systemd. Is this standard for all branches of Arch? Because any documentation telling you to edit /etc/.rc.conf [which would be most of it] is now obsolete, which is a bit of a stumbling block for new users, even ones with significant experience.

pepedog
Posts: 1043
Joined: Fri Oct 07, 2011 9:55 am

Re: archlinux-hf-2012-09-18.img won't boot

Mon Oct 01, 2012 7:15 pm

Archlinuxarm will switch all (if we can) to systemd, it's gonna be the only way one day.
Yes, it will miss rc,conf, it's been slowly eroded for a time
I'm quite old(ish) you know, picked it quite quick
https://wiki.archlinux.org/index.php/Systemd
Plus you got help here, arch, and archlinuxarm forums
I went from hating to loving it in a day

blüto
Posts: 7
Joined: Sat Sep 29, 2012 8:58 pm

Re: archlinux-hf-2012-09-18.img won't boot

Mon Oct 01, 2012 8:13 pm

OK, well, that about rules out Arch for me.
I'm sure the firmware issue will be ironed out eventually, but right now I need a distro that's reliable and stable, or at least consistent with its own documentation. ;(
Thank you for your help.

pepedog
Posts: 1043
Joined: Fri Oct 07, 2011 9:55 am

Re: archlinux-hf-2012-09-18.img won't boot

Mon Oct 01, 2012 8:34 pm

Arch is stable, I wouldn't support it otherwise. If you can't hack a little transition that's up to you. I don't get paid for this, BTW

johnny99
Posts: 1
Joined: Tue Oct 02, 2012 1:26 am

Re: archlinux-hf-2012-09-18.img won't boot

Tue Oct 02, 2012 1:39 am

If you can't hack a little transition that's up to you.
I think you're missing the point.

The problem with this transition is there's no documentation for it. As blüto says, there's lots of documentation out there (I was just using this page: http://elinux.org/ArchLinux_Install_Guide ) and as of the latest version of the distro, it's all wrong.

I don't think it's unreasonable to ask for documentation on the new system -- if /etc/rc.conf is gone, what replaces it? Or if new documentation isn't going to turn up any time soon, which version of the distro should I use which matches the doco?

I would love to edit the Wiki. I have tried to apply for an account to do so but that doesn't work either.

pepedog
Posts: 1043
Joined: Fri Oct 07, 2011 9:55 am

Re: archlinux-hf-2012-09-18.img won't boot

Tue Oct 02, 2012 9:10 am

Ahh, well it's going off topic but elinux wiki is wrote by the community (like yourself), they have to be careful as spammers would ruin things. A guide idealy would be based on https://wiki.archlinux.org/index.php/Systemd
Already a change has happened since new rootfs, they said to edit the timeinfo file, now its easier by symlink
https://wiki.archlinux.org/index.php/Systemd#Time_zone
If someone starts a "new documentation" thread here, I can contribute
For instance on how to set a fixed ip address

I put a lot of time into all this, not just the pi, I can't be everywhere, and I'm not keen on touching wiki's
archlinux-hf-2012-09-18.img does boot, I don't hear (except in this thread) that it doesn't

carlosfm
Posts: 132
Joined: Fri Oct 21, 2011 3:23 pm
Location: Lisbon, Portugal

Re: archlinux-hf-2012-09-18.img won't boot

Tue Oct 02, 2012 9:33 am

I have the same problem with the latest Raspbian and still no solution.
See here:

http://www.raspberrypi.org/phpBB3/viewt ... 66&t=17923

Definitely, something on the latest firmwares is affecting some Pis.
Do you Pi?

yjdwbj
Posts: 2
Joined: Mon Nov 05, 2012 6:50 am

Re: archlinux-hf-2012-09-18.img won't boot

Sun Nov 18, 2012 6:37 am

MicroSDHC cards is unsupport,replece normal SD card.

DJBnJack
Posts: 4
Joined: Sun Jan 22, 2012 2:45 pm

Re: archlinux-hf-2012-09-18.img won't boot

Fri Nov 23, 2012 1:15 pm

It might be the "sdhci-bcm2708.cycle_delay=1000" in cmdline.txt. Remove it, if you have it.
Firmware boots fine for me!

exiva
Posts: 3
Joined: Tue Dec 11, 2012 2:17 am

Re: archlinux-hf-2012-09-18.img won't boot

Tue Dec 11, 2012 3:19 pm

Was there ever a solution found to this? DD'd the img over, and it booted fine. Ran pacman -Syu which updated the firmware on /boot, reboot and all I get is 1 blink of the green LED... nothing else. Nothing displayed via HDMI either. Tried copying the latest firmware from the raspberrypi github, same thing. I know the SD card works fine with 2012-10-28-wheezy-raspbian.img fully updated, just something on Arch that is killing it.

pepedog
Posts: 1043
Joined: Fri Oct 07, 2011 9:55 am

Re: archlinux-hf-2012-09-18.img won't boot

Tue Dec 11, 2012 4:59 pm

The original thread was "archlinux-hf-2012-09-18.img won't boot", not "after upgrade doesn't work"
If there is problems on upgrade, I suggest running sync three times before reboot
If that fails there is alternative kernel and firmware, experimental but seems ok to me, run this before pacman -Syu

Code: Select all

pacman -S linux-raspberrypi-next linux-headers-raspberrypi-next raspberrypi-firmware-next xbmc-rbp-git-next
And sync three times before reboot

peterhajdu
Posts: 1
Joined: Wed Dec 12, 2012 7:32 pm

Re: archlinux-hf-2012-09-18.img won't boot

Wed Dec 12, 2012 7:38 pm

Hi,

I had the same first boot problem, but managed to solve it. I took the following steps:
1. Cloned the firmware repo from github:
git clone git://github.com/raspberrypi/firmware.git
2. mounted the vfat partition
mount /dev/sdX1 /mnt
3. overwrote the original files with the ones from github
cp firmware/boot/* /mnt

I hope it helps.

sdjf
Posts: 1395
Joined: Fri Mar 16, 2012 5:20 am
Location: California
Contact: Website

Re: archlinux-hf-2012-09-18.img won't boot

Thu Dec 20, 2012 2:45 pm

I am confused about what to do when I also have tried at least ten times to boot the Pi without luck using the archlinux-hf-2012-09-18.img that had been booting for me. Will the issues many of us have been having with inability to get this image of Arch to reboot be resolved with the next image? nothing else plugged in other than keyboard that uses 60mA so power should not be an issue.

My system may have gotten corrupted with too many reboots with no ability to issue poweroff, and have moved over to running the 16 Sep Soft Float version which boots reliably for me. Still having trouble getting logged in reliably, and at least I can see it boots, judging from the ACT light, but worried as have to keep turning off when cannot issue poweroff as not logged in.

Actually tried "halt" once when last could log in, and wonder if that may have messed anything up? I am running at RunLevel=6 as someone said that works better, but I also read that halt does not work the same at that run level. Is that serious?
FORUM TIP: To view someone's posting history, sign in, click on their user name, then on "Search User's Posts." || Running ArchLinuxArm on Model 2B and 512MB Model B

pepedog
Posts: 1043
Joined: Fri Oct 07, 2011 9:55 am

Re: archlinux-hf-2012-09-18.img won't boot

Fri Dec 21, 2012 12:14 am

I'm going to make new rootfs tomorrow. It will be ext3 like older image. Changing to ext3 based upon nothing more than my gut feeling, plus you can edit that from your PDA.
poweroff is the command, halt is more unpredictable. That is with hf rootfs.
If you can't login, alt ctrl del and yanking power at right point might be safer.

TrouDeBozouls
Posts: 2
Joined: Fri Dec 21, 2012 1:16 am

Re: archlinux-hf-2012-09-18.img won't boot

Fri Dec 21, 2012 1:20 am

Thanks, peterhajdu, I had the same problem but your recipe worked for me. Pi now booting!

Return to “Arch”