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

Module not compiled #254

Closed
magarto opened this issue Feb 7, 2016 · 12 comments
Closed

Module not compiled #254

magarto opened this issue Feb 7, 2016 · 12 comments

Comments

@magarto
Copy link

magarto commented Feb 7, 2016

Hi,

After compiling linux kernel, module bcm2708_wdog is not compiled:

$ sudo modprobe bcm2708_wdog
modprobe: FATAL: Module bcm2708_wdog not found.

So, is there anything to edit? Using your berryboot and standard raspbian installation it was compiled.
Thanks in advance.

@maxnet
Copy link
Owner

maxnet commented Feb 7, 2016

Don't compile kernel under Raspbian, but compile kernel as part of Berryboot.

@magarto
Copy link
Author

magarto commented Feb 7, 2016

No, I compiled it as a part of Berryboot
El 07/02/2016 14:02, "maxnet" [email protected] escribió:

Don't compile under Raspbian, but compile kernel as part of Berryboot.


Reply to this email directly or view it on GitHub
#254 (comment).

@maxnet
Copy link
Owner

maxnet commented Feb 8, 2016

Make sure you did a fresh Berryboot installation, so the contents of shared.tgz (which contains the kernel modules) was installed, and did not just copy the kernel file.

@magarto
Copy link
Author

magarto commented Feb 9, 2016

It's weird because /lib/modules/4.1.8v7-aufs/kernel/drivers/watchdog/bcm2708_wdog.ko is present but /lib/modules/4.3.3v7-aufs/kernel/drivers/watchdog/bcm2708_wdog.ko doesn't exist. So it must be a 4.3.3 related problem.
I have some pending question in other issue I created. I'm not sure if you could check it.

Thanks!

@maxnet
Copy link
Owner

maxnet commented Feb 9, 2016

There is only a CONFIG_BCM2835_WDT=m in the 4.3 configuration.
Use that instead of 2708?

https://github.com/raspberrypi/linux/blob/rpi-4.3.y/arch/arm/configs/bcm2709_defconfig#L634

@magarto
Copy link
Author

magarto commented Feb 9, 2016

mmm, so it is a problem in the own raspberry 4.3 linux kernel branch... I'll add it as a module in berryboot patch. Thanks!
CONFIG_BCM2708_WDOG=m

@maxnet
Copy link
Owner

maxnet commented Feb 9, 2016

Doesn't the bcm2835_wdt module work as well?

@magarto
Copy link
Author

magarto commented Feb 9, 2016

@maxnet
Copy link
Owner

maxnet commented Feb 9, 2016

It is a module for poweroff not for rebooting

Have you tested that?

@magarto
Copy link
Author

magarto commented Feb 9, 2016

It doesn't compile it :(

@magarto
Copy link
Author

magarto commented Feb 9, 2016

If someone needs it, I share my berryboot boot image of Linux 4.3.3 with grsecurity and apparmor. cmdline.txt must be modified in order to enable apparmor at boot, adding the following at the end of the only file. Only one (RBAC of grsecurity or APPARMOR) should be enabled.
apparmor=1 security=apparmor

https://mega.nz/#!YQsXBSpK!wY2jFdJTVNerUCG589Z9C-YcpRA7QGJ7sA-Ron8G6uM

@magarto
Copy link
Author

magarto commented Feb 10, 2016

Fixed: raspberrypi/linux#1285

@magarto magarto closed this as completed Feb 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants