leonsio / YAHM

Yet Another Homematic Management - Skripte zur Einrichtung der Homematic CCU Oberfläche in einem LXC Container unter Debian Jessie auf ARM CPU (z.B.: Raspberry Pi & Co)
Creative Commons Zero v1.0 Universal
114 stars 21 forks source link

failed at first install #170

Open SirWesthoff opened 6 years ago

SirWesthoff commented 6 years ago

my hardware is a raspberry pi 3 modell b with debian stretch lite installed, openhab2 already running.

** make modules_prepare HOSTCC scripts/basic/fixdep HOSTCC scripts/kconfig/conf.o SHIPPED scripts/kconfig/zconf.tab.c SHIPPED scripts/kconfig/zconf.lex.c HOSTCC scripts/kconfig/zconf.tab.o HOSTLD scripts/kconfig/conf scripts/kconfig/conf --silentoldconfig Kconfig .config:803:warning: symbol value 'm' invalid for NF_CT_PROTO_DCCP .config:805:warning: symbol value 'm' invalid for NF_CT_PROTO_SCTP .config:806:warning: symbol value 'm' invalid for NF_CT_PROTO_UDPLITE .config:823:warning: symbol value 'm' invalid for NF_NAT_PROTO_DCCP .config:824:warning: symbol value 'm' invalid for NF_NAT_PROTO_UDPLITE .config:825:warning: symbol value 'm' invalid for NF_NAT_PROTO_SCTP

Console input/output is redirected. Run 'make oldconfig' to update configuration.

scripts/kconfig/Makefile:38: recipe for target 'silentoldconfig' failed make[2]: [silentoldconfig] Error 1 Makefile:544: recipe for target 'silentoldconfig' failed make[1]: [silentoldconfig] Error 2 make: *** No rule to make target 'modules_prepare'. Stop. Traceback (most recent call last): File "/opt/YAHM/share/tools/rpi-source/rpi-source", line 379, in sh("cd %s && make modules_prepare %s" % (linux_symlink, (" > /dev/null" if args.quiet else ""))) File "/opt/YAHM/share/tools/rpi-source/rpi-source", line 85, in sh subprocess.check_call(cmd, shell=True) File "/usr/lib/python2.7/subprocess.py", line 186, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command 'cd /usr/src/linux && make modules_prepare ' returned non-zero exit status 2 Blocking new kernel updates, please do not use rpi-update anymore, or run this module after kernel update again Installing kernel modules Building eq3 kernel modules make -C /lib/modules/4.9.80-v7+/build M=/tmp/tmp.EPCexVQm5I/kernel modules make[1]: Entering directory '/usr/src/linux-80a14a56dacb7cc2b40d5f37d00bedb0ceace130'

ERROR: Kernel configuration is invalid. include/generated/autoconf.h or include/config/auto.conf are missing. Run 'make oldconfig && make prepare' on kernel src to fix it.

CC [M] /tmp/tmp.EPCexVQm5I/kernel/eq3_char_loop.o In file included from :0:0: ././include/linux/kconfig.h:5:32: fatal error: generated/autoconf.h: No such file or directory

include <generated/autoconf.h>

                            ^

compilation terminated. scripts/Makefile.build:326: recipe for target '/tmp/tmp.EPCexVQm5I/kernel/eq3_char_loop.o' failed make[2]: [/tmp/tmp.EPCexVQm5I/kernel/eq3_char_loop.o] Error 1 Makefile:1508: recipe for target 'module/tmp/tmp.EPCexVQm5I/kernel' failed make[1]: [module/tmp/tmp.EPCexVQm5I/kernel] Error 2 make[1]: Leaving directory '/usr/src/linux-80a14a56dacb7cc2b40d5f37d00bedb0ceace130' Makefile:16: recipe for target 'all' failed make: *** [all] Error 2 ERROR: Problem while building eq3 module, exit

leonsio commented 6 years ago

Nutzt du Standard Treiber oder eins über rpi-update?

Gruß

Leo

Von meinem iPhone gesendet

Am 14.03.2018 um 23:21 schrieb heartsaver1859 notifications@github.com:

my hardware is a raspberry pi 3 modell b with debian stretch lite installed, openhab2 already running.

** make modules_prepare HOSTCC scripts/basic/fixdep HOSTCC scripts/kconfig/conf.o SHIPPED scripts/kconfig/zconf.tab.c SHIPPED scripts/kconfig/zconf.lex.c HOSTCC scripts/kconfig/zconf.tab.o HOSTLD scripts/kconfig/conf scripts/kconfig/conf --silentoldconfig Kconfig .config:803⚠️ symbol value 'm' invalid for NF_CT_PROTO_DCCP .config:805⚠️ symbol value 'm' invalid for NF_CT_PROTO_SCTP .config:806⚠️ symbol value 'm' invalid for NF_CT_PROTO_UDPLITE .config:823⚠️ symbol value 'm' invalid for NF_NAT_PROTO_DCCP .config:824⚠️ symbol value 'm' invalid for NF_NAT_PROTO_UDPLITE .config:825⚠️ symbol value 'm' invalid for NF_NAT_PROTO_SCTP

