View previous topic :: View next topic |
Author |
Message |
stormblade n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Star Wars/movie_star_wars_jawa.gif)
Joined: 06 Sep 2017 Posts: 65
|
Posted: Tue Mar 06, 2018 9:26 am Post subject: Issue with making rtl8723 driver on 4.15.7-r1 kernel |
|
|
I was struggling to build rtl8723 wifi driver for the newest kernel 4.15.7-r1 from gentoo-sources and got this "make" error, can't fully understand what is the problem. I have a guess that it just might be not working with 4.15+ kernels as it worked on 4.14.13, but it's just a guess and I wonder what can it be, and how can I fix it, if possible
https://paste.pound-python.org/show/viLExJqlW7nPMdekEQkJ/ |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
fedeliallalinea Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/161653968057192eb39329f.jpg)
Joined: 08 Mar 2003 Posts: 31478 Location: here
|
Posted: Tue Mar 06, 2018 9:39 am Post subject: |
|
|
It seems that init_timer is deprecate in kernel 4.15, you should wait that bug is resolved. _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
stormblade n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Star Wars/movie_star_wars_jawa.gif)
Joined: 06 Sep 2017 Posts: 65
|
Posted: Tue Mar 06, 2018 10:22 am Post subject: |
|
|
So the problem is in the driver implementation that needs to be updated to suit the new kernel? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
fedeliallalinea Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/161653968057192eb39329f.jpg)
Joined: 08 Mar 2003 Posts: 31478 Location: here
|
Posted: Tue Mar 06, 2018 10:37 am Post subject: |
|
|
stormblade wrote: | So the problem is in the driver implementation that needs to be updated to suit the new kernel? |
Exactly _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
stormblade n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Star Wars/movie_star_wars_jawa.gif)
Joined: 06 Sep 2017 Posts: 65
|
Posted: Tue Mar 06, 2018 5:08 pm Post subject: |
|
|
I have little will to wait for a patch which may not happen at all, and would rather do it myself. Sadly, I have no experience in C programming and all this driver/kernel programming stuff.
Found a driver which, as it seems, needed some similar commits: https://github.com/lwfinger/rtl8188eu/commit/1f08a062ad1fec5bc050177604e25430a7bdcf46
Could be used as an example, probably. Or are there any patches out there that can do the work... Anything? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
fedeliallalinea Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/161653968057192eb39329f.jpg)
Joined: 08 Mar 2003 Posts: 31478 Location: here
|
Posted: Tue Mar 06, 2018 6:05 pm Post subject: |
|
|
You can try to apply patch from links, or you can try directly the repository that contains your driver _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
stormblade n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Star Wars/movie_star_wars_jawa.gif)
Joined: 06 Sep 2017 Posts: 65
|
Posted: Tue Mar 06, 2018 7:29 pm Post subject: |
|
|
Thanks for pointing out to this repository, I didn't notice rtl8723de driver when was reviewing it earlier.
sudo make install was successful, however when I tried to modprobe the new driver, I got this:
modprobe: ERROR: Error running install command for rtlwifi
modprobe: ERROR: could not insert 'rtl8723de': Operation not permitted
despite the fact that I ran it from sudo (so it's not a permission problem, then what could it be?) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Hu Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
Joined: 06 Mar 2007 Posts: 23103
|
Posted: Wed Mar 07, 2018 2:55 am Post subject: |
|
|
What does dmesg say about the failure? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
stormblade n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Star Wars/movie_star_wars_jawa.gif)
Joined: 06 Sep 2017 Posts: 65
|
Posted: Wed Mar 07, 2018 7:11 am Post subject: |
|
|
Nothing more than that:
udevd[1927]: Error running install command for rtlwifi |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
fedeliallalinea Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/161653968057192eb39329f.jpg)
Joined: 08 Mar 2003 Posts: 31478 Location: here
|
Posted: Wed Mar 07, 2018 7:15 am Post subject: |
|
|
See this comment _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
stormblade n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Star Wars/movie_star_wars_jawa.gif)
Joined: 06 Sep 2017 Posts: 65
|
Posted: Wed Mar 07, 2018 7:34 am Post subject: |
|
|
1) I run as root
2) Secure Boot is disabled in Bios
I also don't think this might be the case as secure boot restricts the usage of certain drivers etc not verified by manufacturer, and I successfuly modprobed the earlier version of the same driver, but for another kernel (4.14.13) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Hu Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
Joined: 06 Mar 2007 Posts: 23103
|
Posted: Thu Mar 08, 2018 3:00 am Post subject: |
|
|
stormblade wrote: | Nothing more than that:
udevd[1927]: Error running install command for rtlwifi | Are you sure? As a user component, udev ought to be writing to syslog, but not to the kernel ring buffer that dmesg prints. How did you obtain the line shown here? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
stormblade n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Star Wars/movie_star_wars_jawa.gif)
Joined: 06 Sep 2017 Posts: 65
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|