The DKMS module did not compile for me, when the patch 0003-enable-CONFIG_AUFS_EXPORT.patch has been enabled. But it worked well, after I commented out the $(error hier) line. config.mk 54c54 < $(error hier) --- > #$(error hier)