Created attachment 374020 [details] kernel config 'genkernel --oldconfig --udev --lvm all' fails with: ... * Linux Kernel 3.14.0 for x86_64... * .. with config file /usr/share/genkernel/arch/x86_64/kernel-config * kernel: --mrproper is disabled; not running 'make mrproper'. * >> Running oldconfig... * kernel: --clean is disabled; not running 'make clean'. * >> Compiling 3.14.0 bzImage... * ERROR: Failed to compile the "bzImage" target... * * -- Grepping log... -- * *max14577.c:(.text+0x13e217): undefined reference to `regmap_del_irq_chip' *drivers/built-in.o: In function `max14577_i2c_probe': *max14577.c:(.text+0x13e35b): undefined reference to `regmap_add_irq_chip' *max14577.c:(.text+0x13e383): undefined reference to `regmap_irq_get_domain' *max14577.c:(.text+0x13e3c8): undefined reference to `regmap_del_irq_chip' *Makefile:827: recipe for target 'vmlinux' failed *make: *** [vmlinux] Error 1
Removing the MAX14577 option clear the issue: root@lynx:/usr/src/linux(35)# diff -u2 /home_impala/rose/.config_lyxx .config --- /home_impala/rose/.config_lyxx 2014-04-01 12:31:17.479335894 +0200 +++ .config 2014-04-01 12:35:30.000000000 +0200 @@ -2059,5 +2059,4 @@ CONFIG_CHARGER_MAX8903=m # CONFIG_CHARGER_LP8727 is not set -CONFIG_CHARGER_MAX14577=y # CONFIG_CHARGER_BQ2415X is not set # CONFIG_CHARGER_SMB347 is not set @@ -2307,5 +2306,5 @@ # CONFIG_MFD_88PM805 is not set # CONFIG_MFD_88PM860X is not set -CONFIG_MFD_MAX14577=y +# CONFIG_MFD_MAX14577 is not set CONFIG_MFD_MAX77686=y # CONFIG_MFD_MAX77693 is not set
Please attach the entire genkernel log to this bug report.
I don't have your .config but can you please 'make menuconfig' and select the appropriate config options so that CONFIG_REGMAP_IRQ=y. Recompile and let us know if that helps. If not, please include compile log, .config and emerge --info.
(In reply to Jeroen Roovers from comment #2) > Please attach the entire genkernel log to this bug report. I just the same issue with 3.14.0-gentoo. I will attach the corresponding /var/log/genkernel.log
Created attachment 374080 [details] genkernel.log for 3.14.0-gentoo
(In reply to Mike Pagano from comment #3) > I don't have your .config but can you please 'make menuconfig' and select > the appropriate config options so that CONFIG_REGMAP_IRQ=y. > > Recompile and let us know if that helps. > > If not, please include compile log, .config and emerge --info. I can not find a CONFIG_REGMAP_IRQ option neither in .config for vanilla-sources nor for gentoo sources. Maybe this option depends on an other option, which is not set in my config files. If someone has a .config, where this option is set, can attach this file. root@lynx:/usr/src/linux(19)# grep -u3 REGMAP .config CONFIG_DEBUG_DEVRES=y # CONFIG_SYS_HYPERVISOR is not set # CONFIG_GENERIC_CPU_DEVICES is not set CONFIG_REGMAP=y CONFIG_REGMAP_I2C=y CONFIG_DMA_SHARED_BUFFER=y #
"make menuconfig" then search on REGMAP_IRQ That will show you what you need. For example, mine shows: Selected by: MFD_AS3711 [=n] && HAS_IOMEM [=y] && I2C [=y]=y || MFD_AS3722 [=n] && HAS_IOMEM [=y] && I2C [=y]=y In this example, you need either MFD_AS3711 or MFD_AS3722 for the option to get set.
(In reply to Mike Pagano from comment #7) > "make menuconfig" > > then search on REGMAP_IRQ > > That will show you what you need. For example, mine shows: > > Selected by: MFD_AS3711 [=n] && HAS_IOMEM [=y] && I2C [=y]=y || MFD_AS3722 > [=n] && HAS_IOMEM [=y] && I2C [=y]=y > > In this example, you need either MFD_AS3711 or MFD_AS3722 for the option to > get set. Thanks Mike for the help, setting CONFIG_MFD_AS3711=y solved the issue: root@caiman:/usr/src/linux(86)# grep -u2 "AS37\|REGMAP_IRQ\|14577" .config CONFIG_REGMAP=y CONFIG_REGMAP_I2C=y CONFIG_REGMAP_IRQ=y CONFIG_DMA_SHARED_BUFFER=y -- CONFIG_CHARGER_MAX8903=m # CONFIG_CHARGER_LP8727 is not set CONFIG_CHARGER_MAX14577=m # CONFIG_CHARGER_BQ2415X is not set # CONFIG_CHARGER_SMB347 is not set -- CONFIG_MFD_CORE=y # CONFIG_MFD_CS5535 is not set CONFIG_MFD_AS3711=y # CONFIG_PMIC_ADP5520 is not set # CONFIG_MFD_CROS_EC is not set -- # CONFIG_MFD_88PM805 is not set # CONFIG_MFD_88PM860X is not set CONFIG_MFD_MAX14577=y CONFIG_MFD_MAX77686=y # CONFIG_MFD_MAX77693 is not set -- # CONFIG_BACKLIGHT_LM3639 is not set # CONFIG_BACKLIGHT_LP855X is not set # CONFIG_BACKLIGHT_AS3711 is not set # CONFIG_BACKLIGHT_LV5207LP is not set # CONFIG_BACKLIGHT_BD6107 is not set
Great news. And thanks for letting us know.