1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385 | guille@Asus:~$ sudo apt-get autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
linux-image-3.13.0-32-lowlatency linux-image-3.13.0-39-generic
linux-image-extra-3.13.0-39-generic linux-signed-image-3.13.0-39-generic
0 upgraded, 0 newly installed, 4 to remove and 1 not upgraded.
After this operation, 387 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 472695 files and directories currently installed.)
Removing linux-image-3.13.0-32-lowlatency (3.13.0-32.57) ...
Examining /etc/kernel/prerm.d.
run-parts: executing /etc/kernel/prerm.d/dkms 3.13.0-32-lowlatency /boot/vmlinuz-3.13.0-32-lowlatency
dkms: removing: i915-3.16-3.13 1 (3.13.0-32-lowlatency) (x86_64)
-------- Uninstall Beginning --------
Module: i915-3.16-3.13
Version: 1
Kernel: 3.13.0-32-lowlatency (x86_64)
-------------------------------------
Status: Before uninstall, this module version was ACTIVE on this kernel.
i915.ko:
- Uninstallation
- Deleting from: /lib/modules/3.13.0-32-lowlatency/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
intel_ips.ko:
- Uninstallation
- Deleting from: /lib/modules/3.13.0-32-lowlatency/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
drm.ko:
- Uninstallation
- Deleting from: /lib/modules/3.13.0-32-lowlatency/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
drm_kms_helper.ko:
- Uninstallation
- Deleting from: /lib/modules/3.13.0-32-lowlatency/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
drm_mipi_dsi.ko:
- Uninstallation
- Deleting from: /lib/modules/3.13.0-32-lowlatency/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
video.ko:
- Uninstallation
- Deleting from: /lib/modules/3.13.0-32-lowlatency/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
depmod......
DKMS: uninstall completed.
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.13.0-32-lowlatency /boot/vmlinuz-3.13.0-32-lowlatency
update-initramfs: Deleting /boot/initrd.img-3.13.0-32-lowlatency
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.13.0-32-lowlatency /boot/vmlinuz-3.13.0-32-lowlatency
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-3.13.0-44-lowlatency
Found initrd image: /boot/initrd.img-3.13.0-44-lowlatency
Found linux image: /boot/vmlinuz-3.13.0-44-lowlatency
Found initrd image: /boot/initrd.img-3.13.0-44-lowlatency
Found linux image: /boot/vmlinuz-3.13.0-44-generic
Found initrd image: /boot/initrd.img-3.13.0-44-generic
Found linux image: /boot/vmlinuz-3.13.0-43-lowlatency
Found initrd image: /boot/initrd.img-3.13.0-43-lowlatency
Found linux image: /boot/vmlinuz-3.13.0-43-generic
Found initrd image: /boot/initrd.img-3.13.0-43-generic
Found linux image: /boot/vmlinuz-3.13.0-40-lowlatency
Found initrd image: /boot/initrd.img-3.13.0-40-lowlatency
Found linux image: /boot/vmlinuz-3.13.0-40-generic
Found initrd image: /boot/initrd.img-3.13.0-40-generic
Found linux image: /boot/vmlinuz-3.13.0-39-lowlatency
Found initrd image: /boot/initrd.img-3.13.0-39-lowlatency
Found linux image: /boot/vmlinuz-3.13.0-39-generic
Found initrd image: /boot/initrd.img-3.13.0-39-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
Found Fedora release 20 (Heisenbug) on /dev/sda3
done
Removing linux-signed-image-3.13.0-39-generic (3.13.0-39.66) ...
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-3.13.0-44-lowlatency
Found initrd image: /boot/initrd.img-3.13.0-44-lowlatency
Found linux image: /boot/vmlinuz-3.13.0-44-lowlatency
Found initrd image: /boot/initrd.img-3.13.0-44-lowlatency
Found linux image: /boot/vmlinuz-3.13.0-44-generic
Found initrd image: /boot/initrd.img-3.13.0-44-generic
Found linux image: /boot/vmlinuz-3.13.0-43-lowlatency
Found initrd image: /boot/initrd.img-3.13.0-43-lowlatency
Found linux image: /boot/vmlinuz-3.13.0-43-generic
Found initrd image: /boot/initrd.img-3.13.0-43-generic
Found linux image: /boot/vmlinuz-3.13.0-40-lowlatency
Found initrd image: /boot/initrd.img-3.13.0-40-lowlatency
Found linux image: /boot/vmlinuz-3.13.0-40-generic
Found initrd image: /boot/initrd.img-3.13.0-40-generic
Found linux image: /boot/vmlinuz-3.13.0-39-lowlatency
Found initrd image: /boot/initrd.img-3.13.0-39-lowlatency
Found linux image: /boot/vmlinuz-3.13.0-39-generic
Found initrd image: /boot/initrd.img-3.13.0-39-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
Found Fedora release 20 (Heisenbug) on /dev/sda3
done
Removing linux-image-extra-3.13.0-39-generic (3.13.0-39.66) ...
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.13.0-39-generic /boot/vmlinuz-3.13.0-39-generic
run-parts: executing /etc/kernel/postinst.d/dkms 3.13.0-39-generic /boot/vmlinuz-3.13.0-39-generic
Error! Bad return status for module build on kernel: 3.13.0-39-generic (x86_64)
Consult /var/lib/dkms/nvidia-331-updates-uvm/331.113/build/make.log for more information.
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-39-generic /boot/vmlinuz-3.13.0-39-generic
update-initramfs: Generating /boot/initrd.img-3.13.0-39-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.13.0-39-generic /boot/vmlinuz-3.13.0-39-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.13.0-39-generic /boot/vmlinuz-3.13.0-39-generic
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-3.13.0-44-lowlatency
Found initrd image: /boot/initrd.img-3.13.0-44-lowlatency
Found linux image: /boot/vmlinuz-3.13.0-44-lowlatency
Found initrd image: /boot/initrd.img-3.13.0-44-lowlatency
Found linux image: /boot/vmlinuz-3.13.0-44-generic
Found initrd image: /boot/initrd.img-3.13.0-44-generic
Found linux image: /boot/vmlinuz-3.13.0-43-lowlatency
Found initrd image: /boot/initrd.img-3.13.0-43-lowlatency
Found linux image: /boot/vmlinuz-3.13.0-43-generic
Found initrd image: /boot/initrd.img-3.13.0-43-generic
Found linux image: /boot/vmlinuz-3.13.0-40-lowlatency
Found initrd image: /boot/initrd.img-3.13.0-40-lowlatency
Found linux image: /boot/vmlinuz-3.13.0-40-generic
Found initrd image: /boot/initrd.img-3.13.0-40-generic
Found linux image: /boot/vmlinuz-3.13.0-39-lowlatency
Found initrd image: /boot/initrd.img-3.13.0-39-lowlatency
Found linux image: /boot/vmlinuz-3.13.0-39-generic
Found initrd image: /boot/initrd.img-3.13.0-39-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
Found Fedora release 20 (Heisenbug) on /dev/sda3
done
Removing linux-image-3.13.0-39-generic (3.13.0-39.66) ...
Examining /etc/kernel/prerm.d.
run-parts: executing /etc/kernel/prerm.d/dkms 3.13.0-39-generic /boot/vmlinuz-3.13.0-39-generic
dkms: removing: bbswitch 0.7 (3.13.0-39-generic) (x86_64)
-------- Uninstall Beginning --------
Module: bbswitch
Version: 0.7
Kernel: 3.13.0-39-generic (x86_64)
-------------------------------------
Status: Before uninstall, this module version was ACTIVE on this kernel.
bbswitch.ko:
- Uninstallation
- Deleting from: /lib/modules/3.13.0-39-generic/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
depmod....
DKMS: uninstall completed.
dkms: removing: i915-3.16-3.13 1 (3.13.0-39-generic) (x86_64)
-------- Uninstall Beginning --------
Module: i915-3.16-3.13
Version: 1
Kernel: 3.13.0-39-generic (x86_64)
-------------------------------------
Status: Before uninstall, this module version was ACTIVE on this kernel.
i915.ko:
- Uninstallation
- Deleting from: /lib/modules/3.13.0-39-generic/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
intel_ips.ko:
- Uninstallation
- Deleting from: /lib/modules/3.13.0-39-generic/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
drm.ko:
- Uninstallation
- Deleting from: /lib/modules/3.13.0-39-generic/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
drm_kms_helper.ko:
- Uninstallation
- Deleting from: /lib/modules/3.13.0-39-generic/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
drm_mipi_dsi.ko:
- Uninstallation
- Deleting from: /lib/modules/3.13.0-39-generic/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
video.ko:
- Uninstallation
- Deleting from: /lib/modules/3.13.0-39-generic/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
depmod....
DKMS: uninstall completed.
dkms: removing: nvidia-331-updates 331.113 (3.13.0-39-generic) (x86_64)
-------- Uninstall Beginning --------
Module: nvidia-331-updates
Version: 331.113
Kernel: 3.13.0-39-generic (x86_64)
-------------------------------------
Status: Before uninstall, this module version was ACTIVE on this kernel.
nvidia_331_updates.ko:
- Uninstallation
- Deleting from: /lib/modules/3.13.0-39-generic/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
depmod....
DKMS: uninstall completed.
dkms: removing: virtualbox 4.3.10 (3.13.0-39-generic) (x86_64)
-------- Uninstall Beginning --------
Module: virtualbox
Version: 4.3.10
Kernel: 3.13.0-39-generic (x86_64)
-------------------------------------
Status: Before uninstall, this module version was ACTIVE on this kernel.
vboxdrv.ko:
- Uninstallation
- Deleting from: /lib/modules/3.13.0-39-generic/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
vboxnetadp.ko:
- Uninstallation
- Deleting from: /lib/modules/3.13.0-39-generic/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
vboxnetflt.ko:
- Uninstallation
- Deleting from: /lib/modules/3.13.0-39-generic/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
vboxpci.ko:
- Uninstallation
- Deleting from: /lib/modules/3.13.0-39-generic/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
depmod....
DKMS: uninstall completed.
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.13.0-39-generic /boot/vmlinuz-3.13.0-39-generic
update-initramfs: Deleting /boot/initrd.img-3.13.0-39-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.13.0-39-generic /boot/vmlinuz-3.13.0-39-generic
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-3.13.0-44-lowlatency
Found initrd image: /boot/initrd.img-3.13.0-44-lowlatency
Found linux image: /boot/vmlinuz-3.13.0-44-lowlatency
Found initrd image: /boot/initrd.img-3.13.0-44-lowlatency
Found linux image: /boot/vmlinuz-3.13.0-44-generic
Found initrd image: /boot/initrd.img-3.13.0-44-generic
Found linux image: /boot/vmlinuz-3.13.0-43-lowlatency
Found initrd image: /boot/initrd.img-3.13.0-43-lowlatency
Found linux image: /boot/vmlinuz-3.13.0-43-generic
Found initrd image: /boot/initrd.img-3.13.0-43-generic
Found linux image: /boot/vmlinuz-3.13.0-40-lowlatency
Found initrd image: /boot/initrd.img-3.13.0-40-lowlatency
Found linux image: /boot/vmlinuz-3.13.0-40-generic
Found initrd image: /boot/initrd.img-3.13.0-40-generic
Found linux image: /boot/vmlinuz-3.13.0-39-lowlatency
Found initrd image: /boot/initrd.img-3.13.0-39-lowlatency
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
Found Fedora release 20 (Heisenbug) on /dev/sda3
done
--------------------------------------------------------------------------------
guille@Asus:~$ cat /var/lib/dkms/nvidia-331-updates-uvm/331.113/build/make.log
DKMS make.log for nvidia-331-updates-uvm-331.113 for kernel 3.13.0-39-generic (x86_64)
dom ene 18 03:12:37 ART 2015
cd /var/lib/dkms/nvidia-331-updates/331.113/build; make module SYSSRC=/lib/modules/3.13.0-39-generic/build SYSOUT=/lib/modules/3.13.0-39-generic/build KBUILD_EXTMOD=/var/lib/dkms/nvidia-331-updates/331.113/build
make[1]: Entering directory `/var/lib/dkms/nvidia-331-updates/331.113/build'
NVIDIA: calling KBUILD...
make[2]: Entering directory `/usr/src/linux-headers-3.13.0-39-generic'
test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
echo >&2; \
echo >&2 " ERROR: Kernel configuration is invalid."; \
echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\
echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
echo >&2 ; \
/bin/false)
mkdir -p /var/lib/dkms/nvidia-331-updates/331.113/build/.tmp_versions ; rm -f /var/lib/dkms/nvidia-331-updates/331.113/build/.tmp_versions/*
make -f scripts/Makefile.build obj=/var/lib/dkms/nvidia-331-updates/331.113/build
cc -Wp,-MD,/var/lib/dkms/nvidia-331-updates/331.113/build/.nv.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include -I/usr/src/linux-headers-3.13.0-39-generic/arch/x86/include -Iarch/x86/include/generated -Iinclude -I/usr/src/linux-headers-3.13.0-39-generic/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-headers-3.13.0-39-generic/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-headers-3.13.0-39-generic/include/linux/kconfig.h -Iubuntu/include -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -O2 -m64 -mno-mmx -mno-sse -mpreferred-stack-boundary=3 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -fstack-protector -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -Wframe-larger-than=1024 -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-331-updates/331.113/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"331.113\" -Wno-unused-function -Wuninitialized -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-331-updates/331.113/build/.tmp_nv.o /var/lib/dkms/nvidia-331-updates/331.113/build/nv.c
In file included from include/uapi/linux/stddef.h:1:0,
from include/linux/stddef.h:4,
from /usr/src/linux-headers-3.13.0-39-generic/include/uapi/linux/posix_types.h:4,
from include/uapi/linux/types.h:13,
from include/linux/types.h:5,
from include/uapi/linux/capability.h:16,
from include/linux/capability.h:15,
from include/linux/sched.h:13,
from include/linux/utsname.h:5,
from /var/lib/dkms/nvidia-331-updates/331.113/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-331-updates/331.113/build/nv.c:13:
/usr/src/linux-headers-3.13.0-39-generic/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
/usr/src/linux-headers-3.13.0-39-generic/arch/x86/include/asm/uaccess.h:612:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(sz < 0 || sz >= n))
^
include/linux/compiler.h:152:40: note: in definition of macro ‘likely’
# define likely(x) __builtin_expect(!!(x), 1)
^
/usr/src/linux-headers-3.13.0-39-generic/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
/usr/src/linux-headers-3.13.0-39-generic/arch/x86/include/asm/uaccess.h:630:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(sz < 0 || sz >= n))
^
include/linux/compiler.h:152:40: note: in definition of macro ‘likely’
# define likely(x) __builtin_expect(!!(x), 1)
^
objdump: '/var/lib/dkms/nvidia-331-updates/331.113/build/.tmp_nv.o': No such file
mv: cannot stat ‘/var/lib/dkms/nvidia-331-updates/331.113/build/.tmp_nv.o’: No such file or directory
make[3]: *** [/var/lib/dkms/nvidia-331-updates/331.113/build/nv.o] Error 1
make[2]: *** [_module_/var/lib/dkms/nvidia-331-updates/331.113/build] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-3.13.0-39-generic'
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [nvidia.ko] Error 1
make[1]: Leaving directory `/var/lib/dkms/nvidia-331-updates/331.113/build'
make: *** [/var/lib/dkms/nvidia-331-updates/331.113/build/Module.symvers] Error 2
|