You are not logged in.

#1 2014-08-04 11:08:00

Neitsab
Wiki Maintainer
Registered: 2013-12-05
Posts: 25

[SOLVED] [mkinitcpio] initramfs "build error" messages since v.18-1

Hi everybody,

Since the update from mkinitcpio 17-1 to 18-1 I get those build error messages while running mkinitcpio:

#  mkinitcpio -p linux
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
  -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
==> Starting build: 3.15.8-1-ARCH
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
  -> Running build hook: [keymap]
  -> Running build hook: [encrypt]
  -> Running build hook: [lvm2]
  -> Running build hook: [filesystems]
  -> Running build hook: [keyboard]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-linux.img
==> WARNING: errors were encountered during the build. The image may not be complete.
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
  -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
==> Starting build: 3.15.8-1-ARCH
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: aic94xx
==> WARNING: Possibly missing firmware for module: smsmdtv
  -> Running build hook: [keymap]
  -> Running build hook: [encrypt]
  -> Running build hook: [lvm2]
  -> Running build hook: [filesystems]
  -> Running build hook: [keyboard]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-fallback.img
==> WARNING: errors were encountered during the build. The image may not be complete.

However I can still boot and everything seems mostly fine. I haven't changed anything to my /etc/mkinitcpio.conf, here are the only customized parts:

MODULES="i915 dm_snapshot"
...
HOOKS="base udev autodetect modconf block keymap encrypt lvm2 filesystems keyboard fsck

I'm using an encrypted root (ext4 over LVM over LUKS) and boot partition is contained in an (unencrypted) LVM logical volume. I also specify a few i915 module options in an /etc/modprobe.d/modprobe.conf file as per the Intel Graphics wiki page:

# Intel graphics driver power-saving option :
options i915 i915_enable_rc6=7 i915_enable_fbc=1 lvds_downclock=1

Never had any such warnings before, but now it appears each and every time I update or reinstall my kernel (the default one). I went through Mkinitcpio wiki page, tried putting question marks after the listed modules and rebuilding but it didn't change anything... Any ideas?

Btw, I don't use any specific compression option and had the regular lzo name change during the same full system upgrade that updated mkinitcpio and linux.

Thanks

Last edited by Neitsab (2014-08-04 11:51:19)

Offline

#2 2014-08-04 11:37:51

ukhippo
Member
From: Non-paged pool
Registered: 2014-02-21
Posts: 366

Re: [SOLVED] [mkinitcpio] initramfs "build error" messages since v.18-1

Sounds the same issue reported in the thread: https://bbs.archlinux.org/viewtopic.php?id=185204

Does the solution there work for you?

Offline

#3 2014-08-04 11:50:32

Neitsab
Wiki Maintainer
Registered: 2013-12-05
Posts: 25

Re: [SOLVED] [mkinitcpio] initramfs "build error" messages since v.18-1

Yes indeed, removing /etc/modprobe.d/modprobe.conf~ hidden backup file solved the warning issue. Strange but thanks ukhippo, I hadn't thought about checking other subforums!

Last edited by Neitsab (2014-08-04 11:52:08)

Offline

#4 2014-08-04 16:40:09

Peaceseeker
Member
Registered: 2012-04-27
Posts: 23

Re: [SOLVED] [mkinitcpio] initramfs "build error" messages since v.18-1

Also effects the location '/usr/lib/modprobe.d/', I discovered a backup file /usr/lib/modprobe.d/uvesafb.conf~, once deleted image generation completed successfully.

Offline

#5 2014-08-04 20:07:03

ksolsim
Member
Registered: 2012-06-26
Posts: 38

Re: [SOLVED] [mkinitcpio] initramfs "build error" messages since v.18-1

I don't have neither /etc/modprobe.d/modprobe.conf~ nor /usr/lib/modprobe.d/uvesafb.conf~.. the only way to create the kernel image has been downgrading mkinitcpio package to version 17-1

Offline

Board footer

Powered by FluxBB