You are not logged in.

#1 2017-03-14 17:25:46

nickmcummins
Member
Registered: 2016-06-27
Posts: 11
Website

[SOLVED] Bad return status for module build on kernel: 4.10.2-1-ARCH

When running pacman to update packages today, I noticed this error message on the step

 dkms install rtbth/3.9.4.1 -k 4.10.2-1-ARCH

I don't actually use this module, since I don't use bluetooth on my desktop, but I wanted to make sure that this won't cause problems when I reboot my system. Also, is it there a way to disable this module from being built?

Full log:

sudo pacman -Syyu 
[sudo] password for nick: 
:: Synchronizing package databases...
 core                                                                                                                                     123.7 KiB  1375K/s 00:00 [#####################################################################################################] 100%
 extra                                                                                                                                   1677.4 KiB  2.93M/s 00:01 [#####################################################################################################] 100%
 community                                                                                                                                  3.8 MiB  7.40M/s 00:01 [#####################################################################################################] 100%
 multilib                                                                                                                                 177.4 KiB  3.47M/s 00:00 [#####################################################################################################] 100%
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Packages (6) jasper-2.0.12-1  linux-4.10.2-1  linux-docs-4.10.2-1  linux-headers-4.10.2-1  xf86-video-nouveau-1.0.14-1  xfce4-whiskermenu-plugin-1.7.1-1

Total Download Size:    74.42 MiB
Total Installed Size:  161.65 MiB
Net Upgrade Size:       18.73 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 linux-4.10.2-1-x86_64                                                                                                                     60.8 MiB  5.26M/s 00:12 [#####################################################################################################] 100%
 linux-docs-4.10.2-1-x86_64                                                                                                                 5.5 MiB  5.17M/s 00:01 [#####################################################################################################] 100%
 linux-headers-4.10.2-1-x86_64                                                                                                              7.6 MiB  9.12M/s 00:01 [#####################################################################################################] 100%
 jasper-2.0.12-1-x86_64                                                                                                                   289.1 KiB  5.65M/s 00:00 [#####################################################################################################] 100%
 xf86-video-nouveau-1.0.14-1-x86_64                                                                                                        81.7 KiB  2.66M/s 00:00 [#####################################################################################################] 100%
 xfce4-whiskermenu-plugin-1.7.1-1-x86_64                                                                                                  157.4 KiB  7.68M/s 00:00 [#####################################################################################################] 100%
(6/6) checking keys in keyring                                                                                                                                     [#####################################################################################################] 100%
(6/6) checking package integrity                                                                                                                                   [#####################################################################################################] 100%
(6/6) loading package files                                                                                                                                        [#####################################################################################################] 100%
(6/6) checking for file conflicts                                                                                                                                  [#####################################################################################################] 100%
(6/6) checking available disk space                                                                                                                                [#####################################################################################################] 100%
:: Running pre-transaction hooks...
(1/1) Remove DKMS modules
==> dkms remove vboxhost/5.1.16 -k 4.10.1-1-ARCH
==> dkms remove rtbth/3.9.4.1 -k 4.10.1-1-ARCH
Error! There is no instance of rtbth 3.9.4.1
for kernel 4.10.1-1-ARCH (x86_64) located in the DKMS tree.
==> dkms remove vboxguest/5.1.16_OSE -k 4.10.1-1-ARCH
:: Processing package changes...
(1/6) upgrading jasper                                                                                                                                             [#####################################################################################################] 100%
(2/6) upgrading linux                                                                                                                                              [#####################################################################################################] 100%
>>> Updating module dependencies. Please wait ...
(3/6) upgrading linux-docs                                                                                                                                         [#####################################################################################################] 100%
(4/6) upgrading linux-headers                                                                                                                                      [#####################################################################################################] 100%
(5/6) upgrading xf86-video-nouveau                                                                                                                                 [#####################################################################################################] 100%
(6/6) upgrading xfce4-whiskermenu-plugin                                                                                                                           [#####################################################################################################] 100%
:: Running post-transaction hooks...
(1/4) Install DKMS modules
==> dkms install rtbth/3.9.4.1 -k 4.10.2-1-ARCH
Error! Bad return status for module build on kernel: 4.10.2-1-ARCH (x86_64)
Consult /var/lib/dkms/rtbth/3.9.4.1/build/make.log for more information.
==> dkms install vboxhost/5.1.16 -k 4.10.2-1-ARCH
==> dkms install vboxguest/5.1.16_OSE -k 4.10.2-1-ARCH
(2/4) Updating linux initcpios
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
  -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
==> Starting build: 4.10.2-1-ARCH
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
  -> Running build hook: [filesystems]
  -> Running build hook: [keyboard]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-linux.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
  -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
==> Starting build: 4.10.2-1-ARCH
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
  -> Running build hook: [filesystems]
  -> Running build hook: [keyboard]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-fallback.img
==> Image generation successful
(3/4) Updating icon theme caches...
(4/4) Arming ConditionNeedsUpdate...

make.log:

DKMS make.log for rtbth-3.9.4.1 for kernel 4.10.2-1-ARCH (x86_64)
Tue Mar 14 10:12:37 PDT 2017
make: Entering directory '/usr/lib/modules/4.10.2-1-ARCH/build'
  LD      /var/lib/dkms/rtbth/3.9.4.1/build/built-in.o
  CC [M]  /var/lib/dkms/rtbth/3.9.4.1/build/rtbth_core_main.o
  CC [M]  /var/lib/dkms/rtbth/3.9.4.1/build/rtbth_core_init.o
  CC [M]  /var/lib/dkms/rtbth/3.9.4.1/build/rtbth_core_pci.o
  CC [M]  /var/lib/dkms/rtbth/3.9.4.1/build/rtbth_core_us.o
  CC [M]  /var/lib/dkms/rtbth/3.9.4.1/build/rtbth_core_bluez.o
  CC [M]  /var/lib/dkms/rtbth/3.9.4.1/build/rtbth_hlpr_hw.o
  CC [M]  /var/lib/dkms/rtbth/3.9.4.1/build/rtbth_hlpr_dbg.o
  CC [M]  /var/lib/dkms/rtbth/3.9.4.1/build/rtbth_hlpr_linux.o
/var/lib/dkms/rtbth/3.9.4.1/build/rtbth_hlpr_linux.c: In function ‘RtlCopyMemory’:
/var/lib/dkms/rtbth/3.9.4.1/build/rtbth_hlpr_linux.c:95:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  return (int)memcpy(Destination, Source, Length);//sean wang linux, fix the build warning, type casting
         ^
/var/lib/dkms/rtbth/3.9.4.1/build/rtbth_hlpr_linux.c: In function ‘ral_task_notify_exit’:
/var/lib/dkms/rtbth/3.9.4.1/build/rtbth_hlpr_linux.c:557:16: warning: unused variable ‘pOSThread’ [-Wunused-variable]
  RTBT_OS_TASK *pOSThread = (RTBT_OS_TASK *)pTask->pOSThread;
                ^~~~~~~~~
/var/lib/dkms/rtbth/3.9.4.1/build/rtbth_hlpr_linux.c: In function ‘ral_task_customize’:
/var/lib/dkms/rtbth/3.9.4.1/build/rtbth_hlpr_linux.c:570:16: warning: unused variable ‘pOSTask’ [-Wunused-variable]
  RTBT_OS_TASK *pOSTask = (RTBT_OS_TASK *)pTask->pOSThread;
                ^~~~~~~
/var/lib/dkms/rtbth/3.9.4.1/build/rtbth_core_init.c: In function ‘BthInitializePrerequire’:
/var/lib/dkms/rtbth/3.9.4.1/build/rtbth_core_init.c:1024:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
   if ((pAd->MACVersion != 0x00) && (pAd->MACVersion != 0xFFFFFFFF))
   ^~
/var/lib/dkms/rtbth/3.9.4.1/build/rtbth_core_init.c:1027:4: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’
    KeStallExecutionProcessor(5);
    ^~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/rtbth/3.9.4.1/build/rtbth_core_init.c: In function ‘Rtbth_Set_Radio_Led’:
/var/lib/dkms/rtbth/3.9.4.1/build/rtbth_core_init.c:1185:3: warning: typedef ‘flag_t’ locally defined but not used [-Wunused-local-typedefs]
 } flag_t;
   ^~~~~~
/var/lib/dkms/rtbth/3.9.4.1/build/rtbth_core_pci.c: In function ‘rtbt_pci_probe’:
/var/lib/dkms/rtbth/3.9.4.1/build/rtbth_core_pci.c:198:1: warning: label ‘err_hps_iface’ defined but not used [-Wunused-label]
 err_hps_iface:
 ^~~~~~~~~~~~~
/var/lib/dkms/rtbth/3.9.4.1/build/rtbth_core_bluez.c: In function ‘rtbt_hps_iface_init’:
/var/lib/dkms/rtbth/3.9.4.1/build/rtbth_core_bluez.c:385:22: error: ‘HCI_BREDR’ undeclared (first use in this function)
     hdev->dev_type = HCI_BREDR;
                      ^~~~~~~~~
/var/lib/dkms/rtbth/3.9.4.1/build/rtbth_core_bluez.c:385:22: note: each undeclared identifier is reported only once for each function it appears in
At top level:
/var/lib/dkms/rtbth/3.9.4.1/build/rtbth_core_bluez.c:83:20: warning: ‘pkt_type_str’ defined but not used [-Wunused-variable]
 static const char *pkt_type_str[]=
                    ^~~~~~~~~~~~
make[1]: *** [scripts/Makefile.build:294: /var/lib/dkms/rtbth/3.9.4.1/build/rtbth_core_bluez.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:1490: _module_/var/lib/dkms/rtbth/3.9.4.1/build] Error 2
make: Leaving directory '/usr/lib/modules/4.10.2-1-ARCH/build'

Thanks in advance!

Last edited by nickmcummins (2017-03-14 23:32:19)

Offline

#2 2017-03-14 21:41:04

seth
Member
Registered: 2012-09-03
Posts: 50,957

Re: [SOLVED] Bad return status for module build on kernel: 4.10.2-1-ARCH

"pacman -Q | grep rtbth" should tell you which package you installed (from AUR) - so if you don't need it, just remove it.

Offline

Board footer

Powered by FluxBB