Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.kernel > #74127 > unrolled thread
| Started by | Dominique Dumont <dod@debian.org> |
|---|---|
| First post | 2022-01-07 09:50 +0100 |
| Last post | 2022-01-07 14:50 +0100 |
| Articles | 3 — 2 participants |
Back to article view | Back to linux.debian.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Bug#764901: linux-image-3.16-2-amd64: Suspend results in shutdown Dominique Dumont <dod@debian.org> - 2022-01-07 09:50 +0100
Bug#764901: linux-image-3.16-2-amd64: Suspend results in shutdown Diederik de Haas <didi.debian@cknow.org> - 2022-01-07 12:40 +0100
Bug#764901: linux-image-3.16-2-amd64: Suspend results in shutdown Dominique Dumont <dod@debian.org> - 2022-01-07 14:50 +0100
| From | Dominique Dumont <dod@debian.org> |
|---|---|
| Date | 2022-01-07 09:50 +0100 |
| Subject | Bug#764901: linux-image-3.16-2-amd64: Suspend results in shutdown |
| Message-ID | <DCT6F-3tw-3@gated-at.bofh.it> |
On Sat, 11 Oct 2014 21:44:53 -0600 David Zundel <davidzundel@gmail.com> wrote: > Attempted re-installation of linux-image-3.16-2-amd64 generates an error > report: > Error! Bad return status for module build on kernel: 3.16-2-amd64 > (x86_64) > Consult /var/lib/dkms/open-vm-tools/2012.05.21/build/make.log for more > information. I've seen this problem while upgrading a Debian 7 machine to Debian 8 (don't ask...): update-initramfs: deferring update (trigger activated) Paramétrage de linux-image-3.16.0-6-amd64 (3.16.56-1+deb8u1) ... /etc/kernel/postinst.d/dkms: Error! Bad return status for module build on kernel: 3.16.0-6-amd64 (x86_64) Consult /var/lib/dkms/open-vm-tools/2012.05.21/build/make.log for more information. /etc/kernel/postinst.d/initramfs-tools: update-initramfs: Generating /boot/initrd.img-3.16.0-6-amd64 /etc/kernel/postinst.d/zz-update-grub: GRUB >= 2.00 has been unpacked but not yet configured. grub-mkconfig will not work until the upgrade is complete. It should run later as part of configuring the new GRUB packages. Turns out that the compilation failure happens because dkms is trying to compile the Debian 7 version of open-vm-tools (2012.05.21) with Debian 8 kernel (3.16.0-6). dkms shows that both versions of open-vm-tools are present: $ sudo dkms status open-vm-tools, 2012.05.21, 3.2.0-6-amd64, x86_64: installed open-vm-tools, 9.4.6, 3.16.0-6-amd64, x86_64: installed I don't know if there's a bug with dkms or open-vm-tools which trigger a compilation of old open-vm-tools with newer kernel, but removing the old open-vm-tools from dkms does solve this issue: $ sudo dkms remove -m open-vm-tools -v 2012.05.21 --all -------- Uninstall Beginning -------- Module: open-vm-tools Version: 2012.05.21 Kernel: 3.2.0-6-amd64 (x86_64) ------------------------------------- [...] $ sudo dkms status open-vm-tools, 9.4.6, 3.16.0-6-amd64, x86_64: installed At this point, the following command finishes the module compilation without problem: $sudo dpkg-reconfigure linux-image-3.16.0-6-amd64 /etc/kernel/postinst.d/initramfs-tools: [...] HTH
[toc] | [next] | [standalone]
| From | Diederik de Haas <didi.debian@cknow.org> |
|---|---|
| Date | 2022-01-07 12:40 +0100 |
| Message-ID | <DCVLb-57b-1@gated-at.bofh.it> |
| In reply to | #74127 |
[Multipart message — attachments visible in raw view] — view raw
On Friday, 7 January 2022 09:38:46 CET Dominique Dumont wrote: > Error! Bad return status for module build on kernel: 3.16.0-6-amd64 (x86_64) > Consult /var/lib/dkms/open-vm-tools/2012.05.21/build/make.log for more > information. > ... > Turns out that the compilation failure happens because dkms is trying to > compile the Debian 7 version of open-vm-tools (2012.05.21) with Debian 8 > kernel (3.16.0-6). It's not uncommon that old dkms packages are not compatible with newer kernels. I only have experience with non-packaged dkms modules, but the problem is the same. Out of Tree modules always have to play catch-up because they can't know how the kernel will change in the future and thus they can't know in advance how their code should be adapted. The newer version works with Debian 8, but will highly likely fail with Debian 9 ... until you update open-vm-tools to a later version which does support kernel 4.9. > I don't know if there's a bug with dkms or open-vm-tools which trigger a > compilation of old open-vm-tools with newer kernel As Ben mentioned in msg #10: "That is a bug in open-vm-tools, not the kernel." You went to all that trouble to find a 7+ year old bug, with a title that doesn't convey a link with dkms compilation issue, unarchive the bug and respond to that, but you missed the (1st) response of a kernel maintainer?
[toc] | [prev] | [next] | [standalone]
| From | Dominique Dumont <dod@debian.org> |
|---|---|
| Date | 2022-01-07 14:50 +0100 |
| Message-ID | <DCXMZ-6kC-1@gated-at.bofh.it> |
| In reply to | #74128 |
On Friday, 7 January 2022 12:29:21 CET Diederik de Haas wrote: > You went to all that trouble to find a 7+ year old bug, with a title that > doesn't convey a link with dkms compilation issue, unarchive the bug and > respond to that, but you missed the (1st) response of a kernel maintainer? Not exactly. I'm stumbled upon this bug while upgrading an old system in production. I did not dare reboot the system without fixing initramfs creation. This bug report actually gave me a hint that dkms could help, so I've added the work-around I've found to this bug report. I hope this will save some time to the next ops that will have to upgrade a Debian 7 production system in vmware. All the best
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.kernel
csiph-web