* Vmalloc.h implicit functions [not found] <9C5D07C3-48AA-4E1A-9998-28E94DFCCB08.ref@yahoo.com> @ 2021-09-07 12:41 ` Omar Mustafa 2021-09-07 12:53 ` Greg KH 0 siblings, 1 reply; 8+ messages in thread From: Omar Mustafa @ 2021-09-07 12:41 UTC (permalink / raw) To: kernelnewbies 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. _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Vmalloc.h implicit functions 2021-09-07 12:41 ` Vmalloc.h implicit functions Omar Mustafa @ 2021-09-07 12:53 ` Greg KH 2021-09-07 16:06 ` Omar Mustafa 0 siblings, 1 reply; 8+ messages in thread From: Greg KH @ 2021-09-07 12:53 UTC (permalink / raw) To: Omar Mustafa; +Cc: kernelnewbies 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 _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Vmalloc.h implicit functions 2021-09-07 12:53 ` Greg KH @ 2021-09-07 16:06 ` Omar Mustafa 2021-09-07 16:17 ` Greg KH 2021-09-07 22:34 ` Valdis Klētnieks 0 siblings, 2 replies; 8+ messages in thread From: Omar Mustafa @ 2021-09-07 16:06 UTC (permalink / raw) To: Greg KH; +Cc: kernelnewbies 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 _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Vmalloc.h implicit functions 2021-09-07 16:06 ` Omar Mustafa @ 2021-09-07 16:17 ` Greg KH 2021-09-07 22:34 ` Valdis Klētnieks 1 sibling, 0 replies; 8+ messages in thread From: Greg KH @ 2021-09-07 16:17 UTC (permalink / raw) To: Omar Mustafa; +Cc: kernelnewbies 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 _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Vmalloc.h implicit functions 2021-09-07 16:06 ` Omar Mustafa 2021-09-07 16:17 ` Greg KH @ 2021-09-07 22:34 ` Valdis Klētnieks [not found] ` <B4A71321-4D9C-4FB1-BD7D-AB3BF2FE9D7B@yahoo.com> 1 sibling, 1 reply; 8+ messages in thread From: Valdis Klētnieks @ 2021-09-07 22:34 UTC (permalink / raw) To: Omar Mustafa; +Cc: Greg KH, kernelnewbies [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #1.1: Type: text/plain; charset=us-ascii, Size: 1887 bytes --] 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. [-- Attachment #1.2: Type: application/pgp-signature, Size: 494 bytes --] [-- Attachment #2: Type: text/plain, Size: 170 bytes --] _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies ^ permalink raw reply [flat|nested] 8+ messages in thread
[parent not found: <B4A71321-4D9C-4FB1-BD7D-AB3BF2FE9D7B@yahoo.com>]
* Re: Vmalloc.h implicit functions [not found] ` <B4A71321-4D9C-4FB1-BD7D-AB3BF2FE9D7B@yahoo.com> @ 2021-09-08 5:54 ` Valdis Klētnieks [not found] ` <6698A2F7-4242-4B6B-9C59-D651FA7337E7@yahoo.com> 0 siblings, 1 reply; 8+ messages in thread From: Valdis Klētnieks @ 2021-09-08 5:54 UTC (permalink / raw) To: Omar Mustafa; +Cc: kernelnewbies [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #1.1: Type: text/plain; charset=us-ascii, Size: 696 bytes --] On Wed, 08 Sep 2021 07:46:13 +0200, Omar Mustafa said: > Okay my kernel is 5.13.9-generic and I have tried what you mentioned but failed > the only remaining solution I can think of is trying to install the Windows > driver through NDISWrapper and it’s the RTL8822BE Bluetooth not the WiFi First, Linux kernel email conventions are that you do a "reply all", so that others can comment even if I'm busy or don't know the answer. I've re-added kernelnewbies to the cc: list. Second, you still haven't said what driver you were trying to fix. The rest of us can't help with an out-of-tree driver unless we know where it's from. Also, can you give us what lspci or lsusb says your widget is? [-- Attachment #1.2: Type: application/pgp-signature, Size: 494 bytes --] [-- Attachment #2: Type: text/plain, Size: 170 bytes --] _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies ^ permalink raw reply [flat|nested] 8+ messages in thread
[parent not found: <6698A2F7-4242-4B6B-9C59-D651FA7337E7@yahoo.com>]
* Re: Vmalloc.h implicit functions [not found] ` <6698A2F7-4242-4B6B-9C59-D651FA7337E7@yahoo.com> @ 2021-09-09 1:39 ` Valdis Klētnieks [not found] ` <B91EDE80-8B43-415D-9969-AFF2EB3FA414@yahoo.com> 0 siblings, 1 reply; 8+ messages in thread From: Valdis Klētnieks @ 2021-09-09 1:39 UTC (permalink / raw) To: Omar Mustafa; +Cc: kernelnewbies [-- Attachment #1.1: Type: text/plain, Size: 1370 bytes --] On Wed, 08 Sep 2021 12:02:39 +0200, Omar Mustafa said: > The driver is RTL8822BE Bluetooth That's not what I asked for. And that's not the *driver*, that's the *device*. For example, this laptop has an Ethernet and a wireless card: [~] lspci -nn |grep -i net 01:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL810xE PCI Express Fast Ethernet controller [10ec:8136] (rev 07) 02:00.0 Network controller [0280]: Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter [168c:0036] (rev 01) and there's no RTL810xE or QCA8565 driver. The first actually uses the r8169 driver, and the second uses the ath9k driver. Both those drivers support a wide range of devices. iwlwifi is another driver that supports a whole bunch of devices. Meanwhile, a USB trackball I use is: [~] lsusb | grep Track Bus 001 Device 002: ID 045e:0023 Microsoft Corp. Trackball Optical And those [10ec:8136], [168c:0036], and [045e:0023] are actually important, as that is what the *HARDWARE* device identifies itself as, and what the kernel uses to identify which driver should be used to support the device.. There are many actual instances where the hardware device has both a USB and PCI variant - and only one or the other is actually supported by an in-tree driver. And you still haven't told us what driver source you're trying to compile, or where it came from. [-- Attachment #1.2: Type: application/pgp-signature, Size: 494 bytes --] [-- Attachment #2: Type: text/plain, Size: 170 bytes --] _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies ^ permalink raw reply [flat|nested] 8+ messages in thread
[parent not found: <B91EDE80-8B43-415D-9969-AFF2EB3FA414@yahoo.com>]
* Re: Vmalloc.h implicit functions [not found] ` <B91EDE80-8B43-415D-9969-AFF2EB3FA414@yahoo.com> @ 2021-09-15 14:42 ` Greg KH 0 siblings, 0 replies; 8+ messages in thread From: Greg KH @ 2021-09-15 14:42 UTC (permalink / raw) To: Omar Mustafa; +Cc: Valdis Klētnieks, kernelnewbies 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 Wed, Sep 15, 2021 at 04:32:45PM +0200, Omar Mustafa wrote: > Sorry for being late but it took me so long to find this: > > 10ec:b822:103c:831b > > Is this the driver you were talking about?? That is some sort of id. We need a link to the exact source code that you are trying to build and having problems with, in order to determine how to help you. But step back, why are you trying to build a driver out of the kernel tree? Why does the latest kernel release not support your device already? greg k-h _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2021-09-15 14:42 UTC | newest] Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <9C5D07C3-48AA-4E1A-9998-28E94DFCCB08.ref@yahoo.com> 2021-09-07 12:41 ` Vmalloc.h implicit functions Omar Mustafa 2021-09-07 12:53 ` Greg KH 2021-09-07 16:06 ` Omar Mustafa 2021-09-07 16:17 ` Greg KH 2021-09-07 22:34 ` Valdis Klētnieks [not found] ` <B4A71321-4D9C-4FB1-BD7D-AB3BF2FE9D7B@yahoo.com> 2021-09-08 5:54 ` Valdis Klētnieks [not found] ` <6698A2F7-4242-4B6B-9C59-D651FA7337E7@yahoo.com> 2021-09-09 1:39 ` Valdis Klētnieks [not found] ` <B91EDE80-8B43-415D-9969-AFF2EB3FA414@yahoo.com> 2021-09-15 14:42 ` Greg KH
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).