Ipfire 2.x build error

Help on building IPFire & Feature Requests
Post Reply
rafal_janda
Posts: 7
Joined: November 17th, 2016, 11:34 am

Ipfire 2.x build error

Post by rafal_janda » November 21st, 2016, 1:03 pm

Hi All,

I have big problem with building ipfire 2.x for arm. Im getting FAIL on linux-initrd

linux-initrd [ $(KVER) ] [ KCFG=-mul[ ] 37 ] [ FAIL ]

I'm using commands below to build ipfire 2.x for arm

./make.sh --target=armv5tel gettoolchain
./make.sh --target=armv5tel downloadsrc
linux32 ./make.sh --target=armv5tel build

please find error logs below:

Code: Select all

====================================== Installing linux-initrd-3.14.79 ...
Install started; saving file list to /usr/src/lsalr ...
# rebuild module deps
depmod -a 3.14.79-ipfire-multi
#skip initrd build on pae and rpi kernel.
# Create initramfs images
dracut --force --verbose --strip --xz /boot/initramfs-3.14.79-ipfire-multi.img 3.14.79-ipfire-multi
Unsupported ioctl: cmd=0x40049409
Unsupported ioctl: cmd=0x40049409
Executing: /usr/bin/dracut --force --verbose --strip --xz /boot/initramfs-3.14.79-ipfire-multi.img 3.14.79-ipfire-multi
dracut module 'caps' will not be installed, because command 'capsh' could not be found!
*** Including module: bash ***
Unsupported ioctl: cmd=0x40049409
Unsupported ioctl: cmd=0x40049409
*** Including module: i18n ***
Unsupported ioctl: cmd=0x40049409
...
...
...
*** Including module: kernel-modules ***
Unsupported ioctl: cmd=0x40049409
Unsupported ioctl: cmd=0x40049409
Omitting driver libertas_sdio
Omitting driver mwifiex_sdio
*** Including module: mdraid ***
Unsupported ioctl: cmd=0x40049409
Unsupported ioctl: cmd=0x40049409
Skipping udev rule: 64-md-raid.rules
Unsupported ioctl: cmd=0x40049409
Unsupported ioctl: cmd=0x40049409
*** Resolving executable dependencies done***
Unsupported ioctl: cmd=0x40049409
Unsupported ioctl: cmd=0x40049409
*** Stripping files ***
*** Stripping files done ***
*** Store current command line parameters ***
*** Creating image file ***
/usr/bin/dracut: line 1512:  5045 Done                    find . -print0
      5046 Broken pipe             | cpio --null $cpio_owner_root -H newc -o --quiet
      5047 Segmentation fault      | $compress >> "$outfile"
dracut: creation of /boot/initramfs-3.14.79-ipfire-multi.img failed
make: *** [linux-initrd:60: /usr/src/log/linux-initrd-3.14.79-ipfire-multi] Error 1

If someone can help I will be very grateful.

rafal_janda
Posts: 7
Joined: November 17th, 2016, 11:34 am

Re: Ipfire 2.x build error

Post by rafal_janda » November 22nd, 2016, 9:27 am

HI Guys,
Im trying now build on ipfire installed on my PC but when iI'm runing
./makesh --target=armvtel build
Im getting error below

Using installed toolchain [ SKIP ]
Resetting our nice level to 10 [ DONE ]
Checking if we're running as root user [ DONE ]
Checking for necessary space on disk [ DONE ]
*** Building LFS version options time (sec) status
stage2 [ ipfire ]
ERROR: Could not find a statically-linked QEMU emulator: /usr/bin/qemu-arm

Shazral
Posts: 2
Joined: November 28th, 2016, 12:43 pm

Re: Ipfire 2.x build error

Post by Shazral » January 10th, 2017, 9:56 am

Hi rafal_janda
I'm having the same problem you encountered. Could you solve it and if so, what did you do?

User avatar
Arne.F
Core Developer
Core Developer
Posts: 7473
Joined: May 7th, 2006, 8:57 am
Location: BS <-> NDH
Contact:

Re: Ipfire 2.x build error

Post by Arne.F » January 10th, 2017, 2:04 pm

To use this cross compile you need a static linked qemu-arm that is registered for executing the arm binaries (misc).

Because this is not easy to configure normally we build the arm images on arm systems like an odroid-x. This is easier and much faster because the emulation is really slow.

On arm don't use linux32...
Arne

Support the project on the IPFire whishlist!

Image

Image

Image
PS: I will not answer support questions via email and ignore IPFire related messages on my non IPFire.org mail addresses.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests