Hi all, I’m trying to install some modules but yet I fail with those errors: error: too many arguments to function ‘__vmalloc’ 157 | __vmalloc(load_driver->sys_files[i].size, ./include/linux/vmalloc.h:132:14: note: declared here 132 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask); Hence, make fails every time. I was hoping whether there is any solution to this problems since Bluetooth driver build for example fails and I need it working for some IoT projects I am currently working on. And if someone could mention Linus Torvalds I’d very much appreciate it.
On Tue, Sep 07, 2021 at 02:41:57PM +0200, Omar Mustafa wrote:
Hi all,
I’m trying to install some modules but yet I fail with those errors:
error: too many arguments to function ‘__vmalloc’ 157 | __vmalloc(load_driver->sys_files[i].size,
./include/linux/vmalloc.h:132:14: note: declared here 132 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
What out-of-tree drivers are you trying to build? Please fix them up to handle the new api changes.
Hence, make fails every time.
Then fix the drivers, they are under your control :)
I was hoping whether there is any solution to this problems since Bluetooth driver build for example fails and I need it working for some IoT projects I am currently working on.
What exact driver is failing? thanks, greg k-h
It’s the RTL8822BE Bluetooth which I have tried each and every solution online ever existed and failed
On 7 Sep 2021, at 2:53 PM, Greg KH <greg@kroah.com> wrote:
On Tue, Sep 07, 2021 at 02:41:57PM +0200, Omar Mustafa wrote:
Hi all,
I’m trying to install some modules but yet I fail with those errors:
error: too many arguments to function ‘__vmalloc’ 157 | __vmalloc(load_driver->sys_files[i].size,
./include/linux/vmalloc.h:132:14: note: declared here 132 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
What out-of-tree drivers are you trying to build? Please fix them up to handle the new api changes.
Hence, make fails every time.
Then fix the drivers, they are under your control :)
I was hoping whether there is any solution to this problems since Bluetooth driver build for example fails and I need it working for some IoT projects I am currently working on.
What exact driver is failing?
thanks,
greg k-h
A: http://en.wikipedia.org/wiki/Top_post Q: Were do I find info about this thing called top-posting? A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? A: No. Q: Should I include quotations after my reply? http://daringfireball.net/2007/07/on_top On Tue, Sep 07, 2021 at 06:06:26PM +0200, Omar Mustafa wrote:
It’s the RTL8822BE Bluetooth which I have tried each and every solution online ever existed and failed
What specific solutions did you try that failed? And where is the code you are trying to build? Why are you relying on an out-of-tree driver? thanks, greg k-h
On Tue, 07 Sep 2021 18:06:26 +0200, Omar Mustafa said:
It’s the RTL8822BE Bluetooth which I have tried each and every solution online ever existed and failed
Looks like the PCI card variant has been supported for a while: [/usr/src/linux-next] git blame drivers/net/wireless/realtek/rtlwifi/pci.c | grep RTL8822BE e298be2a97fda drivers/net/wireless/realtek/rtlwifi/pci.c (Ping-Ke Shih 2017-12-09 11:37:08 -0600 48) if (rtlhal->hw_type == HARDWARE_TYPE_RTL8822BE) { 89d3e8abcf244 drivers/net/wireless/realtek/rtlwifi/pci.c (Ping-Ke Shih 2017-11-01 10:29:20 -0500 991) if (rtlhal->hw_type == HARDWARE_TYPE_RTL8822BE) { 57869e4ba77a7 drivers/net/wireless/realtek/rtlwifi/pci.c (Ping-Ke Shih 2017-11-01 10:29:19 -0500 1139) else if (rtlhal->hw_type == HARDWARE_TYPE_RTL8822BE) 68929a8380007 drivers/net/wireless/realtek/rtlwifi/pci.c (Ping-Ke Shih 2017-11-01 10:29:21 -0500 1963) rtlhal->hw_type = HARDWARE_TYPE_RTL8822BE; 57869e4ba77a7 drivers/net/wireless/realtek/rtlwifi/pci.c (Ping-Ke Shih 2017-11-01 10:29:19 -0500 1996) case HARDWARE_TYPE_RTL8822BE: [/usr/src/linux-next] git describe e298be2a97fda v4.15-rc1-238-ge298be2a97fd https://linux-hardware.org/index.php?id=usb:0bda-b023 says the USB flavor is supported by drivers/bluetooth/btusb.c with config symbols CONFIG_BT CONFIG_BT_HCIBTUSB/ There's an apparently abandoned github driver: https://github.com/lwfinger/rtl8723au_bt that hasn't been touched in 7 years, and has a Readme that says:
In this document, we introduce how to support rtk 8723AE/AU BT driver in Linux system. Support kernel version 2.6.32~3.13.0
So for us to help you, you're going to have to be a *lot* more detailed about what kernel release you're using, what the USB/PCI/whatever device you're working with, and where you got the driver you're trying to get working.
participants (3)
-
Greg KH -
Omar Mustafa -
Valdis Klētnieks