LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-04-2021, 12:44 PM   #3931
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,366

Rep: Reputation: 4082Reputation: 4082Reputation: 4082Reputation: 4082Reputation: 4082Reputation: 4082Reputation: 4082Reputation: 4082Reputation: 4082Reputation: 4082Reputation: 4082

Quote:
Originally Posted by z80 View Post
For those using the RTL8821CE chip: beware that Kernel 5.15 breaks a few things and the module from tomaspinho doesn't work anymore.

Back to Kernel 5.14 for now.
https://github.com/tomaspinho/rtl8821ce/issues/244
 
Old 11-04-2021, 02:51 PM   #3932
z80
Member
 
Registered: Jul 2019
Location: Europe
Distribution: Slackware64-current
Posts: 136

Rep: Reputation: 99
I saw that issue report.
Sadly there's no solution so far.
 
Old 11-04-2021, 03:20 PM   #3933
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,505

Rep: Reputation: 3320Reputation: 3320Reputation: 3320Reputation: 3320Reputation: 3320Reputation: 3320Reputation: 3320Reputation: 3320Reputation: 3320Reputation: 3320Reputation: 3320
Quote:
Originally Posted by z80 View Post
I saw that issue report.
Sadly there's no solution so far.
Unfortunately, this is the fate of the out-of-tree drivers.

They may go out of sync with the kernel, as you seen.
 
2 members found this post helpful.
Old 11-04-2021, 06:04 PM   #3934
MLanden
LQ Newbie
 
Registered: Apr 2011
Location: Swamps of Virginia
Distribution: Slackware
Posts: 12

Rep: Reputation: 6
Also with brcmfmac

Also with my noname Linksys WiFi seen as BroadcoM BCM43245 that uses brcmfmac.. The newer kernel makes the brcmfmac module tainted and dirty! Rolled back to 5.14.15 as well! ;_;
 
1 members found this post helpful.
Old 11-04-2021, 08:35 PM   #3935
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 2,335

Rep: Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930
when 5.14 arrives some drivers go break , but some weeks later be patched.

same now on 5.15 , i build 5 extra drivers , and 2 fails with same error for header changed directory

rtl8188eus
rtl88XXau (8812au)

5.15 is LTS , then probably patched soon this drivers from mantainers.

If you need a specific driver to work , on daily then revert temporally to 5.14 and wait patches to 5.15
 
1 members found this post helpful.
Old 11-05-2021, 01:27 AM   #3936
z80
Member
 
Registered: Jul 2019
Location: Europe
Distribution: Slackware64-current
Posts: 136

Rep: Reputation: 99
Quote:
Originally Posted by LuckyCyborg View Post
Unfortunately, this is the fate of the out-of-tree drivers.

They may go out of sync with the kernel, as you seen.
I'm aware of that. However in 5.14 the builtin rtw88_8821ce module worked and in 5.15 it doesn't.
That's my main issue with 5.15 and that's the reasen why I tried the out-of-tree module.
 
Old 11-05-2021, 03:19 AM   #3937
teoberi
Member
 
Registered: Jan 2018
Location: Romania
Distribution: Slackware64-current (servers)/Windows 11/Ubuntu (workstations)
Posts: 610

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Quote:
Originally Posted by Daedra View Post
Same here, just installed the testing kernel and confirmed.

My grub command line...
Code:
GRUB_CMDLINE_LINUX_DEFAULT="acpi_enforce_resources=lax mitigations=off fbcon=font:VGA8x16 preempt=full"
Code:
root@shodan:~# dmesg | grep Preempt
[    0.033249] Dynamic Preempt: full
[    0.077741] rcu: Preemptible hierarchical RCU implementation.
Code:
root@shodan:~# cat /sys/kernel/debug/sched/preempt 
none voluntary (full)
Big thanks to Pat for adding this! I really didn't think we would get this until after 15.0
I saw in @avian's post (#3856) that in the case of LILO you can set the preempt parameter as a global option for all boot images or just for a specific boot image.
In the case of GRUB if I add in GRUB_CMDLINE_LINUX_DEFAULT the parameter preempt and run grub-mkconfig will be added in all generated menu entries, ie vmlinuz and vmlinuz-generic.
I prefer the vmlinuz menu entry to be clean without microcode, initrd and preempt.
So I commented on the lines for initrd, should I delete the preempt parameter in this case as well?
 
