You are not logged in.

#1 2019-07-24 13:41:21

benjamin007
Member
Registered: 2019-07-24
Posts: 18

Cannot install linux-headers in kernel 5.2.2-arch1-1-ARCH

I'm trying to install wifi driver in my RTL8723DE, hp laptop. Wifi is not detecting. So i downloaded https://github.com/smlinux/rtl8723de.git
I tried to install with dkms. 

sudo dkms add ./rtl8723de
sudo dkms install rtl8723de/5.1.1.8_21285.20171026_COEX20170111-1414. 

it was not successful since i had no headers.  But saying headers not installed. But when i try to install header, it ends up with this error.


sudo pacman -Sy linux-headers
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
warning: linux-headers-5.2.2.arch1-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (1) linux-headers-5.2.2.arch1-1

Total Installed Size:  100.01 MiB
Net Upgrade Size:        0.00 MiB

:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring                     [######################] 100%
(1/1) checking package integrity                   [######################] 100%
(1/1) loading package files                        [######################] 100%
(1/1) checking for file conflicts                  [######################] 100%
(1/1) checking available disk space                [######################] 100%
:: Running pre-transaction hooks...
(1/1) Remove DKMS modules
:: Processing package changes...
(1/1) reinstalling linux-headers                   [######################] 100%
:: Running post-transaction hooks...
(1/3) Updating linux module dependencies...
(2/3) Install DKMS modules
==> dkms install rtl8723de-5.1.1.8_21285.20171026_COEX20170111/1414 -k 5.2.2-arch1-1-ARCH
Error! Bad return status for module build on kernel: 5.2.2-arch1-1-ARCH (x86_64)
Consult /var/lib/dkms/rtl8723de-5.1.1.8_21285.20171026_COEX20170111/1414/build/make.log for more information.
(3/3) Arming ConditionNeedsUpdate... 

Last edited by benjamin007 (2019-07-24 17:32:33)

Offline

#2 2019-07-24 13:43:33

Bojahdok
Member
Registered: 2019-06-27
Posts: 37

Re: Cannot install linux-headers in kernel 5.2.2-arch1-1-ARCH

Hi, you should post what is in "/var/lib/dkms/rtl8723de-5.1.1.8_21285.20171026_COEX20170111/1414/build/make.log" it may be usefull

Offline

#3 2019-07-24 13:47:37

loqs
Member
Registered: 2014-03-06
Posts: 19,101

Re: Cannot install linux-headers in kernel 5.2.2-arch1-1-ARCH

Welcome to the arch linux forums benjamin007.  Please use code tags for commands and their outputs.
Your title states you can not install linux-headers but

(1/1) reinstalling linux-headers                   [######################] 100%

shows the package is installed and the issue appears to be that rtl8723de is failing to build for linux 5.2.2.arch1-1.
Did you follow the suggestion?

Consult /var/lib/dkms/rtl8723de-5.1.1.8_21285.20171026_COEX20170111/1414/build/make.log for more information.

Edit:
I would also suggest switching to https://aur.archlinux.org/packages/rtlwifi_new-dkms/ from AUR.

Last edited by loqs (2019-07-24 13:53:34)

Offline

#4 2019-07-24 14:22:44

benjamin007
Member
Registered: 2019-07-24
Posts: 18

Re: Cannot install linux-headers in kernel 5.2.2-arch1-1-ARCH

Offline

#5 2019-07-24 14:29:08

benjamin007
Member
Registered: 2019-07-24
Posts: 18

Re: Cannot install linux-headers in kernel 5.2.2-arch1-1-ARCH

/var/lib/dkms/rtl8723de-5.1.1.8_21285.20171026_COEX20170111/1414/build/make.log

DKMS make.log for rtl8723de-5.1.1.8_21285.20171026_COEX20170111-1414 for kernel 5.2.2-arch1-1-ARCH (x86_64)
Tue 23 Jul 2019 06:42:43 AM +04
/bin/sh: bc: command not found
make: Warning: File 'Makefile' has modification time 120966 s in the future
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.2.2-arch1-1-ARCH/build M=/var/lib/dkms/rtl8723de-5.1.1.8_21285.20171026_COEX20170111/1414/build  modules
make[1]: Entering directory '/usr/lib/modules/5.2.2-arch1-1-ARCH/build'
/bin/sh: bc: command not found
make[2]: Warning: File '/var/lib/dkms/rtl8723de-5.1.1.8_21285.20171026_COEX20170111/1414/build/Makefile' has modification time 120964 s in the future
  CC [M]  /var/lib/dkms/rtl8723de-5.1.1.8_21285.20171026_COEX20170111/1414/build/core/rtw_cmd.o
In file included from /var/lib/dkms/rtl8723de-5.1.1.8_21285.20171026_COEX20170111/1414/build/include/drv_types.h:35,
                 from /var/lib/dkms/rtl8723de-5.1.1.8_21285.20171026_COEX20170111/1414/build/core/rtw_cmd.c:22:
/var/lib/dkms/rtl8723de-5.1.1.8_21285.20171026_COEX20170111/1414/build/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /var/lib/dkms/rtl8723de-5.1.1.8_21285.20171026_COEX20170111/1414/build/include/osdep_service_linux.h:86,
                 from /var/lib/dkms/rtl8723de-5.1.1.8_21285.20171026_COEX20170111/1414/build/include/osdep_service.h:42,
                 from /var/lib/dkms/rtl8723de-5.1.1.8_21285.20171026_COEX20170111/1414/build/include/drv_types.h:32,
                 from /var/lib/dkms/rtl8723de-5.1.1.8_21285.20171026_COEX20170111/1414/build/core/rtw_cmd.c:22:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /var/lib/dkms/rtl8723de-5.1.1.8_21285.20171026_COEX20170111/1414/build/core/rtw_security.o
In file included from /var/lib/dkms/rtl8723de-5.1.1.8_21285.20171026_COEX20170111/1414/build/include/drv_types.h:35,
                 from /var/lib/dkms/rtl8723de-5.1.1.8_21285.20171026_COEX20170111/1414/build/core/rtw_security.c:22:
/var/lib/dkms/rtl8723de-5.1.1.8_21285.20171026_COEX20170111/1414/build/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /var/lib/dkms/rtl8723de-5.1.1.8_21285.20171026_COEX20170111/1414/build/include/osdep_service_linux.h:86,
                 from /var/lib/dkms/rtl8723de-5.1.1.8_21285.20171026_COEX20170111/1414/build/include/osdep_service.h:42,
                 from /var/lib/dkms/rtl8723de-5.1.1.8_21285.20171026_COEX20170111/1414/build/include/drv_types.h:32,
                 from /var/lib/dkms/rtl8723de-5.1.1.8_21285.20171026_COEX20170111/1414/build/core/rtw_security.c:22:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /var/lib/dkms/rtl8723de-5.1.1.8_21285.20171026_COEX20170111/1414/build/core/rtw_debug.o
In file included from /var/lib/dkms/rtl8723de-5.1.1.8_21285.20171026_COEX20170111/1414/build/include/drv_types.h:35,
                 from /var/lib/dkms/rtl8723de-5.1.1.8_21285.20171026_COEX20170111/1414/build/core/rtw_debug.c:22:
/var/lib/dkms/rtl8723de-5.1.1.8_21285.20171026_COEX20170111/1414/build/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /var/lib/dkms/rtl8723de-5.1.1.8_21285.20171026_COEX20170111/1414/build/include/osdep_service_linux.h:86,
                 from /var/lib/dkms/rtl8723de-5.1.1.8_21285.20171026_COEX20170111/1414/build/include/osdep_service.h:42,
                 from /var/lib/dkms/rtl8723de-5.1.1.8_21285.20171026_COEX20170111/1414/build/include/drv_types.h:32,
                 from /var/lib/dkms/rtl8723de-5.1.1.8_21285.20171026_COEX20170111/1414/build/core/rtw_debug.c:22:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
/var/lib/dkms/rtl8723de-5.1.1.8_21285.20171026_COEX20170111/1414/build/core/rtw_debug.c: In function ‘dump_drv_version’:
/var/lib/dkms/rtl8723de-5.1.1.8_21285.20171026_COEX20170111/1414/build/core/rtw_debug.c:50:62: error: macro "__DATE__" might prevent reproducible builds [-Werror=date-time]
   50 |  RTW_PRINT_SEL(sel, "build time: %s %s\n", __DATE__, __TIME__);
      |                                                              ^
In file included from /var/lib/dkms/rtl8723de-5.1.1.8_21285.20171026_COEX20170111/1414/build/include/drv_types.h:65,
                 from /var/lib/dkms/rtl8723de-5.1.1.8_21285.20171026_COEX20170111/1414/build/core/rtw_debug.c:22:
/var/lib/dkms/rtl8723de-5.1.1.8_21285.20171026_COEX20170111/1414/build/core/rtw_debug.c:50:44: error: macro "__TIME__" might prevent reproducible builds [-Werror=date-time]
   50 |  RTW_PRINT_SEL(sel, "build time: %s %s\n", __DATE__, __TIME__);
      |                                            ^~~~~~~~
/var/lib/dkms/rtl8723de-5.1.1.8_21285.20171026_COEX20170111/1414/build/include/rtw_debug.h:112:34: note: in definition of macro ‘RTW_PRINT’
  112 |    _dbgdump(DRIVER_PREFIX fmt, ##arg);\
      |                                  ^~~
/var/lib/dkms/rtl8723de-5.1.1.8_21285.20171026_COEX20170111/1414/build/core/rtw_debug.c:50:2: note: in expansion of macro ‘RTW_PRINT_SEL’
   50 |  RTW_PRINT_SEL(sel, "build time: %s %s\n", __DATE__, __TIME__);
      |  ^~~~~~~~~~~~~
/var/lib/dkms/rtl8723de-5.1.1.8_21285.20171026_COEX20170111/1414/build/core/rtw_debug.c:50:54: error: macro "__DATE__" might prevent reproducible builds [-Werror=date-time]
   50 |  RTW_PRINT_SEL(sel, "build time: %s %s\n", __DATE__, __TIME__);
      |                                                      ^~~~~~~~
/var/lib/dkms/rtl8723de-5.1.1.8_21285.20171026_COEX20170111/1414/build/include/rtw_debug.h:112:34: note: in definition of macro ‘RTW_PRINT’
  112 |    _dbgdump(DRIVER_PREFIX fmt, ##arg);\
      |                                  ^~~
/var/lib/dkms/rtl8723de-5.1.1.8_21285.20171026_COEX20170111/1414/build/core/rtw_debug.c:50:2: note: in expansion of macro ‘RTW_PRINT_SEL’
   50 |  RTW_PRINT_SEL(sel, "build time: %s %s\n", __DATE__, __TIME__);
      |  ^~~~~~~~~~~~~
/var/lib/dkms/rtl8723de-5.1.1.8_21285.20171026_COEX20170111/1414/build/core/rtw_debug.c:50:44: error: macro "__TIME__" might prevent reproducible builds [-Werror=date-time]
   50 |  RTW_PRINT_SEL(sel, "build time: %s %s\n", __DATE__, __TIME__);
      |                                            ^~~~~~~~
/var/lib/dkms/rtl8723de-5.1.1.8_21285.20171026_COEX20170111/1414/build/include/rtw_debug.h:290:25: note: in definition of macro ‘RTW_PRINT_SEL’
  290 |    _seqdump(sel, fmt, ##arg) /*rtw_warn_on(1)*/; \
      |                         ^~~
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:279: /var/lib/dkms/rtl8723de-5.1.1.8_21285.20171026_COEX20170111/1414/build/core/rtw_debug.o] Error 1
make[1]: *** [Makefile:1595: _module_/var/lib/dkms/rtl8723de-5.1.1.8_21285.20171026_COEX20170111/1414/build] Error 2
make[1]: Leaving directory '/usr/lib/modules/5.2.2-arch1-1-ARCH/build'
make: *** [Makefile:1885: modules] Error 2

Last edited by benjamin007 (2019-07-24 17:18:39)

Offline

#6 2019-07-24 14:48:03

loqs
Member
Registered: 2014-03-06
Posts: 19,101

Re: Cannot install linux-headers in kernel 5.2.2-arch1-1-ARCH

Did you read the link I provided to the AUR wiki page?

Offline

#7 2019-07-24 15:16:40

benjamin007
Member
Registered: 2019-07-24
Posts: 18

Re: Cannot install linux-headers in kernel 5.2.2-arch1-1-ARCH

I installed https://aur.archlinux.org/packages/rtlwifi_new-dkms/

Now the driver is installed?

Offline

#8 2019-07-24 15:20:22

loqs
Member
Registered: 2014-03-06
Posts: 19,101

Re: Cannot install linux-headers in kernel 5.2.2-arch1-1-ARCH

Was the package installation successful?  Does `modprobe rtl8723de` succeed?
Edit:
As the system is already booted autoloading of modules for detected hardware will not occur.

Last edited by loqs (2019-07-24 15:28:27)

Offline

#9 2019-07-24 15:28:00

benjamin007
Member
Registered: 2019-07-24
Posts: 18

Re: Cannot install linux-headers in kernel 5.2.2-arch1-1-ARCH

I think its complete. If yes, can i reboot and check wireless is working?

==> Leaving fakeroot environment.
==> Finished making: rtlwifi_new-dkms r261.ea0642c-1 (Tue 23 Jul 2019 08:43:29 AM +04)
==> Installing package rtlwifi_new-dkms with pacman -U...
loading packages...
resolving dependencies...
looking for conflicting packages...

Packages (1) rtlwifi_new-dkms-r261.ea0642c-1

Total Installed Size:  21.54 MiB

:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring                                                                                     [####################################################################] 100%
(1/1) checking package integrity                                                                                   [####################################################################] 100%
(1/1) loading package files                                                                                        [####################################################################] 100%
(1/1) checking for file conflicts                                                                                  [####################################################################] 100%
(1/1) checking available disk space                                                                                [####################################################################] 100%
:: Processing package changes...
(1/1) installing rtlwifi_new-dkms                                                                                  [####################################################################] 100%

Creating symlink /var/lib/dkms/rtlwifi_new/r261.ea0642c/source ->
                 /usr/src/rtlwifi_new-r261.ea0642c

DKMS: add completed.

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area...
make -j4 KERNELRELEASE=5.2.2-arch1-1-ARCH KVER=5.2.2-arch1-1-ARCH.................
cleaning build area...
Kernel cleanup unnecessary for this kernel.  Skipping...

DKMS: build completed.

rtl_pci_dkms.ko.xz:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /usr/lib/modules/5.2.2-arch1-1-ARCH/kernel/drivers/net/wireless/rtlwifi//

rtl_usb_dkms.ko.xz:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /usr/lib/modules/5.2.2-arch1-1-ARCH/kernel/drivers/net/wireless/rtlwifi//

rtlwifi_dkms.ko.xz:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /usr/lib/modules/5.2.2-arch1-1-ARCH/kernel/drivers/net/wireless/rtlwifi//

btcoexist_dkms.ko.xz:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /usr/lib/modules/5.2.2-arch1-1-ARCH/kernel/drivers/net/wireless/rtlwifi/btcoexist//

rtl8188ee_dkms.ko.xz:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /usr/lib/modules/5.2.2-arch1-1-ARCH/kernel/drivers/net/wireless/rtlwifi/rtl8188ee//

rtl8192c-common_dkms.ko.xz:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /usr/lib/modules/5.2.2-arch1-1-ARCH/kernel/drivers/net/wireless/rtlwifi/rtl8192c//

rtl8192ce_dkms.ko.xz:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /usr/lib/modules/5.2.2-arch1-1-ARCH/kernel/drivers/net/wireless/rtlwifi/rtl8192ce//

rtl8192cu_dkms.ko.xz:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /usr/lib/modules/5.2.2-arch1-1-ARCH/kernel/drivers/net/wireless/rtlwifi/rtl8192cu//

rtl8192de_dkms.ko.xz:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /usr/lib/modules/5.2.2-arch1-1-ARCH/kernel/drivers/net/wireless/rtlwifi/rtl8192de//

rtl8192ee_dkms.ko.xz:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /usr/lib/modules/5.2.2-arch1-1-ARCH/kernel/drivers/net/wireless/rtlwifi/rtl8192ee//

rtl8192se_dkms.ko.xz:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /usr/lib/modules/5.2.2-arch1-1-ARCH/kernel/drivers/net/wireless/rtlwifi/rtl8192se//

rtl8723ae_dkms.ko.xz:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /usr/lib/modules/5.2.2-arch1-1-ARCH/kernel/drivers/net/wireless/rtlwifi/rtl8723ae//

rtl8723be_dkms.ko.xz:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /usr/lib/modules/5.2.2-arch1-1-ARCH/kernel/drivers/net/wireless/rtlwifi/rtl8723be//

rtl8821ae_dkms.ko.xz:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /usr/lib/modules/5.2.2-arch1-1-ARCH/kernel/drivers/net/wireless/rtlwifi/rtl8821ae//

depmod.....

DKMS: install completed.


#####################################


To avoid conflict with the original modules provided by the kernel, the dkms modules were renamed to '<module_name>_dkms'.
Should you need to manually load the module, use 'modprobe <module_name>_dkms'.
To remove the modules, use 'rmmod <module_name>' instead.


:: Running post-transaction hooks...
(1/2) Install DKMS modules
==> dkms install rtlwifi_new/r261.ea0642c -k 5.2.2-arch1-1-ARCH
(2/2) Arming ConditionNeedsUpdate... 

Last edited by benjamin007 (2019-07-24 15:32:03)

Offline

#10 2019-07-24 15:29:50

loqs
Member
Registered: 2014-03-06
Posts: 19,101

Re: Cannot install linux-headers in kernel 5.2.2-arch1-1-ARCH

Yes it completed without issue.  Please use code tags not quote tags for commands and their outputs.

Offline

#11 2019-07-24 15:29:56

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,530
Website

Re: Cannot install linux-headers in kernel 5.2.2-arch1-1-ARCH

Please edit your posts to use code tags as requested, not quote tags.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#12 2019-07-24 15:32:23

benjamin007
Member
Registered: 2019-07-24
Posts: 18

Re: Cannot install linux-headers in kernel 5.2.2-arch1-1-ARCH

Sorry,now updated.

Offline

#13 2019-07-24 17:07:42

benjamin007
Member
Registered: 2019-07-24
Posts: 18

Re: Cannot install linux-headers in kernel 5.2.2-arch1-1-ARCH

I reboot the pc. Wireless network isn't still showing. And Still I cannot install Linux headers. Showing previous error itself.

Offline

#14 2019-07-24 17:19:56

loqs
Member
Registered: 2014-03-06
Posts: 19,101

Re: Cannot install linux-headers in kernel 5.2.2-arch1-1-ARCH

I commented on your assertion you could not install linux headers in post #3.
What have you done to configure wireless networking?  What is not showing?
Edit:
What is the driver status?

Last edited by loqs (2019-07-24 17:28:31)

Offline

#15 2019-07-24 17:32:26

benjamin007
Member
Registered: 2019-07-24
Posts: 18

Re: Cannot install linux-headers in kernel 5.2.2-arch1-1-ARCH

I had this same issue (wireless networks not showing) in Manjaro. But I installed this driver https://github.com/smlinux/rtl8723de.git
Same issue is having with Arch now. I tried to install that driver itself with dkms. But, dkms needs linux-headers. And, installing linux-headers throwing this error.

sudo pacman -Sy linux-headers
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
warning: linux-headers-5.2.2.arch1-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (1) linux-headers-5.2.2.arch1-1

Total Installed Size:  100.01 MiB
Net Upgrade Size:        0.00 MiB

:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring                     [######################] 100%
(1/1) checking package integrity                   [######################] 100%
(1/1) loading package files                        [######################] 100%
(1/1) checking for file conflicts                  [######################] 100%
(1/1) checking available disk space                [######################] 100%
:: Running pre-transaction hooks...
(1/1) Remove DKMS modules
:: Processing package changes...
(1/1) reinstalling linux-headers                   [######################] 100%
:: Running post-transaction hooks...
(1/3) Updating linux module dependencies...
(2/3) Install DKMS modules
==> dkms install rtl8723de-5.1.1.8_21285.20171026_COEX20170111/1414 -k 5.2.2-arch1-1-ARCH
Error! Bad return status for module build on kernel: 5.2.2-arch1-1-ARCH (x86_64)
Consult /var/lib/dkms/rtl8723de-5.1.1.8_21285.20171026_COEX20170111/1414/build/make.log for more information.
(3/3) Arming ConditionNeedsUpdate... 
 Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet driver: r8168 
           IF: eno1 state: down mac: xx:xx:xx:xx:xx 
           Device-2: Realtek RTL8723DE 802.11b/g/n PCIe Adapter driver: N/A 

And here is the link of that issue: https://forum.manjaro.org/t/no-wifi-opt … work/81290

Last edited by benjamin007 (2019-07-24 17:37:52)

Offline

#16 2019-07-24 17:36:39

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,530
Website

Re: Cannot install linux-headers in kernel 5.2.2-arch1-1-ARCH

The package linux-headers are already installed on your system.  There is no need to keep reinstalling them.  Period.

But if and when you do install packages, do not use `pacman -Sy $pkg`, that will resulting a partial upgrade which will result in total breakage.

The module rebuild for that aur-packaged module did indeed fail, but that's not the linux-headers package.  The source of the error is clear in the make.log: you do not have bc installed.  You did not - apparently - install the dependencies of the module you were trying to build.  This also highlights that you must not have installed it via pacman, but just built manually.  You should not do this.  So going back to the start of this thread, have you considered the AUR package that was recommended?

Last edited by Trilby (2019-07-24 17:38:26)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#17 2019-07-24 17:45:45

loqs
Member
Registered: 2014-03-06
Posts: 19,101

Re: Cannot install linux-headers in kernel 5.2.2-arch1-1-ARCH

My mistake https://aur.archlinux.org/packages/rtlwifi_new-dkms/ does not include the 8723de that needs the extended branch used by https://aur.archlinux.org/packages/rtlw … nded-dkms/
Edit:
Please remove rtlwifi_new-dkms before installing rtlwifi_new-extended-dkms

Last edited by loqs (2019-07-24 17:47:01)

Offline

#18 2019-07-24 19:23:21

benjamin007
Member
Registered: 2019-07-24
Posts: 18

Re: Cannot install linux-headers in kernel 5.2.2-arch1-1-ARCH

I removed every modules previously installed from dkms module. And the rtlwifi_new-extended-dkms also installed,still i could not see my wireless networks(wifi)

r3xt0r% makepkg -si    
==> Making package: rtlwifi_new-extended-dkms r280.e4dad30-1 (Tue 23 Jul 2019 12:44:55 PM +04)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating rtlwifi_new git repo...
Fetching origin
==> Validating source files with sha1sums...
    rtlwifi_new ... Skipped
==> Extracting sources...
  -> Creating working copy of rtlwifi_new git repo...
Reset branch 'makepkg'
==> Starting pkgver()...
==> WARNING: A package has already been built, installing existing package...
==> Installing package rtlwifi_new-extended-dkms with pacman -U...
loading packages...
warning: rtlwifi_new-extended-dkms-r280.e4dad30-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (1) rtlwifi_new-extended-dkms-r280.e4dad30-1

Total Installed Size:  33.29 MiB
Net Upgrade Size:       0.00 MiB

:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring                                                                                     [####################################################################] 100%
(1/1) checking package integrity                                                                                   [####################################################################] 100%
(1/1) loading package files                                                                                        [####################################################################] 100%
(1/1) checking for file conflicts                                                                                  [####################################################################] 100%
(1/1) checking available disk space                                                                                [####################################################################] 100%
:: Running pre-transaction hooks...
(1/1) Remove DKMS modules
:: Processing package changes...
Error! There are no instances of module: rtlwifi_new
r280.e4dad30 located in the DKMS tree.
error: command failed to execute correctly
(1/1) reinstalling rtlwifi_new-extended-dkms                                                                       [####################################################################] 100%

Creating symlink /var/lib/dkms/rtlwifi_new/r280.e4dad30/source ->
                 /usr/src/rtlwifi_new-r280.e4dad30

DKMS: add completed.

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area...(bad exit status: 2)
make -j4 KERNELRELEASE=5.2.2-arch1-1-ARCH -C /usr/lib/modules/5.2.2-arch1-1-ARCH/build M=/var/lib/dkms/rtlwifi_new/r280.e4dad30/build.............................
cleaning build area...(bad exit status: 2)
Kernel cleanup unnecessary for this kernel.  Skipping...

DKMS: build completed.

rtl_pci.ko.xz:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /usr/lib/modules/5.2.2-arch1-1-ARCH/updates/

rtl_usb.ko.xz:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /usr/lib/modules/5.2.2-arch1-1-ARCH/updates/

rtlwifi.ko.xz:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /usr/lib/modules/5.2.2-arch1-1-ARCH/updates/

btcoexist.ko.xz:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /usr/lib/modules/5.2.2-arch1-1-ARCH/updates/

halmac.ko.xz:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /usr/lib/modules/5.2.2-arch1-1-ARCH/updates/

phydm_mod.ko.xz:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /usr/lib/modules/5.2.2-arch1-1-ARCH/updates/

rtl8188ee.ko.xz:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /usr/lib/modules/5.2.2-arch1-1-ARCH/updates/

rtl8192c-common.ko.xz:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /usr/lib/modules/5.2.2-arch1-1-ARCH/updates/

rtl8192ce.ko.xz:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /usr/lib/modules/5.2.2-arch1-1-ARCH/updates/

rtl8192cu.ko.xz:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /usr/lib/modules/5.2.2-arch1-1-ARCH/updates/

rtl8192de.ko.xz:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /usr/lib/modules/5.2.2-arch1-1-ARCH/updates/

rtl8192ee.ko.xz:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /usr/lib/modules/5.2.2-arch1-1-ARCH/updates/

rtl8192se.ko.xz:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /usr/lib/modules/5.2.2-arch1-1-ARCH/updates/

rtl8723ae.ko.xz:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /usr/lib/modules/5.2.2-arch1-1-ARCH/updates/

rtl8723be.ko.xz:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /usr/lib/modules/5.2.2-arch1-1-ARCH/updates/

rtl8723de.ko.xz:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /usr/lib/modules/5.2.2-arch1-1-ARCH/updates/

rtl8723-common.ko.xz:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /usr/lib/modules/5.2.2-arch1-1-ARCH/updates/

rtl8821ae.ko.xz:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /usr/lib/modules/5.2.2-arch1-1-ARCH/updates/

rtl8822be.ko.xz:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /usr/lib/modules/5.2.2-arch1-1-ARCH/updates/

depmod.....

DKMS: install completed.
:: Running post-transaction hooks...
(1/2) Install DKMS modules
==> dkms install rtlwifi_new/r280.e4dad30 -k 5.2.2-arch1-1-ARCH
(2/2) Arming ConditionNeedsUpdate...
r3xt0r% dkms status    
rtlwifi_new, r280.e4dad30, 5.2.2-arch1-1-ARCH, x86_64: installed
r3xt0r% 

 

Offline

#19 2019-07-24 19:28:03

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,530
Website

Re: Cannot install linux-headers in kernel 5.2.2-arch1-1-ARCH

Is the module loaded (`lsmod | grep rtl8723de`)?

If not, load it (`modprobe rtl8723de`).


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#20 2019-07-24 20:02:06

benjamin007
Member
Registered: 2019-07-24
Posts: 18

Re: Cannot install linux-headers in kernel 5.2.2-arch1-1-ARCH

FINALLY, WiFi networks are showing. That extended version does the work, Thank You. BUT, there is a problem,when i do wifi-menu , it is scanning and showing network. But i cannot connect to any network. Its showing an error instead.

wifi-menu
scanning....
showing network.
D-Link  wpa2
Job for netctl@wlo1\x2dnokia.service failed because the control process exited with error code.
See "systemctl status "netctl@wlo1\\x2dnokia.service"" and "journalctl -xe" for details. 
r3xt0r% systemctl status "netctl@wlo1\\x2dnokia.service
dquote>               
r3xt0r% sudo systemctl status "netctl@wlo1\\x2dnokia.service
dquote>                                                
r3xt0r% sudo journalctl -xe
Jul 23 13:18:22 r3xt0r sudo[7353]: pam_unix(sudo:session): session closed for user root
Jul 23 13:18:24 r3xt0r sudo[7401]:      ben : TTY=pts/3 ; PWD=/home/ben/Desktop/rtl-new/rtlwifi_new-extended-dkms ; USER=root ; COMMAND=/usr/bin/wifi-menu
Jul 23 13:18:24 r3xt0r sudo[7401]: pam_unix(sudo:session): session opened for user root by (uid=0)
Jul 23 13:18:28 r3xt0r sudo[7401]: pam_unix(sudo:session): session closed for user root
Jul 23 13:18:30 r3xt0r sudo[7436]:      ben : TTY=pts/3 ; PWD=/home/ben/Desktop/rtl-new/rtlwifi_new-extended-dkms ; USER=root ; COMMAND=/usr/bin/wifi-menu
Jul 23 13:18:30 r3xt0r sudo[7436]: pam_unix(sudo:session): session opened for user root by (uid=0)
Jul 23 13:18:35 r3xt0r systemd[1]: Starting Networking for netctl profile wlo1-nokia...
-- Subject: A start job for unit netctl@wlo1\x2dnokia.service has begun execution
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- A start job for unit netctl@wlo1\x2dnokia.service has begun execution.
-- 
-- The job identifier is 1562.
Jul 23 13:18:35 r3xt0r network[7495]: Starting network profile 'wlo1-nokia'...
Jul 23 13:18:35 r3xt0r network[7495]: The interface of network profile 'wlo1-nokia' is already up
Jul 23 13:18:35 r3xt0r systemd[1]: netctl@wlo1\x2dnokia.service: Main process exited, code=exited, status=1/FAILURE
-- Subject: Unit process exited
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- An ExecStart= process belonging to unit netctl@wlo1\x2dnokia.service has exited.
-- 
-- The process' exit code is 'exited' and its exit status is 1.
Jul 23 13:18:35 r3xt0r systemd[1]: netctl@wlo1\x2dnokia.service: Failed with result 'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- The unit netctl@wlo1\x2dnokia.service has entered the 'failed' state with result 'exit-code'.
Jul 23 13:18:35 r3xt0r systemd[1]: Failed to start Networking for netctl profile wlo1-nokia.
-- Subject: A start job for unit netctl@wlo1\x2dnokia.service has failed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- A start job for unit netctl@wlo1\x2dnokia.service has finished with a failure.
-- 
-- The job identifier is 1562 and the job result is failed.
Jul 23 13:18:35 r3xt0r audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=netctl@wlo1\x2dnokia comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? term>
Jul 23 13:18:35 r3xt0r kernel: audit: type=1130 audit(1563873515.536:56): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=netctl@wlo1\x2dnokia comm="systemd" exe="/usr/lib/systemd/syst>
Jul 23 13:18:35 r3xt0r sudo[7436]: pam_unix(sudo:session): session closed for user root
Jul 23 13:19:40 r3xt0r sudo[7515]:      ben : TTY=pts/3 ; PWD=/home/ben/Desktop/rtl-new/rtlwifi_new-extended-dkms ; USER=root ; COMMAND=/usr/bin/journalctl -xe
Jul 23 13:19:40 r3xt0r sudo[7515]: pam_unix(sudo:session): session opened for user root by (uid=0)
lines 2319-2361/2361 (END)

Offline

#21 2019-07-24 20:04:01

loqs
Member
Registered: 2014-03-06
Posts: 19,101

Re: Cannot install linux-headers in kernel 5.2.2-arch1-1-ARCH

Are you using any network management services other than netctl on that system?

Offline

#22 2019-07-25 03:21:15

benjamin007
Member
Registered: 2019-07-24
Posts: 18

Re: Cannot install linux-headers in kernel 5.2.2-arch1-1-ARCH

Yes, I'm also using IW , IP link, nm-applet, Wireless_tools and Iwd.

Last edited by benjamin007 (2019-07-25 03:21:44)

Offline

#23 2019-07-25 03:55:26

gaurav712
Member
Registered: 2019-07-25
Posts: 4

Re: Cannot install linux-headers in kernel 5.2.2-arch1-1-ARCH

Run

sudo systemctl disable NetworkManager.service

and remove all the existing profiles from "/etc/netctl/". By profiles, I mean all the saved networks(if any)
and reboot the system.

and remember, don't start nm-applet. "wifi-menu", "dialog" and "wpa_supplicant" are sufficient to get you online.

Last edited by gaurav712 (2019-07-25 03:57:24)

Offline

#24 2019-07-25 11:07:44

loqs
Member
Registered: 2014-03-06
Posts: 19,101

Re: Cannot install linux-headers in kernel 5.2.2-arch1-1-ARCH

Multiple network management services compete for control of the interface leading to the issue you encountered.  Pick the one you wish to use and stop plus disable the others.

Offline

#25 2019-07-25 11:22:35

benjamin007
Member
Registered: 2019-07-24
Posts: 18

Re: Cannot install linux-headers in kernel 5.2.2-arch1-1-ARCH

If someone is having wireless network issue in above specified card. Do follow their thread. This can really solve the issue. Follow what others are answered. We don't have to install headers for installing the module from aur. All links are answered. Thanks you everyone!

Offline

Board footer

Powered by FluxBB