Restart config... IRQ subsystem Expose hardware/virtual IRQ mapping via debugfs (IRQ_DOMAIN_DEBUG) [N/y/?] n Expose irq internals in debugfs (GENERIC_IRQ_DEBUGFS) [N/y/?] (NEW) aborted!

Console input/output is redirected. Run 'make oldconfig' to update configuration.

scripts/kconfig/Makefile:38: recipe for target 'silentoldconfig' failed make[2]: [silentoldconfig] Error 1 Makefile:544: recipe for target 'silentoldconfig' failed make[1]: [silentoldconfig] Error 2 make: *** No rule to make target 'modules_prepare'. Stop. Traceback (most recent call last): File "/opt/YAHM/share/tools/rpi-source/rpi-source", line 379, in sh("cd %s && make modules_prepare %s" % (linux_symlink, (" > /dev/null" if args.quiet else ""))) File "/opt/YAHM/share/tools/rpi-source/rpi-source", line 85, in sh subprocess.check_call(cmd, shell=True) File "/usr/lib/python2.7/subprocess.py", line 186, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command 'cd /usr/src/linux && make modules_prepare ' returned non-zero exit status 2 Blocking new kernel updates, please do not use rpi-update anymore, or run this module after kernel update again Installing kernel modules Building eq3 kernel modules make -C /lib/modules/4.9.80-v7+/build M=/tmp/tmp.EPCexVQm5I/kernel modules make[1]: Entering directory '/usr/src/linux-80a14a56dacb7cc2b40d5f37d00bedb0ceace130'

ERROR: Kernel configuration is invalid. include/generated/autoconf.h or include/config/auto.conf are missing. Run 'make oldconfig && make prepare' on kernel src to fix it.

CC [M] /tmp/tmp.EPCexVQm5I/kernel/eq3_char_loop.o In file included from :0:0: ././include/linux/kconfig.h:5:32: fatal error: generated/autoconf.h: No such file or directory

include <generated/autoconf.h>

^ compilation terminated. scripts/Makefile.build:326: recipe for target '/tmp/tmp.EPCexVQm5I/kernel/eq3_char_loop.o' failed make[2]: [/tmp/tmp.EPCexVQm5I/kernel/eq3_char_loop.o] Error 1 Makefile:1508: recipe for target 'module/tmp/tmp.EPCexVQm5I/kernel' failed make[1]: [module/tmp/tmp.EPCexVQm5I/kernel] Error 2 make[1]: Leaving directory '/usr/src/linux-80a14a56dacb7cc2b40d5f37d00bedb0ceace130' Makefile:16: recipe for target 'all' failed make: *** [all] Error 2 ERROR: Problem while building eq3 module, exit

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

SirWesthoff commented 6 years ago

Wie meinst du das? Ich habe openhab2 installiert und die addons. Und versucht yahm via quickinstall zu installieren.

Gruß

Marcel