Old 11-05-2021, 08:45 AM   #3938
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,684

Rep: Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375
Quote:
Originally Posted by teoberi View Post
I saw in @avian's post (#3856) that in the case of LILO you can set the preempt parameter as a global option for all boot images or just for a specific boot image.
In the case of GRUB if I add in GRUB_CMDLINE_LINUX_DEFAULT the parameter preempt and run grub-mkconfig will be added in all generated menu entries, ie vmlinuz and vmlinuz-generic.
I prefer the vmlinuz menu entry to be clean without microcode, initrd and preempt.
So I commented on the lines for initrd, should I delete the preempt parameter in this case as well?
The only way I know in Grub to have custom entries is to add them to the /etc/grub.d/40_custom file. So after you run "grub-mkconfig -o /boot/grub/grub.cfg" you can view the config file at /boot/grub/grub.cfg. There you can see your menu entries. Then you can copy the entry you want into /etc/grub.d/40_custom and edit the title and linux line to add or remove any kernel boot parameters you want. Then re-run "grub-mkconfig -o /boot/grub/grub.cfg" and on next reboot you should see your custom entry. See my screenshot for example
Attached Thumbnails
Click image for larger version

Name:	IMG_41183.jpg
Views:	45
Size:	238.9 KB
ID:	37630  
 
1 members found this post helpful.
Old 11-06-2021, 04:33 AM   #3939
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,505

Rep: Reputation: 3320Reputation: 3320Reputation: 3320Reputation: 3320Reputation: 3320Reputation: 3320Reputation: 3320Reputation: 3320Reputation: 3320Reputation: 3320Reputation: 3320
Quote:
Originally Posted by USUARIONUEVO View Post
when 5.14 arrives some drivers go break , but some weeks later be patched.

same now on 5.15 , i build 5 extra drivers , and 2 fails with same error for header changed directory

rtl8188eus
rtl88XXau (8812au)

5.15 is LTS , then probably patched soon this drivers from mantainers.

If you need a specific driver to work , on daily then revert temporally to 5.14 and wait patches to 5.15
BUT, it's not supposed the RTL8188EUS to be supported by the brand new r8188eu driver from the 5.15.x kernels?

The previous rtl8188eu driver (from upto 5.14.x kernels) was replaced by r8188eu on the kernel 5.15.x and it contains the latest code from https://github.com/lwfinger/rtl8188eu

See there more details:
https://www.phoronix.com/scan.php?pa...x-5.15-Staging

And it's supposed that RTL8188EUS is supported by this driver, according with the code bellow.

/drivers/staging/r8188eu/os_dep/usb_intf.c
Code:
/* DID_USB_v916_20130116 */                                    
static struct usb_device_id rtw_usb_id_tbl[] = {               
        /*=== Realtek demoboard ===*/
        {USB_DEVICE(USB_VENDER_ID_REALTEK, 0x8179)}, /* 8188EUS */
        {USB_DEVICE(USB_VENDER_ID_REALTEK, 0x0179)}, /* 8188ETV */
        {USB_DEVICE(USB_VENDER_ID_REALTEK, 0xf179)}, /* 8188FU */
        /*=== Customer ID ===*/
        /****** 8188EUS ********/
        {USB_DEVICE(0x07B8, 0x8179)}, /* Abocom - Abocom */
        {USB_DEVICE(0x0DF6, 0x0076)}, /* Sitecom N150 v2 */
        {USB_DEVICE(0x2001, 0x330F)}, /* DLink DWA-125 REV D1 */
        {USB_DEVICE(0x2001, 0x3310)}, /* Dlink DWA-123 REV D1 */
        {USB_DEVICE(0x2001, 0x3311)}, /* DLink GO-USB-N150 REV B1 */
        {USB_DEVICE(0x2001, 0x331B)}, /* D-Link DWA-121 rev B1 */
        {USB_DEVICE(0x056E, 0x4008)}, /* Elecom WDC-150SU2M */
        {USB_DEVICE(0x2357, 0x010c)}, /* TP-Link TL-WN722N v2 */
        {USB_DEVICE(0x2357, 0x0111)}, /* TP-Link TL-WN727N v5.21 */
        {USB_DEVICE(0x2C4E, 0x0102)}, /* MERCUSYS MW150US v2 */
        {USB_DEVICE(0x0B05, 0x18F0)}, /* ASUS USB-N10 Nano B1 */
        {USB_DEVICE(0x7392, 0xb811)}, /* Edimax EW-7811Un V2 */
        {}      /* Terminating entry */
};

Last edited by LuckyCyborg; 11-06-2021 at 04:37 AM.
 
2 members found this post helpful.
Old 11-06-2021, 04:37 AM   #3940
J_W
Member
 
Registered: Apr 2004
Location: Yamagata, JAPAN
Distribution: Slackware64-current
Posts: 189

Rep: Reputation: 123Reputation: 123
Quote:
Originally Posted by z80 View Post
I'm aware of that. However in 5.14 the builtin rtw88_8821ce module worked and in 5.15 it doesn't.
That's my main issue with 5.15 and that's the reason why I tried the out-of-tree module.
Hi, z80

This is not a direct solution for your issue, but just an information.
I'm using USB-WiFi adapter "TP-Link AC600 T2U nano" which use outside driver "88xxau.ko".
https://github.com/aircrack-ng/rtl8812au

In case of this driver, there is a commit for compilation on kernel-5.15.0.
https://github.com/aircrack-ng/rtl88...fe9ec5b49db00a
https://github.com/aircrack-ng/rtl8812au/blob/6fd304f910b5ced30e99bb2beefe9ec5b49db00a/core/rtw_br_ext.c

This commit source was able to be compiled on kernel-5.15.0.

I compiled rtl8821ce with the same code of rtw_br_ext.c as rtl8812au, then successfully compiled on kernel-5.15.0.
However, since I don't have a hardware of rtl8821ce, I can't confirm whether it works or not.

example diff
Code:
--- rtl8821ce.orig/core/rtw_br_ext.c	2021-11-06 17:54:25.857653053 +0900
+++ rtl8821ce.new/core/rtw_br_ext.c	2021-11-06 17:55:29.878645361 +0900
@@ -17,7 +17,10 @@
 #ifdef __KERNEL__
 	#include <linux/if_arp.h>
 	#include <net/ip.h>
+	#include <linux/version.h>
+#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 15, 0)
 	#include <net/ipx.h>
+#endif
 	#include <linux/atalk.h>
 	#include <linux/udp.h>
 	#include <linux/if_pppox.h>
@@ -169,6 +172,7 @@
 }
 
 
+#ifdef _NET_INET_IPX_H_
 static __inline__ void __nat25_generate_ipx_network_addr_with_node(unsigned char *networkAddr,
 		unsigned int *ipxNetAddr, unsigned char *ipxNodeAddr)
 {
@@ -189,6 +193,7 @@
 	memcpy(networkAddr + 1, (unsigned char *)ipxNetAddr, 4);
 	memcpy(networkAddr + 5, (unsigned char *)ipxSocketAddr, 2);
 }
+#endif
 
 
 static __inline__ void __nat25_generate_apple_network_addr(unsigned char *networkAddr,
@@ -330,6 +335,7 @@
 		x = networkAddr[7] ^ networkAddr[8] ^ networkAddr[9] ^ networkAddr[10];
 
 		return x & (NAT25_HASH_SIZE - 1);
+#ifdef _NET_INET_IPX_H_
 	} else if (networkAddr[0] == NAT25_IPX) {
 		unsigned long x;
 
@@ -337,6 +343,7 @@
 		    networkAddr[6] ^ networkAddr[7] ^ networkAddr[8] ^ networkAddr[9] ^ networkAddr[10];
 
 		return x & (NAT25_HASH_SIZE - 1);
+#endif
 	} else if (networkAddr[0] == NAT25_APPLE) {
 		unsigned long x;
 
@@ -889,6 +896,7 @@
 		}
 	}
 
+#ifdef _NET_INET_IPX_H_
 	/*---------------------------------------------------*/
 	/*         Handle IPX and Apple Talk frame          */
 	/*---------------------------------------------------*/
@@ -1109,6 +1117,7 @@
 
 		return -1;
 	}
+#endif
 
 	/*---------------------------------------------------*/
 	/*                Handle PPPoE frame                */
 
3 members found this post helpful.
Old 11-06-2021, 08:07 AM   #3941
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,105

Original Poster
Rep: Reputation: 7281Reputation: 7281Reputation: 7281Reputation: 7281Reputation: 7281Reputation: 7281Reputation: 7281Reputation: 7281Reputation: 7281Reputation: 7281Reputation: 7281
Kernel updates 5.15.1, 5.14.17, 5.10.78, 5.4.158 and 4.19.216 are now available at, https://www.kernel.org/

