# Raspberry Pi installation failing

**URL:** <https://forum.modular.com/t/raspberry-pi-installation-failing/2001>\
**Category:** Mojo\
**Created:** [July 21, 2025, 4:39pm UTC](https://forum.modular.com/t/raspberry-pi-installation-failing/2001 "2025-07-21T16:39:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nick1](https://avatars.discourse-cdn.com/v4/letter/n/47e85d/32.png) [@nick1](https://forum.modular.com/u/nick1)\
**Post date:** [July 21, 2025, 4:39pm UTC](https://forum.modular.com/t/raspberry-pi-installation-failing/2001/1 "2025-07-21T16:39:22Z")

</div>

HI,

I’ve being trying to install Mojo using the instructions [here](https://docs.modular.com/mojo/manual/get-started/). All goes well until I try to run mojo when it crashes immediately with

> 2343 external/tcmalloc+/tcmalloc/system-alloc.h:575] MmapAligned() failed - unable to allocate with tag (hint=0xc0440000000, size=1073741824, alignment=1073741824) - is something limiting address placement?  
> 2343 external/tcmalloc+/tcmalloc/system-alloc.h:582] Note: the allocation may have failed because TCMalloc assumes a 48-bit virtual address space size; you may need to rebuild TCMalloc with TCMALLOC\_ADDRESS\_BITS defined to your system’s virtual address space size  
> 2343 external/tcmalloc+/tcmalloc/arena.cc:59] CHECK in Alloc: FATAL ERROR: Out of memory trying to allocate internal tcmalloc data (bytes=131072, object-size=16384); is something preventing mmap from succeeding (sandbox, VSS limitations)?  
> Aborted

My exact OS details given by cat /etc/os-release are

> PRETTY\_NAME=“Debian GNU/Linux 12 (bookworm)”  
> NAME=“Debian GNU/Linux”  
> VERSION\_ID=“12”  
> VERSION=“12 (bookworm)”  
> VERSION\_CODENAME=bookworm  
> ID=debian  
> HOME\_URL=“[https://www.debian.org/](https://www.debian.org/)”  
> SUPPORT\_URL=“[Debian -- User Support](https://www.debian.org/support)”  
> BUG\_REPORT\_URL=“[https://bugs.debian.org/](https://bugs.debian.org/)”

According to file /lib/systemd/systemd the Raspberry Pi architecture is

> /lib/systemd/systemd: ELF 64-bit LSB pie executable, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, BuildID[sha1]=4d5bcc858178dfbbffc8f60b0e2d8200c03c3712, for GNU/Linux 3.7.0, stripped

What is going wrong?

---

<div class="post-metadata">

**Author:** ![rd4com](https://avatars.discourse-cdn.com/v4/letter/r/cdc98d/32.png) [@rd4com](https://forum.modular.com/u/rd4com)\
**Post date:** [July 22, 2025, 12:01pm UTC](https://forum.modular.com/t/raspberry-pi-installation-failing/2001/2 "2025-07-22T12:01:49Z")

</div>

Hello,  
🎉 `Ubuntu LTS 24.04 server` is available for pi,  
this one work like a charm out of the box! (available even in the rpi-imager)

#### Webpage:

> **[Install Ubuntu on a Raspberry Pi | Ubuntu](https://ubuntu.com/download/raspberry-pi)**
>
> Ubuntu is an open-source operating system for cross-platform development, there's no better place to get started than with Ubuntu on a Raspberry Pi

⬆ Amazingly, most PI’s are certified devices for 24.04 LTS.

#### Tutorial:

> **[How to install Ubuntu Server on your Raspberry Pi | Ubuntu](https://ubuntu.com/tutorials/how-to-install-ubuntu-on-your-raspberry-pi#1-overview)**
>
> Ubuntu is an open source software operating system that runs from the desktop, to the cloud, to all your internet connected things.

#### My experience:

Ubuntu server worked out of the box,  
just install pixi, and that’s it!  
(Tested on the pi zero 2W, `RAM: 512Mb`)

Also, LTS means long standing support 🥳

#### Customizing an OS kernel ?

Yep, there are tutorials on PI website to customize an kernel,  
so it can be built with VA\_BITS 48.  
That’s good!  
This is too much for me, so i just use Ubuntu 😃

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex001/uploads/modular/original/1X/2751e0fbdc595a99718b216730957e9db4448cfd.jpeg) [@system](https://forum.modular.com/u/system)\
**Post date:** [January 18, 2026, 12:02pm UTC](https://forum.modular.com/t/raspberry-pi-installation-failing/2001/3 "2026-01-18T12:02:40Z")

</div>

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