Von: Leonid Kogan notifications@github.com Gesendet: Donnerstag, 15. März 2018 09:56 An: leonsio/YAHM YAHM@noreply.github.com Cc: heartsaver1859 marcel.westhoff92@gmail.com; Author author@noreply.github.com Betreff: Re: [leonsio/YAHM] failed at first install (#170)

Nutzt du Standard Treiber oder eins über rpi-update?

Gruß

Leo

Von meinem iPhone gesendet

Am 14.03.2018 um 23:21 schrieb heartsaver1859 <notifications@github.com mailto:notifications@github.com >:

my hardware is a raspberry pi 3 modell b with debian stretch lite installed, openhab2 already running.

*** make modules_prepare HOSTCC scripts/basic/fixdep HOSTCC scripts/kconfig/conf.o SHIPPED scripts/kconfig/zconf.tab.c SHIPPED scripts/kconfig/zconf.lex.c HOSTCC scripts/kconfig/zconf.tab.o HOSTLD scripts/kconfig/conf scripts/kconfig/conf --silentoldconfig Kconfig .config:803⚠️ symbol value 'm' invalid for NF_CT_PROTO_DCCP .config:805⚠️ symbol value 'm' invalid for NF_CT_PROTO_SCTP .config:806⚠️ symbol value 'm' invalid for NF_CT_PROTO_UDPLITE .config:823⚠️ symbol value 'm' invalid for NF_NAT_PROTO_DCCP .config:824⚠️ symbol value 'm' invalid for NF_NAT_PROTO_UDPLITE .config:825⚠️ symbol value 'm' invalid for NF_NAT_PROTO_SCTP

Restart config... IRQ subsystem Expose hardware/virtual IRQ mapping via debugfs (IRQ_DOMAIN_DEBUG) [N/y/?] n Expose irq internals in debugfs (GENERIC_IRQ_DEBUGFS) [N/y/?] (NEW) aborted!

Console input/output is redirected. Run 'make oldconfig' to update configuration.

scripts/kconfig/Makefile:38: recipe for target 'silentoldconfig' failed make[2]: [silentoldconfig] Error 1 Makefile:544: recipe for target 'silentoldconfig' failed make[1]: [silentoldconfig] Error 2 make: *** No rule to make target 'modules_prepare'. Stop. Traceback (most recent call last): File "/opt/YAHM/share/tools/rpi-source/rpi-source", line 379, in sh("cd %s && make modules_prepare %s" % (linux_symlink, (" > /dev/null" if args.quiet else ""))) File "/opt/YAHM/share/tools/rpi-source/rpi-source", line 85, in sh subprocess.check_call(cmd, shell=True) File "/usr/lib/python2.7/subprocess.py", line 186, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command 'cd /usr/src/linux && make modules_prepare ' returned non-zero exit status 2 Blocking new kernel updates, please do not use rpi-update anymore, or run this module after kernel update again Installing kernel modules Building eq3 kernel modules make -C /lib/modules/4.9.80-v7+/build M=/tmp/tmp.EPCexVQm5I/kernel modules make[1]: Entering directory '/usr/src/linux-80a14a56dacb7cc2b40d5f37d00bedb0ceace130'

ERROR: Kernel configuration is invalid. include/generated/autoconf.h or include/config/auto.conf are missing. Run 'make oldconfig && make prepare' on kernel src to fix it.

CC [M] /tmp/tmp.EPCexVQm5I/kernel/eq3_char_loop.o In file included from :0:0: ././include/linux/kconfig.h:5:32: fatal error: generated/autoconf.h: No such file or directory

include <generated/autoconf.h>

^ compilation terminated. scripts/Makefile.build:326: recipe for target '/tmp/tmp.EPCexVQm5I/kernel/eq3_char_loop.o' failed make[2]: [/tmp/tmp.EPCexVQm5I/kernel/eq3_char_loop.o] Error 1 Makefile:1508: recipe for target 'module/tmp/tmp.EPCexVQm5I/kernel' failed make[1]: [module/tmp/tmp.EPCexVQm5I/kernel] Error 2 make[1]: Leaving directory '/usr/src/linux-80a14a56dacb7cc2b40d5f37d00bedb0ceace130' Makefile:16: recipe for target 'all' failed make: *** [all] Error 2 ERROR: Problem while building eq3 module, exit

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/leonsio/YAHM/issues/170#issuecomment-373304749 , or mute the thread https://github.com/notifications/unsubscribe-auth/AHtaVWXXG1_THMBTIQlArMFknlaNg83Uks5teiy6gaJpZM4SrRDK . https://github.com/notifications/beacon/AHtaVZQFnG6C8ZT3NxrJVshqi_iHUJUbks5teiy6gaJpZM4SrRDK.gif

leonsio commented 6 years ago

Das Problem ist der verwendete Linux Kernel Es kann mein Modul dagegen gebaut werden

Daher meine Frage. Hat nix mit openhab zu tun

Von meinem iPhone gesendet

Am 15.03.2018 um 13:35 schrieb heartsaver1859 notifications@github.com:

Wie meinst du das? Ich habe openhab2 installiert und die addons. Und versucht yahm via quickinstall zu installieren.

Gruß

Marcel

Von: Leonid Kogan notifications@github.com Gesendet: Donnerstag, 15. März 2018 09:56 An: leonsio/YAHM YAHM@noreply.github.com Cc: heartsaver1859 marcel.westhoff92@gmail.com; Author author@noreply.github.com Betreff: Re: [leonsio/YAHM] failed at first install (#170)

Nutzt du Standard Treiber oder eins über rpi-update?

Gruß

Leo

Von meinem iPhone gesendet

Am 14.03.2018 um 23:21 schrieb heartsaver1859 <notifications@github.com mailto:notifications@github.com >:

my hardware is a raspberry pi 3 modell b with debian stretch lite installed, openhab2 already running.

*** make modules_prepare HOSTCC scripts/basic/fixdep HOSTCC scripts/kconfig/conf.o SHIPPED scripts/kconfig/zconf.tab.c SHIPPED scripts/kconfig/zconf.lex.c HOSTCC scripts/kconfig/zconf.tab.o HOSTLD scripts/kconfig/conf scripts/kconfig/conf --silentoldconfig Kconfig .config:803⚠️ symbol value 'm' invalid for NF_CT_PROTO_DCCP .config:805⚠️ symbol value 'm' invalid for NF_CT_PROTO_SCTP .config:806⚠️ symbol value 'm' invalid for NF_CT_PROTO_UDPLITE .config:823⚠️ symbol value 'm' invalid for NF_NAT_PROTO_DCCP .config:824⚠️ symbol value 'm' invalid for NF_NAT_PROTO_UDPLITE .config:825⚠️ symbol value 'm' invalid for NF_NAT_PROTO_SCTP

Restart config... IRQ subsystem Expose hardware/virtual IRQ mapping via debugfs (IRQ_DOMAIN_DEBUG) [N/y/?] n Expose irq internals in debugfs (GENERIC_IRQ_DEBUGFS) [N/y/?] (NEW) aborted!

Console input/output is redirected. Run 'make oldconfig' to update configuration.

scripts/kconfig/Makefile:38: recipe for target 'silentoldconfig' failed make[2]: [silentoldconfig] Error 1 Makefile:544: recipe for target 'silentoldconfig' failed make[1]: [silentoldconfig] Error 2 make: *** No rule to make target 'modules_prepare'. Stop. Traceback (most recent call last): File "/opt/YAHM/share/tools/rpi-source/rpi-source", line 379, in sh("cd %s && make modules_prepare %s" % (linux_symlink, (" > /dev/null" if args.quiet else ""))) File "/opt/YAHM/share/tools/rpi-source/rpi-source", line 85, in sh subprocess.check_call(cmd, shell=True) File "/usr/lib/python2.7/subprocess.py", line 186, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command 'cd /usr/src/linux && make modules_prepare ' returned non-zero exit status 2 Blocking new kernel updates, please do not use rpi-update anymore, or run this module after kernel update again Installing kernel modules Building eq3 kernel modules make -C /lib/modules/4.9.80-v7+/build M=/tmp/tmp.EPCexVQm5I/kernel modules make[1]: Entering directory '/usr/src/linux-80a14a56dacb7cc2b40d5f37d00bedb0ceace130'

ERROR: Kernel configuration is invalid. include/generated/autoconf.h or include/config/auto.conf are missing. Run 'make oldconfig && make prepare' on kernel src to fix it.

CC [M] /tmp/tmp.EPCexVQm5I/kernel/eq3_char_loop.o In file included from :0:0: ././include/linux/kconfig.h:5:32: fatal error: generated/autoconf.h: No such file or directory

include <generated/autoconf.h>

^ compilation terminated. scripts/Makefile.build:326: recipe for target '/tmp/tmp.EPCexVQm5I/kernel/eq3_char_loop.o' failed make[2]: [/tmp/tmp.EPCexVQm5I/kernel/eq3_char_loop.o] Error 1 Makefile:1508: recipe for target 'module/tmp/tmp.EPCexVQm5I/kernel' failed make[1]: [module/tmp/tmp.EPCexVQm5I/kernel] Error 2 make[1]: Leaving directory '/usr/src/linux-80a14a56dacb7cc2b40d5f37d00bedb0ceace130' Makefile:16: recipe for target 'all' failed make: *** [all] Error 2 ERROR: Problem while building eq3 module, exit

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/leonsio/YAHM/issues/170#issuecomment-373304749 , or mute the thread https://github.com/notifications/unsubscribe-auth/AHtaVWXXG1_THMBTIQlArMFknlaNg83Uks5teiy6gaJpZM4SrRDK . https://github.com/notifications/beacon/AHtaVZQFnG6C8ZT3NxrJVshqi_iHUJUbks5teiy6gaJpZM4SrRDK.gif

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

SirWesthoff commented 6 years ago

Nein ich habe nur nach der Installation einmal apt update && apt upgrade -y laufen lassen. Wie kann ich das Kernel Problem denn umgehen? 

Von meinem Samsung Galaxy Smartphone gesendet. null

leonsio commented 6 years ago

Hi

Probier mal

rm -rf /usr/src/linux*

Und führe die Installation erneut aus, bei Fragen einfach Y bzw. J eingeben und Enter drucken.

Falls es nicht klappt, dann mit rpi-update auf neuen Kernel gehen (reboot notwendig) und dann nochmal probieren.

Gruß

Leo

Am 15.03.2018 um 20:07 schrieb heartsaver1859 notifications@github.com:

Nein ich habe nur nach der Installation einmal apt update && apt upgrade -y laufen lassen. Wie kann ich das Kernel Problem denn umgehen?

Von meinem Samsung Galaxy Smartphone gesendet. null — You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/leonsio/YAHM/issues/170#issuecomment-373489615, or mute the thread https://github.com/notifications/unsubscribe-auth/AAwBF_dQg1S7LssUjaLmwMB25snX_vO9ks5tervygaJpZM4SrRDK.