[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Dracut cannot find headers for kernel



Hi! I'm looking to build a personalized Debian Wheezy image, with 486 and 686-pae kernels.


When running my system image in a VM, i get a

"dracut: FATAL: No or empty root= argument"

This is my confing autoscript:

--------------------------------------------------------------------------------------------------------------------------------------------

#!/bin/sh

set -e

lb config noauto \
--architectures i386 \
--linux-flavours "686-pae 486"\
--linux-packages "linux-image linux-headers" \
--binary-images iso-hybrid \
--debian-installer true \
--debian-installer-gui true \
--memtest memtest86+ \
--system live \
--archive-areas "main contrib non-free" \
--firmware-chroot true \
--updates true \
--backports true \
--bootappend-live "boot=live config persistence locales=es_AR.UTF-8 keyboard-layouts=es username=marcos" \
--mirror-bootstrap http://ftp.ccc.uba.ar/pub/linux/debian/debian/ \
--mirror-binary http://ftp.ccc.uba.ar/pub/linux/debian/debian/ \
"${@}"

--------------------------------------------------------------------------------------------------------------------------------------------
And this is some of the output of my build.log


dracut: Generating /boot/initrd.img-3.2.0-4-486
E: No '/dev/log' or 'logger' included for syslog logging
E: Directories consolefonts, consoletrans, keymaps not found.  Please inform us about the issue including your OS name and version.
dracut: Generating /boot/initrd.img-3.2.0-4-686-pae
E: No '/dev/log' or 'logger' included for syslog logging
E: Directories consolefonts, consoletrans, keymaps not found.  Please inform us about the issue including your OS name and version.
dracut: Generating /boot/initrd.img-3.9-0.bpo.1-amd64
E: No '/dev/log' or 'logger' included for syslog logging
E: Directories consolefonts, consoletrans, keymaps not found.  Please inform us about the issue including your OS name and version.
Setting up linux-image-3.2.0-4-486 (3.2.51-1) ...
Running depmod.
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/dkms 3.2.0-4-486 /boot/vmlinuz-3.2.0-4-486
run-parts: executing /etc/kernel/postinst.d/dracut 3.2.0-4-486 /boot/vmlinuz-3.2.0-4-486
E: No '/dev/log' or 'logger' included for syslog logging
E: Directories consolefonts, consoletrans, keymaps not found.  Please inform us about the issue including your OS name and version.
run-parts: executing /etc/kernel/postinst.d/pm-utils 3.2.0-4-486 /boot/vmlinuz-3.2.0-4-486
Setting up linux-image-3.2.0-4-686-pae (3.2.51-1) ...
Running depmod.
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/dkms 3.2.0-4-686-pae /boot/vmlinuz-3.2.0-4-686-pae
run-parts: executing /etc/kernel/postinst.d/dracut 3.2.0-4-686-pae /boot/vmlinuz-3.2.0-4-686-pae
E: No '/dev/log' or 'logger' included for syslog logging
E: Directories consolefonts, consoletrans, keymaps not found.  Please inform us about the issue including your OS name and version.
run-parts: executing /etc/kernel/postinst.d/pm-utils 3.2.0-4-686-pae /boot/vmlinuz-3.2.0-4-686-pae
Setting up linux-image-3.9-0.bpo.1-amd64 (3.9.6-1~bpo70+1) ...
Running depmod.
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/dkms 3.9-0.bpo.1-amd64 /boot/vmlinuz-3.9-0.bpo.1-amd64
Error! Your kernel headers for kernel 3.9-0.bpo.1-amd64 cannot be found.
Please install the linux-headers-3.9-0.bpo.1-amd64 package,
or use the --kernelsourcedir option to tell DKMS where it's located
Error! Your kernel headers for kernel 3.9-0.bpo.1-amd64 cannot be found.
Please install the linux-headers-3.9-0.bpo.1-amd64 package,
or use the --kernelsourcedir option to tell DKMS where it's located
run-parts: executing /etc/kernel/postinst.d/dracut 3.9-0.bpo.1-amd64 /boot/vmlinuz-3.9-0.bpo.1-amd64
E: No '/dev/log' or 'logger' included for syslog logging
E: Directories consolefonts, consoletrans, keymaps not found.  Please inform us about the issue including your OS name and version.
run-parts: executing /etc/kernel/postinst.d/pm-utils 3.9-0.bpo.1-amd64 /boot/vmlinuz-3.9-0.bpo.1-amd64

-----------------------------------------------------------------------------------------------------------------------------------------

Is this behaviour normal? Why is linux-image-3.9-0.bpo.1-amd64 being installed? It's not in the desired flavours. And why would the headers be missing? The "--linux-packages" option should have taken care of that. Any ideas?

Thanks in advance

Marcos

Reply to: