Page: 1, 2, 3  Next

[SOLVED] nVidia won't build on recent Liquorix kernels
Mono
Status: Contributor
Joined: 21 Jun 2012
Posts: 115
Reply Quote
This turned into a crazy issue for me. I have been using the Debian nVidia driver packages since sgfxi stopped building the drivers successfully and I discovered the debian drivers succeeded. It worked for a while, but then at 4.14-6 IIRC it failed to build. I tried everything and finally started using nouveau. Then my computer started crashing regularly. So I tried reinstalling the Debian packages and it worked. Only for a few kernel releases though, then it's the same problem. So I tried installing nouveau and then the Debian packages again. But on next bootup it would freeze at the console and the screen would get a weird green tint. No response to attempts to switch terminals.

Even recovery mode wouldn't work, so I just got finished reinstalling Debian. But it looks like I might have the same problem all over again.

:: Code ::
$ sudo apt-get install linux-image-liquorix-amd64 linux-headers-liquorix-amd64
[sudo] password for keantoken:
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following package was automatically installed and is no longer required:
  libtxc-dxtn-s2tc
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
  libelf-dev linux-headers-4.14.0-11.1-liquorix-amd64 linux-image-4.14.0-11.1-liquorix-amd64 zlib1g-dev
Suggested packages:
  linux-doc-4.14
The following NEW packages will be installed:
  libelf-dev linux-headers-4.14.0-11.1-liquorix-amd64 linux-headers-liquorix-amd64 linux-image-4.14.0-11.1-liquorix-amd64 linux-image-liquorix-amd64 zlib1g-dev
0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
Need to get 61.9 MB of archives.
After this operation, 348 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://ftp.us.debian.org/debian unstable/main amd64 zlib1g-dev amd64 1:1.2.8.dfsg-5 [205 kB]
Get:6 http://ftp.us.debian.org/debian unstable/main amd64 libelf-dev amd64 0.170-0.2 [71.5 kB]
Get:2 https://liquorix.net/debian sid/main amd64 linux-image-4.14.0-11.1-liquorix-amd64 amd64 4.14-14 [53.4 MB]
Get:3 https://liquorix.net/debian sid/main amd64 linux-headers-4.14.0-11.1-liquorix-amd64 amd64 4.14-14 [8,009 kB]
Get:4 https://liquorix.net/debian sid/main amd64 linux-headers-liquorix-amd64 amd64 4.14-14 [147 kB]                                                                               
Get:5 https://liquorix.net/debian sid/main amd64 linux-image-liquorix-amd64 amd64 4.14-14 [147 kB]                                                                                 
Fetched 61.9 MB in 6s (9,629 kB/s)                                                                                                                                                 
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
Preconfiguring packages ...
Selecting previously unselected package linux-image-4.14.0-11.1-liquorix-amd64.
(Reading database ... 132723 files and directories currently installed.)
Preparing to unpack .../0-linux-image-4.14.0-11.1-liquorix-amd64_4.14-14_amd64.deb ...
Unpacking linux-image-4.14.0-11.1-liquorix-amd64 (4.14-14) ...
Selecting previously unselected package zlib1g-dev:amd64.
Preparing to unpack .../1-zlib1g-dev_1%3a1.2.8.dfsg-5_amd64.deb ...
Unpacking zlib1g-dev:amd64 (1:1.2.8.dfsg-5) ...
Selecting previously unselected package libelf-dev:amd64.
Preparing to unpack .../2-libelf-dev_0.170-0.2_amd64.deb ...
Unpacking libelf-dev:amd64 (0.170-0.2) ...
Selecting previously unselected package linux-headers-4.14.0-11.1-liquorix-amd64.
Preparing to unpack .../3-linux-headers-4.14.0-11.1-liquorix-amd64_4.14-14_amd64.deb ...
Unpacking linux-headers-4.14.0-11.1-liquorix-amd64 (4.14-14) ...
Selecting previously unselected package linux-headers-liquorix-amd64.
Preparing to unpack .../4-linux-headers-liquorix-amd64_4.14-14_amd64.deb ...
Unpacking linux-headers-liquorix-amd64 (4.14-14) ...
Selecting previously unselected package linux-image-liquorix-amd64.
Preparing to unpack .../5-linux-image-liquorix-amd64_4.14-14_amd64.deb ...
Unpacking linux-image-liquorix-amd64 (4.14-14) ...
Processing triggers for man-db (2.7.6.1-4) ...
Setting up linux-image-4.14.0-11.1-liquorix-amd64 (4.14-14) ...
/etc/kernel/postinst.d/dkms:
Error! Bad return status for module build on kernel: 4.14.0-11.1-liquorix-amd64 (x86_64)
Consult /var/lib/dkms/nvidia-current/384.98/build/make.log for more information.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-4.14.0-11.1-liquorix-amd64
/etc/kernel/postinst.d/zz-update-grub:
Generating grub configuration file ...
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Found linux image: /boot/vmlinuz-4.14.0-11.1-liquorix-amd64
Found initrd image: /boot/initrd.img-4.14.0-11.1-liquorix-amd64
Found linux image: /boot/vmlinuz-4.14.0-2-amd64
Found initrd image: /boot/initrd.img-4.14.0-2-amd64
done
Setting up zlib1g-dev:amd64 (1:1.2.8.dfsg-5) ...
Setting up linux-image-liquorix-amd64 (4.14-14) ...
Setting up libelf-dev:amd64 (0.170-0.2) ...
Setting up linux-headers-4.14.0-11.1-liquorix-amd64 (4.14-14) ...
Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/dkms 4.14.0-11.1-liquorix-amd64
Error! Bad return status for module build on kernel: 4.14.0-11.1-liquorix-amd64 (x86_64)
Consult /var/lib/dkms/nvidia-current/384.98/build/make.log for more information.
Setting up linux-headers-liquorix-amd64 (4.14-14) ...