The change logs,

https://cdn.kernel.org/pub/linux/ker...angeLog-5.15.1

https://cdn.kernel.org/pub/linux/ker...ngeLog-5.14.17

https://cdn.kernel.org/pub/linux/ker...ngeLog-5.10.78

https://cdn.kernel.org/pub/linux/ker...ngeLog-5.4.158

https://cdn.kernel.org/pub/linux/ker...geLog-4.19.216

Last edited by cwizardone; 11-06-2021 at 08:35 AM.
 
5 members found this post helpful.
Old 11-06-2021, 10:22 AM   #3942
AlleyTrotter
Member
 
Registered: Jun 2002
Location: Coal Township PA
Distribution: Slackware64-15.0
Posts: 783

Rep: Reputation: 479Reputation: 479Reputation: 479Reputation: 479Reputation: 479
Quote:
Originally Posted by cwizardone View Post
Kernel updates 5.15.1, 5.14.17, 5.10.78, 5.4.158 and 4.19.216 are now available at, https://www.kernel.org/
The change logs,
https://cdn.kernel.org/pub/linux/ker...angeLog-5.15.1
...[/url]
Kernel 5.15.1 builds using config from PV for 5.15 and runs without issue on Slackware64-14.2.
HTH
john
 
1 members found this post helpful.
Old 11-06-2021, 11:16 AM   #3943
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,366

Rep: Reputation: 4082Reputation: 4082Reputation: 4082Reputation: 4082Reputation: 4082Reputation: 4082Reputation: 4082Reputation: 4082Reputation: 4082Reputation: 4082Reputation: 4082
Quote:
Originally Posted by AlleyTrotter View Post
Kernel 5.15.1 builds using config from PV for 5.15 and runs without issue on Slackware64-14.2.
HTH
john
running fine here as well

Last edited by marav; 11-06-2021 at 11:17 AM.
 
Old 11-06-2021, 02:31 PM   #3944
z80
Member
 
Registered: Jul 2019
Location: Europe
Distribution: Slackware64-current
Posts: 136

Rep: Reputation: 99
Hi J_W,

Quote:
Originally Posted by J_W View Post
Hi, z80

This is not a direct solution for your issue, but just an information.
I'm using USB-WiFi adapter "TP-Link AC600 T2U nano" which use outside driver "88xxau.ko".
https://github.com/aircrack-ng/rtl8812au

In case of this driver, there is a commit for compilation on kernel-5.15.0.
https://github.com/aircrack-ng/rtl88...fe9ec5b49db00a
https://github.com/aircrack-ng/rtl8812au/blob/6fd304f910b5ced30e99bb2beefe9ec5b49db00a/core/rtw_br_ext.c

This commit source was able to be compiled on kernel-5.15.0.

I compiled rtl8821ce with the same code of rtw_br_ext.c as rtl8812au, then successfully compiled on kernel-5.15.0.
However, since I don't have a hardware of rtl8821ce, I can't confirm whether it works or not.
awesome, that worked! Thanks alot!
 
Old 11-07-2021, 06:07 AM   #3945
Spidergawd
Member
 
Registered: Jun 2016
Location: Cave Johnson's hometown
Distribution: Slackware64-15.0
Posts: 33

Rep: Reputation: Disabled
Pat's config for 5.15.1 once again has CONFIG_PREEMPT_DYNAMIC=y

Code:
# CONFIG_PREEMPT_NONE is not set
# CONFIG_PREEMPT_VOLUNTARY is not set
CONFIG_PREEMPT=y
CONFIG_PREEMPT_COUNT=y
CONFIG_PREEMPTION=y
CONFIG_PREEMPT_DYNAMIC=y
CONFIG_SCHED_CORE=y
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux.conf.au: Latest Linux kernel release due early March DragonSlayer48DX Linux - News 0 01-18-2010 10:43 PM
No video on latest kernel release Tralce Linux - Kernel 3 11-30-2006 07:48 AM
What is the latest Redhat release TILEMANN Linux - Software 5 11-20-2006 10:48 PM
LXer: News: OpenVZ To Release Support, Patches for Latest Kernel LXer Syndicated Linux News 0 11-01-2006 10:54 PM
latest debian release? doralsoral Linux - Software 5 12-25-2004 12:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration