Problem with Raspberry Pi

165 views
Skip to first unread message

Sergei Diachenko

unread,
Jan 31, 2015, 11:01:01 AM1/31/15
to nerves-...@googlegroups.com
Hi

I cloned nerves porject repo, run "make nerves_rpi_defconfig" and run make. It failed with error:

Cloning into bare repository 'linux-353043394c99ed37a4075da228af64468fdf6c06'...
remote: Counting objects: 3975080, done.
remote: Compressing objects: 100% (538/538), done.
error: index-pack died of signal 9975080), 1.01 GiB | 9.73 MiB/s
fatal: index-pack failed
Resolving sources.buildroot.net (sources.buildroot.net)... 176.9.16.109
Connecting to sources.buildroot.net (sources.buildroot.net)|176.9.16.109|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2015-01-31 10:59:54 ERROR 404: Not Found.

make[1]: *** [/root/nerves-sdk/buildroot/output/build/linux-353043394c99ed37a4075da228af64468fdf6c06/.stamp_downloaded] Error 1
make[1]: Leaving directory `/root/nerves-sdk/buildroot'
make: *** [br-make] Error 2

What should I do?

Frank Hunleth

unread,
Jan 31, 2015, 11:25:13 AM1/31/15
to nerves-...@googlegroups.com
Hi Sergei,

Sorry about that. I heard a rumor that the RPi Linux repo is rebased
sometimes. I suspect that all that is necessary is for me to update
the hash tag and keep my fingers crossed that nothing broke. Buildroot
caches downloads automatically, so this is really easy for me to miss.

I'm currently working on a Raspberry Pi project, so I'll see if I can
update things later today. If you'd like to try something sooner, my
copy of Buildroot is using c256eb9968c8997dce47350d2075e42f1b3991d3,
so that tag *might* have a better chance of working.

Thanks,
Frank
> --
> You received this message because you are subscribed to the Google Groups
> "nerves-project" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to nerves-projec...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



--
Frank Hunleth
Troodon Software LLC
Embedded Software Development
http://troodon-software.com/

Frank Hunleth

unread,
Jan 31, 2015, 9:49:47 PM1/31/15
to nerves-...@googlegroups.com
Hi Sergei,

I just updated master to point to the new Raspberry Pi kernel. I made
several updates, so I'd recommend running "make distclean" and
starting over after you pull the changes. The new kernel boots for me
on a Raspberry Pi Model B and a Model A+, but let me know if you have
troubles.

I work almost exclusively via a serial port connection to the RPi. I
added some instructions to the README.md if you want to run via
HDMI/USB keyboard.

Lastly, I added a few new configs that will hopefully make it easier
for people to use Elixir and LFE with Nerves. These are really new,
and I haven't documented them much, but if you'd like to boot to an
Elixir or LFE shell (and see the configs that make them work), take a
look at nerves_rpi_elixir_defconfig and nerves_rpi_lfe_defconfig. For
anyone else out there who's already using Elixir in their projects,
nothing should change for you.

Sergei Diachenko

unread,
Feb 2, 2015, 2:07:42 PM2/2/15
to nerves-...@googlegroups.com
Hi Frank,

I run make distclean and git pull, but got the similar error:
>>> linux c256eb9968c8997dce47350d2075e42f1b3991d3 Downloading
Doing full clone
Cloning into bare repository 'linux-c256eb9968c8997dce47350d2075e42f1b3991d3'...
remote: Counting objects: 3975888, done.
remote: Compressing objects: 100% (777/777), done.
error: index-pack died of signal 9975888), 1.00 GiB | 7.19 MiB/s
fatal: index-pack failed
Resolving sources.buildroot.net (sources.buildroot.net)... 176.9.16.109
Connecting to sources.buildroot.net (sources.buildroot.net)|176.9.16.109|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2015-02-02 14:02:45 ERROR 404: Not Found.

make[1]: *** [/root/nerves-sdk/buildroot/output/build/linux-c256eb9968c8997dce47350d2075e42f1b3991d3/.stamp_downloaded] Error 1
make[1]: Leaving directory `/root/nerves-sdk/buildroot'
make: *** [br-make] Error 2


воскресенье, 1 февраля 2015 г., 5:49:47 UTC+3 пользователь Frank Hunleth написал:

Frank Hunleth

unread,
Feb 2, 2015, 2:13:05 PM2/2/15
to nerves-...@googlegroups.com
Sergei,

On Mon, Feb 2, 2015 at 2:07 PM, Sergei Diachenko
<diache...@gmail.com> wrote:
> Hi Frank,
>
> I run make distclean and git pull, but got the similar error:
>>>> linux c256eb9968c8997dce47350d2075e42f1b3991d3 Downloading
> Doing full clone
> Cloning into bare repository
> 'linux-c256eb9968c8997dce47350d2075e42f1b3991d3'...
> remote: Counting objects: 3975888, done.
> remote: Compressing objects: 100% (777/777), done.
> error: index-pack died of signal 9975888), 1.00 GiB | 7.19 MiB/s
> fatal: index-pack failed

Hmm. I think that this is the problem. I've never seen git error out
with "index-pack died of signal 9975888." What platform are you
building on?

Frank

Sergei Diachenko

unread,
Feb 2, 2015, 2:23:44 PM2/2/15
to nerves-...@googlegroups.com
I use Ubuntu 14.04

понедельник, 2 февраля 2015 г., 22:13:05 UTC+3 пользователь Frank Hunleth написал:

Sergei Diachenko

unread,
Feb 2, 2015, 2:36:07 PM2/2/15
to nerves-...@googlegroups.com
Frank, 

You were right. I found error in system log:
[  134.880925] Out of memory: Kill process 1331 (git) score 761 or sacrifice child

I will use another computer.

Thanks!

понедельник, 2 февраля 2015 г., 22:23:44 UTC+3 пользователь Sergei Diachenko написал:

Frank Hunleth

unread,
Feb 2, 2015, 3:07:41 PM2/2/15
to nerves-...@googlegroups.com
Are you able to run the following successfully?

git clone git://github.com/raspberrypi/linux.git

Also, how much memory do you have? Googling the error message suggests
that memory might be an issue. Also, the fact that it dies both times
around 1 GiB seems weird.

Frank

On Mon, Feb 2, 2015 at 2:23 PM, Sergei Diachenko

Sergei Diachenko

unread,
Feb 2, 2015, 3:29:41 PM2/2/15
to nerves-...@googlegroups.com
I had 512MB RAM. When I increased it to 1GB make command completed successfully.

понедельник, 2 февраля 2015 г., 23:07:41 UTC+3 пользователь Frank Hunleth написал:
Reply all
Reply to author
Forward
0 new messages