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

Linux: Update kernel 6.1.12 for non-Raspberry Pi systems #2358

Merged
merged 7 commits into from
Feb 16, 2023

Conversation

agners
Copy link
Member

@agners agners commented Feb 15, 2023

No description provided.

@agners agners added board/ova Open Virtual Appliance (Virtual Machine) board/odroid Hardkernel's ODROID Boards board/tinker ASUS' Tinker Boards linux Linux kernel related issue board/generic-x86-64 Generic x86-64 Boards (like Intel NUC) board/khadas Khadas VIM Boards board/generic-aarch64 Generic aarch64 machine labels Feb 15, 2023
* buildroot 43f82f01b9...90aa1a6daa (1):
  > rtl8812au-aircrack-ng: bump to latest rev d98018
@agners
Copy link
Member Author

agners commented Feb 16, 2023

@jens-maus I still struggle to get generic-raw-uart and eq3_char_loop to build. These things are really quite annoying to maintain, out-of-tree kernel modules, with patches on-top of them. It seems that even latest upstream doesn't build on 6.1 currently. I am inclined to just disable for now and hope someone tackles the issues before the release 😉

@agners
Copy link
Member Author

agners commented Feb 16, 2023

It seems that most problems got introduced by CONFIG_WERROR. It is not quite clear why it wasn't a problem with 5.15, since CONFIG_WERROR defaults to yes since 5.15. But in any case, I added now variables which ensure that CONFIG_WERROR is not selected for the modules which have compiler warnings (generic_raw_uart and `rtl8821cu).

@agners agners merged commit 25c672a into home-assistant:dev Feb 16, 2023
@jens-maus
Copy link
Contributor

@jens-maus I still struggle to get generic-raw-uart and eq3_char_loop to build. These things are really quite annoying to maintain, out-of-tree kernel modules, with patches on-top of them. It seems that even latest upstream doesn't build on 6.1 currently. I am inclined to just disable for now and hope someone tackles the issues before the release 😉

Sorry for the delay, but I took some days off for skiing..

Actually, haven't tested generic_raw_uart with kernel 6.1 yet simply because I thought as long as kernel 6.1 isn't officially promoted as the new LTS variant it is not worth the work. But as you have merged this PR now I think I will invest some time into this myself ASAP and report back.

@agners
Copy link
Member Author

agners commented Feb 16, 2023

Sorry for the delay, but I took some days off for skiing..

No problem.

Actually, haven't tested generic_raw_uart with kernel 6.1 yet simply because I thought as long as kernel 6.1 isn't officially promoted as the new LTS variant it is not worth the work. But as you have merged this PR now I think I will invest some time into this myself ASAP and report back.

While 6.1 was expected to be the next LTS it only got promoted a few days ago. But is listed as LTS officially now: https://kernel.org/category/releases.html

It seems the problem was mostly about compile time warnings. I guess ideally those should be addressed at one point, but there are also out-of-tree Realtek Wi-Fi drivers affected.

In general, just shows how much of a paint these out-of-tree driver business is 😢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
board/generic-aarch64 Generic aarch64 machine board/generic-x86-64 Generic x86-64 Boards (like Intel NUC) board/khadas Khadas VIM Boards board/odroid Hardkernel's ODROID Boards board/ova Open Virtual Appliance (Virtual Machine) board/tinker ASUS' Tinker Boards cla-signed linux Linux kernel related issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants