Bug 1829021 - Error! Bad return status for module build on kernel: 5.6.6-200.fc31.x86_64 (x86_64)
Summary: Error! Bad return status for module build on kernel: 5.6.6-200.fc31.x86_64 (x...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: dkms
Version: 31
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Simone Caronni
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-04-28 17:51 UTC by customercare
Modified: 2020-08-05 02:01 UTC (History)
2 users (show)

Fixed In Version: dkms-2.8.2-1.fc31 dkms-2.8.2-1.fc32 dkms-2.8.3-2.el8 dkms-2.8.3-2.el7
Clone Of:
Environment:
Last Closed: 2020-07-12 00:52:26 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description customercare 2020-04-28 17:51:20 UTC
Description of problem:

While upgrading to FC31 the following kernel-BuildBug came up:

  Ausgeführtes Scriptlet: kernel-core-5.6.6-200.fc31.x86_64                                                                                                                                                                                                           6140/6140 
dkms: running auto installation service for kernel 5.6.6-200.fc31.x86_64

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area....
make -j4 KERNELRELEASE=5.6.6-200.fc31.x86_64 KVERSION=5.6.6-200.fc31.x86_64....(bad exit status: 2)
Error! Bad return status for module build on kernel: 5.6.6-200.fc31.x86_64 (x86_64)
Consult /var/lib/dkms/bbswitch/0.8.0/build/make.log for more information.
 Done. 
dkms: running auto installation service for kernel 5.6.6-200.fc31.x86_64

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area....
make -j4 KERNELRELEASE=5.6.6-200.fc31.x86_64 KVERSION=5.6.6-200.fc31.x86_64....(bad exit status: 2)
Error! Bad return status for module build on kernel: 5.6.6-200.fc31.x86_64 (x86_64)
Consult /var/lib/dkms/bbswitch/0.8.0/build/make.log for more information.
 Done. 

The Laptop this upgrade was done on, has a bumblebee setup for a nvidia 3d-accelerator. As the buildlog show, it's not inside the nvidia part, so we reported it here.


Version-Release number of selected component (if applicable):

5.6.6

How reproducible:

As the nature of systemupgrades is .. not reproduceable.


Additional Infos:

DKMS make.log for bbswitch-0.8.0 for kernel 5.6.6-200.fc31.x86_64 (x86_64)
Di 28. Apr 19:43:01 CEST 2020
make -C /lib/modules/5.6.6-200.fc31.x86_64/build M="$(pwd)" modules
make[1]: Verzeichnis „/usr/src/kernels/5.6.6-200.fc31.x86_64“ wird betreten
  CC [M]  /var/lib/dkms/bbswitch/0.8.0/build/bbswitch.o
/var/lib/dkms/bbswitch/0.8.0/build/bbswitch.c: In Funktion »bbswitch_init«:
/var/lib/dkms/bbswitch/0.8.0/build/bbswitch.c:460:63: Fehler: Übergabe des Arguments 4 von »proc_create« von inkompatiblem Zeigertyp [-Werror=incompatible-pointer-types]
  460 |     acpi_entry = proc_create("bbswitch", 0664, acpi_root_dir, &bbswitch_fops);
      |                                                               ^~~~~~~~~~~~~~
      |                                                               |
      |                                                               struct file_operations *
In Datei, eingebunden von ./include/acpi/acpi_bus.h:83,
                 von ./include/linux/acpi.h:32,
                 von /var/lib/dkms/bbswitch/0.8.0/build/bbswitch.c:32:
./include/linux/proc_fs.h:64:24: Anmerkung: »const struct proc_ops *« erwartet, aber Argument hat Typ »struct file_operations *«
   64 | struct proc_dir_entry *proc_create(const char *name, umode_t mode, struct proc_dir_entry *parent, const struct proc_ops *proc_ops);
      |                        ^~~~~~~~~~~
cc1: Einige Warnungen werden als Fehler behandelt
make[2]: *** [scripts/Makefile.build:268: /var/lib/dkms/bbswitch/0.8.0/build/bbswitch.o] Fehler 1
make[1]: *** [Makefile:1683: /var/lib/dkms/bbswitch/0.8.0/build] Fehler 2
make[1]: Verzeichnis „/usr/src/kernels/5.6.6-200.fc31.x86_64“ wird verlassen
make: *** [Makefile:13: default] Fehler 2

Comment 1 customercare 2020-04-28 18:12:25 UTC
Bootresult: Booting worked with 5.6.6 .. no idea what will not function as a result of this bug.

Comment 2 Martin Jackson 2020-04-29 00:47:03 UTC
This looks like it might be related to https://github.com/Bumblebee-Project/bbswitch/commit/0b11f33a9f71d8400a8baa7310d4fb9980ab560b,  Do you agree?  If that's the case the issue is with bbswitch and not with DKMS, and would best be fixed by a release in bbswitch.

Comment 3 customercare 2020-05-04 07:01:01 UTC
there is no bbswitch package(or it's not named that way) and we should keep track of it. DKMS seems the right place to do this, as it's involved.

And, yes the bug looks like to be fixed inside bbswitch.

Comment 4 Fedora Update System 2020-07-03 07:56:36 UTC
FEDORA-2020-11149b8db4 has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-11149b8db4

Comment 5 Fedora Update System 2020-07-03 07:56:40 UTC
FEDORA-EPEL-2020-86a69a0d33 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-86a69a0d33

Comment 6 Fedora Update System 2020-07-03 07:56:43 UTC
FEDORA-EPEL-2020-2a4c2c399e has been submitted as an update to Fedora EPEL 8. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-2a4c2c399e

Comment 7 Fedora Update System 2020-07-03 07:56:47 UTC
FEDORA-2020-bc1ecad001 has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2020-bc1ecad001

Comment 8 Fedora Update System 2020-07-04 01:05:33 UTC
FEDORA-2020-bc1ecad001 has been pushed to the Fedora 31 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-bc1ecad001`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-bc1ecad001

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 9 Fedora Update System 2020-07-04 01:06:19 UTC
FEDORA-2020-11149b8db4 has been pushed to the Fedora 32 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-11149b8db4`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-11149b8db4

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 10 Fedora Update System 2020-07-04 01:30:49 UTC
FEDORA-EPEL-2020-2a4c2c399e has been pushed to the Fedora EPEL 8 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-2a4c2c399e

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 11 Fedora Update System 2020-07-04 01:41:48 UTC
FEDORA-EPEL-2020-86a69a0d33 has been pushed to the Fedora EPEL 7 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-86a69a0d33

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 12 Fedora Update System 2020-07-12 00:52:26 UTC
FEDORA-2020-bc1ecad001 has been pushed to the Fedora 31 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 13 Fedora Update System 2020-07-12 01:00:25 UTC
FEDORA-2020-11149b8db4 has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 14 Fedora Update System 2020-07-13 00:27:34 UTC
FEDORA-2020-bc1ecad001 has been pushed to the Fedora 31 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 15 Fedora Update System 2020-07-15 19:40:16 UTC
FEDORA-EPEL-2020-2a4c2c399e has been submitted as an update to Fedora EPEL 8. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-2a4c2c399e

Comment 16 Fedora Update System 2020-07-15 19:40:46 UTC
FEDORA-EPEL-2020-86a69a0d33 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-86a69a0d33

Comment 17 Fedora Update System 2020-07-16 01:45:50 UTC
FEDORA-EPEL-2020-2a4c2c399e has been pushed to the Fedora EPEL 8 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-2a4c2c399e

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 18 Fedora Update System 2020-07-16 01:51:50 UTC
FEDORA-EPEL-2020-86a69a0d33 has been pushed to the Fedora EPEL 7 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-86a69a0d33

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 19 Fedora Update System 2020-07-20 07:31:23 UTC
FEDORA-EPEL-2020-2a4c2c399e has been submitted as an update to Fedora EPEL 8. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-2a4c2c399e

Comment 20 Fedora Update System 2020-07-20 07:32:04 UTC
FEDORA-EPEL-2020-86a69a0d33 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-86a69a0d33

Comment 21 Fedora Update System 2020-07-21 00:42:08 UTC
FEDORA-EPEL-2020-86a69a0d33 has been pushed to the Fedora EPEL 7 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-86a69a0d33

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 22 Fedora Update System 2020-07-21 01:45:03 UTC
FEDORA-EPEL-2020-2a4c2c399e has been pushed to the Fedora EPEL 8 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-2a4c2c399e

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 23 Fedora Update System 2020-08-05 01:37:01 UTC
FEDORA-EPEL-2020-2a4c2c399e has been pushed to the Fedora EPEL 8 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 24 Fedora Update System 2020-08-05 02:01:11 UTC
FEDORA-EPEL-2020-86a69a0d33 has been pushed to the Fedora EPEL 7 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.