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

FS#2656 - Kernel panic caused by init with x86_64 and glibc-2.27 #7526

Closed
openwrt-bot opened this issue Dec 7, 2019 · 1 comment
Closed
Labels

Comments

@openwrt-bot
Copy link

dl12345:

A kernel panic caused by init occurs during boot when using glibc-2.27.

Updating the glibc version used to glibc-2.28 does not fix this. Updating the glibc version to glibc-2.30 fixes the panic and it boots successfully.

If updating beyond glibc-2.27, the ppp package needs to have the last patch 600-Revert-pppd-Use-openssl-for-the-DES-instead-of-the-l.patch removed and a new patch put in its place to remove the explicit -I CFLAG that points to the host system openssl installation due to the removal of crypt in glibc versions > 2.27.

--- a/pppd/Makefile.linux
+++ b/pppd/Makefile.linux
@@ -140,7 +140,6 @@ endif

ifdef NEEDDES
ifndef USE_CRYPT
-CFLAGS += -I/usr/include/openssl
LIBS += -lcrypto
else
CFLAGS += -DUSE_CRYPT=1

Similarly, the ppp package Makefile would need to be updated to have a build and install dependency of openssl.

@openwrt-bot
Copy link
Author

bjonglez:

Lowering severity, because glibc is not shipped by default in release images.

Since you seem to know how to fix the issue, please consider submitting patches:
https://openwrt.org/submitting-patches

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant