← Back to team overview

kernel-packages team mailing list archive

[Bug 1368111] Re: run-parts: executing /etc/kernel/postinst.d/dkms 3.16.0-14-generic /boot/vmlinuz-3.16.0-14-generic

 

Hi,

I cannot run that command because the system where it happened is for
now unbootable. But I believe that that error appears on another just
upgrading instance. It is related to "vhba" driver from cdemu project
... from following error description.

Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/dkms 3.16.0-14-generic /boot/vmlinuz-3.16.0-14-generic
sed: -e expression #1, char 6: unknown command: `m'
Error! Bad return status for module build on kernel: 3.16.0-14-generic (x86_64)
Consult /var/lib/dkms/vhba/20130607/build/make.log for more information.
sed: -e expression #1, char 6: unknown command: `m'

"/var/lib/dkms/vhba/20130607/build/make.log"
DKMS make.log for vhba-20130607 for kernel 3.16.0-14-generic (x86_64)
Fri Sep 12 12:26:48 CEST 2014
make -C /lib/modules/3.16.0-14-generic/build M=/var/lib/dkms/vhba/20130607/build modules
make[1]: Entering directory '/usr/src/linux-headers-3.16.0-14-generic'
  CC [M]  /var/lib/dkms/vhba/20130607/build/vhba.o
/var/lib/dkms/vhba/20130607/build/vhba.c:57:0: error: "scmd_dbg" redefined [-Werror]
 #define scmd_dbg(scmd, fmt, a...)       \
 ^
In file included from include/scsi/scsi_cmnd.h:10:0,
                 from /var/lib/dkms/vhba/20130607/build/vhba.c:37:
include/scsi/scsi_device.h:254:0: note: this is the location of the previous definition
 #define scmd_dbg(scmd, fmt, a...)        \
 ^
cc1: all warnings being treated as errors
scripts/Makefile.build:263: recipe for target '/var/lib/dkms/vhba/20130607/build/vhba.o' failed
make[2]: *** [/var/lib/dkms/vhba/20130607/build/vhba.o] Error 1
Makefile:1345: recipe for target '_module_/var/lib/dkms/vhba/20130607/build' failed
make[1]: *** [_module_/var/lib/dkms/vhba/20130607/build] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-3.16.0-14-generic'
Makefile:24: recipe for target 'modules' failed
make: *** [modules] Error 2

 apt-cache policy cdemu-daemon
cdemu-daemon:
  Installed: 2.1.1-1ubuntu0~saucy1~ppa1
  Candidate: 2.1.1-1ubuntu0~saucy1~ppa1
  Version table:
 *** 2.1.1-1ubuntu0~saucy1~ppa1 0
        500 http://ppa.launchpad.net/cdemu/ppa/ubuntu/ saucy/main amd64 Packages
        100 /var/lib/dpkg/status

apt-cache policy cdemu-client
cdemu-client:
  Installed: 2.1.1-1ubuntu0~saucy1~ppa1
  Candidate: 2.1.1-1ubuntu0~saucy1~ppa1
  Version table:
 *** 2.1.1-1ubuntu0~saucy1~ppa1 0
        500 http://ppa.launchpad.net/cdemu/ppa/ubuntu/ saucy/main amd64 Packages
        100 /var/lib/dpkg/status

Kind Regards,
Martin

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1368111

Title:
  run-parts: executing /etc/kernel/postinst.d/dkms 3.16.0-14-generic
  /boot/vmlinuz-3.16.0-14-generic

Status in “linux” package in Ubuntu:
  Incomplete

Bug description:
  Hi,

  within upgrade from trusty to 14.04 to 14.10 , kernel installation
  problem:

  run-parts: executing /etc/kernel/postinst.d/dkms 3.16.0-14-generic /boot/vmlinuz-3.16.0-14-generic
  sed: -e expression #1, char 6: unknown command: `m'
  Error! Problems with depmod detected.  Automatically uninstalling this module.
  DKMS: Install Failed (depmod problems).  Module rolled back to built state.

  lsb_release -rd
  Description:	Ubuntu Utopic Unicorn (development branch)
  Release:	14.10

  Kind Regards,
  Martin

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1368111/+subscriptions


References