Witam, jak sprawa wygląda z driverami do kart graficznych w laptopie? Mam notebook'a z 2 kartami, zintegrowaną Intel HD Graphics oraz dedykowaną Nvidia Geforce 840M. Jestem KOMPLETNYM początkującym z Linuxem, powiem więcej, nawet jeszcze go nie zainstalowałem. Chciałbym zainstalować Minta obok W10 i potrzebuje się dowiedzieć, jak zainstalować wszystkie drivery graficzne żeby wszystko działało dobrze. W W10 jest ten cały Optimus, który jakoś przełącza karty, da się zrobić tak jak na W10, żeby Intel działał na pulpicie itp a Geforce w aplikacjach pełnoekranowych/grach/programach itd? Jak już mówiłem, jestem totalnym błaznem i po prostu chciałbym zainstalować Linuxa tylko tak, żeby zobaczyć z czym to się je.
Wczoraj zainstalowałem na swoim pc-cie na dysku magnetycznym 32-bitowego minta 19.3 z pulpitem mate .
Po pierwszym uruchomieniu zainstalowałem aktualizacje , ale pomimo to ten świeżo postawiony system
uruchamia się prawie 3 minuty . Wydaje mi się to trochę za długo .
Proszę o jakieś porady ; czy mogę nieco przyspieszyć start świeżo zainstalowanego minta 19.3
Z góry dzięki za porady ....
Witam, mam taki drobny problem. W komunikatorze Discord coś się pokićkało i nie mogę pisać japońskimi znakami. Wszędzie indziej mogę, tylko nie w Discordzie. Wybrałem najprostsze rozwiązanie, czyli usunięcie programu i ponowną instalację. Niestety, po wykonaniu powyższego okazało się, że Discord uruchomił się w pełni skonfigurowany, nawet automatycznie się zalogował. Jak sprawdziłem wszystkie pliki i katalogi o nazwie "discord", mina mi zrzedła. Wyskoczyło ich naprawdę dużo. Powiem szczerze, że trochę mnie to zaskoczyło, do tej pory myślałem, że tylko windows zostawia tyle śmieci w systemie. Zastosowałem wszystkie znane mi sposoby (autoremove, autoclean w terminalu, czyszczenie systemu przez synaptic) i bez zmian.
Teraz do rzeczy: chcę ręcznie usunąć wszystkie zbędne pliki, ale trochę się boję, bo przecież niejednemu psu na imię Burek Nie chcę sobie przez przypadek narobić kłopotów. Jakoś nie natrafiłem na szczegółowe informacje, co jest czym w strukturze plików Linuxa na dysku, które są użytkownika i można je bezpiecznie usuwać, a które są nietykalne. Załączam screeny z menedżerem plików z listą katalogów/plików z "discord" w nazwie i proszę o info, czy można je wszystkie wywalić. Niektóre to obrazki z discordową mordą, więc sprawa jest jasna, ale reszta?
xrandr
Screen 0: minimum 320 x 200, current 1024 x 768, maximum 8192 x 8192
VGA-1 connected primary 1024x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm panning 1024x768+0+0
1024x768 60.00*
800x600 60.32 56.25
848x480 60.00
640x480 59.94
HDMI-1 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis
Brak własnościowych sterowników w użyciu. Co zrobić, aby mieć większą rozdzielczość ekranu?
Jeśli zdarzy się komuś, że menadżer plików Nemo nie będzie chciał otworzyć otoczenia sieciowego i/lub wyświetlić zawartości kosza, można to naprawić.
Wystarczy zainstalować paczkę "gvfs-backends":
Kod:
sudo apt-get install gvfs-backends
Jeśli ta paczka jest już zainstalowana, a mimo wszystko kosz i sieć nie są dostępne, naprawić to można wydając w terminalu polecenie:
Kod:
sudo dpkg-reconfigure gvfs-backends
W moim przypadku problem dotyczył Nemo w wersji 3.6.5 z Mint Cinnamon 18.3, 64 bit.
Hej. Jak w temacie, próbuję zainstalować i po instalacji otrzymuję komunikat: "instalacja została przerwana, twój system nie został zmodyfikowany. Aby ukończyć instalację w innym czasie ..." czyli nie zainstaluje i już, foldery do katalogu instalacyjnego Program Files wrzucił, ale puste.
Instalowałem inny soft i nie było problemu, a Reader w wersji DC jest mi niezbędny do pracy i nie da się zamienników Readera DC nie ma
Dodano po pewnym czasie:
Edycja: dam sobie z tym spokój, poczytałem na necie, próbowałem różnych sposobów, i nie da się, przynajmniej nie tymi dostępnymi w necie sposobami, części z nich nie potrafię zrozumieć i wykorzystać w praktyce, zbyt zaawansowana procedura, PRĘDZEJ DAM SIĘ OGOLIĆ NA ŁYSO niż zdecyduję się dalej z tym cholerstwem męczyć, prościej wyszło mnie odkurzenie starego kompa z windowsem, zainstalowałem na nim Reader DC i mam gdzieś instalację na Linuxie przez niedorobione Wine, to jest chore i tylko dla tych, którzy nie mają co robić, tylko bawić się całymi dniami z cholernym kompem, pozdro, kilka godzin w żici...
Dostępna w Cinnamon blokada po prostu przyciemnia ekran. Można jeszcze dodać do tego zegar i tekst informacyjny. Pewnie to większości wystarcza, ale mnie nie. Chciałem mieć co innego i zrobiłem to, ale nie jest to eleganckie rozwiązanie. Może ktoś bardziej zaawansowany mógłby mi doradzić jak to oszlifować.
Moje rozwiązanie:
1. Zainstalowałem xscreensaver i reallyslick
Kod:
sudo apt-get install xscreensaver rss-glx
2. W terminalu uruchomiłem xscreensaver-demo, aby powstał plik konfiguracyjny w katalogu domowym i wyedytowałem ten plik, dodając w sekcji programs: -> G: linię
Kod:
euphoria \n\
…tak, aby nazwa modułu wypadła pod poprzednimi nazwami.
3. Ponownie uruchomiłem xscreensaver-demo i wybrałem swój ulubiony wygaszacz:
4. W Ustawieniach systemowych otworzyłem Wygaszacz ekranu i wyłączyłem w jego Ustawieniach wszystkie opcje odpowiedzialne za samo uruchamianie się. Po przelogowaniu, xscreenaver stał się jedynym wygaszaczem.
Niestety, wciąż kliknięcie „Zablokuj ekran” odpalało wbudowany przygaszacz z zegarem.
5. W Ustawieniach systemowych otworzyłem Aplety i sprowadziłem CinnVIIStarkMenu, uaktywniłem go, wyłączając jednocześnie aplet Głównego menu Cinnamon.
W ustawieniach apletu CinnVIIStarkMenu, na karcie Quicklauncher, w sekcji Quicklauncher Applications dodałem polecenie
Kod:
xscreensaver-command -lock
…nadając mu nazwę Euphorbia lock, co wygląda tak:
Teraz kliknięcie w miejscu wskazanym kursorem myszki, powoduje uruchomienie blokady z ulubionym wygaszaczem.
Jak widać, wciąż nie jest to rozwiązanie eleganckie, ponieważ cały czas kliknięcie „Zablokuj ekran” ładuje standardowy wygaszacz.
Czy moglibyście wskazać mi rozwiązanie doskonalsze?
Cześć, jestem świeżym użytkownikiem, właśnie zainstalowałem minta 19.3 ale nie mam sieci.
Próbowałem w menadżerze sterowników włączyć bcmwl-kernel-source (działało na wersji uruchomionej z pendrive przed instalacją), ale wyrzuca błąd "Nieudane pobranie plików pakietów"
Załączam plik wireless info
Kod:
########## wireless info START ##########
Report from: 10 May 2020 22:43 CEST +0200
Booted last: 10 May 2020 00:00 CEST +0200
Script from: 22 Oct 2018 03:34 UTC +0000
##### release ###########################
Distributor ID: LinuxMint
Description: Linux Mint 19.3 Tricia
Release: 19.3
Codename: tricia
##### kernel ############################
Linux 5.0.0-32-generic #34~18.04.2-Ubuntu SMP Thu Oct 10 10:36:02 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Parameters: ro, quiet, splash, vt.handoff=1
##### desktop ###########################
Cinnamon
##### lspci #############################
02:00.0 Network controller [0280]: Broadcom Inc. and subsidiaries BCM43228 802.11a/b/g/n [14e4:4359]
Subsystem: Dell BCM43228 802.11a/b/g/n [1028:0014]
Kernel driver in use: bcma-pci-bridge
##### lsusb #############################
Bus 002 Device 004: ID 0a5c:5801 Broadcom Corp. BCM5880 Secure Applications Processor with fingerprint swipe sensor
Bus 002 Device 005: ID 046d:c31c Logitech, Inc. Keyboard K120
Bus 002 Device 006: ID 04f9:035b Brother Industries, Ltd
Bus 002 Device 003: ID 413c:2513 Dell Computer Corp. internal USB Hub of E-Port Replicator
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 1bcf:2895 Sunplus Innovation Technology Inc.
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 002: ID 0951:1666 Kingston Technology DataTraveler G4
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 003: ID 046d:c534 Logitech, Inc. Unifying Receiver
Bus 003 Device 002: ID 413c:2513 Dell Computer Corp. internal USB Hub of E-Port Replicator
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
##### PCMCIA card info ##################
##### rfkill ############################
1: dell-wifi: Wireless LAN
Soft blocked: no
Hard blocked: no
[b43]
filename: /lib/modules/5.0.0-32-generic/kernel/drivers/net/wireless/broadcom/b43/b43.ko
firmware: b43/ucode9.fw
firmware: b43/ucode42.fw
firmware: b43/ucode40.fw
firmware: b43/ucode5.fw
firmware: b43/ucode30_mimo.fw
firmware: b43/ucode33_lcn40.fw
firmware: b43/ucode29_mimo.fw
firmware: b43/ucode26_mimo.fw
firmware: b43/ucode25_mimo.fw
firmware: b43/ucode25_lcn.fw
firmware: b43/ucode24_lcn.fw
firmware: b43/ucode16_mimo.fw
firmware: b43/ucode16_lp.fw
firmware: b43/ucode15.fw
firmware: b43/ucode14.fw
firmware: b43/ucode13.fw
firmware: b43/ucode11.fw
license: GPL
author: Rafał Miłecki
author: Gábor Stefanik
author: Michael Buesch
author: Stefano Brivio
author: Martin Langer
description: Broadcom B43 wireless driver
srcversion: 6103E28C49B6C9B7208D51F
depends: mac80211,ssb,bcma,cfg80211,cordic
retpoline: Y
intree: Y
name: b43
vermagic: 5.0.0-32-generic SMP mod_unload
signat: PKCS#7
signer:
sig_key:
sig_hashalgo: md4
parm: bad_frames_preempt:enable(1) / disable(0) Bad Frames Preemption (int)
parm: fwpostfix:Postfix for the .fw files to load. (string)
parm: hwpctl:Enable hardware-side power control (default off) (int)
parm: nohwcrypt:Disable hardware encryption. (int)
parm: hwtkip:Enable hardware tkip. (int)
parm: qos:Enable QOS support (default on) (int)
parm: btcoex:Enable Bluetooth coexistence (default on) (int)
parm: verbose:Log message verbosity: 0=error, 1=warn, 2=info(default), 3=debug (int)
parm: pio:Use PIO accesses by default: 0=DMA, 1=PIO (int)
parm: allhwsupport:Enable support for all hardware (even it if overlaps with the brcmsmac driver) (int)
[mac80211]
filename: /lib/modules/5.0.0-32-generic/kernel/net/mac80211/mac80211.ko
license: GPL
description: IEEE 802.11 subsystem
srcversion: 52DCB41FCEDAD189F9DC353
depends: cfg80211
retpoline: Y
intree: Y
name: mac80211
vermagic: 5.0.0-32-generic SMP mod_unload
signat: PKCS#7
signer:
sig_key:
sig_hashalgo: md4
parm: minstrel_vht_only:Use only VHT rates when VHT is supported by sta. (bool)
parm: max_nullfunc_tries:Maximum nullfunc tx tries before disconnecting (reason 4). (int)
parm: max_probe_tries:Maximum probe tries before disconnecting (reason 4). (int)
parm: beacon_loss_count:Number of beacon intervals before we decide beacon was lost. (int)
parm: probe_wait_ms:Maximum time(ms) to wait for probe response before disconnecting (reason 4). (int)
parm: ieee80211_default_rc_algo:Default rate control algorithm for mac80211 to use (charp)
[cfg80211]
filename: /lib/modules/5.0.0-32-generic/kernel/net/wireless/cfg80211.ko
description: wireless configuration support
license: GPL
author: Johannes Berg
srcversion: B9F9E2FE2501DE4B91956EF
depends:
retpoline: Y
intree: Y
name: cfg80211
vermagic: 5.0.0-32-generic SMP mod_unload
signat: PKCS#7
signer:
sig_key:
sig_hashalgo: md4
parm: bss_entries_limit:limit to number of scan BSS entries (per wiphy, default 1000) (int)
parm: ieee80211_regdom:IEEE 802.11 regulatory domain code (charp)
parm: cfg80211_disable_40mhz_24ghz:Disable 40MHz support in the 2.4GHz band (bool)
[/etc/modprobe.d/blacklist-rare-network.conf]
alias net-pf-3 off
alias net-pf-6 off
alias net-pf-9 off
alias net-pf-11 off
alias net-pf-12 off
alias net-pf-19 off
alias net-pf-21 off
alias net-pf-36 off
Widział/używał ktoś? co o nim myślicie? Taka mała konkurencja nam rośnie
A z drugiej strony czemu nie, jeżeli jest mate to czemu nie cinnamon, jak w mincie. Developerzy chcą żeby na stałe ta wersja weszła do flavours, moim zdaniem sensownie.
Pomijam fakt, że ubuntu jest trochę cięższe niż mint, przynajmniej u mnie bardziej muliło na poprzednim sprzęcie, ale pulpit cynamona robi wrażenie na każdym systemie. Dziwne dla mnie było, że ubu nie doczekał się tej wersji w poprzednich odsłonach, skoro nawet debian miał ten pulpit.
Postanowiłem takiego starego kompa zrobić sobie jako forma zabawy/testu na LINUX MINT. Najwyżej zrobi się format i dawaj od nowa.
Ale, żeby zacząć chciałem najpierw, aby wszystko dobrze działało, więc postanowiłem zainstalować sterowniki do karty graficznej jaka tam jest, czyli GeForce 9600 GT.
Zatem pobieram driver: https://www.nvidia.pl/download/driverRes...x/77577/pl
Pierwszy problem - server X, zrobiłem:
Kod:
ctrl+alt+F1
login
sudo service lightdm stop
Pierwszy problem rozwiązany - rada wygooglowana
Problem drugi - NOUVEAU, zrobiłem:
Kod:
sudo vim /etc/modprobe.d/blacklist-nouveau.conf
Dodałem zapisy:
blacklist nouveau
options nouveau modeset=0
Następnie:
Kod:
sudo vim /etc/modprobe.d/blacklist.conf
Dodałem zapisy:
blacklist nouveau
blacklist lbm-nouveau
options nouveau modeset=0
alias nouveau off
alias lbm-nouveau off
Następnie:
Kod:
sudo apt-get remove nvidia* && sudo apt autoremove
sudo apt-get install dkms build-essential linux-headers-generic
echo options nouveau modeset=0 | sudo tee -a /etc/modprobe.d/nouveau-kms.conf
sudo update-initramfs -u
reboot
Ok, instalacja ruszyła, drugi problem rozwiązany - wszystko wygooglowane
Problem trzeci (z tym nie umiem sobie poradzić)
Podczas instalacji a dokładnie przy "Installing DKMS kernel module" dochodzi do 5% zawiesza się i wywala błąd:
(Mam nadzieję, że bez błędów przepisałem - robiłem to ręcznie z monitora)
Kod:
ERROR: Filed to run '/usr/sbin/dkms build -m nvidia -v 340.32 -k 5.15.0-99-generic':
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area...
make -j2 KERNELRELEASE=4.15.0-99-generic module KERNEL_UNNAME=4.15.0-99-generic; make -C uvm module KERNEL_UNNAME=4.15.0-99-generic
KBUILD_EXRMOD=/var/lib/dkms/nvidia/340.32/build/uvm.........(bad exit status: 2)
ERROR (dkms apport): binary package for nvidia: 340.32 not found
Error! Bad return status for module build on kernel: 4.15.0-9-generic (x86_64)
Consult /var/lib/dkms/nvidia/340.32/build/make.log for more information.
Więc zajrzałem do pliku z logami, a tam czarna magia, poniżej zapisy:
Kod:
DKMS make.log for nvidia-340.32 for kernel 4.15.0-99-generic (x86_64)
Sat May 9 11:43:59 CEST 2020
NVIDIA: calling KBUILD...
make[1]: Entering directory '/usr/src/linux-headers-4.15.0-99-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/340.32/build/.tmp_versions ; rm -f /var/lib/dkms/nvidia/340.32/build/.tmp_versions/*
make -f ./scripts/Makefile.build obj=/var/lib/dkms/nvidia/340.32/build
(cat /dev/null; echo kernel//var/lib/dkms/nvidia/340.32/build/nvidia.ko;) > /var/lib/dkms/nvidia/340.32/build/modules.order
cc -Wp,-MD,/var/lib/dkms/nvidia/340.32/build/.nv.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/7/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -Iubuntu/include -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -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_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -O2 --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=1024 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-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 -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia/340.32/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.32\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv"' -DKBUILD_MODNAME='"nvidia"' -c -o /var/lib/dkms/nvidia/340.32/build/nv.o /var/lib/dkms/nvidia/340.32/build/nv.c
cc -Wp,-MD,/var/lib/dkms/nvidia/340.32/build/.nv-acpi.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/7/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -Iubuntu/include -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -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_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -O2 --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=1024 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-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 -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia/340.32/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.32\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_acpi"' -DKBUILD_MODNAME='"nvidia"' -c -o /var/lib/dkms/nvidia/340.32/build/nv-acpi.o /var/lib/dkms/nvidia/340.32/build/nv-acpi.c
In file included from ./include/linux/byteorder/little_endian.h:11:0,
from ./arch/x86/include/uapi/asm/byteorder.h:5,
from ./include/asm-generic/bitops/le.h:6,
from ./arch/x86/include/asm/bitops.h:512,
from ./include/linux/bitops.h:19,
from ./include/linux/kernel.h:11,
from ./arch/x86/include/asm/percpu.h:45,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /var/lib/dkms/nvidia/340.32/build/nv-linux.h:44,
from /var/lib/dkms/nvidia/340.32/build/nv.c:13:
./include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
./include/linux/byteorder/generic.h:178:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < len; i++)
^
./include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
./include/linux/byteorder/generic.h:186:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < len; i++)
^
In file included from ./include/linux/byteorder/little_endian.h:11:0,
from ./arch/x86/include/uapi/asm/byteorder.h:5,
from ./include/asm-generic/bitops/le.h:6,
from ./arch/x86/include/asm/bitops.h:512,
from ./include/linux/bitops.h:19,
from ./include/linux/kernel.h:11,
from ./arch/x86/include/asm/percpu.h:45,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /var/lib/dkms/nvidia/340.32/build/nv-linux.h:44,
from /var/lib/dkms/nvidia/340.32/build/nv-acpi.c:15:
./include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
./include/linux/byteorder/generic.h:178:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < len; i++)
^
./include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
./include/linux/byteorder/generic.h:186:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < len; i++)
^
In file included from ./arch/x86/include/asm/current.h:5:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /var/lib/dkms/nvidia/340.32/build/nv-linux.h:44,
from /var/lib/dkms/nvidia/340.32/build/nv.c:13:
./include/linux/thread_info.h: In function ‘check_copy_size’:
./include/linux/thread_info.h:130:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (unlikely(sz >= 0 && sz < bytes)) {
^
./include/linux/compiler.h:77:42: note: in definition of macro ‘unlikely’
# define unlikely(x) __builtin_expect(!!(x), 0)
^
./include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
./include/asm-generic/qrwlock.h:75:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
cnts, cnts | _QW_LOCKED) == cnts);
^
./include/linux/compiler.h:76:40: note: in definition of macro ‘likely’
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from ./arch/x86/include/asm/current.h:5:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /var/lib/dkms/nvidia/340.32/build/nv-linux.h:44,
from /var/lib/dkms/nvidia/340.32/build/nv-acpi.c:15:
./include/linux/thread_info.h: In function ‘check_copy_size’:
./include/linux/thread_info.h:130:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (unlikely(sz >= 0 && sz < bytes)) {
^
./include/linux/compiler.h:77:42: note: in definition of macro ‘unlikely’
# define unlikely(x) __builtin_expect(!!(x), 0)
^
./include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
./include/asm-generic/qrwlock.h:75:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
cnts, cnts | _QW_LOCKED) == cnts);
^
./include/linux/compiler.h:76:40: note: in definition of macro ‘likely’
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from ./include/linux/ipc.h:7:0,
from ./include/uapi/linux/sem.h:5,
from ./include/linux/sem.h:9,
from ./include/linux/sched.h:15,
from ./include/linux/utsname.h:6,
from /var/lib/dkms/nvidia/340.32/build/nv-linux.h:44,
from /var/lib/dkms/nvidia/340.32/build/nv.c:13:
./include/linux/rhashtable.h: In function ‘rht_grow_above_75’:
./include/linux/rhashtable.h:295:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) > (tbl->size / 4 * 3) &&
^
./include/linux/rhashtable.h: In function ‘rht_shrink_below_30’:
./include/linux/rhashtable.h:308:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) < (tbl->size * 3 / 10) &&
^
./include/linux/rhashtable.h: In function ‘rht_grow_above_100’:
./include/linux/rhashtable.h:320:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) > tbl->size &&
^
./include/linux/rhashtable.h: In function ‘rht_grow_above_max’:
./include/linux/rhashtable.h:332:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) >= ht->max_elems;
^~
In file included from ./include/linux/ipc.h:7:0,
from ./include/uapi/linux/sem.h:5,
from ./include/linux/sem.h:9,
from ./include/linux/sched.h:15,
from ./include/linux/utsname.h:6,
from /var/lib/dkms/nvidia/340.32/build/nv-linux.h:44,
from /var/lib/dkms/nvidia/340.32/build/nv-acpi.c:15:
./include/linux/rhashtable.h: In function ‘rht_grow_above_75’:
./include/linux/rhashtable.h:295:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) > (tbl->size / 4 * 3) &&
^
./include/linux/rhashtable.h: In function ‘rht_shrink_below_30’:
./include/linux/rhashtable.h:308:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) < (tbl->size * 3 / 10) &&
^
./include/linux/rhashtable.h: In function ‘rht_grow_above_100’:
./include/linux/rhashtable.h:320:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) > tbl->size &&
^
./include/linux/rhashtable.h: In function ‘rht_grow_above_max’:
./include/linux/rhashtable.h:332:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) >= ht->max_elems;
^~
In file included from ./arch/x86/include/asm/current.h:5:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /var/lib/dkms/nvidia/340.32/build/nv-linux.h:44,
from /var/lib/dkms/nvidia/340.32/build/nv.c:13:
./include/linux/mmzone.h: In function ‘next_zones_zonelist’:
./include/linux/mmzone.h:988:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
^
./include/linux/compiler.h:76:40: note: in definition of macro ‘likely’
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from ./arch/x86/include/asm/current.h:6:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /var/lib/dkms/nvidia/340.32/build/nv-linux.h:44,
from /var/lib/dkms/nvidia/340.32/build/nv.c:13:
./include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
#define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_1’
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
#define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_2’
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro ‘percpu_add_op’
#define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_4’
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
In file included from ./arch/x86/include/asm/current.h:5:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /var/lib/dkms/nvidia/340.32/build/nv-linux.h:44,
from /var/lib/dkms/nvidia/340.32/build/nv-acpi.c:15:
./include/linux/mmzone.h: In function ‘next_zones_zonelist’:
./include/linux/mmzone.h:988:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
^
./include/linux/compiler.h:76:40: note: in definition of macro ‘likely’
# define likely(x) __builtin_expect(!!(x), 1)
^
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:479:35: note: in expansion of macro ‘percpu_add_op’
#define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘this_cpu_add_8’
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
#define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_1’
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
#define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_2’
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro ‘percpu_add_op’
#define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_4’
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:479:35: note: in expansion of macro ‘percpu_add_op’
#define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘this_cpu_add_8’
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
In file included from ./arch/x86/include/asm/current.h:6:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /var/lib/dkms/nvidia/340.32/build/nv-linux.h:44,
from /var/lib/dkms/nvidia/340.32/build/nv-acpi.c:15:
./include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
#define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_1’
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
#define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_2’
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro ‘percpu_add_op’
#define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_4’
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:479:35: note: in expansion of macro ‘percpu_add_op’
#define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘this_cpu_add_8’
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
#define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_1’
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
#define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_2’
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro ‘percpu_add_op’
#define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_4’
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:479:35: note: in expansion of macro ‘percpu_add_op’
#define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘this_cpu_add_8’
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
#define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_1’
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
#define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_2’
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
#define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_4’
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:470:35: note: in expansion of macro ‘percpu_add_op’
#define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘raw_cpu_add_8’
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
#define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_1’
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
#define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_2’
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
#define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_4’
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:470:35: note: in expansion of macro ‘percpu_add_op’
#define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘raw_cpu_add_8’
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
In file included from ./arch/x86/include/asm/paravirt.h:17:0,
from ./arch/x86/include/asm/irqflags.h:72,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:39,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /var/lib/dkms/nvidia/340.32/build/nv-linux.h:44,
from /var/lib/dkms/nvidia/340.32/build/nv.c:13:
./include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
./include/linux/cpumask.h:231:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:766:36: note: in expansion of macro ‘for_each_cpu’
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:145:2: note: in expansion of macro ‘for_each_online_cpu’
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
./include/linux/cpumask.h:231:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:766:36: note: in expansion of macro ‘for_each_cpu’
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:210:2: note: in expansion of macro ‘for_each_online_cpu’
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function ‘node_page_state_snapshot’:
./include/linux/cpumask.h:231:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:766:36: note: in expansion of macro ‘for_each_cpu’
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:226:2: note: in expansion of macro ‘for_each_online_cpu’
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
In file included from ./arch/x86/include/asm/paravirt.h:17:0,
from ./arch/x86/include/asm/irqflags.h:72,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:39,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /var/lib/dkms/nvidia/340.32/build/nv-linux.h:44,
from /var/lib/dkms/nvidia/340.32/build/nv-acpi.c:15:
./include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
./include/linux/cpumask.h:231:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:766:36: note: in expansion of macro ‘for_each_cpu’
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:145:2: note: in expansion of macro ‘for_each_online_cpu’
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
./include/linux/cpumask.h:231:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:766:36: note: in expansion of macro ‘for_each_cpu’
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:210:2: note: in expansion of macro ‘for_each_online_cpu’
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function ‘node_page_state_snapshot’:
./include/linux/cpumask.h:231:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:766:36: note: in expansion of macro ‘for_each_cpu’
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:226:2: note: in expansion of macro ‘for_each_online_cpu’
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
In file included from ./include/linux/efi.h:20:0,
from /var/lib/dkms/nvidia/340.32/build/nv-linux.h:152,
from /var/lib/dkms/nvidia/340.32/build/nv.c:13:
./include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
./include/linux/rtc.h:253:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
^
./include/linux/rtc.h:258:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
^
In file included from /var/lib/dkms/nvidia/340.32/build/nv.c:13:0:
/var/lib/dkms/nvidia/340.32/build/nv-linux.h: At top level:
/var/lib/dkms/nvidia/340.32/build/nv-linux.h:195:2: error: #error "This driver requires the ability to change memory types!"
#error "This driver requires the ability to change memory types!"
^~~~~
In file included from ./include/linux/efi.h:20:0,
from /var/lib/dkms/nvidia/340.32/build/nv-linux.h:152,
from /var/lib/dkms/nvidia/340.32/build/nv-acpi.c:15:
./include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
./include/linux/rtc.h:253:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
^
./include/linux/rtc.h:258:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
^
In file included from /var/lib/dkms/nvidia/340.32/build/nv-acpi.c:15:0:
/var/lib/dkms/nvidia/340.32/build/nv-linux.h: At top level:
/var/lib/dkms/nvidia/340.32/build/nv-linux.h:195:2: error: #error "This driver requires the ability to change memory types!"
#error "This driver requires the ability to change memory types!"
^~~~~
/var/lib/dkms/nvidia/340.32/build/nv.c: In function ‘nvidia_unlocked_ioctl’:
/var/lib/dkms/nvidia/340.32/build/nv.c:1827:31: error: ‘struct file’ has no member named ‘f_dentry’; did you mean ‘f_owner’?
return nvidia_ioctl(file->f_dentry->d_inode, file, cmd, i_arg);
^~~~~~~~
f_owner
/var/lib/dkms/nvidia/340.32/build/nv.c: In function ‘nv_start_rc_timer’:
/var/lib/dkms/nvidia/340.32/build/nv.c:2393:5: error: implicit declaration of function ‘init_timer’; did you mean ‘init_timers’? [-Werror=implicit-function-declaration]
init_timer(&nvl->rc_timer);
^~~~~~~~~~
init_timers
/var/lib/dkms/nvidia/340.32/build/nv.c:2394:28: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types]
nvl->rc_timer.function = nvidia_rc_timer;
^
/var/lib/dkms/nvidia/340.32/build/nv.c:2395:18: error: ‘struct timer_list’ has no member named ‘data’
nvl->rc_timer.data = (unsigned long) nvl;
^
In file included from ./include/linux/acpi.h:45:0,
from /var/lib/dkms/nvidia/340.32/build/nv-linux.h:281,
from /var/lib/dkms/nvidia/340.32/build/nv-acpi.c:15:
./include/acpi/acpi_drivers.h:58:26: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
#define ACPI_VIDEO_HID "LNXVIDEO"
^
/var/lib/dkms/nvidia/340.32/build/nv-acpi.c:71:12: note: in expansion of macro ‘ACPI_VIDEO_HID’
.ids = ACPI_VIDEO_HID,
^~~~~~~~~~~~~~
./include/acpi/acpi_drivers.h:58:26: note: (near initialization for ‘nv_acpi_driver_template.ids’)
#define ACPI_VIDEO_HID "LNXVIDEO"
^
/var/lib/dkms/nvidia/340.32/build/nv-acpi.c:71:12: note: in expansion of macro ‘ACPI_VIDEO_HID’
.ids = ACPI_VIDEO_HID,
^~~~~~~~~~~~~~
/var/lib/dkms/nvidia/340.32/build/nv-acpi.c:77:19: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.remove = nv_acpi_remove_two_args,
^~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/nvidia/340.32/build/nv-acpi.c:77:19: note: (near initialization for ‘nv_acpi_driver_template.ops.remove’)
/var/lib/dkms/nvidia/340.32/build/nv-acpi.c: In function ‘nv_acpi_add’:
/var/lib/dkms/nvidia/340.32/build/nv-acpi.c:240:62: error: passing argument 4 of ‘acpi_evaluate_integer’ from incompatible pointer type [-Werror=incompatible-pointer-types]
acpi_evaluate_integer(dev->handle, "_ADR", NULL, &device_id);
^
In file included from ./include/linux/acpi.h:44:0,
from /var/lib/dkms/nvidia/340.32/build/nv-linux.h:281,
from /var/lib/dkms/nvidia/340.32/build/nv-acpi.c:15:
./include/acpi/acpi_bus.h:40:1: note: expected ‘long long unsigned int *’ but argument is of type ‘nv_acpi_integer_t * {aka long unsigned int *}’
acpi_evaluate_integer(acpi_handle handle,
^~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/nvidia/340.32/build/nv-acpi.c: In function ‘nv_acpi_event’:
/var/lib/dkms/nvidia/340.32/build/nv-acpi.c:390:48: error: passing argument 4 of ‘acpi_evaluate_integer’ from incompatible pointer type [-Werror=incompatible-pointer-types]
&state);
^
In file included from ./include/linux/acpi.h:44:0,
from /var/lib/dkms/nvidia/340.32/build/nv-linux.h:281,
from /var/lib/dkms/nvidia/340.32/build/nv-acpi.c:15:
./include/acpi/acpi_bus.h:40:1: note: expected ‘long long unsigned int *’ but argument is of type ‘nv_acpi_integer_t * {aka long unsigned int *}’
acpi_evaluate_integer(acpi_handle handle,
^~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/nvidia/340.32/build/nv-acpi.c: In function ‘nv_acpi_ddc_method’:
/var/lib/dkms/nvidia/340.32/build/nv-acpi.c:1238:67: error: passing argument 4 of ‘acpi_evaluate_integer’ from incompatible pointer type [-Werror=incompatible-pointer-types]
status = acpi_evaluate_integer(dev->handle, "_ADR", NULL, &device_id);
^
In file included from ./include/linux/acpi.h:44:0,
from /var/lib/dkms/nvidia/340.32/build/nv-linux.h:281,
from /var/lib/dkms/nvidia/340.32/build/nv-acpi.c:15:
./include/acpi/acpi_bus.h:40:1: note: expected ‘long long unsigned int *’ but argument is of type ‘nv_acpi_integer_t * {aka long unsigned int *}’
acpi_evaluate_integer(acpi_handle handle,
^~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
cc1: some warnings being treated as errors
scripts/Makefile.build:330: recipe for target '/var/lib/dkms/nvidia/340.32/build/nv.o' failed
make[2]: *** [/var/lib/dkms/nvidia/340.32/build/nv.o] Error 1
make[2]: *** Waiting for unfinished jobs....
scripts/Makefile.build:330: recipe for target '/var/lib/dkms/nvidia/340.32/build/nv-acpi.o' failed
make[2]: *** [/var/lib/dkms/nvidia/340.32/build/nv-acpi.o] Error 1
Makefile:1577: recipe for target '_module_/var/lib/dkms/nvidia/340.32/build' failed
make[1]: *** [_module_/var/lib/dkms/nvidia/340.32/build] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-99-generic'
NVIDIA: left KBUILD.
nvidia.ko failed to build!
Makefile:177: recipe for target 'nvidia.ko' failed
make: *** [nvidia.ko] Error 1
make: Entering directory '/var/lib/dkms/nvidia/340.32/build/uvm'
cd ./..; make module SYSSRC=/lib/modules/4.15.0-99-generic/build SYSOUT=/lib/modules/4.15.0-99-generic/build KBUILD_EXTMOD=./..
make[1]: Entering directory '/var/lib/dkms/nvidia/340.32/build'
NVIDIA: calling KBUILD...
make[2]: Entering directory '/usr/src/linux-headers-4.15.0-99-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 ./../.tmp_versions ; rm -f ./../.tmp_versions/*
make -f ./scripts/Makefile.build obj=./..
scripts/Makefile.build:45: ../Makefile: No such file or directory
make[3]: *** No rule to make target '../Makefile'. Stop.
Makefile:1577: recipe for target '_module_./..' failed
make[2]: *** [_module_./..] Error 2
make[2]: Leaving directory '/usr/src/linux-headers-4.15.0-99-generic'
NVIDIA: left KBUILD.
nvidia.ko failed to build!
Makefile:177: recipe for target 'nvidia.ko' failed
make[1]: *** [nvidia.ko] Error 1
make[1]: Leaving directory '/var/lib/dkms/nvidia/340.32/build'
Makefile:219: recipe for target '../Module.symvers' failed
make: *** [../Module.symvers] Error 2
make: Leaving directory '/var/lib/dkms/nvidia/340.32/build/uvm'