Back to top
Mono
Status: Contributor
Joined: 21 Jun 2012
Posts: 115
Reply Quote
I get this in the nVidia build log:


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 ; \
Back to top
Mono
Status: Contributor
Joined: 21 Jun 2012
Posts: 115
Reply Quote
I tried running SMXI but it says:

Missing warning section file: status
Back to top
techAdmin
Status: Site Admin
Joined: 26 Sep 2003
Posts: 4127
Location: East Coast, West Coast? I know it's one of them.
Reply Quote
Update your system, there is a wget bug that just got fixed in sid, finally, after way too long, that kept smxi from updating itself.

Or to work around the issue, do this:

:: Code ::
apt-get install curl
cd /usr/local/bin
rm smxi
wget smxi.org/smxi
chmod +x smxi

Back to top
Mono
Status: Contributor
Joined: 21 Jun 2012
Posts: 115
Reply Quote
I did that. I still get the same missing file error, wget is the latest version.
Back to top
Mono
Status: Contributor
Joined: 21 Jun 2012
Posts: 115
Reply Quote
sgfxi just worked, although I won't feel out of the woods until it keeps working on new kernels.
Back to top
techAdmin
Status: Site Admin
Joined: 26 Sep 2003
Posts: 4127
Location: East Coast, West Coast? I know it's one of them.
Reply Quote
You didn't actually do it I believe, re replacing smxi, or it would have worked after you had installed curl.

Current sgfxi and smxi use the same exact logic for this wget bug, install curl as a dependency, then use curl as first downloader choice, then that issue doesn't happen.
Back to top
Mono
Status: Contributor
Joined: 21 Jun 2012
Posts: 115
Reply Quote
I installed all the scripts from the zip file on the site, then I followed your instructions

:: Code ::
$ sudo apt-get install curl
[sudo] password for keantoken:
Reading package lists... Done
Building dependency tree       
Reading state information... Done
curl is already the newest version (7.57.0-1).
The following packages were automatically installed and are no longer required:
  fonts-freefont-ttf libaribb24-0 libbasicusageenvironment1 libcddb2
  libdouble-conversion1 libdvbpsi10 libebml4v5 libgroupsock8 liblivemedia61
  liblua5.2-0 libmad0 libmatroska6v5 libmicrodns0 libmtp-common libmtp-runtime
  libmtp9 libnfs8 libopenmpt-modplug1 libpcre2-16-0 libplacebo2 libpostproc54
  libprotobuf-lite10 libproxy-tools libqt5core5a libqt5dbus5 libqt5gui5
  libqt5network5 libqt5svg5 libqt5widgets5 libqt5x11extras5
  libresid-builder0c2a libsdl-image1.2 libsidplay2 libupnp6
  libusageenvironment3 libva-wayland2 libvlc-bin libvlc5 libvlccore9
  libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-render-util0
  libxcb-xinerama0 libxcb-xkb1 libxcb-xv0 libxkbcommon-x11-0 libxnvctrl0
  qt5-gtk-platformtheme qttranslations5-l10n update-glx vlc-bin vlc-data
  vlc-l10n vlc-plugin-base vlc-plugin-notify vlc-plugin-qt vlc-plugin-samba
  vlc-plugin-skins2 vlc-plugin-video-output vlc-plugin-video-splitter
  vlc-plugin-visualization
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
keantoken@ronin:~$ su
Password:
root@ronin:/home/keantoken# apt-get install curl
Reading package lists... Done
Building dependency tree       
Reading state information... Done
curl is already the newest version (7.57.0-1).
The following packages were automatically installed and are no longer required:
  fonts-freefont-ttf libaribb24-0 libbasicusageenvironment1 libcddb2
  libdouble-conversion1 libdvbpsi10 libebml4v5 libgroupsock8 liblivemedia61
  liblua5.2-0 libmad0 libmatroska6v5 libmicrodns0 libmtp-common libmtp-runtime
  libmtp9 libnfs8 libopenmpt-modplug1 libpcre2-16-0 libplacebo2 libpostproc54
  libprotobuf-lite10 libproxy-tools libqt5core5a libqt5dbus5 libqt5gui5
  libqt5network5 libqt5svg5 libqt5widgets5 libqt5x11extras5
  libresid-builder0c2a libsdl-image1.2 libsidplay2 libupnp6
  libusageenvironment3 libva-wayland2 libvlc-bin libvlc5 libvlccore9
  libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-render-util0
  libxcb-xinerama0 libxcb-xkb1 libxcb-xv0 libxkbcommon-x11-0 libxnvctrl0
  qt5-gtk-platformtheme qttranslations5-l10n update-glx vlc-bin vlc-data
  vlc-l10n vlc-plugin-base vlc-plugin-notify vlc-plugin-qt vlc-plugin-samba
  vlc-plugin-skins2 vlc-plugin-video-output vlc-plugin-video-splitter
  vlc-plugin-visualization
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
root@ronin:/home/keantoken# cd /usr/local/bin
root@ronin:/usr/local/bin# rm smxi
root@ronin:/usr/local/bin# wget smxi.org/smxi
--2018-01-05 18:43:05--  http://smxi.org/smxi
Resolving smxi.org (smxi.org)... 216.92.31.53
Connecting to smxi.org (smxi.org)|216.92.31.53|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://smxi.org/smxi [following]
--2018-01-05 18:43:06--  https://smxi.org/smxi
Connecting to smxi.org (smxi.org)|216.92.31.53|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://smxi.org/sm/smxi [following]
--2018-01-05 18:43:06--  https://smxi.org/sm/smxi
Reusing existing connection to smxi.org:443.
HTTP request sent, awaiting response... 200 OK
Length: 43527 (43K)
Saving to: ‘smxi’

smxi                100%[===================>]  42.51K  --.-KB/s    in 0.1s   

2018-01-05 18:43:06 (379 KB/s) - ‘smxi’ saved [145876]

root@ronin:/usr/local/bin# chmod +x smxi
root@ronin:/usr/local/bin#


Same problem.
Back to top
techAdmin
Status: Site Admin
Joined: 26 Sep 2003
Posts: 4127
Location: East Coast, West Coast? I know it's one of them.
Reply Quote
:: Code ::
wget -O - smxi.org/sm/upgrade-data/warning_message
wget -O - smxi.org/sm/sm-lib-warning


it's there, it downloads, what can I say?
Back to top
Mono
Status: Contributor
Joined: 21 Jun 2012
Posts: 115
Reply Quote
Permissions?

:: Code ::
/usr/local/bin$ ls -l
total 888
-rwx---r-x 1 root staff 384610 Jan  5 16:19 sgfxi
-rw----r-- 1 root staff  84541 Dec 19 13:19 sm-lib-apt-tools
-rw----r-- 1 root staff  36543 Jan  5 15:17 sm-lib-clean-up
-rw----r-- 1 root staff  17769 Jan  5 04:02 sm-lib-distro-conversion
-rw----r-- 1 root staff  30175 Dec 19 13:19 sm-lib-du-fixes
-rw----r-- 1 root staff  34527 Jan  5 19:31 sm-lib-kernel
-rw----r-- 1 root staff  58814 Jan  5 04:03 sm-lib-misc-tweaks
-rw----r-- 1 root staff   6802 Jan  5 04:06 sm-lib-warning
-rw----r-- 1 root staff   1008 Jan  5 19:31 sm-versions
-rwx---r-x 1 root staff 145876 Nov 25 14:46 smxi
-rwx---r-x 1 root staff  85663 Dec 19 13:19 svmi


Are there other files I should search out to try and figure out what's happening?
Back to top
Display posts from previous:   
Page: 1, 2, 3  Next
All times are GMT - 8 Hours