Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kernel and kernel headers version missmatch #35

Closed
bojomojo opened this issue Dec 9, 2020 · 6 comments
Closed

Kernel and kernel headers version missmatch #35

bojomojo opened this issue Dec 9, 2020 · 6 comments
Labels
bug Something isn't working stale

Comments

@bojomojo
Copy link

bojomojo commented Dec 9, 2020

Describe The Bug:

I am trying to install deconz via hb-config, but it is failing because the kernel and kernel header versions missmatch

Tried setting up deconz via hb-config. Getting errors:

build rtc module...
make -C /lib/modules/5.4.72-v7l+/build M=/tmp/raspbee2-rtc-master modules
make[1]: *** /lib/modules/5.4.72-v7l+/build: No such file or directory. Stop.
make: *** [Makefile:17: build] Error 2
install rtc module...
make[1]: *** /lib/modules/5.4.72-v7l+/build: No such file or directory. Stop.
could not install rtc module file (did you run make?)
make: *** [Makefile:42: install] Error 1
--2020-12-08 23:06:46-- http://phoscon.de/apt/deconz.pub.key

To Reproduce:

Try installing deconz via hb-config

Expected behavior:

Successful setup

Logs:

Show the logs here.
Remove any sensitive information.

Screenshots:

Environment:

  • Homebridge Raspberry Pi Image Version:
  • Node.js Version: v14.15.1
  • NPM Version:

v6.14.9

  • Homebridge Version: 1.1.6
  • Homebridge Config UI X Plugin Version:
@bojomojo bojomojo added the bug Something isn't working label Dec 9, 2020
@oznu
Copy link
Member

oznu commented Dec 9, 2020

Please try the entire process using the manual steps defined here to see if they work:

https://phoscon.de/en/raspbee2/install#raspbian

hb-config should just be executing those steps for you - with some changes to deconz to make it not run on port 80.

If you can manually get the Raspbee steps completed; use hb-config to install deconz and select "Conbee".

@bojomojo
Copy link
Author

bojomojo commented Dec 9, 2020

I did try out the first couple of steps to install the essentials, but also ended up with different versions.
However stopped there.

If I dp a full manual install. Wont I end up with 2 instances?
The first setup through hb-config complete. And I can access the webapp, but for example setting up the rtc fails

@oznu
Copy link
Member

oznu commented Dec 9, 2020

You want to do the RTC-Installation steps from the phoscon website.

@bojomojo
Copy link
Author

bojomojo commented Dec 9, 2020

yup, hit the same error as soon as I tried to make
pi@homebridge:~/raspbee2-rtc-master $ make checking deb package dependencies... i2c-tools build-essential raspberrypi-kernel-headers download rtc-pcf85063.c for kernel version 5.4 ... curl -O --max-time 10 https://raw.githubusercontent.com/torvalds/linux/v5.4/drivers/rtc/rtc-pcf85063.c % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 12969 100 12969 0 0 42943 0 --:--:-- --:--:-- --:--:-- 42943 build rtc module... make -C /lib/modules/5.4.72-v7l+/build M=/home/pi/raspbee2-rtc-master modules make[1]: *** /lib/modules/5.4.72-v7l+/build: No such file or directory. Stop. make: *** [Makefile:17: build] Error 2

@bojomojo
Copy link
Author

bojomojo commented Dec 9, 2020

I also tried sudo apt-get to reinstall the kernel and then get again the raspberrypi-kernel-headers.. still same issue

@stale
Copy link

stale bot commented Jan 8, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Jan 8, 2021
@stale stale bot closed this as completed Jan 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working stale
Projects
None yet
Development

No branches or pull requests

2 participants