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

tried instal with Kernel 6.8.6 on ubuntu, didnt work. #27

Open
josepbw82 opened this issue Apr 13, 2024 · 12 comments
Open

tried instal with Kernel 6.8.6 on ubuntu, didnt work. #27

josepbw82 opened this issue Apr 13, 2024 · 12 comments

Comments

@josepbw82
Copy link

DKMS make.log for rtl8852bu-1.19.3 for kernel 6.8.6-060806-generic (x86_64)
Sat Apr 13 07:08:37 PM EDT 2024
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/6.8.6-060806-generic/build M=/var/lib/dkms/rtl8852bu/1.19.3/build modules
make[1]: Entering directory '/usr/src/linux-headers-6.8.6-060806'

ERROR: Kernel configuration is invalid.
include/generated/autoconf.h or include/config/auto.conf are missing.
Run 'make oldconfig && make prepare' on kernel src to fix it.

make[2]: *** [/usr/src/linux-headers-6.8.6-060806/Makefile:798: include/config/auto.conf] Error 1
make[1]: *** [Makefile:240: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.8.6-060806'
make: *** [Makefile:746: modules] Error 2

@josepbw82
Copy link
Author

"make oldconfig" did not give error.
This is what happened when i did "make prepare"
make[2]: *** No rule to make target 'arch/x86/entry/syscalls/syscall_32.tbl', needed by 'arch/x86/include/generated/uapi/asm/unistd_32.h'. Stop.
make[1]: *** [arch/x86/Makefile:249: archheaders] Error 2
make: *** [Makefile:240: __sub-make] Error 2

@morrownr
Copy link
Owner

This the beta of 24.04? Right?

Recommend you report this to Ubuntu. I won't be using 24.04 until sometime after it is released. I have tested kernel 6.8 and it works well but I tested on 23.10. It looks like 24.04 is broken.

@josepbw82
Copy link
Author

josepbw82 commented Apr 14, 2024 via email

@morrownr
Copy link
Owner

Might just be my computer could be messed up and need to do a full wipe and full reinstall.

This could be the case but the problem looks like a header files problem so it is likely an Ubuntu problem.

If you are not a fan of compiling drivers that end up giving you a hard time for one reason of another:

https://github.com/morrownr/USB-WiFi

That is the Main Menu for this site. You may find menu items 1 and 2 to be helpful. We have good alternatives to Realtek's poor usb wifi adapter support.

@josepbw82
Copy link
Author

josepbw82 commented Apr 23, 2024 via email

@morrownr
Copy link
Owner

Shouldn't the Asus ax wlan adaptor start at and remain as bus 005 device 003. Scratching my head, because I've never seen this happen before.

This is likely a problem due to the adapter being multi-state. Multi-state means that the adapter has an onboard Windows driver and the adapter will initially come up as a storage device and has to have its mode switched to wifi. I try to make it clear that Linux users should avoid multi-state adapters in my document on the Main Menu in item 1 but I know that not everyone knows to read it before buying. I posted the link to the Main Menu previously in this thread.

On the Main Menu here I have a menu item that explains Modeswitching. here is a direct link:

https://github.com/morrownr/USB-WiFi/blob/main/home/How_to_Modeswitch.md

My recommendation is to go to the bottom on the document and deactivate usb_modeswitch so that we can see what is going on. The problem is likely that the information for your adapter is not exactly right and will need to be fixed.

Keep in mind that there are many really good usb wifi adapters that work well on Linux without this hassle so you need to think about how much crap you are willing to put up with before you make a change. Here is a direct link to the Plug and Play List.

https://github.com/morrownr/USB-WiFi/blob/main/home/USB_WiFi_Adapters_that_are_supported_with_Linux_in-kernel_drivers.md

Note for Linux users that may read this someday: Realtek based WiFi 6 USB WiFi adapters are something you really want to avoid whether for home, office or embedded use. All of the Realtek based wifi adapters that I am aware of are multi-state and the Realtek drivers are really bad. The driver in this repo does client (managed) mode reasonably well after I spent a few months working on it. The other modes... well, good luck. There is no good reason to get a Realtek based WiFi 6 adapter if you can get a Mediatek based WiFi 6 adapter. Mediatek does a good job with their drivers and they do their drivers in accordance with Linux Wireless Standards.

@josepbw82
Copy link
Author

josepbw82 commented Apr 24, 2024 via email

@morrownr
Copy link
Owner

@josepbw82

I like how you worded all that. LoL.

I try to be respectful and that was my intent. I've been using Linux since 1994. There wasn't an installer back then. Going back further, I learned programming with FORTRAN... long before things like mice and monitors existed. I still learn something everyday and I'll try to help you here but it is not clear what the problem is. Recently there was a problem with one of the Ubuntu mainline kernels and I think it was 6.8.6 so you might want to get rid of that installation and install a later kernel/headers.

Or... wait until tomorrow and install a clean burn of Ubuntu 24.04 and see what happens.

@josepbw82
Copy link
Author

josepbw82 commented Apr 25, 2024 via email

@morrownr
Copy link
Owner

It has changed a lot since then.

Yes it has. I have noticed some changes over the last few years indicating stabilization in that we now see much less need to lock in a kernel for a long period to have a stable system. I'm running Debian 12 with kernel 6.6 provided by Debian. You even see this in Android. It is unfortunate that we USB WiFi adapters users have only two companies providing usb chips and one of them is stuck in the past.

I very often have users ask me why I don't take the Realtek drivers here at this site to the kernel and I have to answer that it would be rejected as these out-of-kernel Realtek drivers do not meet modern Linux Wireless Standards. I really get tired of being asked and my answer is basically that we can control what we can control and Linux USB WiFi users should be buying adapters with Mediatek chipsets... as you can see in the Plug and Play List here on the Main Menu.

Anyway, let me know if I can help more. I have been unable to duplicate this problem so without more info, there is little I can do.

@josepbw82
Copy link
Author

josepbw82 commented Apr 25, 2024 via email

@morrownr
Copy link
Owner

Well, some of the plug and play adapters won't work even though the
adaptors did a few months ago...

What adapters are we talking about?

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