Skip to content

Instantly share code, notes, and snippets.

@vincentwoo
Created July 29, 2015 05:44
Show Gist options
  • Save vincentwoo/3ee9498851148d1e3ec9 to your computer and use it in GitHub Desktop.
Save vincentwoo/3ee9498851148d1e3ec9 to your computer and use it in GitHub Desktop.
root@execute3:~# apt-get install -y linux-generic-lts-vivid
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
linux-image-generic
Use 'apt-get autoremove' to remove it.
The following extra packages will be installed:
linux-headers-3.19.0-25 linux-headers-3.19.0-25-generic
linux-headers-generic-lts-vivid linux-image-3.19.0-25-generic
linux-image-extra-3.19.0-25-generic linux-image-generic-lts-vivid thermald
Suggested packages:
fdutils linux-lts-vivid-tools
The following NEW packages will be installed:
linux-generic-lts-vivid linux-headers-3.19.0-25
linux-headers-3.19.0-25-generic linux-headers-generic-lts-vivid
linux-image-3.19.0-25-generic linux-image-extra-3.19.0-25-generic
linux-image-generic-lts-vivid thermald
0 upgraded, 8 newly installed, 0 to remove and 0 not upgraded.
Need to get 65.1 MB of archives.
After this operation, 288 MB of additional disk space will be used.
Get:1 http://mirrors.service.networklayer.com/ubuntu/ trusty-updates/main linux-image-3.19.0-25-generic amd64 3.19.0-25.26~14.04.1 [16.7 MB]
Get:2 http://mirrors.service.networklayer.com/ubuntu/ trusty-updates/main linux-image-extra-3.19.0-25-generic amd64 3.19.0-25.26~14.04.1 [38.2 MB]
Get:3 http://mirrors.service.networklayer.com/ubuntu/ trusty-updates/main linux-image-generic-lts-vivid amd64 3.19.0.25.12 [2,390 B]
Get:4 http://mirrors.service.networklayer.com/ubuntu/ trusty-updates/main linux-headers-3.19.0-25 all 3.19.0-25.26~14.04.1 [9,291 kB]
Get:5 http://mirrors.service.networklayer.com/ubuntu/ trusty-updates/main linux-headers-3.19.0-25-generic amd64 3.19.0-25.26~14.04.1 [742 kB]
Get:6 http://mirrors.service.networklayer.com/ubuntu/ trusty-updates/main linux-headers-generic-lts-vivid amd64 3.19.0.25.12 [2,364 B]
Get:7 http://mirrors.service.networklayer.com/ubuntu/ trusty-updates/main linux-generic-lts-vivid amd64 3.19.0.25.12 [1,804 B]
Get:8 http://mirrors.service.networklayer.com/ubuntu/ trusty-updates/main thermald amd64 1.1~rc2-11ubuntu0.1 [145 kB]
Fetched 65.1 MB in 5s (11.6 MB/s)
Selecting previously unselected package linux-image-3.19.0-25-generic.
(Reading database ... 86829 files and directories currently installed.)
Preparing to unpack .../linux-image-3.19.0-25-generic_3.19.0-25.26~14.04.1_amd64.deb ...
Done.
Unpacking linux-image-3.19.0-25-generic (3.19.0-25.26~14.04.1) ...
Selecting previously unselected package linux-image-extra-3.19.0-25-generic.
Preparing to unpack .../linux-image-extra-3.19.0-25-generic_3.19.0-25.26~14.04.1_amd64.deb ...
Unpacking linux-image-extra-3.19.0-25-generic (3.19.0-25.26~14.04.1) ...
Selecting previously unselected package linux-image-generic-lts-vivid.
Preparing to unpack .../linux-image-generic-lts-vivid_3.19.0.25.12_amd64.deb ...
Unpacking linux-image-generic-lts-vivid (3.19.0.25.12) ...
Selecting previously unselected package linux-headers-3.19.0-25.
Preparing to unpack .../linux-headers-3.19.0-25_3.19.0-25.26~14.04.1_all.deb ...
Unpacking linux-headers-3.19.0-25 (3.19.0-25.26~14.04.1) ...
Selecting previously unselected package linux-headers-3.19.0-25-generic.
Preparing to unpack .../linux-headers-3.19.0-25-generic_3.19.0-25.26~14.04.1_amd64.deb ...
Unpacking linux-headers-3.19.0-25-generic (3.19.0-25.26~14.04.1) ...
Selecting previously unselected package linux-headers-generic-lts-vivid.
Preparing to unpack .../linux-headers-generic-lts-vivid_3.19.0.25.12_amd64.deb ...
Unpacking linux-headers-generic-lts-vivid (3.19.0.25.12) ...
Selecting previously unselected package linux-generic-lts-vivid.
Preparing to unpack .../linux-generic-lts-vivid_3.19.0.25.12_amd64.deb ...
Unpacking linux-generic-lts-vivid (3.19.0.25.12) ...
Selecting previously unselected package thermald.
Preparing to unpack .../thermald_1.1~rc2-11ubuntu0.1_amd64.deb ...
Unpacking thermald (1.1~rc2-11ubuntu0.1) ...
Processing triggers for ureadahead (0.100.0-16) ...
ureadahead will be reprofiled on next reboot
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Setting up linux-image-3.19.0-25-generic (3.19.0-25.26~14.04.1) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.19.0-25-generic /boot/vmlinuz-3.19.0-25-generic
run-parts: executing /etc/kernel/postinst.d/dkms 3.19.0-25-generic /boot/vmlinuz-3.19.0-25-generic
Error! Bad return status for module build on kernel: 3.19.0-25-generic (x86_64)
Consult /var/lib/dkms/aacraid/1.2.1.40300/build/make.log for more information.
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.19.0-25-generic /boot/vmlinuz-3.19.0-25-generic
update-initramfs: Generating /boot/initrd.img-3.19.0-25-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.19.0-25-generic /boot/vmlinuz-3.19.0-25-generic
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-3.19.0-25-generic
Found initrd image: /boot/initrd.img-3.19.0-25-generic
Found linux image: /boot/vmlinuz-3.13.0-59-generic
Found initrd image: /boot/initrd.img-3.13.0-59-generic
Found linux image: /boot/vmlinuz-3.13.0-24-generic
Found initrd image: /boot/initrd.img-3.13.0-24-generic
done
Setting up linux-image-extra-3.19.0-25-generic (3.19.0-25.26~14.04.1) ...
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.19.0-25-generic /boot/vmlinuz-3.19.0-25-generic
run-parts: executing /etc/kernel/postinst.d/dkms 3.19.0-25-generic /boot/vmlinuz-3.19.0-25-generic
Error! Bad return status for module build on kernel: 3.19.0-25-generic (x86_64)
Consult /var/lib/dkms/aacraid/1.2.1.40300/build/make.log for more information.
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.19.0-25-generic /boot/vmlinuz-3.19.0-25-generic
update-initramfs: Generating /boot/initrd.img-3.19.0-25-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.19.0-25-generic /boot/vmlinuz-3.19.0-25-generic
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-3.19.0-25-generic
Found initrd image: /boot/initrd.img-3.19.0-25-generic
Found linux image: /boot/vmlinuz-3.13.0-59-generic
Found initrd image: /boot/initrd.img-3.13.0-59-generic
Found linux image: /boot/vmlinuz-3.13.0-24-generic
Found initrd image: /boot/initrd.img-3.13.0-24-generic
done
Setting up linux-image-generic-lts-vivid (3.19.0.25.12) ...
Setting up linux-headers-3.19.0-25 (3.19.0-25.26~14.04.1) ...
Setting up linux-headers-3.19.0-25-generic (3.19.0-25.26~14.04.1) ...
Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/dkms 3.19.0-25-generic /boot/vmlinuz-3.19.0-25-generic
Error! Bad return status for module build on kernel: 3.19.0-25-generic (x86_64)
Consult /var/lib/dkms/aacraid/1.2.1.40300/build/make.log for more information.
Setting up linux-headers-generic-lts-vivid (3.19.0.25.12) ...
Setting up linux-generic-lts-vivid (3.19.0.25.12) ...
Setting up thermald (1.1~rc2-11ubuntu0.1) ...
thermald start/running, process 21148
Processing triggers for ureadahead (0.100.0-16) ...
root@execute3:~# cat /var/lib/dkms/aacraid/1.2.1.40300/build/make.log
DKMS make.log for aacraid-1.2.1.40300 for kernel 3.19.0-25-generic (x86_64)
Wed Jul 29 00:32:10 CDT 2015
make -C /lib/modules/3.19.0-25-generic/build M=/var/lib/dkms/aacraid/1.2.1.40300/build modules
make[1]: Entering directory `/usr/src/linux-headers-3.19.0-25-generic'
CC [M] /var/lib/dkms/aacraid/1.2.1.40300/build/linit.o
/var/lib/dkms/aacraid/1.2.1.40300/build/linit.c: In function 'aac_slave_configure':
/var/lib/dkms/aacraid/1.2.1.40300/build/linit.c:958:3: error: implicit declaration of function 'scsi_adjust_queue_depth' [-Werror=implicit-function-declaration]
scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, depth);
^
/var/lib/dkms/aacraid/1.2.1.40300/build/linit.c:958:33: error: 'MSG_ORDERED_TAG' undeclared (first use in this function)
scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, depth);
^
/var/lib/dkms/aacraid/1.2.1.40300/build/linit.c:958:33: note: each undeclared identifier is reported only once for each function it appears in
/var/lib/dkms/aacraid/1.2.1.40300/build/linit.c: In function 'aac_change_queue_depth':
/var/lib/dkms/aacraid/1.2.1.40300/build/linit.c:1093:33: error: 'MSG_ORDERED_TAG' undeclared (first use in this function)
scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, depth);
^
/var/lib/dkms/aacraid/1.2.1.40300/build/linit.c: In function 'aac_eh_abort':
/var/lib/dkms/aacraid/1.2.1.40300/build/linit.c:1328:3: warning: format '%d' expects argument of type 'int', but argument 6 has type 'u64' [-Wformat=]
host->host_no, sdev_channel(dev), sdev_id(dev), dev->lun);
^
/var/lib/dkms/aacraid/1.2.1.40300/build/linit.c:1332:7: error: 'SERVICE_ACTION_IN' undeclared (first use in this function)
case SERVICE_ACTION_IN:
^
/var/lib/dkms/aacraid/1.2.1.40300/build/linit.c: At top level:
/var/lib/dkms/aacraid/1.2.1.40300/build/linit.c:3182:2: warning: initialization from incompatible pointer type [enabled by default]
.change_queue_depth = aac_change_queue_depth,
^
/var/lib/dkms/aacraid/1.2.1.40300/build/linit.c:3182:2: warning: (near initialization for 'aac_driver_template.change_queue_depth') [enabled by default]
cc1: some warnings being treated as errors
make[2]: *** [/var/lib/dkms/aacraid/1.2.1.40300/build/linit.o] Error 1
make[1]: *** [_module_/var/lib/dkms/aacraid/1.2.1.40300/build] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.19.0-25-generic'
make: *** [aacraid_dkms_build] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment